A library to simplify extensions development for DNN Platform
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Deploy
R7.Dnn.Extensions.Benchmarks
R7.Dnn.Extensions.Tests
R7.Dnn.Extensions
.gitignore
LICENSE-GPL.md
LICENSE.md
R7.Dnn.Extensions.sln
README.md

README.md

About R7.Dnn.Extensions

R7.Dnn.Extensions on NuGet.org BCH compliance

R7.Dnn.Extensions is a library for DNN Platform web CMS extensions development (primarily, modules). It includes DAL2-based generic data provider, a set of base classes for modules, useful extension methods for webcontrols and strings, various helpers and even some DNN version-specific hacks.

The pragmatic goal of R7.Dnn.Extensions project is to provide a library, which could be shared by all existing R7 extensions for DNN Platform, and also new ones via R7.DnnTemplates integration.

License

LGPLv3

The R7.Dnn.Extensions library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Add to project

The most convenient way to add R7.Dnn.Extensions library in your project is to use NuGet package manager.

For Visual Studio, use package manager console:

PM> Install-Package R7.Dnn.Extensions

For pre-release versions:

PM> Install-Package R7.Dnn.Extensions -Pre

For MonoDevelop / Xamarin Studio, use Add > Add NuGet Packages command in the context menu of the project, then search for "R7.Dnn.Extensions" and install it. Check Show pre-release packages to install pre-release versions.

After that you can add R7.Dnn.Extensions namespaces to your usings:

using R7.Dnn.Extensions;
...

Ship your extension

To ship your extension which use R7.Dnn.Extensions library, declare the dependency in the DNN extension package manifest file (see example below) and provide link to the corresponding release in the project releases.

<dependencies>
    <-- replace 0.x.y with actual used library version -->
    <dependency type="managedPackage" version="0.x.y">R7.Dnn.Extensions</dependency>
<dependencies>

If you want to ship object files (DLL's) of unmodified R7.Dnn.Extensions library in your package, make sure that you also include copy of library license and give prominent notice with each copy of your package that the library is used in it and that the library and its use are covered by its license.

Links