ACTS, Pune
Teaching Guidelines for Microsoft .NET– PG-DAC August-2013
Duration: 10 class room hrs.
Objective: To acquire the knowledge of MS .NET Framework 4.5 or higher version
Prerequisites: Students are expected to have knowledge of Knowledge of COM development and XML
Evaluation method: Theory Exam : 40% weightage.
Practical Exam : 40% weightage.
Assignments : 20% weightage.
Note: Training will be carried out on .Net 4.0 or latest version of the software
List of Books / Other Training Material:
1. Courseware: Provided by faculty
2. Reference books:
i. .NET Programming 4.0 , Wrox Publications
ii. Introducing Microsoft .NET, Wrox Publications
iii. CLR via C# by Jeffrey Ritchter / Microsoft Press
Session 1:
Lecture:
Introduction to .Net Framework
Difference between .NET 2.0, .NET 3.5 and .NET 4.0/4.5
.NET Framework Overview
Objectives of .NET Framework 4.5
Components of .NET Framework 4.5
Development in .NET Framework 4.5
Assignment Reading:
Read about NET 4.5 Framework from MSDN.
Session 2:
Lecture:
Execution Process in .NET Environment
Inside .NET Framework
CLR
Managed and unmanaged code
MSIL
CTS
MetaData
JITters
Session 3:
Lecture:
Assemblies-The Building Blocks
Assembly Benefits
Assembly Contents
Different between a normal .EXE File and a PE file
Search order of an assembly
Using reflection to build a dynamically extensible application.
Discovering type Defined in an assembly
Assignment Lab:
Create a Satellite Assembly in NET 4.5 Framework.
Create global Assembly in NET 4.5 Framework
PG-DAC, MS.NET Page 1 of 14
ACTS, Pune
Teaching Guidelines for Microsoft .NET– PG-DAC August-2013
Session 4:
Lecture:
Application Domain
Accessing objects Across AppDomain Boundaries
AppDomain Unloading
CLR hosting
How host use AppDomain
Managing CLR by using Managed Code
How a Host Gets its Thread back.
Language Interoperability
. NET Framework Class Library
The IL dis-assembler
Migrating to MS .NET
Session 5:
Lecture:
Windows Presentation Foundation
Windows Workflow Foundation
Windows Communication Foundation
Assignment Reading:
Read about WPF, WWF, and WCF from MSDN.
PG-DAC, MS.NET Page 2 of 14
ACTS, Pune
Teaching Guidelines for Microsoft .NET– PG-DAC August-2013
Duration: 22 class room hrs. + 22 lab hrs
Objective: To acquire the knowledge of C#. NET 4.5
Prerequisites: Knowledge of C++ programming, VB programming, Database Programming and XML is
also a must.
List of Books / Other Training Material:
Courseware: Provided by faculty
Reference books:
i. Pro C# 2010 And The .NET 4 Platform, Andrew Troelsen
ii. C# 2010 Programming: Covers .Net 4.0, Black Book
iii. C# 2010 For Programmers, Paul J. Deitel, Harvey M. Deitel
iv. .Net Programming 4.0, Black Book, Wiley
Session 1:
Lecture:
• Need of C#
• Strengths of C#
• C# Basics
o Program Structure
o Data Types
o Variables, Constants, Operators
o Flow Control in C#
Assignment Reading:
Read about C# specification from MSDN.
Assignment Lab:
Write a program in C# to generate prime numbers between 1 and 1000.
Session 2:
Lecture:
• Operators
• Type Safety
• Object Comparison
• Operator overloading
• User defined cast
Assignment Reading:
Read about C# specification from MSDN.
Assignment Lab:
Implement that topics in your program
Session 3:
Lecture:
• Namespaces & Assemblies
• Arrays
o Simple, multidimensional and jagged array
o Array class
• Enumerations
• Properties & Indexers
Assignment Reading:
PG-DAC, MS.NET Page 3 of 14
ACTS, Pune
Teaching Guidelines for Microsoft .NET– PG-DAC August-2013
Read about C# specification from MSDN.
Assignment Lab:
Create namespace and assemblies.
Hands on Arrays and properties and indexes
Session 4:
Lecture:
• Preprocessors
º Preprocessor Usage
o Conditional Compilation
o Assemblies
What are Manifests??
Writing Private Assemblies
Writing Shared Assemblies
• Delegates and Events
• Boxing and Unboxing
• Reflection and the Type class
Assignment Reading:
Read about C# specification from MSDN.
Assignment Lab:
Work with delegates, events, boxing, unboxing Manifest.
Session 5:
Lecture:
• Regular Expression
• Attributes
• Collections
o Collection Interface
o List, Queues, Stack,
o Dictionaries, Hash set
Assignment Reading:
Read about C# specification from MSDN.
Assignment Lab:
Implement Collections classes in C#
Session 6:
Lecture:
• Error Handling (Exceptions Handling)
o Checked & Unchecked Statements
o The try, catch, finally
o Dos & Don’ts of Exception Handling
• User Defined Exception classes
• Win Forms
o Control class
o Standard control and component
• Creating user controls
Assignment Reading:
• Read about C# specification from MSDN
Assignment Lab:
Write a program and do all the exception handling.
PG-DAC, MS.NET Page 4 of 14
ACTS, Pune
Teaching Guidelines for Microsoft .NET– PG-DAC August-2013
Write a Window application in C#.
Session 7:
Lecture: Working with Databases
º Introduction to DataBase support in C# .NET
o Data access tools in C# .NET
o Database tools (needs SQL Server)
º ADO .NET model
o Connection object (Connection string, Open method)
o Command and Parameter objects (Opening and executing SQL)
º ADO .NET programming
o Demonstrate ADO .NET with code
o Stored Procedures vs. client-side processing
o Client-side Cursor vs. Server-side Cursors
Assignment Lab:
Use ADO.NET in your program for database connectivity
Session 8:
Lecture: Working with Databases
º ADO .NET & XML
º DataSets & XML Data
º Constraints, Relations and Views in DataSets
º Use Different Wizards for ADO .NET
Assignment Reading:
Read about XML & ADO.NET from MSDN.
Assignment Lab:
Populate a DataSet with XML and validate XML document against schemas.
Use Constraints, Relations and Views in DataSets
Session 9:
Lecture: Working with Databases
º Working with ADO .NET
º Strongly Typed Programming
º Connection Object
º Command Object
º DataReader Object
Assignment Lab:
Use database Connectivity using ADO .NET. Use DataReader Object and ExecuteReader,
ExecuteScalar and ExecuteNonQuery commands in your program.
Session 10:
Lecture: Working with Databases
º Working With ADO .NET DataSets
º Data Adapter Object
º Simple and Complex Binding
o Binding mechanism
o Differences and Uses (exemplify with TextBox and DataList/DataCombo)
º How to use bound controls to add, update, and delete data rows
º How to use a parameterized query to retrieve data
PG-DAC, MS.NET Page 5 of 14
ACTS, Pune
Teaching Guidelines for Microsoft .NET– PG-DAC August-2013
º How to handle data exceptions
o How to handle ADO.NET errors
o How to handle data provider errors
o How to handle update errors
Assignment Lab:
Use database Connectivity using ADO .NET DataSets. Use various collections of DataSets.
Session 11:
Lecture: Windows Communication Foundation
• WCF overview
• Working with WCF services
• Working with WCF Consumer
• Working with Data Contracts
Assignment Lab:
Hand on WCF
PG-DAC, MS.NET Page 6 of 14
ACTS, Pune
Teaching Guidelines for Microsoft .NET– PG-DAC August-2013
Duration: 38 class room hrs. + 38 lab hrs
Objective: To acquire the knowledge of ASP .NET 4.5
Prerequisites: Knowledge of COM development, Database Programming and XML is also a must.
List of Books / Other Training Material:
Courseware:
I. Beginning ASP .NET 4.5 in C# by Matthew MacDonald/Apress
Reference books:
II. Beginning ASP .Net 4.5 in C# and VB by Imar Spaanjaars /Wiley India
III. Pro ASP.Net 4 In C# 2010, Matthew Macdonald, Adam Freeman, Mario Szpuszta
IV. Asp .Net MVC Framework by Stephen Walther /Pearson
Session 1:
Lecture:
• Introduction and difference between ASP and ASP .Net Application
• ASP .NET Web Forms
o ASP .NET Programming Model
o Web Forms Code Model
o The code behind Web Forms
Separation of content & Business logic
o Life Cycle of a Web Forms Page
• The goals of Asp .Net 4.5
• Additional new features of Asp.net 4.5
• Application and page Frame works
o Application location option
o Asp. Net page Structure options
o Asp .Net page directives
o Asp .Net page events
o Dealing with PostBacks
o Asp .net Application Folder
Session 2:
Lecture:
• ASP .NET Server Controls
o Type of server controls
o Building with Server Controls
o Working with Server Controls events
• Applying Styles to server Controls
• Html Server Controls
• Manipulating pages and server Control
• Asp.Net Web Server Control
o All basic web Server Control including Xml, Panel, Table, PlaceHolder, Bulletedlist,
HiddenField , FileUpload, MultiView and View, ImageMap, Wizard Server control.
• Validation Server Controls
o Understanding validation
o Client-Side versus Server-Side validation
o Asp.net Validation Server Controls
• Creating User Controls in ASP .NET
o ASP .NET Server Controls Template
Customizing the look & feel of ASP .NET Server controls using Templates
Creating Templates
PG-DAC, MS.NET Page 7 of 14
ACTS, Pune
Teaching Guidelines for Microsoft .NET– PG-DAC August-2013
How Templates differ from Styles
Assignment Lab:
Create a Simple application in ASP .NET 4.5 in which use all web and server control with
all validation.
Session 3:
Lecture:
• Master Pages, Skin, Theme
o Working with Master Pages
o The basic of Master Pages
o Coding a Master Page
o Coding a Content Page
o Mixing Page Types and languages
o Specifying which Master Page to use
o Working with Page Title
o Specifying Default Content in Master Page
o Nested master Page
o Caching with Master Page
o Using Asp.net 4.5 Themes
o Creating yours own Themes
o Programmatically Working with Themes
o Assigning the page’s Theme Programmatically
o Assigning a control SkinID Programmatically
Assignment Lab:
Create a Simple application in ASP .NET 4.5 in which use Master Page
Create a Simple application in ASP .NET 4.5 in which use Theme and skin
Create a Simple application in ASP .NET 4.5 in which use CSS file
Session 4:
Lecture:
• ASP .NET Web Application Security
o Securing Through IIS
o ASP .NET 4.0 Authentication
Windows Authentication
Passport Authentication
Form Based Authentication
o ASP .NET Authorization
Working with User.identy
Working with User.IsInRole()
Pulling more information with WindowIdentity
• Debugging and Error Handling Techniques
o Design Time Support
o Immediate and Command Window
o ASP .NET Tracing
Page level
Application Level
Viewing Trace Data
Trace Forwarding
TraceListeners
Diagnostic Switches
Web Events
o ASP .NET Debugging
IIS Versus ASP .NET development Server
PG-DAC, MS.NET Page 8 of 14
ACTS, Pune
Teaching Guidelines for Microsoft .NET– PG-DAC August-2013
Starting a Debugging Session
Client Side JavaScript debugging
SQL Store Proc Debugging
o Exception and error Handling
Handling Exceptions on Page
Handling Application Exceptions
Http Status codes
Assignment Lab:
Create a Simple application in ASP .NET 4.0 in which we use all following
Authentication
Windows Authentication
Passport Authentication
Form Based Authentication
Session 5:
Lecture:
• ASP .Net Ajax
Understanding Ajax
ASP .NET AJAX Server Side Controls
The ASP .Net Ajax Control ToolKit
• Installing Asp .Net Ajax Control ToolKit
• ASP .NET AJAX Controls
Using the prototype design Pattern with JSON
• Site Navigation
o XML Based Site Maps
o TreeView Server Control
o Menu Server Control
o SiteMap Data Provider, Nesting SiteMap files
o Sitemap localization
o Security Trimming
• Threading
o Threading & Synchronization
o Life Cycle of a Thread
o Synchronizing critical data using Synchronization objects
o Thread Pool
Assignment Lab:
Create a Simple application in ASP .NET 4.5 by using AJAX controls.
Session 6:
Lecture:
• Querying with LINQ
o LINQ to objects
o LINQ to XML
o LINQ to SQL
• Working with XML and LINQ to XML
o Basic of XML
XML InfoSet
XSD-XML Scheme Definition
Editing and XML Schema in Visual Studio 2008/2010
o XmlReader and XmlWriter
o XmalDocument and Xpathdocument
o DataSets
PG-DAC, MS.NET Page 9 of 14
ACTS, Pune
Teaching Guidelines for Microsoft .NET– PG-DAC August-2013
o The XmalDataSource Control
o XSLT
o Database and XML
For XML AUTO
SQL Server 2005 and XML Data Type
Session 7:
Lecture:
• Data Binding in Asp.Net 4.5
o Data Source Controls
o Configuring Data Source Control Caching
o Storing Connection Information
o Using Bound List Controls (GridView, Editing GridView Row Data,DetailsView, ListView
FormView etc.)
o InLine Data-Binding Syntax
• Data Management with ADO.NET 4.5
o Basic ADO.Net features
Connection object, Command object, DataReader, DataAdapter, DataSet
and DataTable.
o DataList Server Control
Working with Layout templates and multiple Columns
o ListView Server Control
Creating layout template
Creating ItemTemplate
Creating EditItemTemplate
Creating EmptyItemTemplate
Creating Item template
o Asynchronous command Execution
o Asynchronous Connections
o How to create a Crystal report
Assignment Lab:
Create a Simple application in ASP .NET 4.5 where we bind data table with all controls
Create a Simple application in ASP .NET 4.5 to prepare an Crystal report
Session 8:
Lecture:
• Files I/O and Streams
o Working with drivers, Directories, and Files
o Reading and Writing files
o Working with Serial ports
o Networks Communications
WebRequest and WebResponse
Sending mail
• . NET Remoting
o Accessing .NET component across Application Domain
• . NET Remoting Architecture
o Creation of Proxy Objects by the CLR
o Using the Channel Services to transport the Remotable component across Application
Domains
Using HTTP and TCP Channel
o Formatter for creating Message & encoding it
SOAP & Binary Formatter
• WebServices
PG-DAC, MS.NET Page 10 of 14
ACTS, Pune
Teaching Guidelines for Microsoft .NET– PG-DAC August-2013
o The Need for Web Services
Introducing Web Services
The Web Technology Stack and .NET
The .NET Alternatives to WebServices
Common Web Service Scenarios
o Implementing a Web Service
Creating a Web Service Project
Implementing Web Service Methods, exposing them and controlling their
behavior
Managing State in an ASP .NET Web Service
Debugging Web Services
Session 9:
Lecture:
• Windows Communication foundation
o WCF Overview
o Contracts
Service Contracts
Data Contracts
Message Contracts
o Channel
Channel Shapes
Operation Contract and Channel Shapes
Channel Listeners
Channel Factories
• ChannelFactory<>
ICommunicationObject
o Binding
Cross-Machine Communication Between .NET Applications
Local Machine Communication Between .NET Applications
Communication Using Basic Web Services
Communication Using Advanced Web Services
• wsHttpBinding
• ws2007HttpBinding
• wsDualHttpBinding
Comparing Binding Performance and Scalability
Creating a Custom Binding
• User-Defined Bindings
Binding Element
Exposing a Service Contract over Multiple Bindings
Session 10 & 11:
Lecture:
• Windows Communication foundation
o Behaviors
Concurrency and Instancing (Service Behavior)
Exporting and Publishing Metadata (Service Behavior)
Implementing Transactions (Operation Behavior
o Hosting
Hosting a Service in Windows Process Activation Services
Hosting a Service in IIS 7
Enabling ASMX Features in an IIS-Hosted Service
PG-DAC, MS.NET Page 11 of 14
ACTS, Pune
Teaching Guidelines for Microsoft .NET– PG-DAC August-2013
Self-Hosting
Self-Hosting in a Managed Windows Service
Hosting Multiple Services in One Process
Defining Service and Endpoint Addresses
o Workflow
Calling a WCF Service from WF
• Using a Send Activity
• Writing a Custom Activity
Exposing a Service from WF
• Define the Interface
• Receive Activity
• Configuration in app.config
• Hosting a Service-Enabled Workflow
• Self-Hosting a Service-Enabled Workflow
• Hosting a Service-Enabled Workflow in IIS
Correlation and Durable Services
• Long-Running Workflow
• Handling the Context
• Persisting Workflow State on the Server
Controlling Access to Service-Enabled Workflows
• Declarative Access Control
• Programmatic Access Control
Assignment Lab:
Creating a simple Web Service Project.
Session 12:
Lecture:
• Localization
o Cultures and regions
Understand Culture Type
Server side culture declaration
Client Side culture declaration
o Asp .Net 4.0 recourse files
Making use of local resources
Making use of global resources
o Looking at the resource editor
• Deploying Asp .Net Applications
o Asp .Net Applications and the Web Server
How web server works
The virtual directory
Web Farms
• IIS7
o Modular Architecture of IIS7
o IIS7 and asp .net Integrated pipeline
o Building a customized Web Server
o IIS Manager
Application pool, web sites, delegation
o Deploying a Simple Site
Assignment Lab:
Create a Virtual directory for an ASP .NET 4.5 application
Create a simple Currency Converter web application that uses the user culture to
determine the type of conversion to convert one language to other language.
Session 13:
Lecture:
PG-DAC, MS.NET Page 12 of 14
ACTS, Pune
Teaching Guidelines for Microsoft .NET– PG-DAC August-2013
• Introduction to Asp .net MVC
o Architecture of an ASP .Net MVC application
• Understanding Controllers and Action
o Create a controller
o How actions are invoked
o Running Action result.
• Understanding views & Models
o Create a view using view data
o Typed and Untyped Views
Assignment Lab:
Create a simple ASP .Net MVC application Session.
Create a custom view engine
Create a product repository and a fake Generic Repository.
Session: 14
Lecture:
• View master pages ad view user control
• Understanding HTML Helpers
o Standard HTML Helper
o Custom HTML helper
o DataGrid Helpers
• Validating form data
o Validation Helpers
o Model State
o Prebinding and Postbinding Validation
• Model Binders and action Filters
o Default Model Binder
o Bind with classes and complex classes
o Attribute
o Log Action Filter
Assignment Lab:
Create a custom Model binder.
Session 15:
Lecture:
• Working with AJAX
o Ajax Helpers
o Retrieving content and posting a form Asynchronously
o AcceptAjax Attribute
• Using jQuery
o jQuery Selector
o jQuery Event Handler
o jQuery Animations
o jQuery Plug-Ins
Assignment Lab:
Create a simple application using jquery and Ajax
Session 16:
Lecture:
• Authenticating users
o Authorizing User
o Membership and Role Manager API
PG-DAC, MS.NET Page 13 of 14
ACTS, Pune
Teaching Guidelines for Microsoft .NET– PG-DAC August-2013
o Window Authentication
• Understanding Routing
o Default Route
o Custom route
o Constraints
o Catch –ALL Routes
• Deploying ASP .NET MVC application
o Configuring IIS for ASP .Net MVC
o Mixing ASP .net Web Form and Asp .net MVC
o Bin Deploying an Asp .NET MVC application
Assignment Lab:
Create a Simple application using custom Route
Session 17:
Lecture:
• Database Access
o Repository Pattern
o Entity Framework Repository
Database Objects
Entity Framework Data model
Entity Framework Blog Repository
Assignment Lab:
Create a Simple application using
Session 18 & 19:
Lecture:
• ASP .Net Application with Silverlight
o A Basic ASP .NET application
o Finding Vector Based Content
o Converting vector Content to XAML
o Tools for viewing and editing XAML
o Integrating with your existing ASP.Net Site
o Receiving Sliverlight events in JavaScript
Assignment Lab:
Create a Simple application using silverlight
PG-DAC, MS.NET Page 14 of 14