ASP.Net Programming Using Visual Basic
Course Code - GN-154 Duration - 3 Days
Microsoft’s original implementation of ASP was powerful and popular, but had a number of major limitations particularly in respect to the separation of page design and programming.
ASP.Net 1 initiated a new model which provided ‘code- behind’ to separate the coding and design, and allowed web pages to be designed in much the same way as desktop forms. ASP.Net 2 improved on this in a number of areas, particularly flexibility and simplicity.
This course covers ASP.Net 2, or 1.1 on request, and can also provide a full coverage of the VB.Net language. The course length can vary from 2 to 5 days depending on prior experience of the .Net languages or their predecessors, but the overview given below assumes prior experience in Visual Basic 6 or similar.
Windows and .Net
- The .Net platform.
- The Common Language Runtime (CLR) and Intermediate Language.
- Visual Basic, its alternatives and variations.
The Visual Basic Programming Language
- Variable Types, Scope and Lifetime.
- Nullable types.
- Control flow: If, For Next, Do While/Until, For Each, - Select Case.
- Other Language Features.
Object Oriented Programming
- Classes, objects and the use of 'New'.
- Namespaces and assemblies.
- Benefits of object orientation.
- Inheritance and the use of ‘Overridable’ and ‘Overrides’.
- Benefits of inheritance.
- Hiding and Shadows.
- Abstract classes.
- Constructors and initialization.
- Collection classes.
- Collection examples.
- The benefits of interfaces.
- Interfaces vs classes.
- Defining and implementing an interface.
- Common interfaces.
- Comparison with ‘Err’ and ‘On Error’.
- Try and Catch. Finally.
- Custom Exceptions.
Getting Started With ASP.Net
- Event- driven programming.
- Code - behind vs inline.
- PostBack and cross page PostBack.
- Standard folders.
- Master pages.
- Compile on demand.
- Client- side and server- side validation.
- The Validator controls.
- Regular expression and custom validators.
- Validation groups and summaries.
- Why state is an issue.
- View, control, session and application state.
- Keeping state across servers.
- Caching and cache state.
Using Databases with ASP.Net
- Using SQL Server.
- Data sources and data binding.
- The GridView, DetailsView and FormView controls.
- List controls.
- Sql, Object and XML Data Sources.
Exploiting Databases in ASP.Net
- ADO.Net architecture.
- Data Commands and DataReaders.
- Stored procedures and transactions.
- DataSets, DataTables and DataAdapters.
- Batch updates and Aynchonous results.
- Using XML data.
- The TreeView and Menu controls.
- Using XML data sources.
- Site navigation.
- Other controls.
- Web parts.
- User profiles.
- Authentication and authorization.
- Credentials and configuration.
- Security controls.
- Cookieless authentication.
Organizing the Site
- Standard folder structure.
- Exploiting master pages.
- Resources and internationalization.
- Tracing, monitoring and instrumentation.
- Error events and pages.
- User, composite and server controls.
SOAP and Web Services
- XML and SOAP.
- What is a Web Service?
- Writing Web Services
« Back to last page