ASP.NET Core MVC 6.0 - Chapter 1
ASP.NET Core MVC 6.0 - Chapter 1
0
Education and Training Solutions 2023
1 Overview of ASP.NET Core MVC
5 Packages Installation
Overview of ASP.NET
Core MVC
Overview of ASP.NET Core MVC
MVC consist of three main components: Models, Views, and Controllers, this
architectural pattern helps to achieve separation of concerns.
Overview of ASP.NET Core MVC
View: The View in an MVC application represents the content through the user
interface.
View
Manipulate
Controller Model
Differences between .NET Core and
.NET Framework
.NET Framework .NET Core
The .Net Framework includes certain open-source and Microsoft accepts third
open-source components. party contribution to .NET Core.
has a very rich desktop top development supports desktop frameworks like
framework for windows application which Windows Forms and WPF from version
include Windows Forms and WPF. 3.0.
.NET Framework .NET Core
.NET Framework is less scalable and .NET core provides high scalability and
provides low performance in comparison performance in comparison to .NET
to .NET Core. Framework.
1
➢ choose Asp .net core web app(Model-view-controller) C#.
2
4
➢ Set Project Name {Restaurant_2023}.
Choose Location
6
➢ Choose Target Framework 6.0
8
• The project is created.
ASP.NET Core Project
Structure
• wwwroot Folder: is considered the web root folder.
ODP.NetCore V(2.0.12)
Microsoft.EntityFrameworkCore V(7.0.5).
Microsoft.EntityFrameworkCore.SqlServer V(7.0.5)
Oracle.EntityFrameworkCore V(7.21.9).
Microsoft.EntityFrameworkCore.Tools V(7.0.5).
Microsoft.VisualStudio.Web.CodeGeneration.Design (6.0.9)
Another way to install packages:
ODP.NET Core is an ADO.NET driver that provides fast data access from
Microsoft .NET Core clients to Oracle databases. It runs on both Windows
and Linux.
➢ Microsoft.EntityFrameworkCore