Comparison between Starcounter & Microsoft ASP.NET MVC stacks
Follow these steps to build and run Starcounter example
- Download and install Starcounter minimum version
2.1.1362
. Direct link: http://downloads.starcounter.com/download/Starcounter/DevelopNightlyBuilds/latest - Open
/Starcounter/ShoppingCart.sln
solution in Visual Studio 2013/2015. - Make sure that the Working directory of the solution points to the
/Starcounter/ShoppingCart/wwwroot
folder. Read more. - Press
Ctrl + F5
to build and start solution. - Navigate to http://localhost:8080/shoppingcart to see how the application works.
Follow these steps to build and run ASP.NET MVC example
- Download and install Microsoft SQL express 2014.
- Restore database from
/Asp.net/shopping-cart-db.zip
archive. - Ensure that connection string in
/Asp.net/ShoppingCart/web.config
is correct. - Open
/Asp.name/ShoppingCart.sln
solution in Visual Studio 2015. - Restore NuGet packages.
- Press
Ctrl + F5
to build and start application. - The application should start in your default browser. Open the URL in Google Chrome, if it is not your default browser.
These code samples use WebComponents and Shadow DOM with Polymer 1.3 as JavaScript framework.
To make it all work in Firefox and Internet Explorer I have to replace table tags with divs, write my own sc-select
component to workaround dom-repeat
issue in Internet Explorer.
- The ASP.NET MVC example should also work in Vistual Studio 2012/2013, but was not tested.