theluckyrogue
theluckyrogue
CC#
Created by Sun「無用」 on 5/25/2024 in #help
Basic project structure for api/frontend
@Sun「無用」
51 replies
CC#
Created by Sun「無用」 on 5/25/2024 in #help
Basic project structure for api/frontend
How many records were you trying to load?
51 replies
CC#
Created by Sun「無用」 on 5/25/2024 in #help
Basic project structure for api/frontend
Why is that?
51 replies
CC#
Created by Sun「無用」 on 5/25/2024 in #help
Basic project structure for api/frontend
@Sun「無用」
51 replies
CC#
Created by Sun「無用」 on 5/25/2024 in #help
Basic project structure for api/frontend
Your frontend shouldn't know what a database is
51 replies
CC#
Created by Sun「無用」 on 5/25/2024 in #help
Basic project structure for api/frontend
Not your frontend
51 replies
CC#
Created by Sun「無用」 on 5/25/2024 in #help
Basic project structure for api/frontend
Yeah db queries happen at your api
51 replies
CC#
Created by Sun「無用」 on 5/25/2024 in #help
Basic project structure for api/frontend
Yeah that is just blazor you are good
51 replies
CC#
Created by Sun「無用」 on 5/25/2024 in #help
Basic project structure for api/frontend
Blazor server is not the same thing as blazor.
51 replies
CC#
Created by Sun「無用」 on 5/25/2024 in #help
Basic project structure for api/frontend
If it is, read up on a "code first database" in "entity framework core."
51 replies
CC#
Created by Sun「無用」 on 5/25/2024 in #help
Basic project structure for api/frontend
@Sun「無用」 ?
51 replies
CC#
Created by Sun「無用」 on 5/25/2024 in #help
Basic project structure for api/frontend
Do you need a db for what you are building?
51 replies
CC#
Created by Sun「無用」 on 5/25/2024 in #help
Basic project structure for api/frontend
Simple as
51 replies
CC#
Created by Sun「無用」 on 5/25/2024 in #help
Basic project structure for api/frontend
Idk what you are building but I name them like this: <project_name>Frontend, <projectname>API, <project_name>Shared
51 replies
CC#
Created by Sun「無用」 on 5/25/2024 in #help
Basic project structure for api/frontend
Wdm?
51 replies
CC#
Created by Sun「無用」 on 5/25/2024 in #help
Basic project structure for api/frontend
You can do all of this with the dotnet cli
51 replies
CC#
Created by Sun「無用」 on 5/25/2024 in #help
Basic project structure for api/frontend
Then reference the shared library in both of the other two
51 replies
CC#
Created by Sun「無用」 on 5/25/2024 in #help
Basic project structure for api/frontend
If you are, just make a solution with three projects. One is the blazor project, one is an asp.net webapi project, and the last one is a shared class library project.
51 replies
CC#
Created by Sun「無用」 on 5/25/2024 in #help
Basic project structure for api/frontend
Are you using visual studio?
51 replies
CC#
Created by Sun「無用」 on 5/25/2024 in #help
Basic project structure for api/frontend
Even better re-build it from scratch better than the previous one. If you run out of ideas on how to make it better, ask someone really good how they would make it better. I guarantee they would have some ideas.
51 replies