Download presentation
Presentation is loading. Please wait.
Published byMartina Lynch Modified over 9 years ago
1
Module 2: Using Microsoft Visual Studio.NET
2
Overview Overview of Visual Studio.NET Creating an ASP.NET Web Application Project
3
Objectives Navigate the Visual Studio.NET integrated development environment Create, build and view an ASP.NET Web appl. Project. Explain the purpose of Visual Studio.NET Explain the IDE opening screen links Identify the available project types and templates. Identify the available windows in the IDE
4
Lesson: Overview of Visual Studio.NET Why Visual Studio.NET? Start Page Available Project Templates Integrated Development Environment (IDE)
5
Why Visual Studio.NET? One IDE for multiple languages and multiple project types It has a single IDE that provides a consistent look and feel. Features that were available for only one language are now available to all languages.
6
Why Visual Studio.NET? Multiple languages within a project Ms.NET-based languages are: Ms Visual Basic.NET, C#, Ms Visual C++ Multiple project types within a solution It supports the development of multiple project types, ranging from Ms Windows- based apps to ASP.NET Web apps, to XML Web services
7
Why Visual Studio.NET? “Work on several projects without having to change development environments and learn new tool interfaces or languages. Integrated browser It contains a built-in browser that is based on Ms IE. The browser is integrated into the IDE and can be accessed from multiple windows and menus. Your web site can be view during the development cycle without having to transfer to another program and retype URL string.
8
Why Visual Studio.NET? Debugging support It is designed to support debugging from your initial code through to the app release. Debugging support includes breakpoints, break expression, watch expression and the ability to step through code one stt or one procedure at a time. Customizable interface Because the Visual Studio.NET IDE can be customized at the window and tool level, you can show only those tools or windows that you are using at any given time and hide the remainder.
9
Start Page Online support access Recent projects
10
Available Project Templates The list of available templates is based on your Profile and language selections
11
Integrated Development Environment (IDE) Toolbox Solution Explorer Document Windows Properties Server Explorer Object Browser View Tabs
12
Lesson: Creating an ASP.NET Web Application Project The Development Process Web Application Files Web Site Type
13
The Development Process Create a Design Specification Build Test and Debug Create the Interface and Write Code Create a New Project Create a New Project Visual Studio.NET Deploy
14
Web Application Files ASP.NET Web Forms (.aspx) ASP.NET Web Forms are used when you need to build dynamic Web sites that will be accessed directly by users. It may be supported by a code behind page that is designated by the extension WebForm.aspx.cs ASP.NET Web services (.asmx) Web services are used when you want to create dynamic web sites that only be accessed by other programs. It may be supported by a code behind page that is designated by the extension WebForm.aspx.cs Classes, code-behind pages (.vb or.cs) Code-behind pages carry two extensions, the page type (.aspx or.asmx) and the language extension (.cs). Eg: WebForm.aspx.cs Web.config file A Web.Config file contains the configuration setting for the Web application
15
Web Site Type
16
Web Site Type…use when File-system : Create Web pages on local computer or on a shared drive. No IIS installed. Local IIS : Create Web pages on local computer. IIS installed. Web site will be accessible to other computers. FTP : Web site already exist on a remote computer that has been configured as an FTP server. Cannot create FTP Web site, only open the site. Remote : Create a Web site by using IIS running on a remote computer. The remote computer must be configured with Front Page Server Extension.
17
Review Overview of Visual Studio.NET Creating an ASP.NET Web Application Project
18
Exercise What is the difference between Server Explorer and Solution Explorer in Visual Studio.NET? How do you add a new Web form to a Web application? How do you view a Web form in the Visual Studio.NET browser? List THREE Web site type? Explain the advantages and disadvantages of File System and Local IIS.
19
~ End of Slides ~
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.