Skip to content

kova1ev/WBlog

Repository files navigation

WBlog

build & test

This pet project is a personal blog site for publishing your articles.

Images

main

More images main
main

How to use

Required .Net 6 or above

Database

The default settings in the project use the local Ms SqL Server. You can change the connection string in src\Admin\appsettings.json file.

Then, in the \WBog directory, run cmd and update the database using dotnet ef tools https://learn.microsoft.com/en-us/ef/core/cli/dotnet:

   dotnet ef database update -p .\src\Infrastructure.Data\ -s .\src\Admin\ 

☝️ If you don't want or can't use Ms Sql Server, then you can use Database In Memory. Change the value of "DataBase Provider" in the src\Admin\appsettings.json file. ( supported 2 value "mssql" and "inmemory" )

  "DataBaseProvider": "mssql"   =>   "DataBaseProvider": "inmemory"

Visual Studio

In the solution properties, select the two projects to run "Admin" and "WebUI". And Start projects.

Terminal

In the \WBlog directory, run cmd and restore required packages:

dotnet restore

Then run projects

dotnet run --project .\src\Admin\
dotnet run --project .\src\WebUI\

Url

Admin - https://localhost:7184/

Swagger - https://localhost:7184/Swagger/index.html

UserInterface - https://localhost:7232/

login for admin

login : [email protected]
password : !Aa12345

Using Technologies :

  • Asp.Net Core 6
  • EntityFrameworkCore 6
  • Razor Pages
  • Blazor Server
  • Bootstrap 5
  • Swagger

The project is still under development

Releases

No releases published

Packages

No packages published