Note that when installing the various packages from nuget command prompt you should specify the -Pre option, since everything is in alpha at this time. At the same time, for the very same reason, when installing from the visual interface, you should allow to show the prereleases.
A Mono port is on the way!
Everything available for nuget (now in pre-release, when the documention will be more or less completed i'll publish them as "official")
The basic project is a standard .Net class library, based on framework 4.5 or greater.
It's pretty simple, can be created directly with the specific Node.Cs template here It follows more or less the MVC file structure (to be compatible with the MVC 4 nuget packages)
App_Data: The application data (mdf/ldf/...) directory
Views: The cshtml files as in standard Ms MVC projects
Scripts: All javascripts
node.config: The configuration file
GlobalNodeCs.cs: The global.asax equivalent for node cs.
Controllers: The package for the controllers
After the "standard" class library compilation,
To debug, the site is run calling the Node.Cs.Cmd.exe:
MyProject/App_Bin/Node.Cs.Cmd.exe -config MyProject/node.config
This will be the default run configuration.
During the debugging only the dlls specified inside the configuration will be loaded despite what is set inside the project references.
To allow the usage of syntax highlight inside Razor, inside the project template is present a web.config file, and exists all ther references to the .Net standard razor dlls. This is used ONLY to cheat the Visual Stuido parser and keep smooth the development of the various chstml files "the standard way".
The idea is that into the AfterBuild step all the binaries will be copied into the App_Bin directory. With the Node.Cs template all these task are accomplied inside the .csproj file directly.
If you want to follow the easy way just install the Node.Cs.Extension from the extensions library, create a new Node.Cs.Project, enable the Nuget Packages Restore and rebuild all.
Please note that the default project template will include the Razor module and is able to handle out of the box, the standard handling of controllers and views like with .Net MVC.
The content of the freshly created project will be:
Copyright (C) 2013-2014 Kendar.org
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
See kendar.org for the latest changes.