Recent Posts

0
Comments

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

The latest source code for my Fluent-API to add Action Filters to Controllers is no available here . If you haven’t read about my test project, you can find the other posts here: Fluent-API to add ActionFilters to Controller in ASP.NET MVC Fluent-API...
Filed under:
7
Comments

.NET 4.0 is so Lazy by Fredrik N

With .NET 4.0 there is a new class added to the System namespace called Lazy<T>. This class is what the name says, lazy. Here is an example where Lazy is used: var lazy = new Lazy<IList<OrderRow>>( () => { var rows = //get order rows;...
Filed under: , ,
6
Comments

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

Fluent-API to add ActionFilters to Controller in ASP.NET MVC by Fredrik N

Note: The name of the classes and the methods are just temporary and may change, I’m so bad when it comes to naming classes and methods. The source code is simple and haven’t done so much refactoring etc. Just wanted to see if I could get it to work,...
Filed under: ,
0
Comments

Visual Studio 2010 Launch Countdown Sidebar Widget by Fredrik N

div#widget { position: relative; width: 250px; height: 155px; } body ul#cntdwn { width: 250px; height: 80px; background: transparent url(http://toysfortweets.com/visualstudiowidget/cntdwn-bg.png) no-repeat scroll left top; list-style-type: none; text...
Filed under:
7
Comments

Introduction to Templates in ASP.NET MVC 2 Screen cast by Fredrik N

I have recorded some screen casts during the last week for Microsoft, one is was published today on Channel 9 (The Screen cast is in Swedish, I will eventually try to record screen casts also in English, but when that happens, I don’t now). You can found...
Filed under: , ,
5
Comments

Distributing domain entities over the wire by Fredrik N

When we design our domain entities we don’t have a presentation layer or database in mind. The domain entities are core business objects located on the server or client side based of what kind of application we are building. Domain entities aren’t designed...
Filed under: , , ,
0
Comments

VS 2010 Beta 2 and .Net 4.0 is now available for downloading from MSDN Sub. by Fredrik N

Oh, I'm late.. but better late then never.. you can now download VS 2010 nad .Net 4.0 Beta 2, if you are a MSDN Subscriber.. You can read more about VS 2010 Beta 2 on Scott Guthrie's blog. Wow, my shortest blog post ever!
Filed under: ,
1
Comments

ASP.NET 4.0 Web Form routing by Fredrik N

One of hundreds things I like about ASP.NET MVC, is the routing, a way to use clear and friendly URLs like: www.server.com/Customer/List , instead of something like www.server.com/Customers.aspx . The routing part is now also added to the ASP.NET Web...
4
Comments

Some features I love in VS 2010 by Fredrik N

This post will not be so long, I want to write a little about some Visual Studio 2010 features I love. First of all the changes made to C# is great, the default value on parameters rocks! When I implement Frameworks, I often ended up with something like...
More Posts Next page »