I Want to integrate metronic theme in my ASP.Net MVC Project so please tell me how to integrate it into my project
Thanks in advance
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vinay SinghPosted Aug 4, 2016, 7:32 AM
1) Create a new MVC project
2) Change the layout page to the match the content of the indexpage of the template
3) Change the actual content on the layout page to @RenderBody
4) Copy the actual content of the indexpage to the /Home/Index view (+ repeat for other pages in other views + set up controllers)
4) Copy the scripts and the css files into this new project
5) Set up the bundleconfig for scripts and css (or reference the scripts/css directly in the page, so you can leave the template if you really want)
7) Change all a href to point to MVC url's
If I'm not forgetting anything, this should create a working page.
After that you could actually also migrate a bunch of other stuff to MVC, such as how the navigation menu opens and closes, ...
But as I'm assuming you just want to get the page into MVC so you can use it to code your backend, this should probably get you on your way.
It's quite general, but with some basic knowledge on MVC or some extra googling you should be able to get there :)