Blog-ASP.NET-PWA is a progressive web app (PWA) that allows you to create and manage your own blog using ASP.NET Core and Blazor WebAssembly.
- Create, edit, and delete blog posts
- Add categories and tags to your posts
- Upload images and files to your posts
- Search and filter posts by keywords, categories, and tags
- View post statistics and analytics
- Customize your blog theme and settings
To run this project, you need to have the following prerequisites:
- .NET 5 SDK
- Visual Studio 2019 or VS Code
- SQL Server Express
-
Clone this repository: git clone https://github.com/resulcay/Blog-ASP.NET-PWA.git cd Blog-ASP.NET-PWA
-
Update the connection string in the
appsettings.json
file:
{
"ConnectionStrings": {
"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=BlogDb;Trusted_Connection=True;MultipleActiveResultSets=true"
}
}
~/DataAccessLayer/Concrete/Context.cs --> ln.15
namespace DataAccessLayer.Concrete
{
public class Context : DbContext
{
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
optionsBuilder.UseSqlServer("server=(localdb)\\CoreDemo;database=CoreBlogDb; integrated security=true;");
}
//Entities...
}
}
-dotnet ef add-migration exampleMigName
-dotnet ef update-database
dotnet run
Open http://localhost:5000x in your browser.
To use the blog app, you need to register an account and log in. You can then access the admin panel by clicking on the user icon on the top right corner. From there, you can create and manage your blog posts, categories, tags, files, and settings.
This project is not licenced yet.
This project is based on the following tutorials and resources:
Blazor PWA by Murat Yücedağ will be updated ...