.Net Bootstrap Console App with IOC using DI
We can use the HostApplicationBuilder Class (Microsoft.Extensions.Hosting) | Microsoft Learn to create a host with...
Backing you up.
We can use the HostApplicationBuilder Class (Microsoft.Extensions.Hosting) | Microsoft Learn to create a host with...
Here is the example of how to create a generic method to update the different...
Authentication example: Where AzureAdOptions contains the configuration of your Azure AD. MyJwtEventsHandler is the implementation...
Sometimes we need to add claims while user is being signed in using Azure AD...
Sometimes we need to override the process of model creation in the DB first approach....
Pre-requisite: Now this is for DB first approach. So, we can’ use the migration scripts...
DbUp is a tool which can be used to maintain the DB scripts in the...
Before this we used to use a filter (GlobalExceptionFilter) to handle exceptions at one place....
Steps are tested on the .Net 8 The steps are: Nuget Packages Needed: Example code:...
In the above command, ‘ConnectionString’ is the string that you use to connect with sql...