ASP.Net Programming Using C#
Course Code - GN-156 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 C# 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 a C- like language.
C# in context
- C# and .Net.
- The Common Language
- Runtime (CLR) and Intermediate Language (IL).
- C# outside Microsoft.
C# as an Object Oriented Language
- Data types and nullable types.
- Value and reference types.
- Classes, objects and the use of 'new'.
- The heap and the stack.
- Strings and StringBuilders.
- Collections and generics.
- Arrays, jagged arrays and Indexers.
- Namespaces, ‘using’ and assemblies.
- Inheritance and the use of ‘virtual’ and ‘override’.
- Benefits of inheritance.
- Hiding and the other use of 'new'.
- Abstract classes.
- Constructors and initialization.
- Casting, ‘as’ and ‘is’.
- The benefits of interfaces.
- Interfaces vs classes.
- Defining and implementing an interface.
- Common interfaces.
- How exception handling works.
- try…catch and throw. try…finally.
- Writing and using exception handlers.
Getting Started With ASP.Net
- Event- driven programming.
- Code- behind vs inline.
- PostBack and cross page
- 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