September 18, 2009

How to Remove Version Control Bindings from Visual Studio Solutions

Binding a Visual Studio Solution to code controllers such as Visual SourceSafe (VSS) offers many advantages to develoeprs. However, it is also a pain when you have to distribute such code to other users who do not have VSS or access to VSS. To work around the problem, you can

Publishing 32-Bit ASP.NET Applications to a 64-Bit OS

It’s useful to know how to publish your 32-bit ASP.NET applications to a 64-bit operating system (OS). For example, suppose you want to publish to a Windows Server 2003 64-bit OS with IIS6.0. Here’s the procedure: Unregister the the 64-bit framework with following command: %windir%Microsoft.NETFramework64[VersionFolder]aspnet_regiis.exe -u Run the following command

A Quick Way to Generate Properties in Visual Studio C# Projects

When building classes in Visual Studio (VS), you can generate property setters and getters quickly by defining a field variable, and then right-clicking on the field and selecting Refactor ? Encapsulate Field from the popup menu. VS will display a dialog that lets you approve/change the property name, and optionally,

Call PowerShell Cmdlets from C#

You can call PowerShell cmdlets directly from your C# code. First, add a reference to System.Management.Automation to your project. Unfortunately, you need to do this by editing the .vcproj file manually with NotePad or another text editor. Add the following line to the References section: &ltReference Include=”System.Management.Automation” /&gt Next, add

Exploring HTML 5 Forms

orms have become an integral part of nearly all web applications, but the core HTML form elements are now nearly 13 years old. No surprise, then, that one of the major initial goals of the HTML 5 effort was to update these elements to reflect more contemporary thinking. One of