Phân tích use case
3.4.2.1 Ch ng th c i dùng (s d ng ASP.NET Identity c tích h p trong ASP.NET MVC5)
- Trang tin theo dõi (Big School Feed)
3.4.3 Th t use-case s th c hi n
Xem danh sách Danh sách các ra
3.5 XÂY D NG NG D NG B NG ASP NET MVC
3.5.1 T d li u theo mô hình EF Code First
- Tool/ Nuget package manager/ package manager console enable-migrations
24 BÀI 3: TH - SCHOOL trên domain model
Tách Class ApplicationDbContext domain class Course và Category
- add-migration 'CreateTableCourse' update-database
Use-
Form (views/Course/Create.cshtml) i ASP.NET Identity
- File Views/Course/Create.cshtml
- File Views/Course/Create.cshtml
- File Controllers/CoursesController.cs tác)
CourseViewModel.cs (ViewModels/CourseViewModel.cs)
- File Views/Course/Create.cshtml
CROSS SITE REQUEST FORGERY - CSRF i lên server,
- File Views/Course/Create.cshtml, File Controllers/CoursesController.cs
- File Views/Shared/ LoginPartial.cshtml
3.5.4 Thêm m i thu c tính trong Asp.Net Identity Users
- add-migration AddNameColumnToApplicationUser update-database
3.5.5 Hi n th danh sách các khóa ho c s p di n ra t i trang ch
- File Views/Home/Index.cshtml
3.5.6 B sung thu c tính Name vào mà i dùng nh p tên (Form Sign up)
- File Models/AccountViewModels.cs, Class RegisterViewModel
- File Views/Account/Register.cshtml
3.5.7 Ch nh s a giao di n trang ch : danh sách khóa h c s p di n ra
- File Views/Home/index.cshtml
Use-
- File Views/Home/Index.cshtml
DTOs/AttendanceDto.cs (DTO: Data transfer object,
Use-
- File Views/Home/Index.cshtml
- File Views/Home/Index.cshtml
Xem danh sách k
- File Views/Shared/_LoginPartial.cshtml
- File Views/Courses/Mine.cshtml
Use-
- File Views/Courses/Mine.cshtml
- File Content/Site.css, thêm CSS
- File Views/Courses/Mine.cshtml
- File Views/Courses/Create.cshtml
BÀI 3: - SCHOOL 75 http://bootboxjs.com/ js
- File App_Start/BundleConfig.cs
- File Views/Courses/Mine.cshtml
Di chuy phím ctrl + shift + r)
Use-case thông báo (notification)
- File Views/Home/Index.cshtml
3.5.13 Tách file javascript trong ng d ng
- File Views/Home/Index.cshtml
- File App_start/BundleConfig.cs
- File Views/Shared/ Layout.cshtml
, buttons, tables, navigation, atabase first và code first,
Câu 1: Bootstrap là gì? sao nên Bootstrap?
Câu 2: AJAX là gì và nó nào?
Câu 4: Mô vai trò và k trúc ASP.NET Identity?