Ref: https://www.nuget.org/packages/EnterpriseLibrary.Data.NetCore/ The Enterprise Library Data Access Application Block simplifies the development of tasks that implement common data access functionality. Applications can use this application block in a variety of situations, such as reading data for display, passing data through application layers, and submitting changed data back to the database system. This library contains a class library that targets .Net Core 2.0 & .Net Standard 2.0 Install-Package EnterpriseLibrary.Data.NetCore -Version 6.0.1313
Global exception handler: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/error-handling?view=aspnetcore-2.2 Asp.net core hosting Issue: https://blogs.msdn.microsoft.com/benjaminperkins/2018/06/07/asp-net-core-2-1-and-http-error-502-5-process-failure/ ASP.NET Core Refere https://www.tutorialsteacher.com/core/aspnet-core-introduction nces: ASP.NET Core is a free, open-source and cloud optimized web framework which can run on Windows, Linux, or Mac. ASP.NET Core is a modular framework distributed as NuGet packages. This allows us to include packages that are required in our application. ASP.NET Core is designed to be deployed on cloud as well as on-premises. Developers can now build cloud-based web applications, IoT (Internet of Thing) and mobile backend applications using ASP.NET Core framework which can run on Windows, Linux, and Mac operating systems. Version Release Date ASP.NET Core 2.0 August 2017 ASP.NET Core 1.1 November 2016 ASP.NE...
Ref: https://code-maze.com/aspnetcore-webapi-best-practices/ In the Startup class, there are two methods: the ConfigureServices method for registering the services and the Configure method for adding the middleware components to the application’s pipeline. public static class ServiceExtensions { public static void ConfigureCors(this IServiceCollection services) { services.AddCors(options => { options.AddPolicy("CorsPolicy", builder => builder.AllowAnyOrigin() .AllowAnyMethod() .AllowAnyHeader() ...
Comments
Post a Comment