>>Hi everybody,
>>
>>I checked a few discussions on unique validations in StackOverflow (too bad I can not add comments to them :() and I am still unsure of the best way to proceed.
>>
>>I see I am missing unique constraints in the table which I am going to add. But I think I also need a unique validation attribute.
>>
>>I am wondering what is the right way to implement unique validations in MVC application?
>>
>>Thanks in advance.
>
>Haven't tried it but I'd go with the the 'Remote' atttribute. Example here:
http://www.tugberkugurlu.com/archive/check-instantly-if-username-exists-asp-net-mvc-remote-validationThanks a lot, looks exactly like what I am looking for. I am going to try them.
If it's not broken, fix it until it is.
My Blog