Controllers
, Models
, Scripts
, and Views
while Starcounter has Api
handlers, JSON + HTML viewmodels
and database
classes.Api
, Database
, Helpers
, and ViewModels
folders may or may not have their own namespace.Helpers
folder would look like this:Api
folder would look like this:StarcounterSample/ViewModels/Launcher/AppMenuPage.json
..cs
and .json
files should be exactly the same as classes inside. Name of .json
and .json.cs
files should also match.ViewModels/SignInPage.json
ViewModels/SignInPage.json.cs
class SignInPage : Json
SignInPage.Html
should be named exactly the same as name of json file.elements
folder. The name of a file should be exactly the same as name of the element inside.js
folder.Program.cs
ClassRegister
method of /Api/
classes.sln
) and project (csproj
, kproj
) files should be checked in to the version control system.suo
), which carry information about unloaded projects in a solution or breakpoints in a project, should not be checked in to the version control system.