-
Notifications
You must be signed in to change notification settings - Fork 754
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
Deprecate Razor Modules for DNN 11.0 #2618
Deprecate Razor Modules for DNN 11.0 #2618
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at this, do you believe there is any possible reason to retain the "RazorHost" module concept, which allows users to upload arbitrary Razor to run on the page? However, have it use the proper API's on the backend?
If so, it might be prudent to not Obsolete the items inside of /DNN Platform/Modules/RazorHost
@dnnsoftware/tag-group Any thoughts on the importance or usage of this module?
@mitchelsellers thanks for bringing that up, as I wasn't 100% sure what we wanted to do with that. In my opinion we should Deprecate "Razor Host" Modules and remove it from the platform, but create a new one in it's place that utilizes Razor Pages. I think this will be valuable because:
|
I would prefer that we do have the razor pages nailed down not as an experimental feature before announcing this deprecated. So maybe we could have a link to documentation on how the new pipeline works or an example module before telling people it is deprecated, people need to know how to move forward when they see that deprecation notice. |
@valadas I would traditionally agree, however, our policy is putting things into a bit of a bind. We have a published policy that we are not removing items until 2 major release after we announce that we remove it. If we do not do this in the 9.x release cycle, we would then be unable to complete this until at least version 12, which would be a long way down the future. We can hold the PR until 9.4.0 when the Experimental Feature is enabled, however, the goal is to get notice out sooner than later on this. The actual usage/adoption of this feature is unknown. |
I understand. |
@mitchelsellers @valadas |
@ahoefling I don't think so, we should be able to merge it in shortly for either v9.3.1 or v9.4.0. I'm ok with it going in v9.3.1. |
Perfect! Thanks for the clarification |
@ahoefling I'll add my review on this as well. I don't see any issue with merging to 9.3.1. The key note here is that the current "Razor Host" module is going to go away, but we might have a replacement "Razor Pages Host" or similar functionality that would then trigger an update to the Depreciation messages. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
@ahoefling Sorry we missed merging this into v9.3.1. Can you update the message? If you're targeting |
@ohine thanks for the update. I'll rebase this against 9.3.2 and update the PR |
41eb2da
81398e5
to
41eb2da
Compare
@ohine I have updated the PR and rebased it to Release/9.3.2 @mitchelsellers @valadas |
Thanks @ahoefling! We will get this reviewed and merged very shortly! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
Closes: #2613
Summary
Marks all public and protected APIs in
DotNetNuke.Web.Razor
DotNetNuke.Modules.RazorHost
As we build out Razor Pages modules we will update the messages where applicable to point to what they should be using instead.