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.
A while back I came across an error whereby my bundles were not being fullfilled but instead, I was receiving a 403 forbidden error. The fix is to rename your virtualPath values for the bundles that match local directory paths.
Returning and flattening all ModelState errors as Json using linq and extension methods
How to create a custom blog comment engine in asp.net mvc 4 using c#, entityframework code first, jquery and markdowndeep.
This post describes how I setup my own url shortener as part of my blog. It also shows how to set up the routings table to allow the url shortener to work alongside existing controllers
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
A common requirement that is often requested in modern sites is for forms to be submitted and validated on asynchronously. Here is my usual approach to the problem using MVC4 and JQuery