

Remove ILoggerFactory loggerFactory, IAntiforgery antiforgery parameters from Configure method. Removing Antiforgery and Clean Parameters In Startup.cs add Serenity.Navigation to usings, then find the line: services.AddSingleton() Entities in their namespace, change Administration.UserPermissionRow on line 67 to. Replace StartSharp.Navigation namespace to YourProject.Navigation. Creating NavigationModelFactory.csĬreate a file named NavigationModelFactory.cs in Modules\Common\Navigation folder and paste this file. If you made any modifications to this file, please take a backup as it will be gone. Replace NavigationModel.cs in Modules\Common\Navigation folder with this file. Var theme = themeCookie != null & !themeCookie.IsEmptyOrNull() ? themeCookie : "azure-light" Remove following lines: the line with and replace it with + rtl) Editing _LayoutNoNavigation.cshtmlĪdd following lines before the rtl variable declaration line in Views\Shared\_LayoutNoNavigation.cshtml: var themeCookie = Since version 5.0.19, StartSharp/Serene projects contain information about the initial version of the template under UpgradeInfo section: "UpgradeInfo": Īdd following lines after the last in Views\Shared\_LayoutHead.cshtml: rtl = .TextInfo.IsRightToLeft ? ".rtl" : "" If you are not sure which version of a template your project was created from, you may check your sergen.json file. Stargen also works on Serene template for this update. StartSharp customers should use stargen to automate most of the changes listed here. If the project was created from 5.0.41 or an earlier version, then please first apply migrations earlier migrations listed on left. If you created your project from a StartSharp / Serene 5.2.30+ template you don't need to apply changes in this document. Upgrading from v5.0.41 to v5.2.30 Who should apply these changes? Extending Multi-Tenant Behavior To Movie Sample.Hiding the Tenant Administration Permission.Preventing Edits To Users From Other Tenants.Securing Tenant Selection On Server Side.Removing Tenant Dropdown From User Form.Adding Tenants Table and TenantId Field.Installing Serene from Visual Studio Marketplace.
