Developing ASP.NET MVC Web Application Using C#

Developing ASP.NET MVC Web Application Using C#2020-11-19T10:46:22+00:00

Project Description

Course Details

Developing ASP.NET MVC Web Application Using C#

Total Course Duration: 105 Hours
Per Class Duration: 3 Hours


This course provides trainees with hands on experience using Visual Studio to create dynamic web applications using ASP.NET MVC and C#. The class provides a thorough introduction to the C# programming language, including coverage of the essentials of the C# programming language, built in data types, operators, control structures, classes and methods, collections and exception handling.

Trainees learn how to leverage the power of the Model-View-Controller design pattern with the ASP.NET MVC Framework to separate the layers of a web application.  Trainees will use the Razor view engine to design a user interface. Trainees will learn how to build models to manage an application’s data layer using both the Entity Framework and LINQ to SQL. And trainees will learn how to build controllers containing action methods to manage communication between views and models.

Other topics include data scaffolding; URL routing; implementing security; and deploying ASP.NET MVC applications. Comprehensive labs provide the trainees with experience creating, debugging, testing and deploying dynamic ASP.NET MVC applications.

Prerequisites: Knowledge of fundamental HTML syntax is helpful, but not required. Prior experience with a scripting or programming language is required.

Introduction to .NET

  • Overview of the .NET Framework
  • .NET and Traditional Programming
  • Important terminologies
    1. Common Language Runtime (CLR)
    2. Common Language Specification (CLS)
    3. Common Type System (CTS)
    4. Microsoft Intermediate Language (CIL)
  • .NET Assemblies and.NET Namespaces
  • .NET Framework Class Library

Introduction to Visual Studio IDE

  • Working with Project
    1. Create a New Project
    2. Open an existing Project
  • Writing a Program
    1. Using the Code Editor
    2. Correcting Syntax Errors
  • Console Application
    1. Reading/Writing in the Console
  • GUI / Forms Application
    1. Working with Controls
    2. Handling Events & Properties
  • Setting Project Properties
  • Adding References
  • Compiling a Program
  • Running and Debugging a Program

Language Fundamentals

  • C# Program Structure
  • Defining Namespaces
  • Understanding C# Data Types
    1. Using Floating Point Data Types
    2. Using Characters and Strings
    3. Using Dates
    4. Using Booleans
  • Defining Variables and Constants
  • Type Conversions & Formatting
  • Value Types &. Reference Types
  • Working with Operators and Expressions

Flow & Iteration in Program

  • Conditional Constructs
    1. Working with if/else Constructs
    2. Working with switch
  • Looping Constructs
    1. Working with while Constructs
    2. Working with for and foreach

Using Procedures to Modularize Code

  • Defining and Calling Subroutines
  • Defining and Calling Functions
  • Understanding Variable Scope
  • Overloading Procedures
  • Passing Parameters
    1. by value & by reference
  • Understanding the Call Stack

Object-Oriented Programming

  • Understanding Object-Oriented Concepts
  • Designing Classes
    1. Properties and Methods
  • Initializing Objects with Constructors
  • Overloading Constructors
  • Declaring and Instantiating Objects
  • Calling Properties and Methods
    1. Value Types
    2. Reference Types
  • Shared Data Members and Methods

Working with Data Collections

  • Understanding Arrays
    1. Declaring and Instantiating
    2. Iterating through Arrays
  • Working with System.Array Methods
  • Copying, Sorting, Searching and Resizing
  • Passing Arrays to Methods
  • Working with param array Parameters
  • Working with Command-line Arguments
  • Understanding .NET Collections
  • Managing Data Using List
  • Managing Data Using
    Dictionary<TKey, TValue>
  • Working with LINQ
  • Making LINQ Queries
  • Enumerating LINQ Query Results
  • Working with Anonymous Types
  • Using Extension Methods with LINQ

Building Inheritance Hierarchies

  • Understanding Inheritance
  • Building Derived Classes
  • Constructors in Derived Classes
  • Defining & Using Protected Class Members
  • Understanding Polymorphism
  • Defining Overridable Methods
  • Overriding Methods
  • Understanding Abstract Classes
  • Defining Abstract Classes
  • Inheriting from Abstract Classes

Exception Handling

  • Understanding Exception Handling
  • Using try/catch to Handle Exceptions
  • Working with the Exception Class
  • Understanding Exception Propagation
  • Using finally to Manage Cleanup Processing
  • Throwing Exceptions

Working with Strings

  • Working with the String Class
  • Working with String Literals and Escape Sequences
  • Understanding String Manipulation Performance Issues
  • Working with the StringBuilder Class
  • Formatting Output with String.Format

Working with Files, Directories and Streams

  • Using the System.IO Namespace
  • Discovering Drives
  • Working with Directories
  • Working with Files
  • Parsing a File Path
  • Understanding Streams
  • Working with FileStream
  • Reading and Writing Text Files
  • Understanding other Types of Streams

Overview of ASP.NET MVC

  • Model-View-Controller Design Pattern
  • ASP.NET MVC Application Architecture
  • Understanding the MVC Execution Process
  • Building an ASP.NET MVC Application Using Visual Studio
  • Visual Studio MVC Project Templates
  • Using a web.config File

Developing Controllers

  • Creating Controllers
  • Defining Action Methods
  • Mapping URLs to Action Methods
  • Understanding ActionResult Types
  • Working with ViewData and ViewBag

Developing Views

  • Creating Views
  • Understanding View Engines
  • Using the ASMX View Engine
  • Using the Razor View Engines
  • Using HTML Helpers
  • Adding Validation
  • Working with Strongly-Typed Views

Developing Models

  • Creating Model Classes
  • Working with the Entity Framework
  • Working with LINQ to SQL
  • Using Scaffolding

Routing Control

  • Understanding Routing in ASP.NET MVC
  • Defining URL Routes
  • Registering Routes
  • Adding Constraints to Routes
  • Debugging Routes

Securing MVC Applications

  • ASP.NET Security
  • Windows vs Forms Authentication
  • Configuring Authentication & Authorization
  • Building a Secure Web Site
    1. Defending against Attacks
    2. Cross-site Scripting
    3. Session Hijacking
    4. SQL Injection
    5. Input Forgery

Deploying ASP.NET MVC Applications

  • Understanding Deployment Issues
  • Required MVC Assemblies
  • Server Requirements
  • Configuring an ASP.NET Application for Deployment
  • Using XCOPY Deployment
  • Using WebDeploy

Resource Person

Md. Foysal Wahid
Md. Foysal WahidSr. Technical Trainer
Mohammed Shihab Uddin
Mohammed Shihab UddinSr. Technical Trainer