Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Develop your HTML Templates directly in Visual Studio

View file
nameAbsolunet.InRiver.HtmlTemplate.Core-7.11.0.zip

  1. Create a Web MVC project in your solution

  2. Delete all useless files/folders until you have only one Views folder.

  3. Add NuGet package Absolunet.InRiver.IPMC.HtmlTemplate.Corea reference to all the .dll and .exe files that are in the zip above

  4. Copy over to your bin/debug or bin/release all the files in the zip above, it contains the executable that will deploy the html templates (a good idea would be to copy these files as a pre-build event)

  5. Add a cshtml file under Views folder OR html file under Html folder (for IPMC only that support rest API). IMPORTANT! The file name will be your template name.

  6. Add using @using Absolunet.InRiver.HtmlTemplate.Core.Helpers in the file header. With that, you'll be able to use intellisense with TemplateHelper static class.

  7. Obviously, your HTML tag should look like: <html inriver-razor-template="true">

...