Skip Navigation LinksHome > Categories > Code from a Category

How to Publish/Setup ASP.Net 3.0 and 3.5 Applications on IIS.

User Name: codelecturer
Name: Mike Chauhan
Contact Me:
Home Page:
6 years of total IT experience including programming, application development, System Maintenance . 3 years of Experienced and expertise in .Net Framework VB, Visual Basic.Net, ASP.Net 2.0, 3.5 and AD... [More]
Viewed Times: 2805
Add Date: 11/08/2011
In this article I will explain where is 3.5 in IIS and how to setup 3.0 and 3.5 applications on IIS and how to publish 3.5 applications on IIS.
I am writing this post because in one of the interview interviewer has asked one interesting question that is now you’re using .NET 3.5 if I want to deploy .NET 3.5 version web application which type version I need to select in IIS or same question another way if I setup .NET 3.5 framework version on my machine whether I will get 3.5 version in IIS ASP.NET version dropdown or I will get only 2.0.50727, 1.1.4322 versions.
Generally open IIS just by type inetmgr in run command prompt and select website in Default Web Site right click on that and select properties. Now select Asp.Net tab under that check versions we will find versions like this
If we install .NET 3.5 and try to check Asp.NET version dropdown we will get only 2.0.5072 or 1.1.4322 versions there is no 3.5 version. Now we will get many questions like why this happened? What exactly .NET 3.5 version is? Whether we need to set any separate configurations to deploy .NET 3.5 applications? and many more questions.
If we observe 3.5 features it is just extension of 2.0 version it’s not a standalone framework like 2.0 version or 1.0 version because of that we won’t get 3.5 version in ASP.NET version dropdownlist. If we want to publish or deploy website with 3.5 version we don’t want to make any modifications in configurations.
When we install .NET 3.5 version on server it installs Syste.Core, System.Data.DataSetExtensions, System.Web.Extensions, System.XML.Linq assemblies in the GAC. If any website that refer these assemblies can fetch from the GAC because of that we don’t want to configure anything manually. Only the thing we need to do is just publish the website and select ASP.NET version 2.0.50727. Now we will get doubt like how it will work without making any changes am I right? The changes will be made in web.config file of website to check these details create new website 3.5 in visual studio 2008 and open
Web.config file we will see something like this

Here if we observe above code it creating new compilers by using these we can say that version 3.5 has to be used in application.

Post a Comment

Name: (Optional)
Email: (Optional, you can get an email if somebody replys your comments)*
Email me if somebody respons my comment below:
Enter Text
as Below:
(case insensitive, if hard to read, click the "get a new one" button)
* Your email address will not be shared with any third parties for any reason.
** Maximum 1000 charactors.