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 […]
July 29, 2016
For me this happened when I need to Chaining query operators, for example you have a list of categories to filter your return data. I want to look at homes from New York, California and Florida. What is Expression<Func<T>>? Expression<Func<T>> or Expression is a representation of a strongly typed lambda expression in the form of […]
July 5, 2016
Comments Off on 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. […]
January 15, 2017
0