Thursday, February 16, 2006 - Posts

Tip: Disable Restart Prompt from Automatic Updates (Win XP Pro, Windows Server 2003)

  • In the Start Menu go to Run type "gpedit.msc" and press Enter
  • Now a Group Policy editor will open. In this window navigate to: Computer Configuration -> Administrative Template -> Windows Components -> Windows Update
  • Double click on No auto-restart for scheduled Automatic Updates installations
  • In the settings window choose Enabled and click OK
  • Double click on Re-prompt for restart with scheduled installations
  • In the settings window choose Disabled and click OK
  • Close Group Policy Editor
with 0 Comments

Download Tip: Create your own feature based on the ASP.NET 2.0 provider model

Here you'll find samples to speed you up when building your own Provider based features:

Code Template for Building a Provider Based Feature

The provider model in the .NET 2.0 Framework is not just for use by various features like Membership and Role Manager. The core classes that are used to build provider based features are all public and can be used in your own projects to add a pluggable and extensible provider layer. This download contains five sample files that you can use in a C# project to start building a provider based feature. The readme included in the zip file explains how to add the files to a C# assembly project and then edit the code to create a starting point for building out your own provider based feature.   

Download | Website

with 0 Comments

Download Tip: Use Access as your datastore for ASP.NET 2.0

You do not have SQL Server on your website, but still want to you the advanced features provided by the ASP.NET 2.0 provider model?

Here's the solution:

Sample Access Providers

The Sample Access Providers Starter Kit is a C# class library project containing implementations of ASP.NET 2.0 providers for the following features: Membership, Role Manger, Profile, and Web Parts Personalization. All of the providers use Microsoft Access for database storage. The starter kit also includes an empty Microsoft Access database containing the database schema used by the providers, as well as a sample web.config showing how the providers can be configured for use in an ASP.NET 2.0 application.

Note:You will need Visual C# Express to compile this starter kit before using it with Visual Web Developer Express.

Download here

with 0 Comments