You are on page 1of 13

Microsoft Dot Net Course Contents Training Approach :

The Trainer explains the concept from the basics. After ensuring that every trainee has well understood the concept, the trainer will move on to explaining how to apply the same concept to a realtime project. The trainer will then discuss all the possible interview questions related to the concept in general as well as relating to a real time project.

The .NET Framework


Whats the .NET Framework? Common Language Runtime .NET Framework Class Library Assemblies and the Microsoft Intermediate Language (MSIL) Versions of the .NET Framework and Visual Studio

Getting Started with Visual Studio


o o Visual Studio Overview Choosing the Development Settings Resetting the Development Settings o Creating a New Project Code and Text Editor o Code Snippets o IntelliSense o Refactoring Support

Debugging o Setting Breakpoints o Stepping through the Code o Watching o Autos and Immediate Windows Unit Testing o Creating the Test o Running the Test o Testing with Floating Point Numbers o Adding Additional Test Methods

C# Language Foundations
Using the C# Compiler (csc.exe) Passing Arguments to Main() Language Syntax o Keywords o Variables o Scope of Variables o Constants o Comments Data Types o Value Types o Reference Types o Enumerations

o Implicit Typing o Type Conversion Operators Arithmetic Operators o Logical Operators o Relational Operators Increment & Decrement Operators o Bit Shift Operators o Assignment Operators o The is and as Operators o Other Operators o Operator Precedence o o o Flow Control if-else Statement switch Statement

Looping o for Loop o foreach o while and do-while Loops o Exiting from a Loop o Skipping an Iteration Structs o What Are Structs? o Structs Are Value Types o Assigning to a Struct o Constructors and Destructors o Instance Constructors o Static Constructors o Summary of Constructors and Destructors o Field Initializers Are Not Allowed o Structs Are Sealed o Boxing and Unboxing o Structs as Return Values and Parameters

Arrays
Single Dimensional Arrays Accessing Array Elements Multidimensional Arrays Arrays of Arrays: Jagged Arrays Parameter Arrays Copying Arrays

OOPs Concepts
Classes o Defining a Class Creating an Instance of a Class (Object Instantiation) o Class Members o Access Modifiers o Function Members o Overloading Methods o Overloading Operators o Using Partial Classes

Static Classes

System.Object Class o Implementing Equals o ToString() Method o Attributes

Inheritance o Understanding Inheritance o Implementation Inheritance o Inheritance and Constructors o Calling Base Class Constructors o Virtual Methods (Polymorphism) o Sealed Classes and Methods o Abstract Class o Abstract Methods Interfaces Defining an Interface o Implementing an Interface o Implementing Multiple Interfaces o Interface Inheritance o Overriding Interface Implementations o

Collections Interfaces
Dynamic Arrays Using the ArrayList Class Stacks Queues Dictionary Indexers and Iterators Implementing IEnumerable<T> and IEnumerator<T> Implementing Comparison Using IComparer<T> and IComparable<T>

Delegates and Events


Delegates o Creating a Delegate Delegates Chaining (Multicast Delegates) Implementing Callbacks Using Delegates o Asynchronous Callbacks o

o o

Events Handling Events o Implementing Events o Difference between Events and Delegates o Passing State Information to an Event Handler

Generics
Understanding Generics Generic Classes Using the default Keyword in Generics Advantages of Generics

Using Constraints in a Generic Type Generic Interfaces Generic Methods Generic Operators Generic Delegates Generics and the .NET Framework Class Library System.Collections.ObjectModel

Exception Handling
o Handling Exceptions Handling Exceptions Using the try-catch Statement o Handling Multiple Exceptions o Throwing Exceptions Using the throw Statement o Using Exception Objects o The finally Statement Creating Custom Exceptions

Threading
Processes, AppDomains, and Object Contexts o Reviewing Traditional Win32 Processes o Interacting with Processes Under the .NET Platform o Understanding .NET Application Domains o Understanding Object Context Boundaries Threading The Need for Multithreading o Starting a Thread o Aborting a Thread Passing Parameters to Threads

o o

Thread Synchronization o Using Interlocked Class o Using C# Lock o Monitor Class Using the BackgroundWorker Control o Testing the Application

Files and Streams


Working with Files and Directories Working with Directories Working with Files Using the File and FileInfo Classes Creating a FileExplorer The Stream Class o BufferedStream o The FileStream Class o MemoryStream

Working with XML


Introduction to XML o Markup o The Document Type Declaration (DTD) o Encoding Declaration o Writing XML Code using Code Editor

XML Syntax

XML Reading & Writing o Text Writer Fundamentals o Text Reader Fundamentals o XMLDocument Serialization o Binary Serialization o XML Serialization

ADO.NET
ADO .NET Introduction o ADO vs. ADO .NET o ADO .NET Architecture Connecting to Data Sources o Choosing a .Net Data Provider o Defining a Connection o Managing a Connection o Handling Connection Exceptions o Connection Pooling Performing Connected Database Operations o Working in a Connected Environment o Building Command Objects o Executing the Commands o Data Reader Object Using Transactions Perfoming Dis-Connected Database Operations o Configuring a DataAdapter to Retrieve Information o Populating a DataSet Using a DataAdapter o Modifying Data in a DataTable o Persisting Changes to a Data Source o Working in a Disconnected Environment o Building Datasets and DataTables o Binding and Saving a Dataset o Defining Data Relationships Reading and Writing XML with ADO.NET o Creating XSD Schemas o Loading Schemas and Data into DataSets o Writing XML from a DataSet

ASP.NET
o ASP.NET Introduction The Evolution of Web Development o HTML and HTML Forms o Server-Side Programming o Client-Side Programming o Facts about ASP .NET o ASP .NET different versions Developing ASP.NET Applications o Creating Websites

Creating a New Web Application Websites and Web Projects The Hidden Solution Files The Solution Explorer Adding Web Forms Migrating a Website from a Previous Version of Visual Studio o Designing a Web Page Adding Web Controls The Properties Window o The Anatomy of a Web Form The Web Form Markup The Page Directive The Doctype o Writing Code The Code-Behind Class Adding Event Handlers IntelliSense and Outlining o Visual Studio Debugging The Visual Studio Web Server Single-Step Debugging Variable Watches

Creating N-Tier Applications


Multi-Tier Architectures Creating an N-Tier ASP.NET Application The Data Tier The Middle Tier The Presentation Tier Managing Concurrency

Web Form Fundamentals


The Anatomy of an ASP.NET Application o ASP.NET File Types o ASP.NET Application Directories Introducing Server Controls o HTML Server Controls o Converting an HTML Page to an ASP.NET Page A Deeper Look at HTML Control Classes o HTML Control Events o Advanced Events with the HtmlInputImage Control o The HtmlControl Base Class o The HtmlContainerControl Class o The HtmlInputControl Class The Page Class o Sending the User to a New Page o HTML Encoding Application Events o The Global.asax File o Additional Application Events ASP.NET Configuration o The web.config File o Nested Configuration o Storing Custom Settings in the web.config File o The Website Administration Tool (WAT)

Web Controls

Stepping Up Web Controls o Basic Web Control Classes o The Web Control Tags Web Control Classes o The WebControl Base Class o Units o Enumerations o Colors o Fonts o Focus o The Default Button List Controls o Multiple-Select List Controls o The BulletedList Control Table Controls Web Control Events and AutoPostBack o How Postback Events Work o The Page Life Cycle A Simple Web Page o Improving the Greeting Card Generator o Generating the Cards Automatically

Validation
Understanding Validation o The Validator Controls o Server-Side Validation o Client-Side Validation The Validation Controls o A Simple Validation Example o Other Display Options o Manual Validation o Validating with Regular Expressions o A Validated Customer Form o Validation Groups

The Data Controls


The GridView Automatically Generating Columns o Defining Columns Formatting the GridView o Formatting Fields o Using Styles o Formatting-Specific Values Selecting a GridView Row o Adding a Select Button o Editing with the GridView Sorting and Paging the GridView o Sorting o Paging Using GridView Templates o Using Multiple Templates o Editing Templates in Visual Studio o Handling Events in a Template o Editing with a Template The DetailsView and FormView o The DetailsView o

The FormView

Rich Controls
The Calendar o Formatting the Calendar o Restricting Dates The AdRotator o The Advertisement File o The AdRotator Class Pages with Multiple Views o The MultiView Control o The Wizard Control

Files and Streams


Files and Web Applications File System Information o The Path Class o A Sample File Browser Reading and Writing with Streams o Text Files o Binary Files o Shortcuts for Reading and Writing Files o A Simple Guest Book Allowing File Uploads o The FileUpload Control

State Management
The Problem of State View State o The ViewState Collection o A View State Example o Making View State Secure o Retaining Member Variables o Storing Custom Objects Transferring Information between Pages o Cross-Page Posting o The Query String Cookies o A Cookie Example Session State o Session Tracking o Using Session State o A Session State Example Session State Configuration o Cookieless o Timeout o Mode Application State An Overview of State Management Choices

Error Handling, Logging, and Tracing


Common Errors Exception Handling o The Exception Class o The Exception Chain

Handling Exceptions o Catching Specific Exceptions o Nested Exception Handlers o Exception Handling in Action o Mastering Exceptions Throwing Your Own Exceptions Logging Exceptions o Viewing the Windows Event Logs o Writing to the Event Log o Custom Logs o A Custom Logging Class o Retrieving Log Information Error Pages o Error Modes o Custom Error Pages Page Tracing o Enabling Tracing o Tracing Information o Writing Trace Information o Application-Level Tracing

Deploying ASP.NET Applications


ASP.NET Applications and the Web Server o How Web Servers Work o The Virtual Directory o Web Application URLs o Web Farms Internet Information Services (IIS) o The Many Faces of IIS o Installing IIS 5 (in Windows XP) o Installing IIS 7 (in Windows Vista) o Registering the ASP.NET File Mappings o Verifying That ASP.NET Is Correctly Installed Managing Websites with IIS Manager o Creating a Virtual Directory o Configuring a Virtual Directory Deploying a Simple Site o Web Applications and Components o Other Configuration Steps o Code Compilation o The ASP.NET Account Deploying with Visual Studio o Creating a Virtual Directory for a New Project o Copying a Website o Publishing a Website

User Controls and Graphics


User Controls Creating a Simple User Control o Independent User Controls o Integrated User Controls o User Control Events o Passing Information with Events Dynamic Graphics o Basic Drawing o Drawing a Custom Image Placing Custom Images Inside Web Pages o

Image Format and Quality

Caching
Understanding Caching o When to Use Caching o Caching in ASP.NET Output Caching o Caching on the Client Side o Caching and the Query String Caching with Specific Query String Parameters o A Multiple Caching Example o Custom Caching Control o Fragment Caching o Cache Profiles Data Caching o Adding Items to the Cache o A Simple Cache Test o Caching to Provide Multiple Views

Styles, Themes, and Master Pages


Styles o Style Types o Creating a Basic Inline Style o Creating a Style Sheet o Applying Style Sheet Rules Themes o How Themes Work o Applying a Simple Theme o Handling Theme Conflicts o Creating Multiple Skins for the Same Control o More Advanced Skins Master Page Basics o A Simple Master Page and Content Page o How Master Pages and Content Pages Are Connected o A Master Page with Multiple Content Regions o Default Content o Master Pages and Relative Paths Advanced Master Pages o Table-Based Layouts o Code in a Master Page o Interacting with a Master Page Programmatically

Website Navigation
Site Maps o Defining a Site Map o Seeing a Simple Site Map in Action o Binding an Ordinary Page to a Site Map o Binding a Master Page to a Site Map o Binding Portions of a Site Map o The SiteMap Class o Mapping URLs The SiteMapPath Control o Customizing the SiteMapPath o Using SiteMapPath Styles and Templates o Adding Custom Site Map Information The TreeView Control o TreeView Properties

o TreeView Styles The Menu Control o Menu Styles o Menu Templates

Creating and Using Web Services


Understanding the Web Service Model Creating an ASP.NET Web Service WSDL and Web Service Clients Creating & Consuming Web Services with Visual Studio .NET

Security Fundamentals
Determining Security Requirements The ASP.NET Security Model o The Visual Studio Web Server o Authentication and Authorization Forms Authentication o Web.config Settings o Authorization Rules o The WAT o The Login Page Windows Authentication o Web.config Settings o IIS Settings o A Windows Authentication Test Impersonation o Understanding Impersonation o Programmatic Impersonation Confidentiality with SSL o Creating a Certificate Request o Secure Sockets Layer

Membership
The Membership Data Store o Membership with SQL Server o Using the Full Version of SQL Server o Configuring the Membership Provider o Creating Users with the WAT The Membership and MembershipUser Classes o Authentication with Membership o Disabled Accounts The Security Controls o The Login Control o The CreateUserWizard Control o The PasswordRecovery Control Role-Based Security o Creating and Assigning Roles o Restricting Access Based on Roles o The LoginView Control

Profiles
Understanding Profiles o Profile Performance o How Profiles Store Data Using the SqlProfileProvider o Enabling Authentication

Using the Full Version of SQL Server o The Profile Databases o Defining Profile Properties o Using Profile Properties o Profile Serialization o Profile Groups o Profiles and Custom Data Types o The Profile API o Anonymous Profiles

ASP.NET AJAX
Understanding Ajax o Ajax: The Good o Ajax: The Bad o The ASP.NET AJAX Toolkit. o The ScriptManager Partial Refreshes o A Simple UpdatePanel Test o Handling Errors o Conditional Updates o Triggers Progress Notification o Showing a Simulated Progress Bar o Cancellation o Timed Refreshes The ASP.NET AJAX Control Toolkit Installing the ASP.NET AJAX Control Toolkit

.NET Version 4.0


Implicitly Typed Local Variables and Arrays Object Initializers Collection Initializers Extension Methods Anonymous Types Lambda Expressions Query Keywords Auto-Implemented Properties Language-Integrated Query (LINQ) dynamic data type Named Parameters

Windows Communication Foundation


WCF Essentials o WCF Overview o SOA Overview o WCF architecture o Essential WCF concepts: o Addresses o Contracts o Bindings o Endpoints o Hosting o Clients Contracts Designing and working with service contracts o Contract overloading and inheritance

o Data Contracts o Serialization o Attributes o Versioning o Collections & Generics Instance Management & Operation o Behaviors o Per-Call Services o Per-Session Services o Singleton Service o Demarcating Operations o Instance Deactivation o Throttling o Operations Request-Reply One-Way Callback Events o Streaming Faults o Errors and exceptions o Fault Contracts o Error handling Extensions Transactions o Transaction Propagation o Protocols and Managers o The Transaction Class o Declarative Programming o Explicit Transaction Programming o With Instance management o Callbacks Security o Authentication & Authorization o Transfer Security o Scenario-Driven Approach Concurrency Management o Service Concurrency Mode o Instance Management and Concurrency o Deadlocked Avoidance o Synchronization Context o Callbacks

ASP.NET MVC
Introduction to MVC MVC Architecture MVC Pattern Working with Controllers Working with Models Working with Views

You might also like