XDoc.PDF
Features
Tech Specs
How-to C#
How-to VB.NET
Pricing
C# PDF: How to HTML5 Viewer & Editor PDF Create PDF Export File and Page Process PDF Read PDF Write Form Process Document Protect Annotation & Drawing PDF Print WPF Viewer & Editor Work with Other SDKs Barcode Read Barcode Create OCR Twain
On DNN (Dotnetnuke)
  |  
Home ›› XDoc.PDF ›› C# PDF: HTML5 PDF Viewer& Editor On DNN (Dotnetnuke)

C#.NET PDF HTML5 PDF Viewer & Editor SDK - Deployment on DotNetNuke Site


How to deploy RasterEdge XDoc. HTML5 PDF Viewer and Editor for C#.NET on DotNetNuke Site




Best .NET HTML5 PDF Viewer Control for viewing PDF document on DotNetNuke in C# programming language


A multifunctional .NET HTML5 PDF Editor enable C# users to edit adobe PDF page and file in DNN program


Free demo package and components are provided for quick integration in DNN site to manipulate PDF document in C#


Support ASP.NET MVC, IIS, ASP.NET Ajax, Azure cloud service, DNN (DotNetNuke) and SharePoint


Easy to be installed and deployed on DotNetNuke with online tutorial


HTML5 PDF document Viewer and Editor library are compatible with ASP.NET web based project


HTML5 PDF Viewer and Editor are based on .NET framework 2.0 ans support any .NET Framework version from 2.0 to 4.6


Compatible with all Windows operating system in both 32-bit and 64-bit




Deploy DotNetNuke Site through WebMatrix



Open Web Matrix, click “New” and select “App Gallery”.


Select “DNN Platform” in App Frameworks, and enter a Site Name.


Install DNN Platform and open it.


Project default physical path: C:\Users\server\Documents\My Web Sites\DNNHtml5Viewer




Integrate ASP.NET HTML5 Viewer & Editor to DNN Site



Find DNN Site folder (DNNHtml5Viewer), integrate related RasterEdge Html5Viewer content to it. (All resources are located in RasterEdge.DocImagSDK/DemoProjects/XDoc.PDF.HTML5 Viewer Demo)


Open Bin folder in the package, copy corresponding dll files listed below to DNNHtml5Viewer/bin:


  RasterEdge.Imaging.Annotation.dll


  RasterEdge.Imaging.Basic.Codec.dll


  RasterEdge.Imaging.Basic.dll


  RasterEdge.Imaging.DICOM.dll


  RasterEdge.Imaging.Drawing.dll


  RasterEdge.Imaging.Font.dll


  RasterEdge.Imaging.JBIG2.dll


  RasterEdge.Imaging.JPEG2000.dll


  RasterEdge.Imaging.Processing.dll


  RasterEdge.Imaging.SVG.dll


  RasterEdge.XDoc.Excel.dll


  RasterEdge.XDoc.PDF.HTML5Viewer.dll ( for HTML5 PDF Viewer deployment)


  RasterEdge.XDoc.PDF.HTML5Editor.dll ( for HTML5 PDF Viewer deployment)


  RasterEdge.XDoc.Office.Inner.Common.dll


  RasterEdge.XDoc.Office.Inner.Office03.dll


  RasterEdge.XDoc.PDF.dll


  RasterEdge.XDoc.PowerPoint.dll


  RasterEdge.XDoc.TIFF.dll


  RasterEdge.XDoc.Word.dll


  RasterEdge.XImage.Raster.Core.dll


  RasterEdge.XImage.Raster.dll


Replace Default.aspx and Default.aspx.cs in DNN Site project with files copied from package.


Copy following file and folders to DNN Site project:


  RasterEdge_Cache


  RasterEdge_Demo_Docs


  RasterEdge_Resource_Files


  Log.txt


  Source (located in SDK package directory)


Modify Web.Config file.


  Set maxJsonLength. If the .NET framework is 2.0, add content of both node <ConfigSections> and <system.web.extensions> to <configuration>. If project runs in .NET framework 4.0, only put <system.web.extensions> into <configuration>. Otherwise you’ll get config error: duplicate scriptResourceHandler defined.




    <configSections>
        <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=31BF3856AD364E35">
            <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35">
                <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                    <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
                </sectionGroup>
            </sectionGroup>
        </sectionGroup>
    </configSections>





    <system.web.extensions>
        <scripting>
            <webServices>
                <jsonSerialization maxJsonLength="50000000">
                </jsonSerialization>
            </webServices>
        </scripting>
    </system.web.extensions>




  Add following two nodes into <appSettings>, values correspond to the names of cache file and resource folder mentioned above.




    <appSettings>
        <add key="cacheFolder" value="RasterEdge_Cache"/>
        <add key="resourceFolder" value="RasterEdge_Resource_Files"/>
    </appSettings>




  Add following content into <webServer>.




        <staticContent>
            <remove fileExtension=".js"/>
            <remove fileExtension=".svg"/>
            <remove fileExtension=".woff"/>
            <mimeMap fileExtension=".woff" mimeType="application/x-font-woff"/>
            <mimeMap fileExtension=".svg" mimeType="image/svg+xml"/>
            <mimeMap fileExtension=".ttc" mimeType="application/x-font-ttc"/>
            <mimeMap fileExtension=".js" mimeType="application/x-javascript"/>
        </staticContent>




Set Website: Click Site->Settings, set website running port and .NET Framework Version





Website run as follow: