Posts

Showing posts from November, 2021

Implement CQRS with MediatR in ASP.NET Core Web API

Image
  https://www.c-sharpcorner.com/article/implementing-cqrs-with-mediatr-in-asp-net-core-application/ https://www.c-sharpcorner.com/article/cqrs-pattern-using-mediatr-in-net-5/ https://www.youtube.com/watch?v=bgoGtkmUAQg https://www.youtube.com/watch?v=T1qyGmdgSQE The Command and Query Responsibility Segregation(CQRS) is an architectural pattern that separates the read and writes operations of a data source Mediator  is used to reduce communication complexity between multiple objects or classes. This pattern provides a mediator class which normally handles all the communications between different classes and supports easy maintenance of the code by loose coupling. Mediator pattern falls under behavioural pattern category.   Basically, a Mediator perform 2 operations. · Accept the incoming request · Handles the incoming request and provide the response. CQRS  +  Mediator  Patterns are prefered over large projects. Advantages of CQRS Independent scaling Optimiz...

Angular Help

Image
https://rubolchow.blogspot.com/2023/02/blog-post.html https://nodejs.org/en/download/ Publish : ng build  is the  command  you use when you're ready to build your application and deploy it. Run the command npm install in the terminal. This command will read the package.json file and install all the required dependencies into a node_modules folder in your project.  C:\>node -v c:\users\ng --version c:\users>npm install @angular/cli npm install -g @angular/cli@1.0.0  //npm install @angular/cli@latest   //npm install -g @angular/cli@latest ng serve -- open npm start open vs project in VS code: code . npm install -g @angular/cli@9.1.11 npm uninstall -g @angular/cli                                              Angular CLI Commands   : https://www.c-sharpcorner.com/article/quick-preview-angular-cli-commands/ ng generate m...