473,322 Members | 1,806 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

IXmlSerializable

I whave a custom membershipProvider which inherits from MembershiopUser also
I want to implement IXmlSerializable. Is my following code correct.
public class SSOMembershipUser : System.Web.Security.MembershipUser
:IXmlSerializable
Sep 28 '07 #1
2 1765
public class SSOMembershipUser : System.Web.Security.MembershipUser,
IXmlSerializable

E.g base class separated with : (colon) and then interface(s) separated with
, (comma)
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"bobby" <bo***@discussions.microsoft.comwrote in message
news:62**********************************@microsof t.com...
>I whave a custom membershipProvider which inherits from MembershiopUser
also
I want to implement IXmlSerializable. Is my following code correct.
public class SSOMembershipUser : System.Web.Security.MembershipUser
:IXmlSerializable

Sep 29 '07 #2
To add, of course you need also implement the interface e.g provide the
needed methods etc
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"Teemu Keiski" <jo****@aspalliance.comwrote in message
news:O2**************@TK2MSFTNGP05.phx.gbl...
public class SSOMembershipUser : System.Web.Security.MembershipUser,
IXmlSerializable

E.g base class separated with : (colon) and then interface(s) separated
with , (comma)
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"bobby" <bo***@discussions.microsoft.comwrote in message
news:62**********************************@microsof t.com...
>>I whave a custom membershipProvider which inherits from MembershiopUser
also
I want to implement IXmlSerializable. Is my following code correct.
public class SSOMembershipUser : System.Web.Security.MembershipUser
:IXmlSerializable


Sep 29 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: mattoc | last post by:
Happy new year to all. I have a strange error that I've been trying for a while now to fathom.. Basically I have a hierarchy of state classes that I need to serialize to XML. Some of them can...
0
by: Thomas D. | last post by:
Situation: --------------------------- I have an 'export'-wrapper to my regular objects. For each regular object there is also an export object. An export object derives from the regular object...
1
by: Thomas D. | last post by:
Hello all, I'm using the IXmlSerializable interface for a project and encounter some problems when testing my webservice in a client application. I know this interface is undocumented and not...
1
by: theburnetts | last post by:
I have a complex class heirarchy where all of my classes inherit from a single base class (BaseObject) and this BaseObject class inherits from XPBaseObject. XPBaseObject is a 3rd party base class...
1
by: Peter Nofelt | last post by:
Hey All, I am having issue with serializing a class and its base class using ..net 2.0. I am using IXmlSerializable I've provided code displaying my at the bottom of this post. Thanks ahead...
3
by: John Glover | last post by:
To whoever can help, I've been having a problem with XML deserialization lately. I needed to serialize and deserialze two objects which inherited from Hashtable. Because IDictionary...
0
by: Marek | last post by:
Hi I have an object model which includes a Dictionary<> property which I am trying to serialize/deserialize using IXmlSerializable as follows class X:IDictionary<a,b>,IXmlSerializable) What...
0
by: burningmidget | last post by:
I am having trouble using IXmlSerializable within a base class and having xsi:type work correctly when deserializing an xml file. Here is a very simplified version of the what is going on in the...
2
by: sachy | last post by:
Hello All, I want to deserialize part of xml into a object. For this i am having class that implements the IXmlSerializable interface. For this class i get the xmlnode object that has the xml. ...
0
by: =?Utf-8?B?Ym9iYnk=?= | last post by:
am trying to inherits membership class and implementing IXmlSerializable but it doesn't work. public class SSOMembershipUser : System.Web.Security.MembershipUser ,IXmlSerializable ...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.