The Karhu.Backend project is an ASP.NET MVC 3 application implementing the required Products and Categories controller for the Karhu HTML5 Application.
To store the product and category data a SQL Server Express needs to be installed on the machine. Further ASP.NET MVC3 with the newest Update should be installed in order to run this project.
First thing to do is to install Entity Framework 4.1 via nuget. To do this just open the package manager console and type
install-package EntityFramework. To use the Karhu client with this backend please copy the contents of the public folder into the Karhu.Backend project in Visual Studio 2010. Ensure that index.html and config.js is in the root of Karhu.Backend and the subdirectories
are in place. Then just simply execute the application by starting in debug mode and you should have a running copy of Karhu with appropriate .NET backend.
If so, you are ready to start, here we go: Karhu.
The Karhu.Backend currently does not implement the following features from the Karhu client
The missing features will be implemented in the near future.
There are some other issues in class design which should be refactored. There are also no unit tests for the Karhu.Backend, but there are unit tests for the client side.
if you plan to deploy Karhu.Backend to another machine with the Karhu client, please ensure that the mime/type for mustache templates is enabled. You can have a look at the web.config.
If you have any kind of comments or feedback, please contact me dparys@microsoft.com or http://downtocode.net or @writeline via Twitter.