Password complexity requirements for users creating a new account is a good place to encourage users to devise strong passwords. The RegistrationFeature
plugin has default validations as it uses the RegistrationValidator
built into ServiceStack. In this recipe, we will look at overriding this functionality to give you more control over registration validation.
First, we are going to need an application to integrate; we will start with a template from the ServiceStackVS Visual Studio extension. If you are using Visual Studio Express, please see Creating your ServiceStack solution with Visual Studio and NuGet section in Appendix A, Getting Started, and continue from the second instruction in the How to do it… section.