Software Developer
.NET
Absolute URLs using MVC (without extension methods)
Feb 3rd
Do you need to generate absolute URLs within your MVC application? Often this will be in the form of URLs used outside of the web-browser such as those used within Atom Publishing Protocol collections or maybe links that are going to be sent out in emails. Basically, anything where the regular relative URL won’t do.
When to use RenderAction vs RenderPartial with ASP.NET MVC
Feb 21st
At first glance, RenderAction and RenderPartial both do a very similar thing – they load ‘some other content’ into the view being rendered at the place they are called. Personally, I think they should be used for different scenarios so these are my thoughts on where each one should be used and why. First though,
RenderSubAction alternative to RenderAction for Sub-Controllers in MVC
Feb 21st
The ASP.NET MVC Futures assembly contains several RenderAction extension methods for HtmlHelper to allow another action to be rendered at some point within a view. Typically, this allows each controller to handle different responsibilities rather than things being combined into the parent. So, for example, a PersonController is responsible for retrieving and assembling the model
NHibernate.Search using Lucene.NET Full Text Index (3)
Apr 26th
In Part 1 we looked at how to create a full-text index of NHibernate persisted domain objects using the Lucene.NET project. Part 2 then looked at how to query the index complete with query-parsing and hit-highlighting of the results. Now that we have a full-text index there are other things that we can use it
NHibernate.Search using Lucene.NET Full Text Index (2)
Mar 30th
In NHibernate.Search using Lucene.NET Full Text Index (Part 1) we looked at setting up the NHibernate.Search extension to add full-text searching of NHibernate-persisted objects. Next, we’ll look at how we can perform Google-like searches using the Lucene.NET index and some tips on displaying the results including highlighting the search-terms. Our Book class has the Title,