Formalize folder naming conventions #10638
Replies: 5 comments 3 replies
-
Another good example, why is Umbraco's own language file config folder |
Beta Was this translation helpful? Give feedback.
-
Back in my earlier web days, (circa. '99), I recall reading a UK Gov guideline about their file and folder name conventions, I've never been able to find the document since, (probably lost in the ether), but the general gist was kebab-case (lowercase) everything, particularly if those files were publicly (web) accessible.
|
Beta Was this translation helpful? Give feedback.
-
We should also formalize, document, and split folders that contain environment specific files e.g. logs from those which should be version controlled & published! |
Beta Was this translation helpful? Give feedback.
-
I bounce between Windows and macOS frequently and this gives me some heartache in command line and terminal windows respectively. The ideal solution (in my opinion) is:
I won't go into how I reconcile this file/folder naming pattern with HTML, CSS, and JavaScript... I just have to deal with it. |
Beta Was this translation helpful? Give feedback.
-
We did have an internal discussion about naming/location conventions just before releasing v9, as I noticed the same while updating the ImageSharp.Web cache directory: #10884 (see my related note at the bottom of the PR description). The proposed changes were too breaking or too late to implement before the final release, as it would break a lot of existing local developer setups (ignored files getting visible again, require manually moving files/directories), break existing packages and require changes to the hosting configuration. I agree that everything in the normal project structure should use Pascal Case (as is the Microsoft/C#/.NET/MVC default) and only front-end files in the This is my proposed structure:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Given .NET Core is now case sensitive it would be good if we could formalize the naming convention of folders in the project as currently, it appears to be a mix
From a discussion on another issue it was suggested everything in the content root should probably be first upper where as anything that is in the wwwroot should be all lower.
It would be good if there was some actual standard to this.
Beta Was this translation helpful? Give feedback.
All reactions