MVC and Web API Syllabus
MVC and Web API Syllabus
Contents
About the Program ........................................................................................................................................ 2
Learning Outcome ......................................................................................................................................... 2
Pre-requisites................................................................................................................................................. 2
Program Schedule.......................................................................................................................................... 2
Title Asp.Net MVC & Web API workshop for the business application developers
Duration 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
Q & A session
Self-Learning through Videos or Udemy
Practice exercises and review process
ASP.NET MVC Basics 4
Life Cycle
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)
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
The DbContext
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
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
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
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
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