27 Jun 2014 • 2 min read
Dynamic CORS origins from appsettings using Web API 2.2 Cross-Origin Support
Creating a c# attribute that allows for dynamic origins based on the appsettings section but can be adapted to any source.
Creating a c# attribute that allows for dynamic origins based on the appsettings section but can be adapted to any source.
My take on a blog post by Bipin Joshi on Creating Cascading DropDownLists Using ASP.NET MVC 4 And JQuery. I decide to use some more up to date features of mvc 4 including the section keyword, the Url.Action extension method and the jquery .on method