Hi,
I have the following in page web method:
/// <summary>
/// Used to get full user information to display.
/// </summary>
/// <param name="userId">User id of user to retrieve.</param>
/// <returns>User object.</returns>
[System.Web.Services.WebMethod]
public static SerializableUser GetUser(int userId)
{
User user = new User();
user.Load(userId);
return new SerializableUser(user);
}
And within serlizable user I have a property "IMerchant Merchant" that I don't want serialized. However I have tried the following:
[XmlIgnore]
[SoapIgnore]
public IMerchant Merchant
{ With no ...
Go to the complete details ...