My Cart (0)  |  My Orders  |  My Downloads  |  My Auction  |  My Account  |  Help


Login |Register        Search

DNN and Razor 4 - Required Assemblies

                Print      Add To Favorite     Add To Watch List     Contact Author

Creator: host   5/24/2012 2:27:04 AM    Author: Charles Nurse   Source: http://www.charlesnurse.com/post/Razor-Tips-and-Tricks-1-Required-Assemblies.aspx   Views: 1952    0    0  
Tags:
Module develop Razor WebMatrix

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.


Rating People: 6   Average Rating:     

     DnnModule.com is built to provide DNN quality modules and DNN skins, some of them are free, some not. We wish these stuffs (free or not ) can be useful to you.

     Besides that, we also provide a full range of professional services, ranging from web site build, seo, system management, administration, support, senior consultancy and security services. We act as if your development project or network was ours, with care and respect. We are not satisfied until it works the way you want it to, and we don't silently ignore found issues as somebody else's problem.