supertokens-core icon indicating copy to clipboard operation
supertokens-core copied to clipboard

C#/ASP.NET SDK

Open kaptcha0 opened this issue 3 years ago • 28 comments

🚀 Feature

ASP.NET is still a prominent backend framework, ranking fifth in Stack Overflow's 2021 developer survey under "most popular web frameworks." An SDK for C# would be amazing, if possible.

Implementation details

Something like:

...
services.AddSupertokens(<configuration>);
...

in Startup.ConfigureServices, and

...
app.UseSupertokens();
...

in Startup.Configure. UseSupertokens would actually initialize the connection and setup routing/middlewares.

kaptcha0 avatar Mar 22 '22 20:03 kaptcha0

+1

andrei-micuda avatar Apr 01 '22 20:04 andrei-micuda

Hi, I found this forked thingy . To be honest, I have no idea if it even works, however it could be a starting point

TDiblik avatar Apr 17 '22 23:04 TDiblik

hey @TDiblik that does work, and is being used in production at a largeish scaled company.

However, it only has the session recipe in it.

rishabhpoddar avatar Apr 18 '22 05:04 rishabhpoddar

+1 for this one, .NET is the most prominent backend framework in my industry.

ClumsyPenguin avatar May 27 '22 19:05 ClumsyPenguin

dotnet6 actually has very close if not better performance to Go. With dotnet being open source and cross framework, I think the rank will just move higher

Sam-Lin-MillersLab avatar Jun 12 '22 19:06 Sam-Lin-MillersLab

+1

Mattieeec3 avatar Nov 20 '22 13:11 Mattieeec3

+1

kjartanvalur avatar Feb 27 '23 08:02 kjartanvalur

+1

SimonSchroffner avatar May 02 '23 09:05 SimonSchroffner

+1

notmods avatar Nov 28 '23 02:11 notmods

+1

lecramr avatar Feb 04 '24 16:02 lecramr

+1

branislav91srb avatar Feb 21 '24 13:02 branislav91srb

hey @TDiblik that does work, and is being used in production at a largeish scaled company.

However, it only has the session recipe in it.

Hi @rishabhpoddar How does this work with identity and Entity Framework?

fergalmoran avatar Mar 27 '24 21:03 fergalmoran