1

simple question how to separate backend and frontend files in asp.net core i want backend and frontend folders to keep things organized

my project uses asp.net core with blazor the structure right now is like this

enter image description here

1 Answer 1

1

Well, based on your current scenario and project structure you could follow the below structure to make a cleaner project architecture.

Blazor Project Structure:

enter image description here

Note:

You have to take a solution under that solution you should take one client project and one server project and it will help to distinguish your front-end and backend code. If you want to share common stuff between them you could add an additional class library as well. You could refer to this example for more details

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.