FastEndpoints
ApiEndpoints
Our great sponsors
FastEndpoints | ApiEndpoints | |
---|---|---|
16 | 22 | |
1,936 | 2,985 | |
- | - | |
9.9 | 4.3 | |
over 1 year 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.
FastEndpoints
- FastEndpoints has reached v5.0 after 1 year of development [107k downloads / 1.9k gh stars / 1.1k commits]
- FastEndpoints – API Framework for Asp.net Using the REPR Pattern
- FastEndpoints template
-
is injecting a iserviceprovider instance considered a anti-pattern
In a recent podcast episode I recorded with Nick Chapsas, we discussed both Minimal API and Mediatr (due to be published on the 1st April). He mentioned a library I hadn't heard of before called Fast Endpoints, which is yet another option. So many different ways to skin a cat. I haven't used Carter, but did use Nancy back in the day.
-
6 .NET Myths Dispelled — Celebrating 21 Years of .NET
There's also Fast Endpoints as another way of doing a similar concept (This has API design issues imo, but the concept is solid). It ends up being similar to how a lot of people use MediatR, it's just instead of using controllers you use MapXXX to call MediatR. This just allows people to cut out the MVC overhead.
-
We Need to Have a Talk About MediatR
i believe i've built such a thing. or at least something close to that ;-)
- FastEndpoints v3.0 released with easy api versioning support!
-
FastEndpoints alternatives - ApiEndpoints and Carter
3 projects | 20 Jan 2022
-
Awesome Software Architecture: A curated list of useful resources about software architecture and design principles.
awesome! page looks a bit empty. maybe my rest api framework belongs there too as it's an implementation of REPR pattern https://github.com/dj-nitehawk/FastEndpoints
-
Is minimal api the way to go now?
that's why integration/functional testing with WebApplicationFactory is the way to go.
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?
Refit - The automatic type-safe REST library for .NET Core, Xamarin and .NET. Heavily inspired by Square's Retrofit library, Refit turns your REST API into a live interface.
FastEndpoints - A light-weight REST API development framework for ASP.NET 6 and newer.
RestSharp - Simple REST and HTTP API Client for .NET
MediatR - Simple, unambitious mediator implementation in .NET
Ocelot - .NET API Gateway
IdentityServer4 - OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
Simple.OData.Client
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.
.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
Flurl.Http - Fluent URL builder and testable HTTP client for .NET
AutoMapper - A convention-based object-object mapper in .NET.