Xamarin.Forms's fluentvalidation (model validation)

Source: Internet
Author: User

Although know to see the person should be very few, but still write for posterity to learn to communicate!

Xamarin.Forms due to the two-way binding of the native support data, the development of the Form class application is just like a duck to the surface, such applications must have the validation of the data at the time of submission, the native Android or iOS development model may have to judge the content of each edittext, Forms only need to validate the model that needs to be submitted, and it can be used with open source projects Fluentvalidation

About the use of fluentvalidation is not much introduced, this aspect of the use can refer to:

Http://www.cnblogs.com/asxinyu/p/dotnet_Opensource_project_FluentValidation_1.html

Attention:

Do not use the package in NuGet directly in the forms, download the project in NuGet, and then compile fluentvalidation.portable, using the resulting DLL file

Issues that arise directly from using NuGet:

Debug and normal release mode are OK, but in the case of "Embed assemblies into native code" check (release mode), compile will error

Xamarin.Forms's fluentvalidation (model validation)

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.