Reputation: 22789
In ASP.Net Core the convention for projects seems to be to put the ASP.Net Core projects inside a src\
folder, and the test projects inside a test\
folder.
What other conventions are there, ie. where should a web (front-end only) project be located?
Upvotes: 1
Views: 1667
Reputation: 10889
The honest answer to this is "it depends." The src
and test
folders at the root are a common structure seen in code repositories today.
Here are some common root folders and what they may contain:
How would you organize a web (front-end only) project inside an ASP.NET Core directory structure?
The only advice I can give without knowing your project, and the people interacting with it, is to keep it simple. I haven't found a need to add more root folders beyond what's seen above.
Keep in mind that there are certain folders that a default project template is going to use:
css
, js
, and lib
folders under wwwroot for its bundling process.lib
folder under wwwroot
.Views
folder for view templates.Upvotes: 3