February 2007 Entries

Windows Vista Specifying the Privelege Elevation for Legacy Applications

One of the interesting things about Windows Vista is the User Acccount Control (UAC) and the Elevation it requires when executing activities that require Administrative Priveleges.  Windows Vista, by default runs users as a Standard User and as such when an administrative task is attempted, it prompts you to verify the permission.  If you are running your applications on Windows Vista for the first time, you may be a little amused by this operation but it shows the security model that has been the core of Windows Vista.

We just did a Developer Tour on Windows Vista and Office 2007 and during my security session, an interesting question that was asked was how to make legacy applications request for the required privelege elevation.

One of the ways in which you can specify that admin priveleges are requied for the legacy application to run, is through the applications' manifest file.

To do that, all you need to do is to add a Text File to your project and rename it as ApplicationName.exe.manifest (Example UACDemo.exe.manifest).  Once that file is created, add the following XML Configuration setting into the UACDemo.exe.manifest file and save it.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"

   <assemblyIdentity version="" processorArchitecture="X86" name="UacDemo" type="win32"
      <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"
            <requestedExecutionLevel level="requireAdministrator"

Once we do the above, we need to attach the manifest to the EXE of the application.

If you are using Visual Studio 2005, Switch to the Project's Properties and switch to the "Build Events" Tab.  In the "Post-build event command line"  Textbox, paste the following:-

"$(DevEnvDir)..\..\VC\bin\mt.exe" -manifest "<Path to the Manifest file>"  –outputresource:"$(TargetDir)$(TargetFileName)";#1

In my case the path to the manifest file was <DriveName>:\Samples\UACDemo\UACDemo.exe.manifest.

Build the project and run the application.  You should now receive a "User Account Control" alert which warns you against the operation.  This can help you in making your legacy applications run on Windows Vista and still perform Administrative Tasks.

More references and a step by step instruction can be found at the following resources:-

Cheers !!!


1. The application manifest marking is only relevant to EXEs, not DLLs. This is because UAC does not inspect DLLs during the creation of the process.

2. If you are running Visual Studio 2005 as an Administrator, the security popup wont come up when debugging / running from within Visual Studio 2005.  However, it pops up when you run the application from the EXE, by directly invoking the EXE.

3. If you have correctly associated the manifest to the EXE, you would find a security shield embedded to the EXE Icon.

4. If you disable the UAC via control panel for your login, the elevation request popup won't occur when you run the application (outside of VS also) or for any other application for that matter. This is also indicated by a regular icon for the application and the security shield is no longer visible. 

Microsoft .NET Framework 3.0, WCF, WPF, AJAX, Microsoft Expression - Download Links

My friend, Pandurang Nayak put up a good list of download links for Microsoft .NET Framework, WCF, WPF Extensions, AJAX 1.0 and a list of other latest Microsoft Technologies which can be downloaded for free.  So, herebelow is the list. 




Release Status


Microsoft .NET Framework 3.0


Installs .NET Framework 3.0 and all libraries for WPF, WCF and WF

Windows SDK and .NET 3.0 Runtime Components


Installs important tools for Windows developers, Windows APIs and C++ header libraries

Visual Studio 2005 Extensions for Workflow Foundation

Nov 2006 CTP

Visual Studio add-ons for Workflow Foundation projects

Visual Studio 2005 Extensions for WCF, WPF

Nov 2006 CTP

Visual Studio add-ons for WPF and WCF projects

Visual Studio 2005 SP1


Several fixes for XP SP2 and Vista development

Visual Studio 2005 SP1 Update for Vista


Several fixes for Vista development

SQL Server 2005 SP2 (starting page for all editions)


Several fixes for XP SP2 and Vista development


1.0 RTM

AJAX extensions for ASP.NET

ASP.NET AJAX Control Toolkit

Works with 1.0 RTM

Open source community effort for pre-built AJAX controls

ASP.NET AJAX Documentation

1.0 RTM

Downloadable version that mirrors online documentation

Other ASP.NET AJAX downloads

Refer download page

Download source code for AJAX 1.0, download futures CTP (for seeing what is in store in the future) and other utilities

“WPF/E” (codename) plug-ins

CTP Feb 2007

To run “WPF/E” (codename) applications in your browser – plug-ins available currently for IE, FireFox (on Windows) and Safari (on Mac)

“WPF/E” (codename) SDK

CTP Feb 2007

To develop “WPF/E” (codename) applications

“WPF/E” (codename) Preview Sample Pack

CTP Feb 2007

Install several “WPF/E” (codename) samples locally

Windows Internet Explorer 7 for XP SP2


Install IE7 for Windows XP SP2

IE Developer Toolbar BETA 3


Provides tools for debugging client code and validate CSS/XHTML in IE 6, IE 7

Microsoft Expression Design


Vector design tool for creating XAML layouts

Microsoft Expression Blend


Powerful designer tool for creating interactive WPF applications

Microsoft Expression Web (Free Trial Version)


Powerful designer tool for creating standards-based websites.  Available for purchase.

Microsoft Expression Web Quickstart Guide


Quickstart lessons and tips to master Expression Web

Microsoft Expression Media (Free Trial Version)


Image/Digital Archive, Photo management, Professional Photo Publishing and Media encoding. Available for purchase.

Microsoft Visual Studio and SQL Express Editions


Free versions of Visual Studio and SQL Express for hobbyist developers and enthusiasts

Windows Live SDKs

Please visit page to see status for each SDK

Multiple SDKs to leverage, consume and extend various Windows Live Services


·         Please note that this information is current as of 23rd February 2007.   The CTPs and BETAs might have newer versions and it is advised to check on the status of the same before downloading the components.



Cheers !!!

Windows Vista Upgrade Advisor 1.0

If you are running a Windows XP machine and itching your hands to upgrade to Windows Vista, Windows Vista Upgrade Advisor is something which you would love to check out.

Windows Vista Upgrade Advisor is designed to help Windows XP users identify whether their PCs are ready for an upgrade to Windows Vista, which edition of Windows Vista meets their needs, and which features of Windows Vista will be able to run on their PCs.

Windows Vista Upgrade Advisor will help you determine if your current PC is ready for an upgrade to Windows Vista. It will also help you to choose the edition of Windows Vista that's right for you. Download the Upgrade Advisor to run an analysis of your current PC and use the detailed feedback to ensure that your PC is ready for the edition of Windows Vista that you want.
A cool little utility that can help you determine the things you need to know.
Cheers !!!

MIX '07 - A 72 Hour Conversation

MIX is Microsoft's Conference for Web Designers.  It is an annual Conference that happens in U.S. and is subsequently held in other subsidaries.  Check my earlier post on IndiMix, last year.

MIX 07 is going to be an exciting event for Web Developers, Designers and Web Business Persons.  It is a fun filled event and guess what, it is happening in the fun filled place, Las Vegas.  The event or rather the 72 Hour conference is from April 30 - May 2nd.

So, whats lined up there for you?                  

If you are a Web Designer, join us and see what are the new capabilities that can be delivered on the web with richness which would have never been imagined of. Explore the possibilites in Design using our new suite of Expression Products and see how Developer - Designers can talk the same language now.

If you are a Web Developers, join us and see the capabilities of AJAX and ASP.NET and how it makes web development life easy and at the same time providing a rich user experience.

If you are a Web Businessman, come and explore the new possibilities of generating revenue and hear to the new business models that have evolved and generating revenue using our latest technologies.

So, MIX 07 is for sure, a worth investment of your time and money and what you get back in turn, is loads of new ideas, business models, revenue generating innovations and thats not all, every attendee gets a Windows Vista Ultimate Edition for FREE !!!

There are also fun filled parties, contests and what not?

Check Visit MIX07 for more information and registration.

Happy MIXing !!!

Launch of Windows Vista and Office 2007 for Developers



We are kicking off a 5-city road-show for developers, focused on application development on Vista & Office 2007.  This event is behing held in Delhi, Hyderabad, Chennai, Bangalore and Mumbai.


Using the Windows Vista™ platform in tandem with the Microsoft® Office 2007 system, you can build future-ready applications that are visually stunning, collaborative and secure like never before. Start scripting the future today!


Create visually stunning and highly differentiated user interfaces that makes applications more usable and productive.

Build applications that connect users to each other and their data.

Build secure
applications, which
ensure unprecedented

Attend the event in your city and get:

  • 30% off on Developer Certifications from Microsoft
  • 25% off on Microsoft Press books



RSVP Phone


City /



9.00 am - 6.00 pm

011- 26223484

011- 26223485

Intercontinental Eros



9.00 am - 6.00 pm

040- 27660669

040- 66136734




9.00 am - 6.00 pm

044 – 24728113

044 - 24734247

Taj Coramandal



9.00 am - 6.00 pm

080 - 25219657

080 - 25213656

Taj Residency



9.00 am - 6.00 pm

022– 65021700

022- 40059933

Hyatt Regency



RSVP Email:

Cheers and Looking forward to see you all there !!!

Why Windows Vista? - Reason 3 on why you should move on to Windows Vista


Why Windows Vista costs less than you think?

Windows Vista delivers great value to businesses by addressing critical business scenarios.  Firstly, it empowers your people by making it easy for them to find, share and use information.  Secondly, it enables mobile and remote workers to stay connected and productive wherever they are.  Windows Vista also addresses growing security threats and helps protect your people's data in and out of office, secure your environment, and makes it easier to achieve compliance with government regulations and internal policies.  Last but not the least, Windows Vista makes it easier to deploy, manage, and support your corporate PCs by helping you in optimizing your desktop infrastructure.

Give your business a headstart with Windows Vista - Pay Less

Windows Vista comes loaded with security and back-up features that reduce the need to purchase expensive 3rd party products.

Backup & Restore   

Windows Backup & Restore included with Windows Vista.  Save upto $100 per PC.

Spyware Protection

Windows Defender included with Windows Vista.  Save $5 - $25 per PC.

Personal Firewall

Windows Firewall included with Windows Vista.  Save $50 per pc.

Full disk encryption

Windows BitLocker Drive Encryption included with Vista Enterprise.  Save $100 - $200 per pc.

Network access protection (NAP)

Vista supports Network Access Protection (requires Windows Server Longhorn to implement).  Save the cost of expensive hardware

Host-based Intrusion Prevention Systems (HIPS)

Internet Explorer 7 Protected mode and User Account Control.  Save $50 per PC.

More Security


» Disable USB storage
» User Account Control
» IE7 Protected mode & Phishing filter for robust security
» Windows BitLocker Drive Encryption to protect data on laptops that are lost or stolen

Higher Productivity


» New productivity features like Integrated Search make it faster and easier to find information on PCs, the corporate network or the internet
» New Aero User Interface - Live Previews and Flip 3D give the ability to easily organize, access and search files

Easier Management & Support

» Deployment: Reduces the time and complexity of desktop deployment
» Management: Lowers image count and image management costs
» Support: Reduces help-desk cost; Significant group policy enhancements to enhance the productivity of IT-pros

Check for more information.

Cheers !!!

Best Resources for Learning ASP.NET


I keep getting emails frequently from many people asking me for a good place to start learning ASP.NET.   I am really surprised to see the number of people writing to me regarding this and the interest ASP.NET has brought into the development community.

By any standards, the most popular web development model over the last 10 years has been ASP.NET.  It overtakes other competing technologies far ahead in terms of reach, simplicity and capabilities it can deliver on the Web.

Well, coming back to learning resources, I would say is your one stop portal for all your ASP.NET needs.  Breaking it down,

To learn ASP.NET as a beginner, check and where you find a wealth of information in different forms such as Videos, Podcasts, Articles etc.,

To get the necessary downloads (for free, including development tools) and getting started, visit

To obtain various resources provided by Microsoft as well as ASP.NET Developer Community, check

Check for blogs on ASP.NET and you can subscribe to the same to get latest updates.

If you want to work with AJAX, is your place to start

Whether you have a burning issue, a doubt, a technical implementation hard to do, a show stopper issue or a suggestion, is the best place to get answer or express your opinion.  It contains wealth of information and millions of users who contribute and benefit every day.  ASP.NET Forums has also produced a lot of Microsoft MVPs ( who shared as well as gained knowledge from here.

Finally, if you want to read latest articles on ASP.NET posted by various experts, visit "Article of the Day" section and subscribe for the same to get the latest articles.

Last and definitely the least when comparing the above resources, keep checking my this blog where I try to provide as much relevant information, technical articles and updates as possible.

Happy Web Development with ASP.NET !!!