This is the archive page for .NET Junkie. Click to go to the frontpage of this site.

ASP.NET Provider Model Template for Visual Studio (download)

This article describes my Visual Studio 2005 / Visual Studio 2008 template for rolling your own custom provider on the ASP.NET 2.0 Provider model. The model is actually not restricted to ASP.NET and this template allows you to create your custom provider for every type of .NET application, including console and forms applications.

read more...

- filed under .NET General, ASP.NET, C#, Visual Studio - one comment / No trackbacks - §

Converting hex to int

The easiest way to convert a hexadecimal string to an integer is using System.Convert.

read more...

- filed under .NET General, C# - No comments / No trackbacks - §

The constructor conflict

Sometimes I'm wondering strange things. For instance, this morning I was wondering if a static constructor of a class can create an instance of itself. It seemed to me this would be a conflicting requirement, because a classes constructor will only run after it's static constructor has run.

read more...

- filed under C# - two comments / No trackbacks - §

Book: SQL Server Query Performance Tuning Distilled

Last two months I have been reading SQL Server Query Performance Tuning Distilled (Second Edition) by Sajal Dam.

read more...

- filed under Books, Databases - one comment / No trackbacks - §

Custom Parameter Gotcha

This article describes a little gotcha that might emerge when writing a custom parameter that derives from System.Web.UI.WebControls.Parameter.

read more...

- filed under ASP.NET, C# - No comments / No trackbacks - §