search

Mediator is a very useful design pattern, which fully use the SOLID principle, so avoiding dependencies between classes. In practice we create one class, which will be an interface for all elements of the project and we pass only commands to this interface and this interface handles the transfer.

Bharat Dwarkani shared on Nov 24, 2019
image
medium.com
bookmarks
share
visibility157
visibility157 share bookmarks

Controllers are a key part of the MVC pattern. They’re the entry point, responsible for interacting with one or more Models and returning a View. Although these days it seems MVC is used more for APIs than for Views, so it’s more like Model-View-Result or Model-View-JSON. Whatever. The point is, they’ve been around a while and they’re pretty central to a lot of web applications out there, especially in the .NET space. But their dominance is probably over.

Bharat Dwarkani shared on Nov 24, 2019
image
ardalis.com
bookmarks
share
visibility95
visibility95 share bookmarks

Sample .NET Core REST API application implemented with basic CQRS approach and Domain Driven Design.

Bharat Dwarkani shared on Oct 26, 2019
image
github.com
bookmarks
share
visibility785
visibility785 share bookmarks

The explosive growth of web frameworks and the demands of users have changed the approach to building web applications. Many challenges exist, and getting started can be a daunting prospect. Let’s change that now. This talk provides practical guidance and recommendations. We will cover architecture, technologies, tools, and frameworks. We will examine strategies for organizing your projects, folders and files. We will design a system that is simple to build and maintain – all the way from deve

Bharat Dwarkani shared on Oct 19, 2019
image
tv.ssw.com
bookmarks
share
visibility381
visibility381 share bookmarks

Northwind Traders is a sample application built using ASP.NET Core and Entity Framework Core. The architecture and design of the project is explained in the video:

Bharat Dwarkani shared on Oct 19, 2019
image
github.com
bookmarks
share
visibility213
visibility213 share bookmarks

This is a solution template for creating a Single Page App (SPA) with Angular 8 and ASP.NET Core 3 following the principles of Clean Architecture. Create a new project based on this template by clicking the above Use this template button or by installing and running the associated NuGet package (see Getting Started for full details).

Bharat Dwarkani shared on Oct 19, 2019
image
github.com
bookmarks
share
visibility1049
visibility1049 share bookmarks

In this article we will design internal architecture of non-trivial microservice that is responsible for both managing its data state and exposing it to the external world. Basically our microservice will be responsible for creation and various modifications of its data and also will expose API that will allow other services and applications to query for this data.

Bharat Dwarkani shared on Oct 19, 2019
image
altkomsoftware.pl
bookmarks
share
visibility196
visibility196 share bookmarks

In this post we will implement a simple CQRS pattern with MediatR and Odata. We will handle Commands (aka requests that have side-effects) with MediatR and Queries (requests without side-effects) with Odata.

Bharat Dwarkani shared on Oct 19, 2019
image
jannikbuschke.de
bookmarks
share
visibility256
visibility256 share bookmarks

CQRS means Command and Query Responsibility Seggregation. This is a design pattern or a development practice on which you split your domain in 2 parts : the write and the read model.

Bharat Dwarkani shared on Oct 19, 2019
image
remibou.github.io
bookmarks
share
visibility68
visibility68 share bookmarks

Command patterns and how we can implement them with a third party library which is built on command patterns, and how we can use it in ASP.NET Core to solve our problems and make the code clean. So, we will be going through the following basics.

Bharat Dwarkani shared on Oct 19, 2019
image
c-sharpcorner.com
bookmarks
share
visibility531
visibility531 share bookmarks
add