Note: The contents of this tutorial is for reference and guiding only, the project contained in SmartAdmin 1.5 is a heavily revised version and will not be easy to migrate to, we strongly suggest to use the MVC Project provided with version 1.5!
How to integrate SmartAdmin 1.4.x into ASP.NET MVC 5 – by Ashbjorn
- PART 1 : Setting up the environment
- PART 2 : Adding Koala and Web Essentials for on-the-fly LESS and JS integration
- PART 3 : Restructuring the template into partial views
- PART 4 : Adding the Login and Register page to our MVC website
- PART 5 : Adding Forms Authentication to our MVC website
For the how-to’s I am assuming the availability of the following software, already installed and configured with their default settings:
- Visual Studio 2013 — For creating the project structure and hosting the website locally (http://www.visualstudio.com)
- Web Essentials 2.2 — For helping us in creating a fluent editing environment/experience (available inside VS2013 through Tools -> Extensions and Updates)
- Koala 2.0.3 — For compiling and minifying the LESS and JS files on-the-fly (http://koala-app.com)
- SmartAdmin 1.4.1 — The template of choice! (other and earlier versions might work but files and locations can differ)
- Basic knowledge — This goes for HTML5, CSS, jQuery and C#
- Your music of choice — I always feel that having good music in the background helps me develop (http://www.di.fm)
For Visual Studio 2013 it is highly recommended to install Update 2; Web Essentials 2.2 was optimized for this version and is assumed to have been installed throughout this guide.
Update: It seems Visual Studio 2013 Update 3 is released as well as Web Essentials 2.3 that goes with it. Feel free to apply these updates as they will make the tutorial slightly shorter and easier since you will not have to perform any manual updates through NuGet!
Update: It seems Visual Studio 2013 Update 4 is released as well as Web Essentials 2.5 that goes with it. Feel free to apply these updates!