Workshop for Business Application Developers
Master the Features of Asp.NET MVC and Web API
Program Coverage - Asp.Net MVC and Web API Workshop
Contents
About the Program ........................................................................................................................................ 2
Learning Outcome ......................................................................................................................................... 2
Pre-requisites................................................................................................................................................. 2
Program Schedule.......................................................................................................................................... 2
Rav i Consultant & Corporate Trainer +91 8310068586 1
About the Program
Title Asp.Net MVC & Web API workshop for the business application developers
Trainer Name Ravi Rajathiraviam
Duration TBD
Program Type Online Sessions
Start Date TBD
End Date TBD
Participants Fresher
Learning Outcome
After completing this program, participants will be able to leverage their Asp.Net MVC & Web API coding
experience to create and manage .Net web applications & Web APIs and apply their skills in new ways to
deliver more value. Learn to identify opportunity that helps business user leverage existing applications to
boost productivity and scale the applications.
Pre-requisites
Understanding of .Net framework
Basic programming knowledge in C#
Basics of DBMS and SQL Server
Basics of html, css and JavaScript
Using Visual Studio
Participant approach learning as problem-solving and relate the learning concept in their customer
business use cases.
Program Schedule
# Topic Day
Setting up the Environment
Please follow the lab setup instructions and install the required software
(This is prerequisite and to be completed before beginning of the program)
1 Framework and Language Basics 1
Stack and Heap memory managed by Garbage collector
GC Algorithm
CIL, JIT
Value types and Reference types in C#
Working with Tuple type in C#
Understanding the use of IEnumerable interface 2
Method Parameters – in, out, ref,
named arguments, optional arguments
Rav i Consultant & Corporate Trainer +91 8310068586 2
# Topic Day
Using object, var and dynamic
Choosing between structure and class
2 ASP.NET MVC Basics 3
Naming Conventions, Comments
Models & Data, Controllers, Views with Razor
The Architecture
Routing - Custom Routing, Attribute Routing
Q & A session
Self-Learning through Videos or Udemy
Practice exercises and review process
ASP.NET MVC Basics 4
Life Cycle
Controller - Action Results, Action Parameters
Working with ViewData, ViewBag, TempData and View Models
Views and Partial Views
Q & A session
Self-Learning through Videos or Udemy
Practice exercises and review process
3 LINQ 5
Using Lambda Expressions
Understanding IEnumerable and LINQ
Three Parts of a Query Operation
Objects (LINQ to Objects),
Relational databases (LINQ to SQL), and
XML (LINQ to XML)
Filtering, set operations, Quantifier Operations,
Partitioning Data, Join Operations, Left Outer Join, Grouping Data,
Generation Operations, Equality Operations, Element Operations,
Aggregation Operations
LINQ to XML – Xelement, xdocument
Q & A session
Self-Learning through Videos or Udemy
Practice exercises and review process
4 Entity Framework 6
Object-relational mapper (O/RM)
EntityFramework NuGet Package
Code First, Database first and Model First Approaches
The DbContext
Rav i Consultant & Corporate Trainer +91 8310068586 3
# Topic Day
Model Validation and Data Annotations
Q & A session
Self-Learning through Videos or Udemy
Practice exercises and review process
5 Implementing Code First Approach 7
Creating the model
Creating DbContext
Specifying connection string
Enable and create migrations
Update Database
Verify the database and the new tables in SQL Server
Creating controller for each of the business entities - New Scaffolded
item
Verify the url: https://localhost:44361/<entity name>
Q & A session
Self-Learning through Videos or Udemy
Practice exercises and review process
6 Implementing DB First Approach 8
Creating Ado.net entity data model – Step by Step
Creating controller for each of the business entities – Step by Step
Verify the url: https://localhost:44361/<entity name>
Q & A session
Self-Learning through Videos or Udemy
Practice exercises and review process
7 Implementing Model First Approach
Create Ado.net entity data model from Empty EF Designer model
Create business entities with required properties
Scalar and Navigational properties
Setting up relationship between entities
One to Many, Many to Many relationships
Generating Database from Model
Executing SQL
Creating controllers for the business entities
Q & A session
Self-Learning through Videos or Udemy
Practice exercises and review process
8 Forms 9
Weakly Typed Forms
Strongly Typed Forms
Rav i Consultant & Corporate Trainer +91 8310068586 4
# Topic Day
Strongly Typed Ajax
Q & A session
Self-Learning through Videos or Udemy
Practice exercises and review process
9 Exception Handling and Custom Errors 10
Error.cshtml
Using try catch
Action result (method) level
Class Level
Application Level
Error Controller and 404 error
Exception Logging
Sending Email to all stack-holders on errors
SMTP Client
Q & A session
Self-Learning through Videos or Udemy
Practice exercises and review process
10 Logging Exception, Information 11
Log4Net framework
Configuration
Log Levels
Logging into file, Log Pattern, Rolling File Appender
Logging into database
11 Deployment and hosting in IIS
Publish and Deploy
Using MsBuild
Q & A session
Self-Learning through Videos or Udemy
Practice exercises and review process
12 Web API 12
Intro to Web Services and WCF
RESTful services, JSON Format
Why RESTful services?
Difference between Web API and WCF Services
Choosing between Web API and WCF Services
HTTP Verbs
Step by step – Creating Web API for managing employee data
Data Layer, Service Layer and API Layers
Consuming Web API
Securing Web API
Using Postman
Rav i Consultant & Corporate Trainer +91 8310068586 5
# Topic Day
Q & A session
Self-Learning through Videos or Udemy
Practice exercises and review process
13 Agile methodology 13
(Iterations, Estimations, Stories, Wall, Retro, Stand up, Attitude, KANBAN)
14 Design Principles and Patterns
Factory and Singleton example
DI
Q & A session
Self-Learning through Videos or Udemy
Practice exercises and review process
15 TDD 14
TestFixture, Setup, TearDown, Test, Ignore, TestCase
Repeat, MaxTime
Unit testing with MOQ mocking
Q & A session
Self-Learning through Videos or Udemy
Practice exercises and review process
16 Project – Requirements and Plan
Project Execution using Agile Methodology 15
Project Execution using Agile Methodology 16
Rav i Consultant & Corporate Trainer +91 8310068586 6