Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ignatandrei/razorhelpfile
This file generates help view files for each view in an ASP.NET MVC project.
https://github.com/ignatandrei/razorhelpfile
Last synced: 5 days ago
JSON representation
This file generates help view files for each view in an ASP.NET MVC project.
- Host: GitHub
- URL: https://github.com/ignatandrei/razorhelpfile
- Owner: ignatandrei
- Created: 2013-06-22T11:53:48.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-06-17T20:57:26.000Z (over 5 years ago)
- Last Synced: 2024-04-15T03:09:42.178Z (8 months ago)
- Size: 4.88 KB
- Stars: 5
- Watchers: 4
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
RazorHelpFile
=============This file generates help view files for each view in an ASP.NET MVC project.
Imagine you have a MVC site and you want to generated help for each view. This file generates for you the structure for having a view help file for each view that you have in the project.
More, if the help file already exists in the project, it will be not overwritten.The template can be customized:
-the folder name:
//change here the location folder where the help files will be generated
static string HelperFolderName="Help";
-the content of the file
//change here the default content of the file
string TextFile = "This is the help file for the view {0}";Now it wrotes also js file for each view - in order to maintain the separate js from view.
License:
Developer shall not be responsible for, and shall not pay, any amount of incidental, consequential or other indirect damages, whether based on lost revenue or otherwise, regardless of whether Developer was advised of the possibility of such losses in advance. In no event shall Developer's liability hereunder exceed the amount of license fees paid by Licensee, regardless of whether Licensee's claim is based on contract, tort, strict liability, product liability or otherwise.
See demo at http://youtu.be/ZGsNHyFA9yw
See blog post a http://msprogrammer.serviciipeweb.ro/
Use:
Download .tt file
Put this in index.cshtml file:
a href='@Url.Content("~/Help/Views/Home/Index.cshtml")' target="_blank">Index Help /a