Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.37 KB

readme.md

File metadata and controls

27 lines (21 loc) · 1.37 KB

Story Blog sample web application

Build Status .NET

Simple Blazor Wasm application with two separate web-services (microservices) with very basic inter-process Message Broker to communicate each other.

Working with Database

Comments Database

dotnet ef migrations add InitDatabase --context CommentsDbContext --output-dir "Persistence\Migrations" --project "..\StoryBlog.Web.Microservices.Comments.Infrastructure" --no-build --verbose
dotnet ef database update --context CommentsDbContext --project "..\StoryBlog.Web.Microservices.Comments.Infrastructure" --no-build --verbose

Posts Database

dotnet ef migrations add InitDatabase --context PostsDbContext --output-dir "Persistence\Migrations" --project "..\StoryBlog.Web.Microservices.Posts.Infrastructure" --no-build --verbose
dotnet ef database update --context PostsDbContext --project "..\StoryBlog.Web.Microservices.Posts.Infrastructure" --no-build --verbose

Libraries

  1. Mediatr
  2. SlimMessageBus
  3. EntityFrameworkCore
  4. Swagger