What is the naming convention for ASP.NET Core projects? -
in asp.net core convention projects seems to put asp.net core projects inside src\
folder, , test projects inside test\
folder.
what other conventions there, ie. should web (front-end only) project located?
the honest answer "it depends." src
, test
folders @ root common structure seen in code repositories today.
here common root folders , may contain:
- test - unit tests, ui tests, integration tests, etc.
- src - source code projects
- tools - strong-name files and/or 3rd party tools may used tests or builds
- build - scripts perform various builds on project
- docs - documentation files project
how organize web (front-end only) project inside asp.net core directory structure?
the advice can give without knowing project, , people interacting it, keep simple. haven't found need add more root folders beyond what's seen above.
keep in mind there folders default project template going use:
- by default, grunt set in
css
,js
, ,lib
folders under wwwroot bundling process. - bower (also default template) install packages
lib
folder underwwwroot
. - mvc looks through
views
folder view templates.
Comments
Post a Comment