Getting Started with ASP.NET Web Forms
In This Topic
    Creating an ASP.NET Project
    In This Topic

    ASP.NET Web Forms Edition requires Visual Studio 2008 or later and .NET Framework 3.0 or later for your Web applications. ASP.NET Web Forms Edition does not require AJAX extensions; however, you can install them if you want to use AJAX in your project. See the following table for more details on installing AJAX extensions.

    Visual Studio 2012/13,
    .NET Framework 3.5
    You can easily create an ASP.NET project without installing separate add-ins because the framework includes built-in controls.
    Visual Studio 2010  You can build Ajax-enabled ASP.NET projects by downloading the AJAX Control Toolkit from CodePlex and dragging-and-dropping the controls from the Visual Studio Toolbox onto an ASP.NET Web Forms page.

    The following topics explain how to create projects in Visual Studio 2010 and 2008. 

    Creating a Web Site/Application Project in Visual Studio 2010 

    To create a new Web site/application project in Visual Studio 2010, complete the following steps.

    1. If you are creating an AJAX project, download the AJAX Control Toolkit from CodePlex and extract the files.
    2. From the File menu, select New | ASP.NET Web Application. The New ASP.NET Web Application dialog box opens.
    3. Select a .NET Framework in the upper right corner. Note that if you choose .NET Framework 3.0, you must install the extensions first.
    4. Under Project Types, choose either Visual Basic or Visual C# and then select Web. Note that one of these options may be located under Other Languages.
    5. Select a language, and in the list of templates, select ASP.NET Web Site/Application.
    6. Specify a location and then click OK.            
      Note: The Web server must have IIS version 6 or later and the .NET Framework installed on it. If you have IIS on your computer, you can specify http://localhost for the server.

      A new Web project is created at the root of the Web server you specified.
    7. If you are creating an AJAX project, right-click the Toolbox (create a new tab if you like), select Choose Items and browse to find the AjaxControlToolkit.dll. You can begin dragging toolkit controls to your page.

      Note that if you do not see the toolkit controls in the Toolbox, make sure you selected the .NET Framework that corresponds with the version of the toolkit you downloaded.

    Creating a Web Site/Application Project in Visual Studio 2013 and above

    To create a Web site/application project in Visual Studio 2013 and above, complete the following steps:

    1. From the File menu, select New | Web Site/Project. The New Web Site/New Project dialog box opens.
    2. Select .NET Framework 4.5 or 4.0 in the upper left corner.
    3. Select a language, and in the list of templates, select ASP.NET Web Site/Application.
    4. Specify a location and name. Then click OK.
      Note: The Web server must have IIS version 6 or later and the .NET Framework installed on it. If you have IIS on your computer, you can specify http://localhost for the server.

      A new Web project is created at the root of the Web server you specified.