Programmatically Managing Application Services in ASP.NET

Posted by: Imar Spaanjaars at Wednesday, August 4, 2010 10:12:37 AM in: ASP.NET General

Since version 2.0, ASP.NET ships with a set of the so called Application Services, including Membership, the Role Manager, Personalization, Profile and the SqlWebEventProvider. To enable these features, you have a few options. The most common way is to just start using one of the features, such as Login control on an ASPX page. The default setup is configured to automatically create a SQL Server database in the App_Data folder of a site with the services already enabled. Another very common way, to get more control over the setup is to use the aspnet_regsql tool. This GUI or command line tool gives you more control over the SQL Server and database you're targeting and the exact features you want to install. The downside of this tool is that you need to run it locally and need the permissions to execute it.

I recently discovered that you can also manage the application services programmatically.

Read on ...

Using .Less to Change the Way You Write Your CSS

Posted by: Imar Spaanjaars at Thursday, June 3, 2010 9:10:24 AM in: ASP.NET General
I wanted to write a post about .Less for some time, but never found the right time to do so. Now that I am changing my own web site from ASP.NET Web Forms to ASP.NET MVC 2, I thought it was a good idea to incorporate .Less (pronounced as Dot Less) in my own web site and write a little blog post about it
Read on ...

Configuring an ASP.NET 2.0 Application to Work with Microsoft SQL Server 2000 or SQL Server 2005

Posted by: Imar Spaanjaars at Saturday, June 3, 2006 10:12:06 PM in: ASP.NET General
Over the past couple of weeks, I saw a number of posts on the Wrox Programmer to Programmer forum ( asking how to configure an ASP.NET 2.0 application to work with SQL Server 2000 or 2005. Since this is not an easy undertaking, and requires knowledge about ASP.NET 2.0, IIS and SQL Server, this article might help to familiarize you with some of the important concepts that you need to be aware of
Read on ... 1