ApiEndpoints
Carter
ApiEndpoints | Carter | |
---|---|---|
22 | 15 | |
3,005 | 2,022 | |
- | 1.8% | |
4.3 | 4.1 | |
2 months ago | 7 days 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.
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
Carter
-
Explorando o Carter: Um Framework Simples e Eficaz para APIs em .NET
Para saber mais: Carter Github
-
17 Amazing Community Packages for .NET Developers
And what about Carter for minimal APIs?
- Does an open source 'backend platform' exist for dotnet?
-
What is the dotnet equivalent to Python's Flask?
Nancy became Carter https://github.com/CarterCommunity/Carter
-
Reprise - a micro-framework that brings the REPR pattern into Minimal APIs
The results for Carter were a surprise for me as well and I even reported that: https://github.com/CarterCommunity/Carter/issues/315
-
Does anyone like minimal API?
Check out Carter if you're a Nancy fan =)
-
is injecting a iserviceprovider instance considered a anti-pattern
As a good example on how to build over base asp.net core there's project Carter who provides a nice module experience.
-
FastEndpoints alternatives - ApiEndpoints and Carter
3 projects | 20 Jan 2022
- ASP.NET Core 6: Autenticación JWT y Identity Core
-
As a .Net/NodeJS developer, this video helped me reconcile some Minimal API patterns
I would recommend Carter. I just started playing with it and It’s been delightful so far. https://github.com/CarterCommunity/Carter
What are some alternatives?
FastEndpoints - A light-weight REST API development framework for ASP.NET 6 and newer.
FastEndpoints - A light-weight REST API development framework for ASP.Net 6 and newer. [Moved to: https://github.com/FastEndpoints/Library]
SoapCore - SOAP extension for ASP.NET Core
MediatR - Simple, unambitious mediator implementation in .NET
FluentValidation - A popular .NET validation library for building strongly-typed validation rules.
IdentityServer4 - OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
ASP.NET MVC Boilerplate - .NET project templates with batteries included, providing the minimum amount of code required to get you going faster.
AutoMapper - A convention-based object-object mapper in .NET.
MinimalApiPlayground - A place I'm trying out the new ASP.NET Core minimal APIs features.