hi
while i am reading routing i cam to a part that talks about route parameter constraint do i have to use it in my code , do i have to study it from beginning or just read it
hi
while i am reading routing i cam to a part that talks about route parameter constraint do i have to use it in my code , do i have to study it from beginning or just read it
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh KumarPosted Sep 20, 2024, 3:52 AM
Hi,
You can refer this one, if you need to put validation on your route parameter then you can do vai route contraint
https://www.c-sharpcorner.com/UploadFile/ff2f08/routing-constrains-with-attribute-routing-in-mvc-5-0/