Recent Posts

1
Comments

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

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: , ,
9
Comments

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

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

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

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

Using Entity Framework 4.3 Database migration for any project by Fredrik N

In this blog post I’m going to write about the Entity Framework 4.3 Database migration and how to use it without using Code-First or Entity Framework as an OR-M at all. To get started just create a simple project, for example a Console Application. After...
0
Comments

Build, first day by Fredrik N

It was an interesting day at the Microsoft Build Conference. I will in this blog post share some of the things that were presented during the first Keynote and big screen day. The keynote started to present Windows 8, and the Metro (The new GUI). Focus...
Filed under: , , ,
0
Comments

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:
2
Comments

Vulnerability in ASP.Net by Fredrik N

I would recommend all of you who are managed ASP.Net application to read this: http://blogs.technet.com/b/msrc/archive/2010/09/17/security-advisory-2416728-released.aspx
More Posts « Previous page - Next page »