More in this section

Forums / Developing with Sitefinity / ProfileCommon and webservices

ProfileCommon and webservices

2 posts, 0 answered
  1. Pierre
    Pierre avatar
    433 posts
    16 Feb 2006
    23 Mar 2010
    Link to this post
    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
    12 Sep 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.

    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