Exeter – Devon, Central London, Bristol or onsite at your premises.
OVERVIEW AND OBJECTIVES
Microsoft’s .NET architecture is revolutionizing Internet application development. This course will teach students how to master building data-driven Web applications and services with ASP.NET, the next generation of Microsoft Active Server Pages technology. After completing this three-day course, students will be able to:
- Successfully design the architecture of ASP.NET applications.
- Write ASP.NET applications in VB.NET, the successor to Visual Basic and VBScript.
- Create Web forms with ASP.NET Form Controls.
- Work with ASP.NET Server Controls to validate and process form submissions and perform other vital tasks.
- Build database-driven applications with ASP.NET and ADO.NET.
- Produce XML data from your ASP.NET applications, and utilize ASP.NET to parse XML data and store it in a database.
- Declare and control Web applications with global.asax.
- Maintain state for each user via ASP.NET session management.
- Understand the role of Web services and build your first data-driven Web services.
- Successfully debug and deploy your ASP.NET applications.
WHO SHOULD ATTEND?
Students should have a good working knowledge of Active Server Pages, gained through experience or attendance on an introductory level course. Prior attendance on an advanced level ASP course is recommended, as is proficiency in XML.
SUBJECT AREAS (PLEASE NOTE, SUBJECT AREAS COVERED WILL DEPEND ON DELEGATES ABILITY AND TIME AVAILABLE)
- What experience does this course presume?
- What is the .NET Framework?
- What is ASP.NET?
- What languages are supported for writing ASP.NET applications?
- What software do I need in order to run ASP.NET applications?
- What does the Microsoft .NET Framework SDK include?
- What happens the first time an ASP.NET file is executed?
- Examining a Sample .NET Application that Uses asp:label
- Processing Form Submissions Under the New Model
- Exercise 1: Processing Form Submissions and Working with asp:label
Conditionals and Additional Web Server Controls
- Conditionals in VB.NET
- asp:dropdownlist and asp:listbox
- Exercise 2: Completing a More Complex Application that Uses Web ServerControls
Data Types and More Control Flow Structures
- Fundamental Data Types in VB.NET
- Select Case
- Loops in VB.NET
- Exercise 3: Implementing a For Each Loop
Arrays, Subroutines, and Functions
- Exercise 4: Implementing the Previous Exercise Application UsingSubroutines
Events in ASP.NET
- Page events
- Web Server Control Events
- Example: payperviewdemo.aspx
- Exercise 5: Handling a Server-Side Click Event
Introduction to Object Oriented Concepts
- Objects are Created from Classes
- To Instantiate an Object, Call the Class’s Constructor
- In VB.NET, All Variables are Typed
- Objects in VB.NET Have Methods and Properties
- Methods and Properties are Unique to Each Class
- Classes Relate to Each Other in Hierarchies
- Classes Automatically Inherit All Methods and Properties of The ClassesAbove Them
- Example: Building and Using a Viewer Class
- Defining Methods
- Exercise 6: Writing and Using your First Class
Inheritance and Overriding
- Declaring the Class as a Subclass of Viewer
- Writing the New Constructor
- Method Overriding
- Shared (Static) Properties
- Exercise 7: Subclassing Program with Movie
Request, Response, and Server
- Side Note: Server.HTMLEncode()
- ADO.NET Uses OleDB Instead of ODBC
- System.Data and System.Data.OleDb Contain the Classes for DatabaseAccess
- Further Comparison of ADO.NET and ADO
- Introducing the Database Used for the Course
- Selecting Records from the Database via ADO.NET
- Exercise 8: Building a LastName Query Interface
- Handling Database Exceptions
- Try-Catch-Finally-End Try
- Exercise 9: Writing a Query Viewer that Handles SQL Errors and EmptyDataSets
Working with Disconnected DataSets
- OledbAdapter and DataSet
- Populating a DataGrid from a DataSet
- Examining a More Complex Example
- Exercise 10: Building Your First Disconnected Recordset Application
Inserting Records into the Database
- Inserting Records via a Disconnected Recordset
- Inserting a Record Directly Into the Database
- Exercise 11: Inserting a Viewer into the Database via a DisconnectedRecordset
Data Drilldowns with Data Bound Controls
- Exercise 12: Building a Drilldown Application with a DynamicallyPopulated DropDownList
- Working with Stored Procedures
- Passing Input Parameters to a Stored Procedure
- Exercise 13: Building an Application that Uses a Stored Procedure
Application Variables and global.asax
- What is an Application?
- A Sample global.asax File
- A Hit Counter Application Variable Example
- Exercise 14: Setting and Retrieving Application Variables
- Exercise 15: Using Session Variables
- XML Logical Structure
- XML Physical Structure
- Why Use Attributes?
- XML Design Patterns
- Applications of XML (and related technologies)
- What We’ll Cover in the Following Four Sections
Producing XML from Database Data via ADO.NET
- Exercise 16: Generating XML from the Viewers Table
Reading XML Data into a DataSet
- Exercise 17: Reading an XML File into a DataSet
Importing XML into the Database
- Exercise 18: Importing an XML File into the Viewers Table
Performing XSLT with ASP.NET
- Exercise 19: Transforming an XML Document via XSL
Working with Validation Controls
- RequirdFieldValidator, CompareValidator, and RangeValidator
- The ValidationSummary Control
- Exercise 20: Implementing Validation Controls
Regular Expression Validation
- Introducing Regular Expressions
- Regular Expression Tester
- Special Characters for Pattern Matching
- Escape Sequences for Special Characters
- Specifying Ranges in Patterns
- Matching a Specified Number of Occurrences
- Character-Range Escape Sequences
- Matching at the Beginning or End of a String with ^ and $
- The Word-Boundary Pattern Anchors: \b and \B
- Using the RegularExpressionValidator
- Exercise 21: Using the RegularExpressionValidator Control
- Exercise 22: Implementing the CustomValidator Control
- Exercise 23: Completing and Implementing a User Control
- Exercise 24: Completing and Implementing a Code Behind
- Exercise 25: Building and Deploying an Assembly
Introduction to Web Services with SOAP
- What are Web Services?
- What is SOAP?
- Examining a Web Service
- Calling a Web Service from another Application
- Setting up a Web Service Proxy
- Exercise 26: Building Your First Web Service
Appendix A: SQL Refresher
- Data Types in SQL
- Creating a Table in SQL
- Inserting a Row into the Table in SQL
- Inserting a Partial Row (or Fields in a Different Order) in SQL
- Retrieving Information from the Database via SELECT
- Editing Records in the Database with the UPDATE Statement
- Removing Records from the Database with the DELETE Statement
Appendix B: Recommended Resources
- Newsgroups (searchable via http://groups.google.com)
- Web Sites
Courseware and manual, certificate of achievement, refreshments and lunch are all included in this course.
If there is an ASP.net course that is not listed on our site, that you are interested in attending then please let us know and we can arrange one to one training onsite with our Trainer.
Still not convinced?
We can help you!
Fill out the form below and one of our IT specialists will contact you.