WebResource.Xsd and Asp.net Page Performance

Currently I am working on IPhone web apps using asp.net web services to fetch data and display it on the page using json, jquery. Although I am not using any asp.net pages to show data, I use all logic in json/jquery, but there is only login.aspx page where I need some asp.net sessions and logic to first login the user, after that all other pages is simple html pages. Let me show you how webresource.xsd reduced the page performance, when I include asp.net validation control like require field and custom field validtor. When I browse the page then iis put two files resources.xsd to download queue. To be honest I was scare about web resource.xsd files, these files was 42kb of length each mean extra 80 kb of two files is download with login page, although I have used only two validation control require field and summary validator. Clearly showing in the screen shots. Now when I handle all this logic just by checking if the two textboxes is empty then just display the message username and password are require. Then now look to the result no webresource.xsd And this also boost the performance. Summary: Do not use asp.net validation control when the jquery/JavaScript can handle the validations.

No Comments