This course provides a practical hands-on introduction to developing Web applications using ASP.NET Core 6.0 MVC and C#. This Web development framework from Microsoft emphasizes separation of concerns in the architecture and testability of applications. This course covers development on Microsoft’s new .NET Core platform. The course is current to Visual Studio 2022 and.NET 6, which is the latest version of .NET Core and is the foundation for future Microsoft .NET development.
A major restructuring of the .NET platform, .NET Core is cross-platform, open source, and modular designed for creating modern web applications and services, libraries and console applications. It is available on Windows, Mac and Linux. .NET now is a family of frameworks, including both the classical .NET available on Windows and the new .NET Core package-based frameworks that are cross-platform.
This course covers the fundamentals of the Model-View-Controller design pattern and its implementation in ASP.NET Core MVC. This technology is compared with classical ASP.NET Web Forms. Visual Studio 2022 is used as a productive platform for creating MVC Web applications. After presenting the fundamentals of the technology with several examples, the main components of Model, Controller and View are covered in detail. The discussion of the Model incorporates Microsoft technologies for persisting data, including XML Serialization and ADO.NET with SQL Server 2019. The routing mechanism of ASP.NET MVC is covered. The course includes an introduction to ASP.NET Web API and deployment on the Azure cloud.
Numerous programming examples and exercises are provided. The student will receive a comprehensive set of notes and all the programming examples.
1. Introduction to ASP.NET Core MVC
2. Getting Started with ASP.NET Core MVC
3. NET MVC Architecture
4. The Model
5. The Controller
6. The View
7. Routing
8. NET Core Web API
9. NET Core and Azure
Appendix A. Learning Resources
Required software is Visual Studio, which includes .NET 6.0. The free Visual Studio Community 2022 may be used. Visual Studio 2022 includes LocalDB, a lightweight version of SQL Server 2019 Express, which is used for one example in the course. The operating system should be Windows 10 or more recent. The free Postman tool is used. It can be downloaded from the Web. See the course Setup Guide for details.
A good minimal hardware profile for this course would have a 1.8 GHz or faster CPU, 4 GB of RAM, and at least 20 GB of free disk space for tools installation and courseware.
The student should have a good working knowledge of C# and the .NET Framework.
Basic knowledge of HTML and some prior exposure to .NET Core would also be helpful. Useful prior Object Innovations courses are Object-Oriented Programming in C# or C# Essentials plus .NET Foundations.