MVC Blog Application

Lab 3 - Web Nâng Cao | ASP.NET MVC Demo Project

Lab 3 Complete ASP.NET MVC 5 Entity Framework
Blog Management URLs
Tất cả Blogs:
/Blog hoặc /Blog/Index
Chi tiết Blog:
/Blog/Get/1 (BlogID = 1)
Tìm kiếm Blog:
/Blog/Search?keyword=test
Blogs gần đây:
/Blog/Recent
Post Management URLs
Tất cả Posts:
/Post hoặc /Post/Index
Chi tiết Post:
/Post/Get/1 (PostID = 1)
Posts theo Tag:
/Post/ByTag?tag=technology
Tất cả Tags:
/Post/Tags
Architecture

ASP.NET MVC 5.2.9
3-tier Architecture
Code-First Entity Framework

Database

SQL Server LocalDB
Entity Framework 6.4.4
Blog & Post Models

Frontend

Razor Views
Bootstrap 5
Responsive Design

Cách chạy ứng dụng

Chạy trên Local (Khuyên dùng):
  1. Mở Visual Studio
  2. Mở file MvcBlog.csproj
  3. Build solution (Ctrl + Shift + B)
  4. Run ứng dụng (F5)
Deploy lên Cloud:
  • deploy-azure.ps1 - Azure App Service
  • deploy-google-cloud.ps1 - Google Cloud
  • deploy-netlify.ps1 - Netlify Demo
Lưu ý: ASP.NET MVC 5 không chạy được bằng dotnet CLI. Cần sử dụng Visual Studio để build và run.

Cấu trúc Project

Core Structure
Controllers/
BlogController, PostController
Views/
Razor Views (Blog/, Post/, Shared/)
App_Start/
RouteConfig, FilterConfig
Content/
CSS, Images
Configuration
Models/
View Models
References/
EntityModel & EntityController từ Lab 2
Web.config
Configuration Settings
Global.asax
Application Events

🔗 Demo Links

GitHub Repository

Nhấn "Interactive Demo" để xem mô phỏng ứng dụng MVC Blog

Lab 3 - Web Nâng Cao | ASP.NET MVC Blog Application
Hoàn thành 100% yêu cầu đề bài

ASP.NET MVC Entity Framework SQL Server Bootstrap