A modern, full-stack blog application built with ASP.NET Core, Blazor, and SQL Server.
- Modern, responsive UI with Blazor Server
- Support for both SQL Server and SQLite databases
- AI integration (OpenAI, Gemini)
- PDF CV generator
- Azure App Service hosting
- Azure Key Vault, Azure Storage, and Azure Function integration
- Domain-Driven Design (DDD) concepts
- Repository and Specification patterns
- Clean separation of concerns with DDD and repository patterns
- Modular service and data access layers
- Extensible for future features and integrations
- ASP.NET Core 8.0
- Entity Framework Core
- SQL Server / SQLite (configurable)
- Azure App Service
- Blazor Server
- MudBlazor
- HTML5/CSS3
- JavaScript/TypeScript
- Supports both SQL Server and SQLite
- AI model integration (OpenAI, Gemini)
- Azure ecosystem integration (App Service, Key Vault, Storage, Functions)
- Domain-Driven Design (DDD)
- Repository and Specification patterns
- PDF generator for CV/resume creation
- .NET 8.0 SDK
- Visual Studio 2022 or Visual Studio Code
- Git
- Clone the repository
git clone https://github.com/JunqiaoDuan/MyBlog.git
cd MyBlog
- Restore dependencies
dotnet restore
- Initialize the database
# (Optional) Add migrations if needed
dotnet ef migrations add InitialCreate --project .\MyBlog.Infrastructure --startup-project .\MyBlog.Web
dotnet ef migrations add SeedInitialData --project .\MyBlog.Infrastructure --startup-project .\MyBlog.Web
# Apply migrations
dotnet ef database update --project .\MyBlog.Infrastructure --startup-project .\MyBlog.Web
- Run the application
dotnet run
appsettings.json— Main configuration fileappsettings.Development.json— Development-specific settings
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.