ASP.NET Core 3 signatures
See original GitHub issueI have been thinking about what we have in #112 and what we can do there. I have been thinking Carter could expose the ASP.NET Core APIs yet still offer its own features. This means we could offer the same as ASP.NET Core APIs such as this.Get("/", ctx => ctx.WriteAsync("hi").RequiresAuth().RequiresHost()
however I am currently unsure how to wire this up.
We currently do this for ASPNET3 https://github.com/CarterCommunity/Carter/blob/aspnetcore3/src/CarterExtensions.cs#L58 but I’m not sure if CarterModule should expose a list of IEndpointConventionBuilder
potentially and then wire that up to the endpoint routing middleware.
Hoping @davidfowl can help point in the right direction
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Getting Started with ASP.NET CORE Signature Control
This section briefly explains about how to include ASP.NET Core Signature control in your ASP.NET Core application using Visual Studio. Prerequisites. System ...
Read more >How do I DER encode a signature in .NET Core 3.1?
Hi, I have a requirement for a new integration we are building to sign the contents of the request we send using a...
Read more >Telerik UI for ASP.NET Core Signature Overview
The Telerik UI for ASP.NET Core Signature enables the user to create handwritten signatures. In this demo, you can test different features such...
Read more >Using Digital Signatures to check integrity of cipher texts in ...
This post shows how digital signatures can be implemented to check the integrity of cipher texts in ASP.NET Core Razor Pages.
Read more >Digital signature integration in asp.net core
I have integrated digital signature on a pdf using asp.net core and adobe esign API. So I can sign the agreement via email...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yup, I see, got it. Got onion layers going on…
Thanks
On Fri, 11 Oct 2019 at 04:06, David Fowler notifications@github.com wrote:
UseCarter
should hang offIEndpointConventionBuilder
instead of hanging offIApplicationBuilder
(and would be renamed to MapCarter).Middleware can act on selected endpoints when chosen so things like authorization/cors can be moved outside of the framework into middleware. As part of route registration users should have a way to add metadata to their route.
The
CarterModule
would be a mini DSL over routing.Quickly looking at the code I’m not sure how you could expose the
IEndpointConventionBuilder
from the route registration methods without a breaking change. Maybe it could be an argument instead?Here’s a strawman: