Browse by Tags

All Tags » ASP.Net WebApi (RSS)

Get started by using ASP.Net Web API and NancyFx with OWIN/Katana by Fredrik N

Many of you may have probably already heard about OWIN (Open Web Interface for .Net) and Katana that implements OWIN and use different components for supporting OWIN, for example System.Web and System.Net.HttpListener. If you haven't heard about OWIN...

Team Foundation Server 2012 build notification using ASP.Net Web API by Fredrik N

For the last three years I have helped a financial company with a business critical financial system. I have the role as an architect and coach when it comes to system design. I also spend times to make the team work more efficiently, to release new features...

Using Razor engine together with Asp.Net Web API to create a Hypermedia API by Fredrik N

This blog post is created just for fun, and it's will be about how we can use Razor to create a Hypermedia API using XML as a hypermedia for a "Maze game" inspired from the book "Building Hypermedia APIs with HTML5 and Node", Mike Amundsen. Only the server...

ASP.Net Web API and using Razor the next step by Fredrik N

In my previous blog post “ Using Razor together with ASP.NET Web API ” I wrote about a solution to use a MediaTypeFormatter to render HTML by using Razor when the API is accessed from a browser. I’m now sort of done with the basics and will share the...
Filed under: , ,

Using Razor together with ASP.NET Web API by Fredrik N

On the blog post “ If Then, If Then, If Then, MVC ” I found the following code example: [HttpGet] public ActionResult List() { var list = new [] { "John" , "Pete" , "Ben" }; if (Request.AcceptTypes.Contains( "application...

ASP.NET Web API Exception Handling by Fredrik N

When I talk about exceptions in my product team I often talk about two kind of exceptions, business and critical exceptions. Business exceptions are exceptions thrown based on “business rules”, for example if you aren’t allowed to do a purchase. Business...

Log message Request and Response in ASP.NET WebAPI by Fredrik N

By logging both incoming and outgoing messages for services can be useful in many scenarios, such as debugging, tracing, inspection and helping customers with request problems etc. I have a customer that need to have both incoming and outgoing messages...
More Posts