Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


April 17, 2003

Real-Life .NET: Adding Support for the .NET Framework


RSS
Subscribe to Windows IT Pro | See More Windows OSs Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

In "Real-Life .NET: Setting Up UDDI on a Windows 2003 Computer" (http://www.winnetmag.com/Articles/Index.cfm?ArticleID=38701), I discussed how to add Universal Description, Discovery, and Integration (UDDI) Services (which lets you easily publish Web services on your intranet for individuals and applications) to Windows Server 2003. UDDI Services isn't a required part of applications running on the .NET architecture, but it does make certain tasks--such as creating new applications--easier. Now I'll look at a piece of the .NET architecture that's not required to use .NET applications but that broadens support for .NET applications: the .NET Framework, specifically the .NET Framework on the client side.

.NET applications have two possible interfaces: Web forms and Windows forms. You need the .NET Framework to support both, but where you need the .NET Framework depends on which interface your applications use. Web forms are for applications that run on an application server and are displayed in a browser connecting to that server, so the .NET Framework needs to be installed on the application server (and on the development computer). Windows forms, which run on the client computer, are much more flexible than Web forms. I'll save the comparisons for another article, but if you find the idea of selectively transparent or oddly shaped interfaces intriguing, you'll like Windows forms. Using Windows forms requires having the .NET Framework installed on the client computer where the application is running.

Using the .NET Framework has a catch, though: You need to install it, and the only OS that comes with the most recent version of the .NET Framework installed won't be released until next week. .NET Framework 1.0 has been out for a while, but applications developed with Visual Studio .NET 2003 will need version 1.1 to run. (Applications written for version 1.0 of the .NET Framework theoretically work on .NET Framework 1.1 in most cases, but some differences exist between the versions. For example, version 1.1 doesn't require applications to have a manifest to display the Windows XP default UI, as 1.0 does. For a complete list of all the changes that could potentially break applications originally developed for version 1.0, see http://www.gotdotnet.com/team/changeinfo/Forwards1.0to1.1/default.aspx . For a list of changes that will prevent applications developed for .NET Framework 1.1 from running on .NET Framework 1.0, see http://www.gotdotnet.com/team/changeinfo/Backwards1.0to1.1/default.aspx.) To develop applications for .NET Framework 1.1, you obviously need to install that version.

You can tell whether .NET Framework 1.1 is installed by opening the Control Panel Add/Remove Programs applet and looking for .NET Framework 1.1 in the list of installed programs. If it's not on the list and you're using one of the supported OSs (Windows Server 2003, Windows XP, Windows Me, Windows 2000, Windows 98, or Windows NT with Service Pack--SP--6.a), then you have several choices for getting it. If you develop .NET applications, you can download the Microsoft .NET Framework Version 1.1 Redistributable Package (dotnetfx.exe) from http://microsoft.com/downloads/details.aspx?FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en for inclusion with the applications you write. End users who need to install the .NET Framework can get the most recent version from Windows Update.

What are the compatibility problems for .NET Framework 1.0 and 1.1? Can you run both versions of the .NET Framework on the same computer? Some people might want to run both versions to avoid rewriting applications originally developed for 1.0. However, you can't run different versions of the .NET Framework on the same computer; Setup will tell you that the .NET Framework is already installed. And you don't necessarily need to support both versions of the .NET Framework. If you try to run a .NET Framework 1.0 application on a computer with .NET Framework 1.1 installed, the application will attempt to run. Only if .NET Framework 1.0 is installed will the application revert to the older version of the Framework. Applications written for 1.1 do require 1.1, however--they won't run on version 1.0 unless you explicitly edit their configuration files to enable them to use that version and unless they don't use any pieces found only in the 1.1 Framework.

What this discussion comes down to is that version dependence is not entirely a thing of the past; .NET Framework 1.1 and 1.0 aren't identical. However, the isolated nature of .NET applications lets different versions of applications--and the underlying framework supporting them--to coexist.

End of Article



Reader Comments
I have both versions installed. Can I remove FW1.0 or would that effect VS.NET or IIS? Or should I go ahead and remove and see what happens?

Anonymous User February 23, 2005 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
WinInfo Short Takes: Week of November 24, 2008

An often irreverent look at some of the week's other news, including a Vista Capable dismissal request, Zune price reductions, Morrow musings, Novell and Microsoft sitting in a tree ... two years later, Yahoo!, IE 6 on Windows Mobile, and so much more ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Top 11 Reasons Why Oracle Database 11g on Windows is Right For You

Power Up! With Virtualization Online Conference

Don't Miss Windows Server 2008 Virtual Event

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing