Travis.Net.Blog
Oh my beloved Time, where art thou?
-
Wrap Your EditorTemplates
A really cool feature in Razor is the EditorTemplate's ability to use Layouts. Just like regular Views, you can apply the a Layout. For example, a regular Textbox template:
-
NHibernate Talk 8/20/09
- A total n00b’s guide to migrating from a custom data layer to Nhibernate, choices that have to be made when choosing NH for your data layer.
- NHibernate Slow? Of course when used wrong.
-
NHibernate Talk 8/14/09
- Nhibernate Unit of Work & multiple reuqests Set Status / Close Ayende discusses UOW spanning mulitiple requests.
- How-To: Using the N* Stack, part 3 Jason continues is great series on NHibernate.
-
Nhibernate Talk 8/12/09
- Using the N* Stack, part 2, second series in Jason's NHibernate stack series, great read.
- Testing with NHibernate and SQLite, set up a test environment for NHibernate testing using SQLite.
-
NHibernate Talk 8/11/09
- How-To: Using the N* Stack, Part 1, first in a series of articles on setting your first NHibernate ASP.NET MVC application.
- NerdDinner with Fluent NHibernate Part 1, first in a series on converting the NerdDinner project to use NHibernate/FluentNhibernate.
- Part 3 on using NHibernate and WPF, utilizing the "Conversation-per-BussinesTransaction" concept.
- New NHibernate CodeSmith templates v1.1.
-
HTML ListFormatter
My version of the ListFormatter(s) posted here. Based off the code posted by Joe Chung in the comments. The only real modification was I added overloads for params Func<T, object> and in inline format string. This allows strongly typed code like this:
-
InModel OutModel
These sure make life easier, create an InModel and OutModel for your MVC views.
-
Entity Framework 2.0
I'd be interested in hearing the Ayende take on the new features possibly coming to EF 2.0.
-
http://weblogs.asp.net/delicious/
Anyone else getting this guy's delicious articles in the main feed?
-
Ghetto ASP.NET Debugging - Useful Extensions
public static void Write(this System.Web.HttpResponse response, string formatString, params object[] args)
{
System.Web.HttpContext.Current.Response.Write(string.Format(formatString, args));
}
public static void WriteLine(this System.Web.HttpResponse response, string s)
{
System.Web.HttpContext.Current.Response.Write(s);
System.Web.HttpContext.Current.Response.Write("<br />");
}
public static void WriteLine(this System.Web.HttpResponse response, string formatString, params object[] args)
{
System.Web.HttpContext.Current.Response.WriteLine(string.Format(formatString, args));
}