Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Markup Validation for asp.net aspx

I created a website using asp.net. Before launching the website on the internet I wanted to do a validation test on the web forms I used. I already know of how to validate the HTML"Static Websites", by going W3C Markup Validation Service. Is it possible to do the same validation methodology on Webforms.aspx by upldoading the files? If its ok, how to initial the validation process?!

Thank you.

like image 339
Karmoty80 Avatar asked May 09 '26 14:05

Karmoty80


1 Answers

You can't run a static validation directly against dynamic content, because dynamic content is well dynamic!

That said, for your scenario, load your application in a browser. Then at various points, save the html markup (ie File -> Save in your browser) and then run the static validation on the saved markup. So it might be interesting to save the form when empty, when use entered bad values, and after the form has been submitted.

like image 132
Philip Pittle Avatar answered May 12 '26 03:05

Philip Pittle