DevToPosts
ApiEndpoints
Our great sponsors
DevToPosts | ApiEndpoints | |
---|---|---|
24 | 22 | |
53 | 2,985 | |
- | - | |
6.6 | 4.3 | |
about 1 month ago | about 1 month ago | |
C# | C# | |
- | 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.
DevToPosts
-
Mejorando la Observabilidad en ASP.NET Core con OpenTelemetry y Aspire
Nota 馃挕: Como costumbre, el c贸digo fuente: DevToPosts/AspireDashboard/OpenTelemetryExample 路 isaacOjeda/DevToPosts (github.com)
- Mejorando Rendimiento y Escalabilidad: Gu铆a de Cach茅 Distribuido en ASP.NET Core
- Explorando la Autenticaci贸n Bearer en ASP.NET Core 8
- Mejorando la seguridad en aplicaciones SPA: Implementaci贸n del patr贸n BFF con Angular y ASP.NET Core
- ASP.NET Core: Monitoreo con OpenTelemetry y Grafana
- ASP.NET Core: API Key Authentication
- .NET 7: Minimal APIs y FluentValidation
- ASP.NET Core: Creando un Chat con SignalR y Angular
- [Parte 7] ASP.NET: Creando un Sistema Auditable
- [Parte 6] ASP.NET: Refactorizando la soluci贸n (Vertical Slice Architecture)
ApiEndpoints
- Web apis with controllers but whats the other way
-
Does anyone like minimal API?
I personally prefer the API Endponts project that doesn鈥檛 get the love it deserves. It鈥檚 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?
Audit.NET - An extensible framework to audit executing operations in .NET and .NET Core.
FastEndpoints - A light-weight REST API development framework for ASP.NET 6 and newer.
MediatR - Simple, unambitious mediator implementation in .NET
FastEndpoints - A light-weight REST API development framework for ASP.Net 6 and newer. [Moved to: https://github.com/FastEndpoints/Library]
opentelemetry-dotnet - The OpenTelemetry .NET Client
MinimalApiArchitecture - .NET 8 Minimal API with Vertical Slice Architecture
IdentityServer4 - OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
oidc-client-js - OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications
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.
FluentValidation - A popular .NET validation library for building strongly-typed validation rules.
.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.