Incorporating the Required validation in blogging system models

We will update our blogging system models to accommodate the Required field validation in the following entities:

  • Data model entities: Address, Blog, Category, Comment, Person, Post, Tag, TagPost, and User
  • View model entitiesRegistrationViewModel and LoginViewModel

The preceding listed implementation is performed and available at the following Git repository commit—https://goo.gl/4jyHa2.

We have introduced a couple of view models in this commit which will be used in the authentication mechanism. We have looked, exhaustively, at Required field validations; let's explore the EmailAddress validation in the next section.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset