Razor 01.00.00 (Beta)

Rating: No reviews yet
Downloads: 135
Released: Mar 22, 2011
Updated: Mar 28, 2011 by SCullmann
Dev status: Beta Help Icon

Recommended Download

Application Razor_XmlRenderingProvider_01.00.00_Install.zip
application, 13K, uploaded Mar 28, 2011 - 80 downloads

Other Available Downloads

Source Code Razor_XmlRenderingProvider_01.00.00_Source.zip
source code, 22K, uploaded Mar 28, 2011 - 55 downloads

Release Notes

Razor Xml Rendering provider 01.00.00

Features

  • Requires at least DotNetNuke XML Module 06.00.00
  • Xml can be injected as model of type XmlDocument, XDocument, XmlReader or Data
   @inherits ModelView<XDocument>    ->  @Model will be of type XDocument
  • Built on top of DotNetNuke.Modules.RazorHost

Example:
@inherits ModelView<XDocument>

@{  var items = from item in Model.Descendants ()
                   select new {  i = item.Value  }; }
<ul>
@foreach(var x in items) {  
    <li>@x.i</li>  
}</ul>

Reviews for this release

No reviews yet for this release.