3 ms·
When you create a solution in Visual Studio, you end with a directory structure that looks like: /SolutionName SolutionName.sln <-- "Solution file" conta
by partisan 10y ago
When you create a solution in Visual Studio, you end with a directory structure that looks like:
/SolutionName
SolutionName.sln <-- "Solution file" contains links to projects
/Project1Name
Project1Name.csproj <-- "Project file" contains all project references and files
/NamespacePart
SomeClass.cs <-- Default namespace/package is "SolutionName.Project1Name.NamespacePart"
As in Java, the namespaces are, by default, driven by folder path. You can change the namespace on a class. You can also change the default namespace on a project.
If your client prefers, you can put all of the above in a /src directory. You can reference compiled DLLs and/or Projects using relative paths, by default so you can have a /test directory which would point to your /src solutions.
In terms of which templates it uses by default (in ASP.NET MVC), by default the view is {actionName} so if you have an action "Index" on a controller "Home", the default view is "/Views/Home/Index.cshtml". You can tell it to use a specific view, of course, as an overload to the View() method.
In the spirit of the holidays, I'd be willing to have a 30 minute skype call to answer questions or create a basic project. My gmail is partisanyc.