Arne Brachhold

Backup Formatting Settings of Visual Studio 2005

Filed under: .Net — arne on April 28, 2006

If you’re working in a team on a .Net project, all devs should use the same coding guidelines as well as the same code formatting. Visual Studio 2005 has powerful options to automatically format your code how you like it. Unfortunately there is no way to export this settings from Visual Studio, so every developer has to configure the formatting settings by hand.

This is not very comfortable and fail safe so there must be a way to export or backup these settings, so you can import them on an other computer or ideally set them as a group policy in Active Directory.

(Read on …)

Custom HTTP handlers in ASP.Net (.Net 1.1)

Filed under: .Net — arne on May 25, 2005

Custom Webhandlers are an excellent method to create ASP.Net pages which don’t need all the Page and WebControl stuff. Maybe you already created a .aspx file which should only return XML or an image.

If you develop with Visual Studio, it creates automatically an .aspx and .cs file for you and you have to delete all content except the Page Directive from the .aspx file or call Response.End() at Page_Load. This is not very cool and results in useless work.
(Read on …)

Microsoft Component Installer SDK (Spring 2005)

Filed under: .Net — arne on May 24, 2005

Microsoft released the new Microsoft Component Installer Software Development Kit which is a SDK to perform various required installations for your .Net application.

The installer includes:

  • Microsoft Data Access Components (MDAC) 2.8
  • Microsoft .NET Framework 1.1
  • Microsoft DirectX 9.0c
  • Microsoft DirectX 9.0c for Managed Code
  • Microsoft .NET Framework Version 1.1 Language Pack
  • Microsoft .NET Framework 1.1 Service Pack 1
  • Microsoft ASP.NET Security Update for Microsoft .NET Framework 1.1 Service Pack 1
  • Microsoft Windows Installer 2.0
  • Microsoft Windows Installer 3.1

If you run it before your application setup, you can be sure all required components will be installed.

You can also specify an application or URL which will be executed when the installer finished. If you set the the "uionlyifneeded" parameter, the installer won’t be shown to the user if all required components are already installed.