Recently I needed to add a function inside a webapi call to send emails. The site was mostly AngularJs and the server side logic was mainly a webapi. We have used Postal.Mvc5 in the past just because it was easy but I couldn’t use it here. So I was forced to find something else. Turns […]
Enabling Cross-Origin Requests
Cross Origin Resource Sharing (CORS) is a W3C standard that allows a server to relax the same-origin policy. Using CORS, a server can explicitly allow some cross-origin requests while rejecting others. CORS is safer and more flexible than earlier techniques such as JSONP. This tutorial shows how to enable CORS in your Web API application. […]