Showing posts tagged with: "Code Snippets"

Recent Posts

Jun 19 2010

Lambda Function Factory

Ever dreamed of owning a Function Factory? Unfortunately this one might not make money, but it does make functions. The reason you might use s...

.NET Code Snippets
Aug 20 2009

CR_ClassCleaner now with Refactor key

On occasions I’m sure I’m one of many that take advantage of the CR_ClassCleaner plug-in for CodeRush. For one reason or another the other day, I...

.NET Code Snippets
Aug 18 2009

Replace default DNN calendars with AJAX Toolkit Calendar Extender

Although DNN is a very capable CMS, one thing I’d really like to do is send this guy back to 1993: While using a component we purchased (FormMas...

.NET Code Snippets Errors and Bugs ASP.NET
Jul 13 2009

The MethodLinq concept

There are now a lot of Linq providers around that do various different things. However, some interfaces were never meant to have linq. In fact the...

.NET Code Snippets General
Aug 18 2008

What would NHibernate ICriteria look like in .net 3.5?

If NHibernate decided to ditch compatibility with plain old .net 2.0 and focus on 3.5 how would the ICriteria interface change? Previously I was t...

.NET Code Snippets NHibernate
Jul 22 2008

NHibernate Type Safety using Lambda Expressions

I can't remember if this has been around before, I do vaguely remember seeing something like it. However, I just wanted to apply a snippet of co...

.NET Code Snippets NHibernate
Nov 09 2007

IDataErrorInfo for ASP.NET

As far as I'm aware ASP.NET doesn't support IDataErrorInfo, I've asked about this in many places, including Tech.Ed '07 with no success. The close...

.NET ASP.NET Code Snippets
May 17 2007

Stopping ASP.NET web.config inheritance

If you are only ever running one ASP.NET application on a website this is not an issue. However, if you are running a site which may have an appli...

General Code Snippets ASP.NET
Mar 06 2007

The C# @ String Literal

C# is a pretty sweet language, and there are many, many, many little things that just make the code that much nicer. Have you ever been in a situa...

General .NET Code Snippets
Dec 17 2006

Search Engine Optimization for .NET

Search Engine Bot Detection So after I first noticed a large build up of strange session Urls in Google searches for my domain I've then done a li...

Code Snippets ASP.NET SEO.NET
Dec 12 2006

ASP.NET 2.0 Mozilla Browser Detection Hole

It has recently come to my attention that there is something drastically wrong with the way search engines have been indexing my ASP.NET 2.0 blog....

.NET Internet Code Snippets Errors and Bugs ASP.NET
Dec 07 2006

Cleaning Up ASP.NET Sessions in Google

ASP.NET and Dirty Urls There are two things that have been bothering me about pages that are getting indexed in Google from an ASP.NET application...

.NET Code Snippets SingleUserBlog Errors and Bugs ASP.NET SEO.NET
Nov 06 2006

Brendan's C# Modifier Keyword Guide

After a little bit of thought from my last post I decided to write a small sample class and use tooltips to document what some of the most common ...

General .NET Code Snippets
Aug 03 2006

Accessing controls on a masterpage

Here are a couple of neat things in ASP.NET 2.0 that I've used recently. Access the controls on a master page. You'd think it must be poss...

General .NET Code Snippets
Mar 21 2006

CSharp and Datalayers

One thing that has become very important in my recent work is datalayers. I’ve seen a few difference approaches to filling objects after the data ...

.NET Code Snippets
Mar 13 2006

'TextBox' cannot have children of type 'DataBoundLiteralControl'.

From what I've seen this particular error is already pretty well documented, however it is one of the things that Visual Studio is a little mislea...

.NET Code Snippets Errors and Bugs
Mar 08 2006

IHTTPModule vs IHTTPHandler

The proof of concept IHTTPModule friendly url rewriter for SUB using regular expressions. For my previous post regarding friendly urls see here. ...

.NET Code Snippets SingleUserBlog
Mar 05 2006

SQLite data provider for SingleUserBlog

Please be aware that it may still have bugs. I have been using it now for about two weeks, making small refinements as I’ve found them. To Instal...

.NET Internet Code Snippets SingleUserBlog
Mar 02 2006

ASP.NET Google Sitemap

Probably the best thing about SUB is its simplicity. There are two things I’d like to try to document in this post, firstly is the code for adding...

.NET Code Snippets SingleUserBlog
Page: 1