1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / ProfileCommon and webservices

ProfileCommon and webservices

2 posts, 0 answered
  1. Pierre
    Pierre avatar
    433 posts
    Registered:
    16 Feb 2006
    23 Mar 2010
    Link to this post
    Hi,
    I have some problems to instanciate ProfileCommon in  Webservices. I have tested some modified ways but always have some troubles to instanciate. It's seams work but debug is returning marked.
     
    inside [WebMethod]
    ProfileCommon userProfile = (ProfileCommon)ProfileCommon.Create(userName, true);
    ProfileCommon profile = Profile.GetProfile("username");
    ProfileCommon userProfile = Profile.GetProfile(Membership.GetUser().UserName);

    some tips ?

    Regards, romi
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    29 Mar 2010
    Link to this post
    Hello Pierre,

    I created a basic WebSerice and I am not able to reproduce any problems with the standard ASP.NET methods. You can take a look at the attached video.

    Regards,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
2 posts, 0 answered