Ngrx Entity and Effects

Ngrx Entity and Effects

NGRX Entity gives you an efficient and quick way to deal with ngrx store related operations, such as read, write, update, delete. You can focus on productivity, rather than creating and modifeng complex state everytime. It can be very helpful when you are dealing with complex state and handling with http services at the same time.

What is ngrx ?

Ngrx is a state management library, that stores the state globally. Lets understand some of its components.

[Read More]

Api Versioning in Dotnet Core

Api Versioning in Dotnet Core

Photo by Jan Loyde Cabrera at medium.com

When you are going to do some breaking changes in your apis, it is better to create a new version for that, so that user don’t freaked out. They still can use the older APIs and get ready for new changes. There are various way to create a versions of your APIs like

  1. Query string
  2. URL
  3. HTTP header

If you prefer video version then you can checkout this video with same content.

[Read More]

Angular Autocomlete With Ng Select

Angular Autocomlete With Ng Select

There are various packages available for implementing autocomplete in angular and we are going to use the simplest one (ng-select).

Let’s finish talking and need to start write code. Let’s install ng-select package from command line

npm install --save @ng-select/ng-select

[Read More]

Angular pagination with infinite scroll (using ngx-infite-scroll)

Angular pagination with infinite scroll (using ngx-infite-scroll)

Photo by Ajda ATZ on Unsplash

Sometimes we get a condition where you don’t want to display all the data at once. Initially we display some data, and when we scroll down ,we loads more data. This kind of behaviour you can see in youtube, instagram or facebook. You might even spend much time of your day on just scrolling down. So we are gonna learn how to do that.

[Read More]

Write dapper effectively with generic methods

Write dapper effectively with generic methods

Dapper is a micro ORM for database connectivity in dotnet and it’s been around for quite a while. It is loved by most of the developers because of its simplicity and performance.

Why dapper?

With the help of dapper you can quickly access the data without writing too much code. It performs very well because we directly write queries and executes them. Developers who loves to work with queries and for the projects, where performance really matters where you wants to write very optimized queries, dapper can be the good choice.

[Read More]

Serilog in .NET

Serilog in .NET

In your development journey you have faced so many runtime exceptions. You have handled that with try catch block. But in the runtime you never know where that error has happened and you have to trace that whole section with putting breakpoints. Sometime you have thought that I wish.. I would get notified whenever that exception occur. Then the logging frameworks comes in the play.

[Read More]