What namespaces should I use now?

Vote:
 
I'm trying to upgrade the Multiage Property prosjct to EPi CMS. But the project does not recognize SystemPage and ApplicationConfiguration public override void InitializeData(ApplicationConfiguration config, PropertyDataCollection properties) and public partial class MultipageSelector : SystemPage I've included the EPIServer Namespace. (using EPiServer;) Any suggstions as to how I can fix this?
#15878
Mar 25, 2008 19:07
Vote:
 
Hi. There are many changes between EPiServer CMS4 and CMS5. Take a look at the breaking change articles here: http://www.episerver.com/en/EPiServer_Knowledge_Center/Documentation/Release-Notes---EPiServer-CMS-51/Breaking-Changes/ For a couple a days ago we had a techforum for the developers in Norway. You can take a look at the presentations here: http://www.episerver.com/no/EPiServer/NyheterEvents/EPiServer_Events/Tidigere_Events/TechForum-13-november-2007/ One of the sessions was about converting a module from EPiCode from CMS4 -> CMS5. Also keep an eye on the RSS at https://www.coderesort.com/p/epicode/timeline. /Øyvind
#16548
Mar 25, 2008 19:09
Vote:
 
Thanks, sooo.... EPiServer.Configuration replaces EPiServer.ApplicationConfiguration? Because that did not work. And I still can't find what is replacing EPiServer.SystemPage. SystemPage is dokumenteed in EPiServer 4.x SDK, but not in the 5.x SDK.
#16549
Mar 25, 2008 19:09
Vote:
 
I have similar problems while migrating 4.61 project to 5.1.422.4 1. Which namespace contains episerver:PageSearch? Generation of designer file failed: Unknown server tag 'EPiServer:PageSearch'. I have found it using reflector in EPiServer.Legacy4 dll, but have failed to use it (using) even though it is within references. Is that control supported and if now what should I replace it with? 2. Then there is EPiServer.WebControls.FriendlyUrlRegistration which cannot be found. Is it moved somewhere like in Legacy4 or depricated? 3. Same thing goes for UserSid and SidCollection. Where are those classes or what is recommended to replace them? Thanx for any help
#16550
Mar 25, 2008 19:09
Vote:
 
SystemPage in EPiServer 4.X is moved to EPiServer.UI.SystemPageBase in EPiServer.UI.dll! You will find EPiServer.UI.dll in your CMS bin folder.
#16551
Mar 25, 2008 19:09
Vote:
 
1. Which namespace contains episerver:PageSearch? -> The PageSearch control has been replaced with SearchDataSource. Look on the implementation in the public template set to see how this can be used. The PageSearch still exists in the EPiServer.Legacy4 dll for backwards compability. 2. Then there is EPiServer.WebControls.FriendlyUrlRegistration which cannot be found. Is it moved somewhere like in Legacy4 or depricated? -> This control has been depricated and is not needed any more since friendly url has been totally rewritten. 3. Same thing goes for UserSid and SidCollection. Where are those classes or what is recommended to replace them? -> The user handling has been completely rewritten in EPiServer CMS 5. We are using the provider model in .NET 2.0 to handle authentication, members, groups and profiles. Here's a link to get started if you are new to this: http://msdn2.microsoft.com/en-us/library/yh26yfzy.aspx
#16552
Mar 25, 2008 19:09
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.