English French German Italian Portuguese Russian Spanish

logo_old

  • Microsoft Training

    microsoftInterSource offers courses on all practically all Microsoft products and technologies:

    Operating Systems: XP, Vista, Server Server2003, Server 2008 IIS, SQL Server

    Development Tools & Environments: ASP, ASP.NET, C#, .NET, VBA, Visual Basic

    Applications: Dynamics, Expression, Access, Excel, Word PowerPoint, Exchange, InfoPath, Outlook, SharePoint , Project, Publisher, Business Intelligence

    Please refer to our detailed course outlines below.

  • About Microsoft

    Microsoft has had an impact on, and indeed defined the computing world like no other company. The development tools, operating systems and applications produced by Microsoft have achieved near-ubiquity in the desktop computer market. The original mission set by Microsoft's founder was to have "a computer on every desk and in every home, running Microsoft software". About 90% of computer users worldwide run Microsoft products, hence this objective has largely been met. For operating systems, Web client statistics suggest that Microsoft Windows has about a 92% share, Apple Mac OS 6% and Linux, 1%.

    Read More

  • Course Details Microsoft

    Classes are offered at client sites, at our Geneva training center, and via a live web conference. For detailed course outlines and scheduled classes, please see below.

    To book training, navigate to the course you need, then:

    • For scheduled online classes, register from the choices indicated.
    • If you need an alternative date, time or location, or if you want a live classroom course, click on “request an offer for this course,” to complete the form.

ASP.NET Using Visual Basic 2010

 PDF PrintEmail

Course duration

  • 5 Days

Course Outline

In this ASP.NET Using Visual Basic 2010 training, you will learn how to use features of Visual Studio 2010 and Visual Basic/C# 2010 to build ASP.NET Web pages. You will gain an understanding of the architecture behind ASP.NET and how to use the various ASP.NET server controls. You will learn to create consistent web sites using Master Pages, add membership features and configure-deploy ASP.NET applications, to authenticate users and limit their access to resources, direct users using Site Navigation tools, debug .NET, and to display/edit data using ASP.NET and ADO.NET. In addition, you will learn about ASP.NET features, such as support for LINQ (Language Integrated Query), CSS tools, and will become familiar with the tracing features in Visual Studio that help you quickly troubleshoot issues. You will also learn how to work with ASP.NET Profile features, ASP.NET Web Parts, and how to take advantage of creating your own user-defined control. As you progress through the course you will learn about optimizing your sites, the ListView control, and so much more.

  • Learn how to use features of Visual Studio 2010 and Visual Basic/C# 2010 to build ASP.NET Web pages.
  • Learn to create consistent web sites using Master Pages, add membership features and configure-deploy ASP.NET applications.
  • Learn to authenticate users and limit their access to resources.
  • Learn to direct users using Site Navigation tools, debug .NET, and to display/edit data using ASP.NET and ADO.NET.
  • Learn about ASP.NET features, such as support for LINQ (Language Integrated Query), CSS tools, and become familiar with the tracing features in Visual Studio that help you quickly troubleshoot issues.
  • Learn how to work with ASP.NET Profile features, ASP.NET Web Parts, and how to take advantage of creating your own user-defined control.
  • Visual Studio 2008 or 2010
  • Visual Basic
  • Basic understanding of the .NET Framework
  • Some prior experience with Web development will also be helpful.
  1. Introduction to ASP.NET
    1. A Review of Classic ASP
      1. Dynamically Creating Web Pages
      2. An ASP Example
      3. ASP Shortcomings
      4. ASP.NET to the Rescue
    2. ASP.NET Web Applications
      1. Creating a New Web Application
    3. Rendering HTML with Server Controls
      1. Types of Server Controls
      2. Using HTML Controls
      3. Using ASP.NET Web Server Controls
    4. Data Binding in ASP.NET
    5. Web Development in Visual Studio
      1. Code Behind vs. Inline Code
      2. Web Sites and Applications
      3. ASP.NET Development Server
      4. Multi-Targeting Support
    6. Lab: Introduction to ASP.NET
  2. Working with Controls
    1. Introduction to Web Controls
      1. The WebControl Class
      2. The Label Control
    2. Simple Input Controls
      1. TextBox Controls
      2. CheckBox Controls
      3. RadioButton Controls
    3. HyperLink and Button Controls
      1. Postback Behavior
      2. HyperLink Controls
      3. Button Controls
      4. Displaying Images
      5. Using the ImageMap Control
      6. Image Alternate Text
    4. List Controls
      1. The Sample Page
      2. Adding Items to Lists
      3. Adding Items Programmatically
      4. Handling Selections and Postbacks
      5. Clearing Selected Items
      6. Removing Items
    5. Controlling Focus
      1. Setting Form Defaults
      2. Calling the Focus() Method
      3. Using TabIndex and AccessKey
      4. Overriding Default Button Settings with Panel Controls
    6. Lab: Working with Controls
  3. Using Rich Server Controls
    1. Introduction to Rich Controls
    2. The Calendar Control
      1. Working with the Calendar Control
      2. Handling Calendar Events
      3. Adding Custom Content with DayRender
      4. Investigating the Client-Side Code
    3. The AdRotator Control
      1. How the AdRotator Works
      2. Setting Up the Advertisement File
      3. Advertisement File Contents
      4. Adding User-Defined Elements
      5. Setting the Target Frame
      6. Filtering Images with the KeywordFilter Property
      7. Using the AdCreated Event
    4. The XML Control
      1. Setting the XML Control Properties
      2. Providing the Style Sheet
    5. Lab: Using Rich Server Controls
  4. Accessing Data
    1. Overview of ADO.NET
      1. ADO.NET Classes
      2. The ADO.NET Architecture
      3. Creating ADO.NET Data Objects
      4. The DataTable Object
    2. Connecting to Data
      1. Setting Up Connection Information
      2. Using the Connection Object
    3. Executing Commands
      1. Using a SqlDataReader
    4. Working with Data
      1. Working with Data Using a Data Adapter
      2. Managing Data with the DataSet Object
      3. Filling a DataTable within a DataSet
      4. Filling DataSets from SQL Server
    5. Choosing an ADO.NET Provider
      1. The SQL Server .NET Data Provider
      2. The OLE DB .NET Data Provider
      3. The ODBC Data Provider
      4. Writing Code for Multiple Providers
    6. Lab: Accessing Data
  5. Introduction to LINQ
    1. Language Integrated Query
      1. LINQ Using Visual Basic and C#
    2. LINQ Syntax
      1. Basic LINQ Syntax
      2. Extension Methods
      3. LINQ and More Complex Objects
      4. Anonymous Types
      5. Some Interesting Examples
    3. LINQ to SQL
      1. Creating a Data Model
      2. Calling Stored Procedures
      3. Using Anonymous Types with SQL
      4. Modifying SQL Data
    4. LINQ to DataSets
      1. LINQ to Typed DataSets
      2. LINQ to Untyped DataSets
    5. LINQ to XML
      1. Generating XML
      2. Querying XML
      3. Transforming XML
      4. Are You Done? Is there More?
    6. Lab: Introduction to LINQ
  6. Configuration
    1. Configuration Overview
      1. Navigating the Configuration File Hierarchy
      2. Configuration File Elements
      3. Sample web.config
      4. ASP.NET Configuration Tools
      5. Configuration Security Features
    2. Using the Web Site Administration Tool
      1. The Web Site Administration Tool Graphical User Interface
      2. Using the Web Site Administration Tool to Create a Custom Error Page
    3. Programming Configuration Files
      1. The Configuration APIs
      2. Storing and Retrieving Connection Strings
      3. Writing to Configuration Files
      4. Using External Configuration Files
      5. Standard Configuration Sections
      6. Is That All There Is?
    4. Encrypting Configuration Sections
      1. Protected Configuration Providers
      2. Encrypting the connectionStrings Section in web.config
      3. Encrypting External Configuration Files
      4. Moving Encrypted Configuration Files
    5. Lab: Configuration
  7. Data Binding
    1. Introducing Data Source Controls
      1. Introducing Data-Bound Controls
    2. Reading and Writing Data Using the SqlDataSource Control
      1. Bind a DropDownList Control
      2. Display Product Information in a DetailsView Control
      3. Filter Data Based on the DropDownList Value
      4. Data Source Control Events
      5. Should You Use the SqlDataSource Control?
    3. Displaying and Editing Middle-Tier Data Using the ObjectDataSource Control
    4. Binding Using the LinqDataSource Control
      1. Demonstrating the LinqDataSource Control
    5. Displaying XML Data Using the XmlDataSource Control
      1. Configuring the XmlDataSource Control
      2. Add the FormView Control
    6. Lab: Data Binding
  8. Validating User Input
    1. Overview of ASP.NET Validation Controls
      1. The Validation Controls
    2. Using the Simple Validators
      1. Using the RequiredFieldValidator
      2. Using a RangeValidator to Ensure that Data Falls within a Specified Range
      3. Using a CompareValidator to Compare Values
    3. Using the Complex Validators
      1. Validate General Text with the RegularExpressionValidator
      2. Create Your Own Validation Using the CustomValidator Control
    4. Summarizing Results with the ValidationSummary Control
      1. Display Modes for the ValidationSummary Control
    5. Separating Validation into Validation Groups
    6. Lab: Validating User Input
  9. Cascading Style Sheets
    1. Introducing Cascading Style Sheets
      1. Advantages of Using Styles
      2. Converting from Embedded to Linked Style Sheets
      3. What Is CSS, Really?
    2. Investigating Styles
      1. Font Attributes
      2. Color Attributes
      3. Margins and Alignment
      4. Positioning
      5. <DIV> and <SPAN>
      6. Classes and IDs
      7. Grouping
    3. Is That All?
      1. Using Visual Studio's Tools for Working with Styles
      2. Split View Editing
      3. Manage Styles Window
      4. Using the Direct Style Application Toolbar
      5. Creating New Styles in the Stylesheet Editor
      6. Creating New Styles from the Manage Styles Window
      7. Using the CSS Properties Window
    4. Lab: Cascading Style Sheets
  10. Themes and Master Pages
    1. Creating a Consistent Web Site
      1. ASP.NET Themes
      2. Working with Themes, Folders, and Skins
      3. Applying a Theme
      4. Creating a Theme
      5. Working with Themes
      6. Creating Named Skins
      7. More Issues with Themes
    2. Master Pages
      1. Creating a Master Page
      2. Creating a Content Page
      3. Converting a Standard Page to a Content Page
      4. Adding Default Content
      5. Practical Master Pages
      6. Creating Nested Master Pages
    3. Lab: Themes and Master Pages
  11. Site Navigation
    1. ASP.NET Web Site Navigation
      1. Providers and Data Sources
      2. Absolute and Relative URLs
    2. Creating an XML Site Map File
      1. A Hierarchy of Nested siteMapNode Elements
      2. Built-In and Custom Attributes
    3. Site Navigation Controls
      1. Breadcrumb Controls and Hierarchical Navigation
    4. Using the Site Navigation API
      1. Accessing Current and Sibling Nodes
      2. Exploring the SiteMap Class
    5. URL Mapping
      1. Mapping URLs in Web.config
      2. Adjusting the Site Map
      3. Using Multiple Site Map Providers
    6. Security Trimming
      1. Authentication and Authorization
      2. The Web Site Administration Tool
      3. Enabling Security Trimming
      4. Automatic Role-Based Trimming
    7. Lab: Site Navigation
  12. Displaying Data with the GridView Control
    1. Introducing the GridView Control
      1. Displaying Data with the GridView Control
    2. Filter Data in the GridView Control
      1. Create the DropDownList of Countries
      2. Filter the Data Based on the Selected Country
    3. Allow Users to Select from a DropDownList in the Grid
      1. Introducing Templates
      2. Convert the Country Field into a Template
    4. Add a Hyperlink to the Grid
      1. Create the CustomerOrders Page
      2. Create the Hyperlink
    5. Deleting a Row and Handling Errors
      1. Add the Delete Link
      2. Add the Client-Side Alert
      3. Add Event-Handling Code
      4. What's Left?
    6. Lab: Displaying Data with the GridView Control
  13. Managing State
    1. Preserving State in Web Applications
      1. Methods of Preserving State
    2. Page-Level State
      1. Enabling Dynamic Page Modifications
      2. ViewState and the Page Lifecycle
      3. Enabling Change Events
      4. Understanding ViewState
      5. When to Disable ViewState
      6. Limitations of Page-Level State
    3. Using Cookies to Preserve State
      1. Working with Cookies in ASP.NET Code
      2. Limitations of Using Cookies
    4. ASP.NET Session State
      1. Problems in Classic ASP
      2. The Session Object
    5. Storing Objects in Session State
      1. Storing ADO.NET Objects in Session
      2. Session State Object Storage
    6. Configuring Session State
      1. Editing Configuration Files
      2. Session State Options
    7. Setting Up an Out-of-Process State Server
      1. Ensuring that Your Data Is Serializable
      2. Testing StateServer Session State
    8. Storing Session State in SQL Server
      1. Configuring SQL Server Session State
      2. Testing SQL Server Session State
    9. Using Cookieless Session IDs
    10. Application State
      1. Limitations of Application State
    11. Lab: Managing State
  14. Managing Users with ASP.NET's Membership Features
    1. Introduction to Membership and Roles
      1. Introducing Membership Management in ASP.NET
      2. Introducing Role Management
      3. The Security Services Stack
      4. Data Has to Go Somewhere
      5. Configuring Members and Roles
      6. Modifying Provider Behavior
      7. Working with Roles
      8. Authentication and Cookies
    2. Using Membership Controls
      1. LoginStatus Control
      2. Login Control
      3. LoginView Control
      4. LoginName Control
      5. ChangePassword Control
      6. PasswordRecovery Control
      7. CreateUserWizard Control
    3. Writing Code to Interact with Membership and Roles
      1. The Membership and MembershipUsers Classes
      2. The Roles Class
      3. Creating Custom Providers
      4. Setting Up the XML Provider
    4. Lab: Managing Users with ASP.NET's Membership Features
  15. Server-Side Debugging
    1. Server-Side Code Debugging in ASP.NET
    2. Using the Visual Debugger
      1. Configuring Debugging
      2. Setting Breakpoints
      3. Stepping Through Code
    3. Debugging Exceptions and Handling Errors
      1. The Exception Assistant
      2. Redirecting Users
    4. Debugging Stored Procedures
      1. Creating a Database Project
      2. Working with Data Connections
      3. Debugging Stored Procedures
    5. Lab: Server-Side Debugging
  16. Client-Side and Advanced Debugging
    1. Client-Side Code Debugging in ASP.NET
    2. Debugging Client-Side JavaScript
      1. Configuring Script Debugging
      2. Script Debugging
      3. Debugging Script in Dynamic Resource Files
      4. Limitations of Breakpoint Mapping
    3. Custom Data Visualizers
      1. A Client Data Visualizer
      2. Building a Custom Visualizer
      3. The Visualizer Class
      4. Deploying a Custom Visualizer
    4. Debugging .NET Framework Source Code
      1. Configuring .NET Framework Source Code Access
      2. Exploring the Source Code
    5. Lab: Client-Side and Advanced Debugging
  17. Tracing
    1. ASP.NET Trace
      1. Page-Level Tracing
      2. Application-Level Tracing
      3. Instrumenting with Trace Listeners
      4. The WebPageTraceListener
    2. Health Monitoring with Web Events
      1. Working with the TraceFinished Event
      2. Sending Web Event Data to SQL Server
      3. Using the SqlWebEventProvider
      4. Providers, Rules, and Event Mappings
      5. Viewing Event Data
    3. Lab: Tracing
  18. Creating New Controls
    1. Two Kinds of User-Defined Controls
    2. Creating a User Control
    3. A More Complex User Control
      1. Investigating the User Control
      2. Providing States Data
      3. User Control Properties
      4. User Control Events
      5. Testing the User Control
      6. Why Not Stop Here?
    4. Creating a Custom Control
    5. Investigating the StateDropDownList Control
      1. Rendering the Control
      2. Control Properties
      3. Managing Property Behavior Using Attributes
      4. Working with Postback Data
      5. Specifying a Toolbox Icon
      6. Finishing Touches
      7. What's Next?
    6. Lab: Creating New Controls
  19. Improving Performance with Output Caching
    1. The Importance of Caching
      1. Improvements over Classic ASP
      2. Types of Caching in ASP.NET
    2. Declarative Page Output Caching
      1. Caching Static Pages
      2. Code Behind the Caching Example Pages
      3. Caching Multiple Versions of a Page
    3. Caching Page Fragments
      1. Using VaryByControl
      2. Caching Multiple Versions of a Control on a Page
    4. Post-Cache Substitution
      1. Calling a Method to Insert HTML
      2. Using a Substitution Control
    5. Caching Configuration
      1. Output Cache Profiles
      2. Global Configuration Settings
    6. Lab: Improving Performance with Output Caching
  20. Advanced Caching Techniques
    1. ASP.NET Caching Review
      1. Declarative Output Caching
      2. Overview of Advanced Caching Features
      3. Testing Caching in Visual Studio 2010
    2. Programmatic Page Caching
      1. The Caching Object Model
      2. Caching Static Pages Programmatically
    3. Caching Data
      1. Using Cache.Add and Cache.Insert
      2. Controlling Expiration
      3. Caching Data with Dependencies
    4. Expiring a Cached Item when Data Changes
      1. Polling for Changes to a Table
      2. Polling for Changes to Query Results
      3. Using SQL Server Query Notifications for Caching
    5. Lab: Advanced Caching Techniques
  21. Using the DataList and Repeater Controls
    1. Overview of List-Bound Controls
    2. Using the Repeater Control
      1. Binding the Repeater Control to Data
      2. A More Complex Example
      3. The CategoryDetail Page
    3. Creating a DataList Control
      1. Formatting the DataList
      2. Binding Data to the DataList
      3. Displaying Bound Data
      4. Selecting a Row
      5. Refreshing the Display
      6. Editing Data with the DataList
    4. Lab: Using the DataList and Repeater Controls
    5. Lab: Using the ListView and DataPager Controls
  22. ASP.NET Profile Features
    1. Introducing Profiles
      1. Profile's Strongly Typed Access
      2. Storing Profile Data
      3. Considering Profiles
    2. Configuring Profiles
      1. Setting Up Web.config
      2. Using Custom Types
      3. Using SQL Server for Profile Storage
      4. Modifying Provider Behavior
      5. Investigating the Sample Site
    3. Working with Anonymous Profiles
      1. Enabling Anonymous Profiles
      2. Identifying Anonymous Users
      3. Enabling Specific Properties for Anonymous Users
      4. Migrating Anonymous Users
    4. Creating a Custom Profile Provider
      1. Examining the Custom Profile Provider
    5. Comparing Profiles and Session State
    6. Lab: ASP.NET Profile Features
  23. ASP.NET Extensions
    1. ASP.NET Extensions
    2. Web Deployment Projects
    3. ASP.NET AJAX History Feature
      1. Use AJAX History
    4. ASP.NET Dynamic Data
      1. Create a Dynamic Data Web Site
      2. Explore the Structure of a Dynamic Data Web Site
      3. Routing
      4. Change Data Display
      5. Change Page Templates for Some Tables
    5. Lab: ASP.NET Extensions

InterSource Geneva, a premier Information Technology training firm, offers over 400 different courses on server, database and programming technologies, as well as end-user classes for the most popular office, graphics and design applications. We serve clients in Switzerland (Geneva, Lausanne, Bern, Basel, Zurich) and throughout Europe (France, Germany, Austria, Finland, Sweden, England, Netherlands, Spain, etc.).


InterSource offers custom, private courses at client sites, standard public courses in our Geneva classroom, and online training via live Web conference. Training is offered in English and many other languages (Francais, Deutsch, Espanol, Italiano.)


For an overall view of our offerings, please visit us at www.intersource.ch.