DEV303 ASP.NET: Leveraging Visual Studio.NET For Web Projects Tony Goodhew Product Manager Microsoft...
-
Upload
edith-hill -
Category
Documents
-
view
217 -
download
0
Transcript of DEV303 ASP.NET: Leveraging Visual Studio.NET For Web Projects Tony Goodhew Product Manager Microsoft...
DEV303
ASP.NET: Leveraging Visual Studio .NET For Web Projects
Tony GoodhewProduct ManagerMicrosoft Corp
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
Setting Up Development
Install IIS and FPSE on development server
Install .NET Framework and VS.NetFor 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
Visual Studio Web Projects
Visual Studio Web ProjectUnit 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 ExtensionsUse Fileshare – local machine, remote web on local network, team development
Use Frontpage – remote web over internet, remote web not under \wwwroot
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><tags>
Form1.aspForm1.asp
codecode
single filesingle file
<tags><tags>
Form1.aspxForm1.aspx
codecode
Form1.vbForm1.vb
separate filesseparate filesVisual Studio.NET
Web Forms Designer
Drag/Drop WYSIWYG Form Designer
Optional Grid Layout
Double-click to write code behind controls
HTML Designer
HTML and server control statement completion
Color-coding
Auto formatting
Client-event generation
Code Editors
Color-coding
Statement completion
Design-time syntax checking
Server event generation
Simple web applicationCreating web project
Designer features
Integrated debugging
Using virtual directories
Authoring on the “root web”
demodemo
Connecting To Data
Use drag/drop and wizards to add data
Powerful database design toolsTable 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..
Showing data in a grid
Using the datalist control
2-page master details
demodemo
Team Development
Built-in Source Code Control SupportConnect to Visual Source Safe or any MSCCI provider
Available in Visual Studio Pro and higher
Recommended PracticesEnable 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.ConfigDatabase connection, WebService URL, etc.
Adding to Source Code Control
Enlisting from Source Code Control
Per user development settings
demodemo
Application Deployment
“Copy Project” commandXCopy deployment
Deploy to UNC or FrontPage extended web
Option to remove sources
Web SetupCreates MSI based setup file
Custom install logic (e.g. - database creation)
Uninstall capability
Using Copy Project
Creating a Web Setup
demodemo
Visual Studio .Net 2003
The most productive ASP.NET development environment
Great designers
Powerful data tools
Integrated source code control
Deployment features
Appendix…Appendix…
Community ResourcesCommunity Resources
Try Visual Studio .NET NOW! – [add link here]
Visit http://www.asp.netDownload ASP.NET 1.1
Release notes and whitepapers
700+ Online Quickstart tutorial samples
Starter Kit applications with source
ASP.NET Forums
Community Resources
Community Resourceshttp://www.microsoft.com/communities/default.mspx
Most Valuable Professional (MVP)http://www.mvp.support.microsoft.com/
NewsgroupsConverse online with Microsoft Newsgroups, including Worldwidehttp://www.microsoft.com/communities/newsgroups/default.mspx
User GroupsMeet and learn with your peershttp://www.microsoft.com/communities/usergroups/default.mspx
Suggested Reading And Resources
The tools you need to put technology to work!The tools you need to put technology to work!
TITLETITLE AvailableAvailable
Microsoft® ASP.NET Microsoft® ASP.NET Programming with Microsoft Programming with Microsoft Visual Basic® .NET Version 2003 Visual Basic® .NET Version 2003 Step By Step: 0-7356-1934-4Step By Step: 0-7356-1934-4
TodayToday
Microsoft Press books are 20% off at the TechEd Bookstore
Also buy any TWO Microsoft Press books and get a FREE T-Shirt
DiscussionDiscussion
evaluationsevaluations
© 2003 Microsoft Corporation. All rights reserved.© 2003 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.