https://github.com/ramity/caspnetti
π An opinionated full-stack boilerplate combining a Dockerized C# ASP.NET Core backend with a Vue.js frontend.
https://github.com/ramity/caspnetti
asp-net-core boilerplate csharp docker docker-compose dotnet vuejs
Last synced: 6 months ago
JSON representation
π An opinionated full-stack boilerplate combining a Dockerized C# ASP.NET Core backend with a Vue.js frontend.
- Host: GitHub
- URL: https://github.com/ramity/caspnetti
- Owner: ramity
- Created: 2025-06-04T02:37:23.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-08-04T01:37:18.000Z (11 months ago)
- Last Synced: 2025-08-04T03:42:23.839Z (11 months ago)
- Topics: asp-net-core, boilerplate, csharp, docker, docker-compose, dotnet, vuejs
- Language: Vue
- Homepage:
- Size: 978 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Caspnetti

"Mom's caspnetti"
## Purpose
This repository serves as a foundation for creating new projects. It provides:
- Extendable modules, base classes, and templates
- Commonly used tools and config
- Documentation and scripts to speed up development
## Getting Started
Download [docker](https://docs.docker.com/) then run the following:
```
git clone git@github.com:ramity/caspnetti.git
cd caspnetti
./scripts/copy_env.sh
docker compose up -d
```
> It's that shrimple π¦ See [docs/](docs/) for more details!
## Features
- π Stupid fast performance capable of handling [15,000+ requests/second](https://github.com/ramity/caspnetti/blob/master/docs/simple-benchmark.md)
- π Fully [dockerized](https://www.docker.com/) environment
- π Code-first SQL [migrations](https://learn.microsoft.com/en-us/ef/core/managing-schemas/migrations/managing?tabs=dotnet-core-cli) using [entity framework](https://learn.microsoft.com/en-us/ef/core/cli/dotnet)
- βοΈ A controller, entity, service, and test abstraction pattern built for any scale
- π [Adminer](https://www.adminer.org/en/) for easy database viewing
- π [Hey](https://github.com/rakyll/hey) for convient saturation testing
- π [Swagger](https://learn.microsoft.com/en-us/aspnet/core/tutorials/web-api-help-pages-using-swagger?view=aspnetcore-8.0&viewFallbackFrom=aspnetcore-9.0) for living documentation and testing
- βΊοΈ Custom docker container monitoring
- βοΈ [Vue.js](https://vuejs.org/) frontend
- π
±οΈ [Bootstrap](https://getbootstrap.com/)
- πΊ Development and production ready services
## Rationale
After using aspnet core in a commercial setting and slowly comming around to the framework, I wanted a good boilerplate to be able to create other projects with. This project provides many of the developer comforts I've come accustomed to having with other frameworks.
Here's an incomplete list of things I prioritize in a web stack:
- performance
- package manager and support
- easy importing
- module/package approach for dividing code into logical units: controller, entity, service at the very least
- thin controller, fat service paradigm
- ORM support
- code first SQL generation approach
- automated and reversible migrations and fixtures to seed the database with values
- automated unit testing
What I'm willing to give up:
- type juggling
- automatic memory management/garbage collector
- premade middleware
- hot reload
- debugger/breakpoints/stepping over code/inspection of variables