El Grande Padre
El Grande Padre
CC#
Created by AceChewy on 9/4/2023 in #help
❔ Help Using Supabase
I'm not 100% sure how supabase works, but if its a postrgres compatible db then you should be able to use efcore with identity and point it at supabase. With sufficient permissions it should be able to do schema migrations too.
8 replies
CC#
Created by AceChewy on 9/4/2023 in #help
❔ Help Using Supabase
If you're new to auth and databases in general, I'd probably stick with letting efcore or something similar manage the db schema rather than trying to use a supabase template. https://learn.microsoft.com/en-us/aspnet/core/security/authentication/identity?view=aspnetcore-7.0&tabs=visual-studio (This gets better in a few months with dotnet 8) As for the other stuff, it seems fine for what you're doing. If you wanted it could help to look into relational database normalized forms and the trade-offs between them.
8 replies
CC#
Created by El Grande Padre on 1/16/2023 in #help
✅ Not able to locate web api controllers in a class library
Solved. I think it was <FrameworkReference Include="Microsoft.AspNetCore.App" /> but the secondary issue of me not including the rest port in the appsettings.json didn't show it working once that was fixed. Guess thats what I get for laziness and not copying over the option configs. ty @TeBeConsulting
81 replies
CC#
Created by El Grande Padre on 1/16/2023 in #help
✅ Not able to locate web api controllers in a class library
I added a project reference to the LibApi and it found the controller without going into the extension method
81 replies
CC#
Created by El Grande Padre on 1/16/2023 in #help
✅ Not able to locate web api controllers in a class library
so that worked...
81 replies
CC#
Created by El Grande Padre on 1/16/2023 in #help
✅ Not able to locate web api controllers in a class library
81 replies
CC#
Created by El Grande Padre on 1/16/2023 in #help
✅ Not able to locate web api controllers in a class library
Adding the framework reference didn't fix it. I'm trying to find a way to list out all registered controllers to see for sure they're not registered
81 replies
CC#
Created by El Grande Padre on 1/16/2023 in #help
✅ Not able to locate web api controllers in a class library
I updated the project but still same behavior. Still a bit new to anything outside of basic one project crud apps so how would FrameworkReference not being defined break things?
81 replies
CC#
Created by El Grande Padre on 1/16/2023 in #help
✅ Not able to locate web api controllers in a class library
The motivating factor for me right now is transitioning away from a ruby world that has bit me in the ass with convoluted "god objects" or "god models" too many times
81 replies
CC#
Created by El Grande Padre on 1/16/2023 in #help
✅ Not able to locate web api controllers in a class library
yep thats pretty much what I have in the private repo.
81 replies
CC#
Created by El Grande Padre on 1/16/2023 in #help
✅ Not able to locate web api controllers in a class library
i think i accidentally added that when adding <PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
81 replies
CC#
Created by El Grande Padre on 1/16/2023 in #help
✅ Not able to locate web api controllers in a class library
same result and same assembly
81 replies