New Squash Category Started

Posted by: Imar Spaanjaars at Tuesday, March 21, 2006 7:59:07 PM in: Squash Blogs
As you may know from my About page I play squash. Although I am not as fanatic as the about page says, I try to play at least once a week.
Read on ...

Interesting ADO.NET Tracing Article

Posted by: Imar Spaanjaars at Wednesday, March 08, 2006 8:02:36 PM in: Imar's Blogs

I just came home from the Dutch Microsoft Developer Days in Amsterdam. I visited a lot of interesting talks, including one on Atlas by Scott Guthrie and one on LINQ by Erik Meijer.

I also visited a session called "ADO.NET 2.0: Base classes, factories, and schemas and tracing" by Bob Beauchemin where he showed an interesting Trace feature for ADO.NET (besides a whole lot of other interesting stuff on ADO.NET 2.0).

Read on ...

A Few More Days Until My New Book is Out....

Posted by: Imar Spaanjaars at Tuesday, March 07, 2006 7:15:15 PM in: Imar's Blogs
It won't be long until my new book is finally released. Just two more weeks or so and it'll be available in the stores. I am expecting my own copies to be shipped every day now...
Read on ...

New ASP.NET 2.0 Site is Live!

Posted by: Imar Spaanjaars at Thursday, February 23, 2006 11:35:03 PM in: Imar's Blogs
Tonight I put my new web site live, completely built in ASP.NET V2.
Read on ...

A Better Alternative to Dreamweaver Templates

Posted by: Imar Spaanjaars at Wednesday, February 15, 2006 8:23:45 PM in: Web General

As a web developer and consultant, I am often involved in the upgrade or redesign process of existing web sites. Clients have had a site for a couple of years, and are now ready for something bigger, better or more feature rich. They approach the company I work for (Design IT) for a new web site. Upgrading (or even maintaining) these sites is often not an easy task, especially when they have been built with Dreamweaver and its Templates and Library features.

While in itself these features can be very useful, and allow you to create a consistent looking web site with little work, these features often make it hard to upgrade the web site. In this short article, I show you the common pitfalls with templates and library items, and show you a better alternative. While this article uses ASP for any sample code, the concepts also apply to other programming languages and web servers that support server side includes.

Read on ...

Migrating to ASP.NET 2 - Part 4 - Implementing Custom Providers for Membership, Roles and Profiles

Posted by: Imar Spaanjaars at Tuesday, February 07, 2006 7:18:44 PM in: ASP.NET 2.0

Update!! 05/03/2006
A while ago, Microsoft released the full source of the Built-in ASP.NET 2.0 Providers. Downloading the source is highly recommended if you want to create your own (or customize existing) providers. You can find more detail here: http://weblogs.asp.net/scottgu/archive/2006/04/13/442772.aspx.

This is the fourth part of a (long running) article series about migrating a .NET 1.x Web site to ASP.NET 2. This installment focuses on custom providers for the Membership and Role management features found in the .NET Framework. While out of the box these features make it very easy to implement security in a new site you build, you can't use them directly in existing web sites that already implemented a custom security mechanism.

Read on ...

How Do I Dynamically Switch the DefaultButton at Run-Time?

Posted by: Imar Spaanjaars at Saturday, January 14, 2006 5:46:40 PM in: ASP.NET 2.0
In a previous article I showed you how to use the ASP.NET 2.0 DefaultFocus and DefaultButton features inside a Master Page. You saw how you could use the UniqueID of a control to pass the right control ID to the WebForm_AutoFocus JavaScript method. In this short article, I'll show you how you can use another client side script method to dynamically switch the DefaultButton at run-time.
Read on ...

Migrating to ASP.NET 2 - Part 3 - Migrating Business Logic, Content Pages and User Controls

Posted by: Imar Spaanjaars at Saturday, January 14, 2006 3:59:24 PM in: ASP.NET 2.0

This is the third part of a (long running) article series about migrating a .NET 1.1 Web site to ASP.NET 2.0. This installment focuses on the way I migrated my business logic, content pages and user controls.

Read on ...

How Do I Access the Profile of Other Users Directly in VB.NET?

Posted by: Imar Spaanjaars at Tuesday, January 03, 2006 10:44:39 PM in: ASP.NET 2.0

You may be aware of the new ASP.NET 2.0 Profile feature that allows you to store and retrieve information for the currently logged on user. This Profile feature makes it extremely simple to store user specific information, like a user's address, phone number, or site preferences. (Note: if you're not familiar with ASP.NET 2.0 Profiles check out the section Storing User Profiles in the ASP.NET Quick starts).

But what if you want to access the Profiles data for another user? For example, what if you want to allow a site administrator to change the personal data of all users in your site? The trick to make this possible is to use the ProfileCommon class, which inherits from ProfileBase. This article shows you how you can use this class to access the Profile data for arbitrary users.

Read on ...

How Do I Access the Profile of a Different User Directly in C#?

Posted by: Imar Spaanjaars at Tuesday, January 03, 2006 10:06:06 PM in: ASP.NET 2.0

You may be aware of the new ASP.NET 2.0 Profile feature that allows you to store and retrieve information for the currently logged on user. This Profile feature makes it extremely simple to store user specific information, like a user's address, phone number, or site preferences. (Note: if you're not familiar with ASP.NET 2.0 Profiles check out the section Storing User Profiles in the ASP.NET Quick starts).

But what if you want to access the Profiles data for another user? For example, what if you want to allow a site administrator to change the personal data of all users in your site? The trick to make this possible is to use the ProfileCommon class, which inherits from ProfileBase. This article shows you how you can use this class to access the Profile data for arbitrary users.

Read on ... 12345678910111213141516171819202122232425262728293031