Posted on 2006-04-16
Last Modified: 2013-11-25
I would like to know
-if is installed withh IIS server or separate and what do they mean by Web Server, Application Server and Web Application

-a simple example of when EnableViewState needs to be true or false

Question by:jskfan
    LVL 6

    Assisted Solution

    Regarding definitions:
    Web Server - the server that serves web content to the client browsers. It requests fles from several sources(filesystem, web applications, etc...) In windows it is IIS which acts also as an Application Server.
    Application Server - service that is capable of running web applications and from there delivering content to external services like web server.
    Web Applcation - application written by user, in this forum context it may be ASP.NET application. Application consists of configuration file (web.config) application controler class Global.asax and aspx pages. Web Application runs within Application server.

    Regarding ViewState. As you probably know Viewstate is the state of the controls, that is being sent to the user browser in encoded form every time the page postbacks.
    It may be sometimes helpfull to get rid of the viewstate to decrease number of bytes sent to the browsers. On the other hand it might be used in several other places:
    Viewstate persists control state, so you might not want to do this. This may be for example for textbox with user password. It will be needed only once, whenthe postbacks so ou do not need to persist this information.
    EnableViewState can be set also for some one time message labels. If you make the label invisible at design time and disable viewstate, then when you set its visibility to true it will show only once - it will disapear after second postback.


    Author Comment

    regarding the first point, if you are an ASP.NET with VB.NET programmer, can you tell me where are you going to install the Visual Studio/VB.Net/ and the IIS in order to build a web application?

    I think IIS is installed on the windows server.I also think the Database will reside in the SQL server. what about the rest?

    LVL 6

    Accepted Solution

    VB.NET and ASP.NET comes with .NET Framework. ASP.NET is installed if you have IIS installed previously.
    Typical folder is %WINDOWSFOLDER%\Microsoft.NET\Framework\ sub folders contain different version of .NET Framework (for v1.1 it is v1.1.4322).
    Visual studio is installed where the installer ask it to be installed. Default folder is: C:\Program Files\Microsoft Visual Studio .NET 2003
    for other versions of visual studio path is similiar tough different by version.
    LVL 6

    Assisted Solution

    Oh, if you're asking about server it is best to have Visual studio on the same machine that IIS is run :)
    It is not needed for the production tough.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    User art_snob ( encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now