Only use factories if you really need to control the lifetime of the created objects

by Olav Nybø

On the project I am currently working on we need to implement various processes consisting of a series of steps. We have created some reusable classes based on the command pattern. Using these classes we can implement very complex processes in a very readable way. Below is an example of…

Developer Conferences 2014

by Olav Nybø

There are a lot of developer conferences. Most developers have a limited budget to spend on conferences. Which conferences to choose can be diffcult. I have compiled a list of conferences I think may be relevant for a .NET developer. If you know any conferences that you think should be…

Anti-Forgery Tokens using MVC, Web API and AngularJS

by Olav Nybø

In my last couple of projects we have used a combination of MVC, AngularJS and Web API. We have used MVC Bundling and minification, MVC layout file to provide a master page and authorization on page level. Each of our pages has been implemented using AngularJS. The applications has been…

ASP.NET Identity 1.0 Release version

by Olav Nybø

A while ago I wrote a blog post about the preview version of ASP.NET Identity. Now its time to see what the final version 1.0 looks like. As we will see the library has evolved quite a bit since the preview. ASP.NET Identity provides an implementation of…

Forms authentication using ASP.NET Identity & VS 2013 Preview

by Olav Nybø

One of the many new features of Visual Studio 2013 is the new membership system called ASP.NET Identity. The old SimpleMembershipProvider has been replaced. In line with the unification of ASP.NET, ASP.NET Identity can be used for all types of ASP.NET applications (MVC, Web Forms, Web…

Typing the MVC Single Page Application Template

by Olav Nybø

The new MVC Single Page Application Template included in ASP.NET and Web Tools 2012.2 is a good place to start if you want to learn more about how to write MVC Single Page Applications using JavaScript and Knockout. As we will see, Single Page Applications is an area…