Custom providers using XML as their data store - should I use XPath/XSLT or DOM?
I’d like to learn how to create custom providers ( say custom membership provider or custom profiles ) that use X开发者_如何学运维ML as their data store. Is ( using C# ) best way to accomplish this using XPath/XSLT or DOM?
thanx
If you start at the documentation for MembershipProvider, you will find plenty of links that walk you through how to implement custom providers.
These days, to deal with XML, my default approach would be to use the LINQ to XML classes (XDocument and friends).
精彩评论