fredag 11 maj 2007

Powerful Refactoring Plug In For Visual Studio

Mark Miller writes about a cool free tool for refactoring your ASP.NET code -
Refactor! for ASP.NET from Devexpress.

It allows you to do a lot of tasks with just a few mouse clicks such as:

Add Validator
Adds a validator to an input control just by right clicking it and selecting the apropriate validator in the menu.



Surround with UpdatePanel
Surrounds a block of content with the UpdatePanel control.

tisdag 8 maj 2007



Found this very amusing classic article on the internet. For you non swedish speaking it sais something like:

"Now he have reached the hardware, the mother modem, the very heart of the hard drive is broken"

:-)

onsdag 2 maj 2007

MembershipProvider for MySql in .NET 2.0

In version 2.0 of the .NET framework there is built in support for role based membership. The users are stored in either a database or another data provider such as XML files. Everything is accessed trough a MembershipProvider.

The default MembershipProvider in .NET only works with SQL Server or SQL Express, but you can override the classes and methods to support your own data provider.

I have written an article (in swedish) on the Pellesoft web site about this, and also how you can extend the MembershipUser class to implement your own properties such as first and last name.

The article:
http://www.pellesoft.se/area/articles/article.aspx?artid=975

The original classes comes from www.sprinj.com where you can find the basic solution in english.