Download presentation
Presentation is loading. Please wait.
Published byEdith Hill Modified over 9 years ago
1
DEV303 ASP.NET: Leveraging Visual Studio.NET For Web Projects Tony Goodhew Product Manager Microsoft Corp
3
Agenda Overview of web application concepts Building a simple application Adding data to web applications Developing web applications in a team environment Deploying your application
4
Setting Up Development Install IIS and FPSE on development server Install.NET Framework and VS.Net For remote servers can install “Remote Components Setup” instead of all of VS.Net If installed IIS after.NET Framework/VS.Net Register ASP.NET with IIS: “aspnet_regiis –i” Re-install “Remote Components Setup” Add users to VS Developers, Debugger Users
5
Visual Studio Web Projects Visual Studio Web Project Unit representing a web application Container for application and session state Folder under \wwwroot or virtual directory in IIS Marked as “Application” in IIS Accessed via Fileshare or Frontpage Extensions Use Fileshare – local machine, remote web on local network, team development Use Frontpage – remote web over internet, remote web not under \wwwroot
6
ASP.NET Web Forms A Web Form combines declarative tags (HTML, ASP directives, server controls and static text) with code Good separation provided between code and tags using “code-behind” <tags> Form1.asp code single file <tags> Form1.aspx code Form1.vb separate files Visual Studio.NET
7
Web Forms Designer Drag/Drop WYSIWYG Form Designer Optional Grid Layout Double-click to write code behind controls
8
HTML Designer HTML and server control statement completion Color-coding Auto formatting Client-event generation
9
Code Editors Color-coding Statement completion Design-time syntax checking Server event generation
10
Simple web application Creating web project Designer features Integrated debugging Using virtual directories Authoring on the “root web” demo demo
11
Connecting To Data Use drag/drop and wizards to add data Powerful database design tools Table creation and schema editing Stored procedure editing and debugging Query designer Rich databound UI using ASP.NET controls Repeating data – Datagrid, Datalist Core controls – Textbox, Dropdown, etc..
12
Showing data in a grid Using the datalist control 2-page master details demo demo
13
Team Development Built-in Source Code Control Support Connect to Visual Source Safe or any MSCCI provider Available in Visual Studio Pro and higher Recommended Practices Enable multi-user checkout in VSS Use LocalHost Development Get/Merge changes before check-in Same directory structure for all users Per user development settings using User.Config Database connection, WebService URL, etc.
14
Adding to Source Code Control Enlisting from Source Code Control Per user development settings demo demo
15
Application Deployment “Copy Project” command XCopy deployment Deploy to UNC or FrontPage extended web Option to remove sources Web Setup Creates MSI based setup file Custom install logic (e.g. - database creation) Uninstall capability
16
Using Copy Project Creating a Web Setup demo demo
17
Visual Studio.Net 2003 The most productive ASP.NET development environment Great designers Powerful data tools Integrated source code control Deployment features
18
Appendix…
19
Community Resources Try Visual Studio.NET NOW! – [add link here] Visit http://www.asp.nethttp://www.asp.net Download ASP.NET 1.1 Release notes and whitepapers 700+ Online Quickstart tutorial samples Starter Kit applications with source ASP.NET Forums
20
Community Resources http://www.microsoft.com/communities/default.mspx Most Valuable Professional (MVP) http://www.mvp.support.microsoft.com/ Newsgroups Converse online with Microsoft Newsgroups, including Worldwide http://www.microsoft.com/communities/newsgroups/default.mspx User Groups Meet and learn with your peers http://www.microsoft.com/communities/usergroups/default.mspx
21
Suggested Reading And Resources The tools you need to put technology to work! TITLEAvailable Microsoft® ASP.NET Programming with Microsoft Visual Basic®.NET Version 2003 Step By Step: 0-7356-1934-4 Today Microsoft Press books are 20% off at the TechEd Bookstore Also buy any TWO Microsoft Press books and get a FREE T-Shirt
22
Discussion
23
evaluations evaluations
24
© 2003 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.