WorldWideScripts.net Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
.NET / Miscellaneous

AspectV - .NET Data Validation

— Add-On kwa WorldWideScripts.net

Kujiunga na kulisha wetu kukaa hadi tarehe!

Mpya! Kufuata yetu kama unataka!


AspectV - . NET Data Validation - WorldWideScripts.net Item kwa Sale

Ads

Ad: Bluehost hosting

Sehemu hii hujenga juu ya mfumo wa mara kwa mara NET uthibitisho na anwani wasiwasi kwamba si kawaida katika mstari wa mbele developer wastani - . Utulivu na usalama .

Darasa la mtumiaji Halali Takwimu Takwimu Rushwa Kuingia hakuna. siku 1010612020 kujiendesha mtumiaji inayolengwa Teule Ila hasidi mtumiaji Mafanikio Validation Inawezekana kuathirika

  1. Usalama zaidi ya uthibitisho UI. Kuhakikisha kwamba pana mfano uthibitisho unaweza kufanywa juu ya tabaka yote ndani ya maombi yako. Safu ya biashara, mfano uwanja na tabaka hata huduma ni mahali bora kwa uthibitisho na wito kuja kutoka kwa wateja mbalimbali.
  2. Deep kitu graph uthibitisho mwingine ni kuonyesha kubwa kwa ajili ya sehemu hii. Badala ya rahisi kuthibitisha tu mali ya haraka ya kitu chini ya ukaguzi, sehemu hii kuhalalisha kwa kina (n) au mzima graph kitu. Hii kuhakikisha kwamba si tu yako ngazi ya juu ya kitu ni halali, lakini nzima kitu graph ni halali kulingana na mahitaji ya decoratedUthibitisho Sifa.
  3. Kuhalalisha kutumia yoyote sifa kwamba kurithi ValidationAttribute hiyo uthibitisho wako sifa desturi siku zote kazi .

Faida za Data Annotations validator

  • Uthibitisho katika maombi yako ya kila NET . Ikiwa ni pamoja na WebForms, MVC, WCF, nk
  • Kuhalalisha vitu katika biashara ya safu yako
  • Kupunguza matumizi ya matengenezo na kuleta matokeo predicatable
  • Baadaye ushahidi wa kuangalia ubora katika maombi yako kuruhusu kwa sifa ya karibu zaidi ya moja kwa moja kuchukua athari
  • Kuhakikisha kwamba maombi yako ni kuwa kujengwa kwa usahihi ( elekezi mwanga)
  • Kuacha matatizo kabla ya kuanza, daima kuhakikisha kuwa data yako ni halali

Nini kupata wakati kununua ?

  • NET Bunge na Sahihi Nguvu Jina
  • Debug file ( PDB )
  • XML maoni ( Intellisense )
  • Console maombi Demo Mradi
  • Pana msaada faili kumbukumbu za matumizi kamili
  • API Documentation
  • C # Chanzo Kanuni
  • Visual Studio 2012 Suluhisho
  • kusaidia

Teknolojia

Sehemu hii ni kujengwa kwa kutumia . NET Framework 3.5 ambayo ina maana katika inaweza kutumika katika maombi yote. NET kwamba ni kwa kutumia mfumo 3.5 au karibu zaidi. Hii ni pamoja na NET 3.5, 4.0, 4.5 & +. .

Unaweza mara moja kutumia hii ndani ya maombi yako na ni rahisi sana. Kuuliza maswali yoyote au kupendekeza makala katikasupport.avantprime.com!

Jinsi gani mimi kutumia sehemu hii ?

Mfano wa jinsi ya kutumiaValidator, Mapambo ya mali yako na sifa uthibitisho ili kuhakikisha kwamba wao kukidhi mahitaji yako na kisha kutekeleza sheria hizo kwa kutoa wito Adhibitishe operesheni.

using System;
using System.ComponentModel.DataAnnotations;

namespace Demo.TestConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            var application = new Application
                {
                Applicant = new Person
                {
                    Email = "[email protected]",
                    FirstName = "John (Use a lot of words to cause validation failure)",
                    LastName = null
                },
                Address = new Address
                {
                    StreetName = "123 CodeVille Terrace",
                    City = "Sea Sharp" 
                },
                PaymentDetails = new Payment
                {
                    CreditCardNumber = "4111111111111110" 
                }
            };

            Console.WriteLine(AvantPrime.AspectV.Validator.Validate(application)
                                  ? "Awesome! Validation Success." 
                                  : "Something awful has happened. Validation Failed.");

            Console.WriteLine();
            Console.WriteLine("Press any key to exit...");
            Console.ReadKey();
        }
    }

    public class Application
    {
        [Required]
        public Person Applicant { get; set; }

        [Required]
        public Address Address { get; set; }

        public Payment PaymentDetails { get; set; }
    }

    public class Person
    {
        [EmailAddress]
        [Required]
        public string Email { get; set; }

        [StringLength(15)]
        public string FirstName { get; set; }

        [StringLength(15)]
        public string LastName { get; set; }
    }

    public class Address
    {
        [Required]
        public string StreetName { get; set; }

        public string Locality { get; set; }
        public string City { get; set; }
        public string County { get; set; }

        [Required]
        public string PostCode { get; set; }

        [Required]
        public string Country { get; set; }
    }

    public class Payment
    {
        [CreditCard]
        public string CreditCardNumber { get; set; }
    }
}

Download
Vipengele vingine katika jamii hiiKila sehemu ya mwandishi huyu
MaoniMara kwa mara kuulizwa maswali na majibu

Mali

Kuundwa:
20 Machi 13

Badiliko:
13 Juni 13

Sambamba Browsers:
IE6, IE7, IE8, IE9 , IE10, Firefox, Safari , Opera , Chrome

Programu Version:
NET 3.5, NET 3.7 , NET 4.0, . . . . NET 4.5

Files Pamoja:
C # CS

Keywords

ASP NET Validation, ComponentModel.DataAnnotations, Desturi Validation, Desturi validator, Data Annotations, Deep Validation, Validation MVC, Model Validation, Validation NET, Object Validation, Validation Shallow, ValidateAttribute, data uthibitisho, uthibitisho, vali