You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The previous implementation used a static RazorBlade object called HtmlPage, but such static implementations won't work reliably in future. So we must create a service which can be requested using GetService<...>()
Expected behavior
This should work in future
Tasks
Create API
Test / verify
Document
Update tutorials
var page = GetService<ToSic.Sxc.Web.IPageService>();
page.SetTitle("new Title");
Your environment
2sxc version(s): 12.01
The text was updated successfully, but these errors were encountered:
I'm submitting a ...
[x] feature request
...about
[x] Razor templating
[x] Hybrid Apps / Templates
Current behavior
The previous implementation used a static RazorBlade object called HtmlPage, but such static implementations won't work reliably in future. So we must create a service which can be requested using
GetService<...>()
Expected behavior
This should work in future
Tasks
Your environment
The text was updated successfully, but these errors were encountered: