In my recent project I got the requirement where I have to check that given string is available in enum list or not but the challenge is I have to match the string with enum description, not enum value.
We may face circumstances where we want to resolve a dependency inside a static class, but with the static class, we are restricted to a static constructor which is not supported for the .NET core to work for Constructor Injection. So, today we will see how we can handle these kinds of operations, so we can achieve Dependency Injection with static classes in .NET Core.
Create a .NET Core application with an SQL server database to insert, edit and delete employee data. also, create an Angular application as a front-end. When we add a new employee data or update or delete the data, we will get broadcasted message from the SignalR hub in the Angular application and immediately show the modified data in all connected client browsers.
In this blog, we will talk about creating custom tags in the Datadog log, and also we will discuss how to send hostname, service name, and log template in the Datadog.
NET Core – Using Multiple Authentication Schemes. One endpoint, authorize using Identity Server or using a custom authentication handler.
In this article, we will discuss how to generate an angular API service code using Swagger. The Swagger project provides tools to generate OpenAPI specifications from existing ASP.NET Web API controllers and client code from these OpenAPI specifications. we will use NSwag Studio to generate TypeScript client services.