MongoWebApiStarter
ApiEndpoints
Our great sponsors
MongoWebApiStarter | ApiEndpoints | |
---|---|---|
10 | 22 | |
191 | 2,985 | |
- | - | |
6.8 | 4.3 | |
2 months ago | about 1 month ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
MongoWebApiStarter
-
Dependency injections and separating logic and data access in vertical slice architecture
I just started a project with a vertical slice architecture and got some inspiration from this https://github.com/dj-nitehawk/MongoWebApiStarter
-
C# equivalent of: Ruby on Rails / Php Laravel / Python Django?
this is the one we use for all our new projects.
-
How to encrypt configuration file.
yes that's what we do. op should just store the sensitive data as environment variables and let the .net config provider read those values during app runtime. you just need to use the double underscore format for naming the variable paths like so: https://github.com/dj-nitehawk/MongoWebApiStarter/blob/a86342d8585d6659dfd677b485f0f22813e9d861/Template/.linux-server-setup/env-variables.txt
-
What is the optimal learning pathway towards building a ASP.NET Web App using an MVC model when I only know C# basics?
if you feel like jumping heard first, have a look at this starter template i have on github. that's what our team uses for all new web api projects.
-
FastEndpoints: A light-weight REST Api framework for ASP.Net 6 that implements REPR Pattern
planning on doing a video tutorial series building a real world app. in the meantime have a look at this starter template project which handles some of that stuff: https://github.com/dj-nitehawk/MongoWebApiStarter
-
What are some of the *must do* or good libraries / tricks for a project? On the more serious work-related side?
if you're familiar with mongodb, may i recommend an excellent web-api starter template by yours trully ;-)
-
Solo Dev looking for realistic data access solution
if mongodb is an option, have a look at this starter template which uses vertical slice architecture.
-
First Try at a Minimal API
here's a starter template project that i use.
-
Confusion with web ecosystem
look into servicestack and vertical slice architecture. check out this dotnet new template where I've implemented both: https://github.com/dj-nitehawk/MongoWebApiStarter
-
What do you find is the best way to structure your solutions and applications?
another huge fan of vertical slices here. but I do it without mediatr and use servicestack instead of mvc. here's an example: https://github.com/dj-nitehawk/MongoWebApiStarter
ApiEndpoints
- Web apis with controllers but whats the other way
-
Does anyone like minimal API?
I personally prefer the API Endponts project that doesn’t get the love it deserves. It’s really the best of both worlds. It breaks each endpoint up into one file to make it easier to manage and prevents ginormous Controllers.
-
Are minimal APIs meant to be used for lightweight projects or do they offer something controllers don't?
I personally think it feels "cleaner" when using the controllers instead because they provide more out of the box features. Having one endpoint per file is a nice thing so I'm thinking about using the ApiEndpoints ( https://github.com/ardalis/ApiEndpoints ) package.
-
Need help for refactoring my Controller
You can follow a "controller per endpoint" strategy. One good way to do it is with Steve Smith ApiEndpoints: https://github.com/ardalis/ApiEndpoints
- Need help understanding the purpose of MediatR in vertical slices architecture.
-
Thick or thin API controllers?
I'm not disputing the benefits of thin controllers but there are other ways to make the controllers thinner. For example, I could use libraries such as ApiEndpoints which allows me to have one handler class per REST endpoint. Basically, MediatR pattern but at the ASP.net level.
The only think I would suggest is to break endpoints into separate files via smth like this https://github.com/ardalis/ApiEndpoints
-
FastEndpoints v3.0 released with easy api versioning support!
You really should compare against https://github.com/ardalis/ApiEndpoints
-
FastEndpoints alternatives - ApiEndpoints and Carter
3 projects | 20 Jan 2022
- ASP.NET Core 6: Autenticación JWT y Identity Core
What are some alternatives?
ABP - Open Source Web Application Framework for ASP.NET Core. Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET and the ASP.NET Core platforms. Provides the fundamental infrastructure, production-ready startup templates, application modules, UI themes, tooling, guides and documentation.
FastEndpoints - A light-weight REST API development framework for ASP.NET 6 and newer.
VisitorLog - A free and open source visitor logging system
FastEndpoints - A light-weight REST API development framework for ASP.Net 6 and newer. [Moved to: https://github.com/FastEndpoints/Library]
Socket.io - Realtime application framework (Node.JS server)
MediatR - Simple, unambitious mediator implementation in .NET
Guitars.API
IdentityServer4 - OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
Demo.API
Carter - Carter is framework that is a thin layer of extension methods and functionality over ASP.NET Core allowing code to be more explicit and most importantly more enjoyable.
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.