Thoughts from the Wet Coast

The musings of an ASP.NET Developer from Canada's We(s)t Coast

Razor Tips and Tricks #1 - Required Assemblies

Category: ASP.NET DotNetNuke
Last Modified: May 2 2017
Dec 8 2010

Yesterday we launched the Razor DotNetNuke Hackathon with a meeting of SEADUG (Seattle DotNetNuke User Group) held at Microsoft offices in beautiful downtown Bellevue.

For those of you proposing to write Razor “scripts” as part of the Hackathon I have decided to start a series of short Tips and Tricks.

In this first post I will provide the first Tip for anyone wanting to bundle their Razor Module for distribution to users who do not have WebMatrix OR the Razor Host Module installed on their machines.

When you try and create a Package from your Razor script using the Create Package Wizard, you are prompted for a list of assemblies to include.  Here is the complete List

  • DotNetNuke.Web.Razor.dll
  • Microsoft.Web.Helpers.dll
  • System.Web.Helpers.dll
  • System.Web.Razor.dll
  • System.Web.WebPages.dll
  • System.Web.WebPages.Razor.dll
  • WebMatrix.Data.dll
  • WebMatrix.WebData.dll
  • Microsoft.Web.Infrastructure.dll

Of course, you can leave these out of you own package if you intend your users to have already installed the Razor Host module.

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

Categories

Tags