
















Preview text:
ASP.NET Core Lương Trần Hy Hiến hienlth@hcmue.edu.vn Thông tin môn học ❑Web:
▪ Giáo trình, bài tập: https://goo.gl/DQ3v7D
▪ Sách: https://bit.ly/aspcorenn
❑https://www.facebook.com/groups/comp1064/ ❑Thang điểm:
▪ Giữa kỳ 50% - Thi thực hành (30%) + Đề tài tìm hiểu (20%)
▪ Cuối kỳ 50% - Đồ án môn học 2
Công nghệ .NET – COMP1064
❑Nội dung - Course Objectives & Program
▪ [Tự Ôn tập] C# cơ bản, HTML5/CSS3/jQuery/BootStrap5 cơ bản (FrontEnd development) ▪ ASP.NET Core MVC/Web App ▪ Entity Framework Core ▪ Web API ▪ Đồ án 3 Course content 1 Introduction to ASP.NET Core 2 MVC 3 Layout 4 Entity Framework Core 5 Web API 3 6 Final project guideline Course Objectives
❑The C# MVC Frameworks course provides
▪ In depth knowledge in the ASP.NET Core Framework
▪ Knowledge for creating REST Services ▪ Deploying Applications
▪ Architectural ASP.NET Core Application Design
▪ Best practices in modern ASP.NET Core applications 5 C# Recommended Software
❑Software needed for this course: ▪ Microsoft Windows 10
▪ Visual Studio 2022 – https://www.visualstudio.com
▪ MS SQL Server - https://www.microsoft.com/en-cy/sql-server/sql-server- downloads 6 Introduction 7 Agenda ❑.NET Core/ASP.NET Core ❑ASP.NET Core MVC ❑Routing, Controllers
❑Request, Response, Razor, DI 8 iOS .NET Core Platform Something New, Something Old 9 .NET Core Platform ❑Cross-platform
▪ .NET Core apps that run on Windows, Linux and macOS ❑Flexible
▪ Each component is a package
▪ Metapackages combine packages that are meaningful together ❑Lightweight
▪ Projects include only required dependencies ❑Fully open-source at GitHub 10
Simple .NET Core Console Apps Hello, .NET Core! 11
Creating console application 12 Project Structure .NET Core project Project Dependencies Standard .NET Core Development Kit .NET Core Libraries (CoreFX) Standard C# class files 13 Hello World Code .NET Core 5 trở xuống .NET Core 6 trở lên 14 ASP.NET Core Overview ASP.NET Core Overview
❑ASP.NET Core is a cross-platform, open-source framework
▪ You can build web applications and services, IoT apps, and mobile backends with ASP.NET Core.
❑ASP.NET Core provides:
▪ Integration of modern client-side frameworks and development workflows.
❑ASP.NET Core applications run both on .NET Core and .NET Framework. 16 ASP.NET Overview Sites Services Web Web Web SignalR Forms MVC Pages API ASP.NET 17 ASP.NET Core Overview Sites Services Web Web Pages MVC SignalR API ASP.NET Core 18
Names & Version Numbers 19
Visual Studio .NET Core Templates ❑Console App ❑Class Library ❑ASP.NET Core Web App (MVC) ❑ASP.NET Core Web API ❑Blazor 20


