Recent Posts

0
Comments

WCF RIA Services – What you need to know when creating DTO/Presentation Model by Fredrik N

Note: This is based on the WCF RIA Services Beta, so the code in this post can change in a future release of the framework. When defining DTO or a “Presentation Model” (Not the Presentation Model pattern by Martin Fowler, a model suited for presentation...
6
Comments

WCF RIA Services and DTO with association by Fredrik N

This post will be short, I notice that some people are asking about how to send an object graph which will include an association to other objects. First of all, be careful with the distribution of an object graph, wrong design can affect performance...
0
Comments

Silverlight 4 Commanding enables ViewModels by Fredrik N

One feature out of many really great feature shipped with Silverlight 4 Beta, is Commanding. With Commanding we can use the MVVM (Model View View Model) Pattern. Commanding is something that WPF has and preview Silverlight doesn’t. Commanding can only...
7
Comments

Is WCF RIA Services ready for the Enterprise? by Fredrik N

Today Microsoft released the WCF RIA Services Beta, it’s now on top of WCF and by default uses binary data end points and data contract serialization. By using binary data end points we will get better performance and make the data sent over the wire...
Filed under: ,
0
Comments

How to create a Module based Silverlight application (Part 1) by Fredrik N

When building RIA (Rich Internet Application) with Silverlight, it’s important to make sure the Silverlight application is loaded as fast as possible. Users don’t like to see a splash screen for several seconds or minutes, they want an application to...
3
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:
13
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: , ,
8
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: ,
1
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:
More Posts Next page »