Skip to content

IIdentityController #10264

Answered by ysmoradi
SrxDev asked this question in Q&A
Mar 15, 2025· 1 comments · 1 reply
Discussion options

You must be logged in to vote

For methods where the server-side and client-side signatures cannot perfectly match for any reason, we utilize the C# 8 default interface implementation feature.

You'll notice => default!; at the end of the interface method.

Keep in mind that the actual implementation of the interface is not the API Controller but rather the automatically generated HTTP proxy class, which is created using Bit.SourceGenerators.

Feel free to reach out if you have any further questions!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SrxDev
Comment options

Answer selected by SrxDev
Sign up for free to join this conversation on . Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants