Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/resulcay/blog-asp.net-pwa
A blog website (progressive web application) which built with MVC ASP.NET Core.
https://github.com/resulcay/blog-asp.net-pwa
ajax asp-net-core asp-net-mvc blazor-webassembly blog csharp dotnet-core entity-framework-core html javascript mssql-database razor-pages sql
Last synced: about 1 month ago
JSON representation
A blog website (progressive web application) which built with MVC ASP.NET Core.
- Host: GitHub
- URL: https://github.com/resulcay/blog-asp.net-pwa
- Owner: resulcay
- Created: 2024-01-04T19:27:20.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-03-07T12:10:19.000Z (8 months ago)
- Last Synced: 2024-10-12T07:21:14.208Z (about 1 month ago)
- Topics: ajax, asp-net-core, asp-net-mvc, blazor-webassembly, blog, csharp, dotnet-core, entity-framework-core, html, javascript, mssql-database, razor-pages, sql
- Language: HTML
- Homepage: https://pureblog.com.tr
- Size: 37.1 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blog-ASP.NET-PWA
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.
## Features
- 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## Installation
### Prerequisites
To run this project, you need to have the following prerequisites:
- .NET 5 SDK
- Visual Studio 2019 or VS Code
- SQL Server Express### Steps to Install
1. Clone this repository:
git clone
cd Blog-ASP.NET-PWA2. Update the connection string in the `appsettings.json` file:
```json
{
"ConnectionStrings": {
"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=BlogDb;Trusted_Connection=True;MultipleActiveResultSets=true"
}
}
```#### or
~/DataAccessLayer/Concrete/Context.cs --> ln.15
```c#
namespace DataAccessLayer.Concrete
{
public class Context : DbContext
{
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
optionsBuilder.UseSqlServer("server=(localdb)\\CoreDemo;database=CoreBlogDb; integrated security=true;");
}//Entities...
}
}
```### Run the database migrations
#### In Package Manager Console
-dotnet ef add-migration exampleMigName\
-dotnet ef update-database### Run the project
dotnet run\
Open in your browser.### Usage
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.
### License
This project is not licenced yet.
### Acknowledgments
This project is based on the following tutorials and resources:
Blazor PWA by Murat Yücedağ
will be updated
...