The profile configuration section belongs to serializeas.

Source: Internet
Author: User
Serializeas is an optional attribute. This attribute is used to set the serialization User Configuration Attribute mode. Its Attribute values include string, XML, binary, and providerspecific. The default serialization mode depends on the specific provider, the actual serial number is determined by the mail program.
Usage: program code <Properties>
<Add name = "MSN" type = "string" Serializeas= "XML"/>
<Add name = "QQ" type = "string" Serializeas= "XML"/>
</Properties>

The propertyvaluesstring in the aspnet_profile table will display XML. I personally think it is easier to set XML to view and modify the program code. <? XML version = "1.0" encoding = "UTF-16"?>
<String> MSN number </string> <? XML version = "1.0" encoding = "UTF-16"?>
<String> QQ number </string>

It can be used normally without serialization. Program code <Properties>
<Add name = "MSN" type = "string"/>
<Add name = "QQ" type = "string"/>
</Properties>

The propertyvaluesstring in the aspnet_profile table shows the string program code MSN number QQ number.

Profile is quite powerful and easy to use. We have a lot of good development experience.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.