.NET Domain-Driven Design with C#: Problem - Design - by Tim McCarthy

By Tim McCarthy

There are a few things i do not like.1. UnitOfWork is damaged. What occurs whilst anyone provides entity to repository, after which gets rid of it prior to commiting? The code will attempt to get rid of now not current items from database after which it is going to upload it!2. dealing with of kid gadgets. for instance addresses. In any actual global app deleting each baby item after which including it back even if there have been adjustments or now not might haven't any position. First functionality. moment what in case you have to maintain heritage of alterations of that kid item? What in the event that they have Id's in database and feature different teenagers? What if clients paintings with similar gadgets? What approximately concurrency? those are difficulties i must take care of on a daily basis and that i might anticipate a few stable examples from ebook author. specially that has such a lot of certificates.3. This ebook has loads of repetitive text/code for each factory/repository/service clsss... i want to have a few dialogue approximately difficulties i discussed in p.24. WPF that no-one understands (yeah a few recognize, yet what number WPF have you ever seen?) just isn't utilized in e-book approximately DDD. Do it in WinForms, ASP.NET or maybe Console app. Why exhibit us WPF? Hell you cannot even construct resources from this e-book with no going to third social gathering for his or her GridControl. what is the aspect of utilizing WPF?This e-book is sweet for somebody that does not be aware of a lot approximately DDD and is doing apps for one consumer. O

Show description

Read or Download .NET Domain-Driven Design with C#: Problem - Design - Solution (Programmer to Programmer) PDF

Similar programming: programming languages books

Objektorientierte Programmiersprache C++: Vollständige Einführung anhand von Beispielen (VDI-Buch) (German Edition)

In diesem Werk werden alle Aspekte der Sprache C++ behandelt, deshalb ist das Buch ebenso für Einsteiger, mit oder ohne Vorkenntnisse über eine andere Programmiersprache, als auch für Umsteiger von anderen Programmiersprachen bzw. C-Programmierer geeignet. Die Darstellung der Sachverhalte erfolgt knapp und systematisch, die Beispiele sind kurz, prägnant und compiler- unabhängig und auf allen Rechnern mit C++ 2.

Additional resources for .NET Domain-Driven Design with C#: Problem - Design - Solution (Programmer to Programmer)

Example text

The SmartCA application will be a smart client application implemented using the Windows Presentation Foundation (WPF). You might be asking yourself, OK, what exactly do you mean by smart client? A smart client is a type of application that combines the best of both Windows applications and web applications. indd 9 3/17/08 2:37:07 PM Chapter 1: Introducing the Project: The SmartCA Application Windows Application Benefits The advantages of Windows applications are that they are able to provide a rich user experience, they are not too complex to develop, and they can use local resources.

This concept is very similar to web services. Services typically coordinate the work of one or more domain objects, and present the coordination as a well-known operation. It is also important to note that some services may live in the application layer, some may live in the domain layer, and others may live in the infrastructure layer. Application Layer Services The services that live in the application layer typically coordinate the work of other services in other layers. Consider an order fulfillment service.

Any type of framework, data access code, calls to web service calls, and so forth will live in this layer. A perfect example of this is the SmartCA application’s Repository Framework implementation, which I will dive into in the Solution section of this chapter, that lives inside of the infrastructure layer. Not only can the infrastructure layer hold infrastructure for the domain layer, but it can also hold infrastructure code and logic for any of the other layers, including those that meet its own needs.

Download PDF sample

Rated 4.49 of 5 – based on 19 votes