dot net

Enabling CORS in ASP.NET Web API

less than 1 minute read

The simplest way I’ve solved this is by adding below headers to all responses by adding them to Web.Config.

Different config files in C# project

less than 1 minute read

It is almost certain that you would need different configuration for different environments. Here’s one way to maintain separate config files.