Professional Documents
Culture Documents
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.
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
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>
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
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
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 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
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
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
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
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
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
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