Showing posts with label web api. Show all posts
Showing posts with label web api. Show all posts

11/5/16

4/11/16

AngularJS Logging Client Errors to the Server

AngularJS provides an application exception handling ($exceptionHandler ) service that traps unhandled errors. The default implementation of this service simply delegates the exception to the $log service which just displays the error on the browser console.  As we can imagine, the user does not view these errors, and since the data is not collected, there may be some valuable information that...

4/9/16

Web API OWIN CORS Handling No Access-Control-Allow-Origin Header

XMLHttpRequest cannot load http://localhost:7802/token. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:7812' is therefore not allowed access CodeProject This error means that there is an attempt to access a resource from a...