Web Development in Microsoft Visual Studio 2010. Slide 2 Lecture Overview How to create a first...
-
Upload
millicent-blair -
Category
Documents
-
view
215 -
download
2
Transcript of Web Development in Microsoft Visual Studio 2010. Slide 2 Lecture Overview How to create a first...
![Page 1: Web Development in Microsoft Visual Studio 2010. Slide 2 Lecture Overview How to create a first ASP.NET application.](https://reader036.fdocuments.us/reader036/viewer/2022082819/56649f1d5503460f94c33706/html5/thumbnails/1.jpg)
Web Development in Microsoft Visual
Studio 2010
![Page 2: Web Development in Microsoft Visual Studio 2010. Slide 2 Lecture Overview How to create a first ASP.NET application.](https://reader036.fdocuments.us/reader036/viewer/2022082819/56649f1d5503460f94c33706/html5/thumbnails/2.jpg)
Slide 2
Lecture Overview How to create a first ASP.NET
application
![Page 3: Web Development in Microsoft Visual Studio 2010. Slide 2 Lecture Overview How to create a first ASP.NET application.](https://reader036.fdocuments.us/reader036/viewer/2022082819/56649f1d5503460f94c33706/html5/thumbnails/3.jpg)
Slide 3
Introduction to Visual Studio 2010 All ASP.NET development and testing
can take place inside of Visual Studio 2010
A local Web server is provided for testing purposes It’s part of Visual Studio 2010
Intellisense works for server code and JavaScript and XHTML
![Page 4: Web Development in Microsoft Visual Studio 2010. Slide 2 Lecture Overview How to create a first ASP.NET application.](https://reader036.fdocuments.us/reader036/viewer/2022082819/56649f1d5503460f94c33706/html5/thumbnails/4.jpg)
Slide 4
Visual Studio Windows The Toolbox contains HTML controls and
ASP.NET controls Drag control instances using Design or
Source view The Solution Explorer lists the
application’s files The Properties window is used to set
object properties Other windows work as you would expect
![Page 5: Web Development in Microsoft Visual Studio 2010. Slide 2 Lecture Overview How to create a first ASP.NET application.](https://reader036.fdocuments.us/reader036/viewer/2022082819/56649f1d5503460f94c33706/html5/thumbnails/5.jpg)
Slide 5
ASP.NET Development in Visual Studio (Illustration)
![Page 6: Web Development in Microsoft Visual Studio 2010. Slide 2 Lecture Overview How to create a first ASP.NET application.](https://reader036.fdocuments.us/reader036/viewer/2022082819/56649f1d5503460f94c33706/html5/thumbnails/6.jpg)
Slide 6
Toolbox Controls They are different controls than those
used for desktop applications HTML controls are standard HTML
controls that will work with any browser Other controls are server side controls
that only work with IIS and ASP
![Page 7: Web Development in Microsoft Visual Studio 2010. Slide 2 Lecture Overview How to create a first ASP.NET application.](https://reader036.fdocuments.us/reader036/viewer/2022082819/56649f1d5503460f94c33706/html5/thumbnails/7.jpg)
Slide 7
The Design Surface It’s conceptually similar to the Windows
Forms Designer Views
Design view is displays a ‘rough’ visual representation of the page
Source view displays the code for the page itself
![Page 8: Web Development in Microsoft Visual Studio 2010. Slide 2 Lecture Overview How to create a first ASP.NET application.](https://reader036.fdocuments.us/reader036/viewer/2022082819/56649f1d5503460f94c33706/html5/thumbnails/8.jpg)
Slide 8
Debugging Debugging windows work the same way
in desktop and ASP.NET applications Set breakpoints on executable code lines Print values to the Immediate window Use Watch windows to interrogate the
values of variables It’s possible to debug client-side Java script
Note that script debugging must be enabled
![Page 9: Web Development in Microsoft Visual Studio 2010. Slide 2 Lecture Overview How to create a first ASP.NET application.](https://reader036.fdocuments.us/reader036/viewer/2022082819/56649f1d5503460f94c33706/html5/thumbnails/9.jpg)
Slide 9
Creating a New Web Site (1) Click File, New, Web Site Select ASP.NET Web Site from the New
Web Site dialog box
![Page 10: Web Development in Microsoft Visual Studio 2010. Slide 2 Lecture Overview How to create a first ASP.NET application.](https://reader036.fdocuments.us/reader036/viewer/2022082819/56649f1d5503460f94c33706/html5/thumbnails/10.jpg)
Slide 10
Creating a New Web Site (2) Visual Studio creates
A default Web page named default.aspx A code-behind file containing C# or VB
code A web.config file to configure the
application