Application Settings in .NET Core 2.0

Accessing application settings in ASP.NET Core is different from .NET Standard. There is no web.config file. Instead, we have the appsettings.json file. You can add multiple JSON configuration files and load them when the application starts. In my Service Desk Web API, I need to store and retrieve the configuration settings for an Azure Storage …

Continue reading Application Settings in .NET Core 2.0

Enabling CORS in .NET Core 2.0

I built a Service Desk application in Angular with a Web API backend. The front-end application and the Web API are hosted in the same domain but under different port numbers. Browsers by default block requests from different origins for security reasons.What is "same origin"? Two URLs have the same origin if they have identical …

Continue reading Enabling CORS in .NET Core 2.0