AuthenticationService icon indicating copy to clipboard operation
AuthenticationService copied to clipboard

How is this implemented in a web API

Open JimF42 opened this issue 3 years ago • 3 comments

I have been looking for something like this for a new RESTful service I am writing (I'm new to web APIs, but not to other c# programming).

What I didn't glean from the code or your article is how to I implement this into a Web API application. I am using VS 2022 and Core 6. I presume it would get wired into the Startup's ConfigureServices, but I don't see how that's done.

Is it possible to provide a snip to show us?

JimF42 avatar Jan 19 '22 20:01 JimF42

@JimF42 Did you find a way to implement it yourself? Best Regards.

Rekasi avatar Sep 26 '22 21:09 Rekasi

@Rekasi, No, I didn't. We ended up not going with a web service for this internal only app.

JimF42 avatar Sep 27 '22 09:09 JimF42

@JimF42 @Rekasi Yes, there you go. https://github.com/MosheWorld/Microservices-NodeJS-Express

Please review the signup, signin, and validation methods in the User Microservice. Then, examine how the middleware is implemented for validation in the Product route

MosheWorld avatar Jul 28 '23 22:07 MosheWorld