IDE complaining that interface async methods are not implemented.
Not sure where the issue is.
15 Replies
That seems fine
What is the exact error?
Huh, try auto-implementing it maybe?
I'd remove the default value from the interface too, maybe that's an issue
yeah i tried, it removes the async
removing the default value didn't help, and auto implementation changed it to
If you removed the default value, then how did autoimplementation add it?
i mean i tried removing the default value first then saw no improvement then i auto implemented it
Huh
What version of .NET?
okay found the issue bruh i accidentally used Microsoft.AspNetCore.Http.ISession instead of Nhibernate's while setting the datatypes of the parameters in the interface
Because I see no complaints on .NET 8
Ah, yeah, that would do it lol
so annoying š took me a while
Why NHibernate, btw?
just started webdev and some guy on stackoverflow recommended it 8 years ago
now i am integrating it with asp.net identity cuz of all the features i am missing
shouldve just used entity framework
š
Yes, you should have lol
Good luck ig
yeah it's supposed to be a learning experience anyways, thank you