-
-
Notifications
You must be signed in to change notification settings - Fork 774
Create settings necessary for an MVC Pipeline #7290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
donker
wants to merge
11
commits into
dnnsoftware:feature/mvc-pipeline
Choose a base branch
from
donker:feature/mvc-pipeline-settings
base: feature/mvc-pipeline
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+846
−195
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
4a1ca0f
Introduction of settings necessary for an MVC Pipeline
donker e87fbdd
Update DNN Platform/Library/Services/Upgrade/Upgrade.cs
donker a32d670
Update Dnn.AdminExperience/Dnn.PersonaBar.Extensions/admin/personaBar…
donker 9feeef5
Update Dnn.AdminExperience/Dnn.PersonaBar.Extensions/admin/personaBar…
donker c206616
Update Dnn.AdminExperience/Dnn.PersonaBar.Extensions/admin/personaBar…
donker 846589c
Update DNN Platform/Library/Data/DataProvider.cs
donker 4202307
Update DNN Platform/Library/Data/DataProvider.cs
donker 11bc0fb
Add overload
donker 044a410
Change pipeline type to an enum
donker 325616e
Reshuffle code
donker 9cbb27c
Make the page pipeline setting a column on the tabs table
donker File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
66 changes: 66 additions & 0 deletions
66
DNN Platform/DotNetNuke.Abstractions/Framework/PagePipeline.cs
This file contains hidden or 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,66 @@ | ||
| // Licensed to the .NET Foundation under one or more agreements. | ||
| // The .NET Foundation licenses this file to you under the MIT license. | ||
| // See the LICENSE file in the project root for more information | ||
|
|
||
| namespace DotNetNuke.Abstractions.Framework | ||
| { | ||
| /// <summary> | ||
| /// Represents the page pipeline configuration for rendering pages in the DNN platform. | ||
| /// </summary> | ||
| public static class PagePipeline | ||
| { | ||
| /// <summary>QueryString key.</summary> | ||
| public const string QueryStringKey = "pipeline"; | ||
|
|
||
| /// <summary>QueryString WebForms.</summary> | ||
| public const string QueryStringWebForms = "webforms"; | ||
|
|
||
| /// <summary>QueryString MVC.</summary> | ||
| public const string QueryStringMvc = "mvc"; | ||
|
|
||
| /// <summary>Setting name for the page pipeline configuration.</summary> | ||
| public const string SettingName = "PagePipeline"; | ||
|
|
||
| /// <summary> | ||
| /// Defines the pipeline types for rendering pages in a portal. | ||
| /// </summary> | ||
| public enum PortalRenderingPipeline | ||
| { | ||
| /// <summary> | ||
| /// Specifies that pages should be rendered using the WebForms pipeline. | ||
| /// </summary> | ||
| WebForms, | ||
|
|
||
| /// <summary> | ||
| /// Specifies that pages should be rendered using the MVC pipeline. | ||
| /// </summary> | ||
| MVC, | ||
|
|
||
| /// <summary> | ||
| /// Specifies that the pipeline type should be automatically determined. | ||
| /// </summary> | ||
| Auto, | ||
| } | ||
|
|
||
| /// <summary> | ||
| /// Defines the available pipeline types for rendering pages in the DNN platform. | ||
| /// </summary> | ||
| public enum PageRenderingPipeline | ||
| { | ||
| /// <summary> | ||
| /// Specifies that the pipeline type should be taken from the portal. | ||
| /// </summary> | ||
| Inherited = -1, | ||
|
|
||
| /// <summary> | ||
| /// Specifies that pages should be rendered using the WebForms pipeline. | ||
| /// </summary> | ||
| WebForms = 0, | ||
|
|
||
| /// <summary> | ||
| /// Specifies that pages should be rendered using the MVC pipeline. | ||
| /// </summary> | ||
| MVC = 1, | ||
| } | ||
| } | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.