Interested in a private company training? Request it here.
Ensuring that software meets its intended objectives can be challenging. Misalignment between business stakeholders and developers often arises due to differences in communication. Domain-Driven Design (DDD) aims to bridge this gap by establishing a common language between them.
What defines a modern web application? Is it one built with Angular and TypeScript? In the rapidly evolving landscape of web development, there's a risk that your website might utilize 'outdated' technology by the time it's completed. However, "Clean" architecture stands the test of time. As a wise saying goes, 'If you think good architecture is expensive, try bad architecture.'
Every developer aspires to write code that is not only clean but also functional. However, achieving code that is easily maintainable and consistently operational poses a significant challenge. How does one navigate the complexities of software development to ensure that the code remains robust and reliable in the long run? In this context, we will explore the role of unit testing in verifying the correctness of our code and ensuring its continued functionality..
When it comes to Unit Testing, you will need to choose frameworks. There are several options available, so which one do you need? Visual Studio comes with a built-in framework called MSTest, but you also have others, such as the popular xUnit. In this module, we will discuss the pros and cons of these frameworks and delve into some best practices. How can you determine if you have tested enough? Code coverage allows you to see which paths in your code you have tested and easily identify untested conditional logic.
When constructing the domain model, there are several approaches. Tactical Design provides a set of technical resources and patterns used in the construction of the domain model. The goal is to enrich your domain model by correctly applying these patterns. When done effectively, it will reflect your business model with greater clarity and enable better communication and design.
Domain-Driven Design introduces a crucial distinction between Entities and Value Objects. But how does one effectively implement these concepts in practical software development using C# and .NET?
Some behaviors may not neatly align with existing Entities or Value Objects. In such instances, we encapsulate this behavior within a Domain Service. Now, how should we organize our business objects into Modules?
One of the core pillars of Domain-Driven Design is Strategic Modeling. Strategic modeling assists in defining the Bounded Contexts, the Ubiquitous Language, and Context Maps.
Grouping your entities into Aggregates can streamline development and mitigate the 'Death by a Thousand Dots' anti-pattern. Entities have lifecycles, but how do you create complex hierarchies of entities? Moreover, how do we abstract away the details of interacting with databases?
Mapping in EF Core utilizes conventions, attributes, or the Fluent API. You'll learn how to leverage these tools to model your database in EF Core and implement the changes using Code-first Migrations.
Domain-Driven Design is an excellent approach to begin designing your applications. Entity Framework Core is a powerful framework for accessing and manipulating your data stored in databases. Now, can we integrate Domain-Driven Design concepts into Entity Framework Core? Yes, indeed!
When building larger applications, you aim to maintain low coupling and high cohesion. So, how do you implement changes that need to be handled by different subsystems?
When creating modern web applications with ASP.NET Core MVC, unit testing the Controllers and Views isn't straightforward. How does one validate whether the ActionResult returned by the Controller action is the expected one, and whether the View is correct? How do we replace dependencies during testing with MVC? How do we perform end-to-end testing?
When architecting and developing applications, various approaches warrant consideration. Among these, Domain-Driven Design (DDD) stands prominent. The core idea of Domain-Driven Design is to base the software development process on the business domain itself, ensuring that business experts and developers are aligned in their understanding and objectives. In the realm of business applications, the necessity for a data access layer to interface with databases is common. Enter Entity Framework Core (EF Core), a tool that seamlessly integrates with DDD principles. This course delves into the fundamentals of Domain-Driven Design and illustrates how EF Core can be instrumental in applying these principles effectively.
Attendees are required to have prior knowledge of C# and .NET. Participants in this course will explore modern architecture principles and engage in a hands-on project to construct a website using C#, DDD, EF Core, and Unit Testing.