How to use Free CSS Templates with ASP.NET MVC 3

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
39,051
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 17, 2010

Beautifying your ASP.NET MVC 3 website is very easy using free CSS templates. This video demonstrates how to replace the project template provided layout with one downloaded from freecsstemplates.org. Please visit http://www.deepakchitnis.net/how-to-use-free-css-templates-with-aspnet-mvc-3.... for more information.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (dmchitnis)

  • ASP.NET MVC 3 Beta now has support for VB. There are vbhtml counterparts for every cshtml files, so this should be really easy now.

Top Comments

  • Very good tutorial, I'm sure the MVC community will appreciate it.

    For the advanced users though, I would recommend putting the template in Content but not creating layout.cshtml in the same folder, instead leave it on Shared as it is. Just change the content of Layout.cshtml to the content in index.html and make the appropriate changes in the HTML code to point to the CSS and images.

    This because it would kill the spirit of MVC to put it in the Content folder rather than leaving it at View.

  • You don't need to copy that line in your _Layout.cshtml file, just move the file to ~/Views/Shared/ folder and modify path to it in _ViewStart.cshtml (If you wish to keep original _Layout.cshtml file, just put the new one in some folder or rename it).

see all

All Comments (21)

Sign In or Sign Up now to post a comment!
  • Thanq for the tutorial...You Explained how to change the css when using Razor,Can you tell me how to do it with .ASPX page...

  • Greate tutorial, thank You, But I still have problem with ActionLink, and i cant create button. :(

  • Thanks, really helped me

  • @menyarito1 Did anybody ever answer you on this question? I have the same issue.. :(

  • Very good video Thanks

  • NIce I liked this idea and I am going to try this Thanks so much

  • in my _Layout.cshtml I have not found:

    @inhertis System.Web.Mvc.WebViewPage

    what should I do ??

  • Loading comment...
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more