Search This Blog

Wednesday, April 18, 2012

How to see the real error coming from Web API

link -> Custom errors and error detail policy in ASP.NET Web API | Jimmy Bogard's Blog:
Instead of relying on a lot of XML configuration, Web API uses a lot of programmatic configuration. This helps self hosting, but for changing policies like error detail, we have to change the code, re-compile and re-deploy. To set the error policy in our application, we need to modify our global Web API configuration
I was wondering the other day how to get the real error. I like the example he shows on how to read web.config and make it work like ASP.NET

Wednesday, March 28, 2012

Use ASP.NET Trace to figure out what went wrong

link -> How to: View ASP.NET Trace Information with the Trace Viewer:
I tried this on my local machine and it worked pretty well. Unfortunately I didn't have permissions to enable it on the machine that had the problem.

Web API is open source now

link -> ASP.NET MVC, Web API, Razor and Open Source - ScottGu's Blog:
I have run into some problems and couldn't figure out what to do. Hopefully having the ability to look at the code will help me be able to figure out what I am doing wrong.

Saturday, March 17, 2012

I love Atlassian's REST API Design Guidelines

link ->Atlassian REST API Design Guidelines version 1 - REST APIs:
If we go with creating a public API we should totally steal this as our coding standard. I really love their expand idea. I have been wondering how we should handle cross aggregate references. I think what they did makes total sense.

Monday, March 5, 2012