Base solution for your next web application
Open Closed

Client Validation RAD generated navigation #8210


User avatar
0
Siyeza created

How do I do client validation and proper error messaging?


6 Answer(s)
  • User Avatar
    0
    musa.demir created

    Can you please give me a detailed information to produce it or provide recurring project using a demo project

  • User Avatar
    0
    Siyeza created

    send me your microsoft email address so I can give you access to my repo. steps to reproduce,below.

    1. select Policies
    2. Create Policy - fill the reference and dont select any of the selections (see the error messages you get)

    That is what I am asking.

  • User Avatar
    0
    musa.demir created

    You can use validation attributes, ASP.Net Zero will automatically check them before your your method call.

    Check documents: https://aspnetboilerplate.com/Pages/Documents/Validating-Data-Transfer-Objects

  • User Avatar
    0
    yekalkan created

    Have you marked those properties as nullable during code generation?

  • User Avatar
    0
    Siyeza created

    no, not nullable

  • User Avatar
    0
    yekalkan created

    Can you send the file "AspNetZeroRadTool/{Namespace}.Policy.json" to [email protected] ?