Browse by Tags

All Tags » ASP.Net (RSS)

Creating a simple REST like service with OWIN – Open Web Server Interface by Fredrik N

" OWIN, a standard interface between .NET web servers and web applications. The goal of OWIN is to decouple server and application and, by being an open standard, stimulate the open source ecosystem of .NET web development tools." – owin.org OWIN can...
Filed under: , , ,

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...

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...

Visual Studio 2012 RC and Windows 8 Release Review is available for download by Fredrik N

Today Visual Studio 2012 RC is available for download at: http://www.microsoft.com/visualstudio/11/en-us/downloads#express-win8 EF 5, MVC 4, WebApi and much more in the RC release. Widows 8 Release Review! http://blogs.msdn.com/b/b8/archive/2012/05/31...

Update on ASP.NET Vulnerability by Fredrik N

Scott Guthrie updated his blog with more info about the ASP.NTE Vulnerability, check it out here: http://weblogs.asp.net/scottgu/archive/2010/09/24/update-on-asp-net-vulnerability.aspx
Filed under:

Make sure the web.config pages/namespace can be used together with ASP.NET MVC 3 P1 and Razor by Fredrik N

Note: This blog post is based on the ASP.NET MVC 3.0 Preview 1. The following section is from Forkcan.com (If you didn’t know, you can get code shared to ForkCan.com on your blog, read more here about it ). If you want to know when I publish a new blog...
Filed under: , , ,

Fluent-API to add ActionFilters to Controllers – ASP.NET MVC Part 2 by Fredrik N

I’m working with my Fluent-API for adding Action Filters to Controllers and Action Methods. In my previous post , I created a new instance of each Action Filter and add it to an Action Method or Controller. Based on how the Action Filters are often implemented...
Filed under: ,
More Posts Next page »