RepositoryC#
jasonsturges

jasonsturges/mysql-dotnet-core

ASP.NET Core 5.0 Web Application using MySQL with Entity Framework

109sao
50fork
1issue
0lượt xem

🔧 Mẫu ASP.NET Core 5.0 kết nối MySQL với Entity Framework

Một dự án mẫu giúp bạn nhanh chóng khởi tạo ứng dụng web ASP.NET Core 5.0 kết nối với MySQL thông qua Entity Framework.

Đây là một dự án mẫu (template) dựa trên ứng dụng web ASP.NET Core 5.0 phi kiến trúc Model-View-Controller, được tạo bởi Visual Studio 2019 (phiên bản 16.10.1), sử dụng .NET 5.0 để kết nối với MySQL 8.0. Dự án hỗ trợ phát triển trên macOS, Linux, và Windows bằng các IDE như VS Code, Visual Studio, hoặc JetBrains Rider.

✨ Điểm nổi bật

  • Hỗ trợ đa nền tảng: Phát triển trên macOS, Linux, Windows.
  • Tích hợp sẵn MySQL 8.0: Sử dụng Entity Framework để kết nối và quản lý cơ sở dữ liệu.
  • Cấu hình đơn giản: Chỉnh sửa chuỗi kết nối trong appsettings.json.
  • Hỗ trợ Docker: Dễ dàng chạy MySQL thông qua Docker.
  • Migration tích hợp: Sử dụng dotnet ef database update để tạo cơ sở dữ liệu tự động.
  • Tương thích với công cụ EF Core CLI: Cài đặt và sử dụng dotnet-ef để quản lý migration.
  • Cài đặt nhanh chóng: Chỉ cần cài đặt .NET 5.0 SDK và MySQL 8.0 Server.
  • Dễ dàng mở rộng: Có thể tù chỉnh và sử dụng làm mẫu cho dự án tiếp theo.

💡 Vì sao đáng chú ý

Dự án cung cấp một môi trường phát triển ASP.NET Core hoàn chỉnh với MySQL, giúp người dùng tránh phải cấu hình thủ công từ đầu. Đặc biệt hữu ích cho những ai mới bắt đầu với .NET trên nền tảng không phải Windows, nơi việc cài đặt và cấu hình môi trường thường gặp khó khăn. Dự án cũng hỗ trợ các phiên bản .NET Core trước đó thông qua các bản phát hành lịch sử.


#ASPNETCore #MySQL #EntityFramework #DotNet5 #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryC#
bitwarden/server

Bitwarden infrastructure/backend (API, database, Docker, etc).

20.5k
Oct 23, 2026
RepositoryC#
dotnet/AspNetCore.Docs

Documentation for ASP.NET Core

13.1k
Oct 21, 2026
Repository
MoienTajik/AspNetCore-Developer-Roadmap

Roadmap to becoming an ASP.NET Core developer in 2026

19.7k
Jan 29, 2026
RepositoryC#
jasontaylordev/CleanArchitecture

Clean Architecture Solution Template for ASP.NET Core

20.7k
Oct 26, 2026
RepositoryC#
dotnet/efcore

EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.

14.8k
Oct 23, 2026
RepositoryC#
abpframework/abp

Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.

14.5k
Oct 20, 2026
RepositoryC#
aspnetboilerplate/aspnetboilerplate

ASP.NET Boilerplate - Web Application Framework

12.0k
Oct 26, 2026
RepositoryC#
studyzy/imewlconverter

”深蓝词库转换“ 一款开源免费的输入法词库转换程序

10.5k
Oct 10, 2026
RepositoryC#
dodyg/practical-aspnetcore

Practical samples of ASP.NET Core 11, 10, 9, 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.

10.4k
Sep 15, 2026