-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
be3342a
commit 89ed7e5
Showing
235 changed files
with
9,560 additions
and
3,473 deletions.
There are no files selected for viewing
4 changes: 1 addition & 3 deletions
4
2sxc Docs Generator/api/dot-net/Custom/DataSource/_DataSource.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
--- | ||
uid: Custom.DataSource | ||
summary: Classes to inherit from when creating custom DataSources in Dnn ☢️ & Oqtane 🩸. | ||
summary: Base classes for your custom DataSources in Dnn ☢️ & Oqtane 🩸. | ||
# title: Custom.Hybrid Namespace | ||
--- | ||
|
||
# Custom.DataSource Namespace Dnn ☢️ & Oqtane 🩸 | ||
|
||
This contains all the base classes for your own DataSources. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
--- | ||
uid: Custom.Dnn.Api12 | ||
summary: Base Class for modern Api Controllers in Dnn | ||
summary: Base Class for Api Controllers for Dnn ☢️ only. | ||
--- | ||
|
||
### Class Custom.Dnn.Api12 for Dnn ☢️ | ||
|
||
This is the Dnn specific base class. It's the very same as `Custom.Hybrid.Api12` except for the additional `Dnn` Property. | ||
This is the Dnn specific base class. It's the very same as `Custom.Hybrid.Api12` except for the additional `Dnn` Property. | ||
If you inherit from this class, you'll automatically have all the properties from [DynamicCode](xref:NetCode.DynamicCode.Index). | ||
|
||
Because of this, the documentation here only shows `Dnn` - for all other properties go to [Custom.Hybrid.Api12](xref:Custom.Hybrid.Api12) | ||
|
||
> [!TIP] | ||
> If you don't need these special properties, we strongly suggest to move to the Hybrid implementation. | ||
> If you don't need the `Dnn` object, we strongly suggest to move to the Hybrid implementation. | ||
> | ||
> The latest Hybrid base classes also have many new features and are easier to use. | ||
> See [](xref:Custom.Hybrid) for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
--- | ||
uid: Custom.Dnn.Code12 | ||
summary: Base Class for Dynamic CSharp Classes in Dnn | ||
summary: Base Class for Dynamic CSharp Classes in Dnn ☢️ only. | ||
--- | ||
|
||
### Class Custom.Dnn.Code12 for Dnn ☢️ | ||
|
||
This is the Dnn specific base class. It's the very same as `Custom.Hybrid.Code12` except for the additional `Dnn` Property. | ||
This is the Dnn specific base class. It's the very same as `Custom.Hybrid.Code12` except for the additional `Dnn` Property. | ||
If you inherit from this class, you'll automatically have all the properties from [DynamicCode](xref:NetCode.DynamicCode.Index). | ||
|
||
Because of this, the documentation here only shows `Dnn` - for all other properties go to [Custom.Hybrid.Code12](xref:Custom.Hybrid.Code12) | ||
|
||
> [!TIP] | ||
> If you don't need these special properties, we strongly suggest to move to the Hybrid implementation. | ||
> If you don't need the `Dnn` object, we strongly suggest to move to the Hybrid implementation. | ||
> | ||
> The latest Hybrid base classes also have many new features and are easier to use. | ||
> See [](xref:Custom.Hybrid) for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
--- | ||
uid: Custom.Dnn.Razor12 | ||
summary: Base Class for Dynamic CSharp Classes in Dnn | ||
summary: Base Class for Dynamic CSharp Razor in Dnn ☢️ only. | ||
--- | ||
|
||
### Class Custom.Dnn.Razor12 for Dnn ☢️ | ||
|
||
This is the Dnn specific base class. It's the very same as `Custom.Hybrid.Razor12` except for the additional `Dnn` and `Code` Property. | ||
This is the Dnn specific base class. It's the very same as `Custom.Hybrid.Razor12` except for the additional `Dnn`. | ||
If you inherit from this class, you'll automatically have all the properties from [DynamicCode](xref:NetCode.DynamicCode.Index). | ||
|
||
Because of this, the documentation here only shows `Dnn` - for all other properties go to [Custom.Hybrid.Razor12](xref:Custom.Hybrid.Razor12) | ||
|
||
> [!TIP] | ||
> If you don't need these special properties, we strongly suggest to move to the Hybrid implementation. | ||
> If you don't need the `Dnn` object, we strongly suggest to move to the Hybrid implementation. | ||
> | ||
> The latest Hybrid base classes also have many new features and are easier to use. | ||
> See [](xref:Custom.Hybrid) for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,14 @@ | ||
--- | ||
uid: Custom.Dnn | ||
summary: Base classes for custom Razor / C# which only runs on Dnn ☢️. | ||
# title: Custom.Dnn Namespace | ||
title: Custom.Dnn Namespace for Dnn ☢️ | ||
--- | ||
|
||
# Custom.Dnn Namespace for Dnn ☢️ | ||
|
||
This contains all the base classes for your own solutions, which are targeted to Dnn ☢️. | ||
|
||
## Versioned Base Classes | ||
|
||
All the base classes in this have a version number, so it will become easier to document differences between versions and also to give guidance how to upgrade in case of future breaking changes or security issues. | ||
|
||
## Previous Base Classes | ||
|
||
Previously other base classes were recommended. They will continue to work, but we'll only enhance the features on these base classes. To see previous base classes, check out | ||
|
||
* #todoc | ||
|
||
|
||
### Classes | ||
|
||
#### [Api12](xref:Custom.Dnn.Api12) | ||
|
||
The base class for APIs which only need to work in Dnn. They internally inherit from [DnnApiController](https://dnndocs.com/api/DotNetNuke.Web.Api.DnnApiController.html) which inherits from `ApiController` [System.Web.Http.ApiController](https://docs.microsoft.com/en-us/dotnet/api/system.web.http.apicontroller) and in addition to all the [DynamicCode](xref:NetCode.DynamicCode.Index) properties also have all the features of that base class. | ||
|
||
#### [Code12](xref:Custom.Dnn.Code12) | ||
|
||
The base class for custom code. If you inherit from this class, you'll automatically have all the properties from [DynamicCode](xref:NetCode.DynamicCode.Index). | ||
|
||
#### [Razor12](xref:Custom.Dnn.Razor12) | ||
|
||
The base class for custom Razor. If you inherit from this class, you'll automatically have all the properties from [DynamicCode](xref:NetCode.DynamicCode.Index). | ||
> [!TIP] | ||
> Code created with these base classes will _not_ work in Oqtane 🩸. | ||
> Because of this, we recommend to use the [Hybrid](xref:Custom.Hybrid) namespace. | ||
> | ||
> Note that the Hybrid namespace is also compatible with Dnn ☢️, | ||
> and the classes there have more features and are easier to use. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
uid: Custom | ||
summary: The starting point for custom code in your App for both Dnn ☢️ & Oqtane 🩸. | ||
title: Custom Namespace for Dnn ☢️ & Oqtane 🩸 | ||
--- | ||
|
||
## Latest Recommended Base Classes | ||
|
||
> [!TIP] | ||
> This area contains all the latest base classes. | ||
> For compatibility reasons, it also contains older base classes which continue to work. | ||
> We recommend to use the latest base classes, as they are more powerful and easier to use. | ||
1. Razor: use [](xref:Custom.Hybrid.RazorTyped) | ||
1. C# Code: use [](xref:Custom.Hybrid.CodeTyped) | ||
1. API: use [](xref:Custom.Hybrid.ApiTyped) | ||
1. Custom DataSource: use [](xref:Custom.DataSource.DataSource16) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.