November Happy Hour will be moved to Thursday December 5th.

Upgrade from CMS 11, fetching Subscriber profiles in CMS 12?

Vote:
 

Hi!

I am working on upgrading CMS 11 to CMS 12 and have ran the scripts and upgraded from ASP.NET MVC to .NET Core.
I havn't worked alot with .NET Core so it is a bit new to me.
The customer have a subscription functionality and we have made a admin plugin to list subscribers and which categories and/or pages they subscribe on. Converting this admin plugin is a bit troublesome. Before, we fetched all subscribers using "ProfileManager.GetAllProfiles(ProfileAuthenticationOption.All)", then fetching all info for the profile using "EPiServerProfile.Get(profileInfo.UserName)". How would this work in CMS 12?
I have tried searching in the documentation and googling. But I dont find anyone with the same problem.

Best Regards
Niklas

#313648
Dec 04, 2023 10:03
Vote:
 

I think it will require a bit of work Migrating EPiServerProfile to CMS version 12? | Optimizely Develo - i.e. you might have to migrate data to a table and use some ORM like EF to manage those data 

#313652
Dec 04, 2023 13:00
Vote:
 

Oh, thats to bad. Well, I'll just start migrating.
Thank you! :)

#313654
Dec 04, 2023 13:57
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.