GitXplorerGitXplorer
c

RazorTemplateClassLibrary

public
6 stars
3 forks
0 issues

Commits

List of commits on branch master.
Unverified
6cc2c6d4a3ca2582acdd525d3a1fc53cf2379cdc

Merge pull request #3 from conficient/Update-for-MVC5

cconficient committed 10 years ago
Unverified
775e90efd9a794cc1ae294f3cab0e80a5d6f98d1

Removed extraneous line from GenerateHTML

cconficient committed 10 years ago
Unverified
472a80f10b1eed0c781fdb5b47886d2f360378d8

Merge pull request #2 from conficient/Update-for-MVC5

cconficient committed 10 years ago
Unverified
1ff645b2d9f7f45ae37732a63b886e89b8a3f197

Updated MVC and Razor Libraries and checked Views still work.

cconficient committed 10 years ago
Unverified
e87d1908b1c333c453d1eff4ff7a366f6fef4931

New branch for MVC5

cconficient committed 10 years ago
Unverified
97d85b1bcd260a310708593b062de0fb442358a2

Removed NuGet exe from library

cconficient committed 10 years ago

README

The README file for this repository.

RazorTemplateClassLibrary

Updated for MVC5

Demonstrates amendments to C# class library to enable IDE support for Razor templates.

If you wish to create, edit and use Razor .cshtml (or .vbhtml) format documents outside of an ASP.NET web application, it is possible. This project shows the steps required to make it happen.

This library should be used in combination with my blog post ASP.NET Razor Views in Class Libraries on Wordpress.

I plan to create a commit at each set of changes, so you can see the finished product in the latest release and step back though each commit to see the changes made.

Update: This project was created in VS2013 but it can work in VS2012. However, since it uses MVC v5 and Razor v3 you must install the ASP.NET and Web Tools 2013.1 for Visual Studio 2012 for Intellisense to work in VS2012. This would be required for MVC5/Razor3 support anyway.