Git Product home page Git Product logo

razortemplateclasslibrary's Introduction

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.

razortemplateclasslibrary's People

Contributors

conficient avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.