Skip to content

Repository files navigation

✦ Explore What I’m Building

Think clearly. Build better. Ship confidently.

Practical notes on software engineering, architecture, and scalable systems.

Read the latest articles →


Tools that make you ruthlessly productive.

Focused tools built to simplify workflows, reduce friction, and help you move faster.

Explore the tools →


Bocasay Exam Solution

  • Frontend form fields to be 2 simple text fields e.g. first name, last name.
  • Backend to receive posted data as an object and save posted object to simple file in json format.

About Project

Built with Clean Architecture with .NET Core 5. Includes both WebAPI and Web Blazor projects and WebAPI.UnitTest project.

Solution Architecture Structure

Built with

  • Back-end: ASP.NET Core 5.0 WebAPI
  • Front-end: ASP.NET Core 5.0 Blazor

Prerequisites

  • Make sure you are running on the latest .NET 5 SDK (SDK 5.0 and above only).
  • Visual Studio 2019 (v16.8+)

Features Included

  • CQRS with MediatR
  • Fluent Validation
  • UnitTest with xUnitTest and Moq

Setup & Configurations

  • Set both WebAPI and WebApp as Starup Projects
  • WebAPI: For the path folder of save posted object to simple file in json format please refer to this section of appsettings.json
"AppConfiguration": {
    "FolderJsonPath": "Files\\Persons"
}
  • WebApp Client: Temporary use EndPointConfig.cs to configurate the API's endpoint for web app client.
public const string BaseAPIAddress = "https://localhost:44325";
public const string PersonEndPointPost = "/api/person";

About

Bocasay Solution

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages