AndrewPeters

Stories submitted by AndrewPeters

In-process ASP.NET MVC Web Form View Rendering(andrewpeters.net)

submitted by AndrewPetersAndrewPeters(1170) 3 years, 2 months ago

Sometimes it’s useful to be able to render a view in-process, for example, from within a unit test if you would like to validate the rendered XHTML. read more...

add a comment |category: |Views: 157

tags: another

NHaml: Block Methods and RESTful Helpers(andrewpeters.net)

submitted by AndrewPetersAndrewPeters(1170) 3 years, 5 months ago

Describes some cool new NHaml features supporting REST style helper methods. read more...

add a comment |category: |Views: 27

tags: another

ASP.NET MVC Tip #35 – Use the NHaml View Engine (weblogs.asp.net)

submitted by AndrewPetersAndrewPeters(1170) 3 years, 5 months ago

In this tip, I explain how you can use the NHaml view engine as the view engine for an ASP.NET MVC application. I demonstrate how to create NHaml views that display both static content and database records. I also discuss how you can use master pages and user controls with the NHaml view engine. read more...

add a comment |category: |Views: 256

tags: another

Free Visual Studio File Explorer Add-in(mindscape.co.nz)

submitted by AndrewPetersAndrewPeters(1170) 3 years, 5 months ago

The Visual Studio File Explorer Add-in (sexy name we know, but hey, it’s self documenting) is a free Tool Window add-in for VS 2008 that provides a Windows Explorer style file system view. It’s particularly useful for performing routine file system tasks without the need to “context switch” away from Visual Studio, which can be time-consuming over the course of days and weeks. It is shell-enabled so extensions like TortoiseSVN work too. read more...

add a comment |category: |Views: 636

tags: another

Elegant Invariant Checking with C# 3 (andrewpeters.net)

submitted by AndrewPetersAndrewPeters(1170) 3 years, 6 months ago

Leveraging expression trees and extension methods to build a fluent invariant checking API. read more...

add a comment |category: |Views: 437

tags: another

When to use LINQ?(mindscape.co.nz)

submitted by AndrewPetersAndrewPeters(1170) 3 years, 8 months ago

Great, in-depth discussion of when it makes to sense to use LINQ in LightSpeed 2.0. read more...

add a comment |category: |Views: 356

tags: another

LightSpeed 2.0 Released(mindscape.co.nz)

submitted by AndrewPetersAndrewPeters(1170) 3 years, 8 months ago

LightSpeed 2.0 has been released. It includes a full, round-tripping Visual Studio designer and support for LINQ! read more...

add a comment |category: |Views: 470

tags: another

Using the unit of work-per-request pattern in ASP.NET MVC(mindscape.co.nz)

submitted by AndrewPetersAndrewPeters(1170) 3 years, 8 months ago

Describe a simple, efficient and testable approach to implementing the unit of work-per-request (a.k.a session-per-request) pattern in Microsoft’s new ASP.NET MVC framework. read more...

add a comment |category: |Views: 596

tags: another

Cool WPF MulticolumnTreeview(mindscape.co.nz)

submitted by AndrewPetersAndrewPeters(1170) 3 years, 9 months ago

Great, detailed article on using a WPF MulticolumnTreeview control to display complex, hierarchical data. read more...

add a comment |category: |Views: 226

tags: another

LightSpeed 2.0 Gets Visual Studio Designer(mindscape.co.nz)

submitted by AndrewPetersAndrewPeters(1170) 3 years, 9 months ago

First it was LINQ support, now LightSpeed 2 gets a complete Visual Studio design experience. read more...

add a comment |category: |Views: 8

tags: another

Introducing NHaml - An ASP.NET MVC View Engine(andrewpeters.net)

submitted by AndrewPetersAndrewPeters(1170) 4 years, 1 month ago

NHaml (pronounced enamel) is a pure .NET implementation of the popular Rails Haml view engine. From the Haml website: “Haml is a markup language that‘s used to cleanly and simply describe the XHTML of any web document, without the use of inline code. Haml functions as a replacement for inline page templating systems such as PHP, ERB, and ASP. However, Haml avoids the need for explicitly coding XHTML into the template, because it is actually an abstract description of the XHTML, with some code to generate dynamic content.” In other words, NHaml is an external DSL for XHTML. It’s primary qualities are it’s simplicity, terseness, performance and that it outputs nicely formatted XHTML. Additionally, the NHaml view engine provides support for Rails style layouts and partials. read more...

2 comments |category: |Views: 1027

tags: another

LightSpeed Mats’ Challenge Sample Download(mindscape.co.nz)

submitted by AndrewPetersAndrewPeters(1170) 4 years, 6 months ago

A sample download illustrating how LightSpeed passes Mats Helanders ORM challenge. read more...

add a comment |category: |Views: 40

tags: another