Browse by Tags

All Tags » VS2010 » .Net (RSS)

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

ASP.Net MVC 3.0 Preview 1, Razor and nested master pages by Fredrik N

Note: This blog posts is based on the ASP.NET MVC 3.0 Preview 1. In this blog post I will explain how I have created a nested master page in ForkCan.com . Here is the master of the master pages ;) (_Loyout.cshtml) (I have removed some HTML from this example...
Filed under: , , , ,

.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: , ,
More Posts