70-486 · Certification Test · Computer programming

XSS – Cross Site scripting

Reflect XSS In the querry string simply add something like msg=<script>alert(‘XSS’)<script> Persistent XSS A script that has been injected into the database.  An example would be to  add the script to a comment field.  Thus everytime the list of comments is display the scirpt is run.  OR it could be embedded in an image file.… Continue reading XSS – Cross Site scripting

70-486 · C# · Certification Test · Computer programming

Output caching & caching profiles

To speed up page loading you may want to user the [OutputCache] attribute.  You must set a duration to cache the output and that value is in seconds.  So your attribute would look like    [OutputCache(Duration = 60 )] That’s good but what if you have data that is being paged? each page is cached… Continue reading Output caching & caching profiles

70-486 · C# · Certification Test · Computer programming

Different views for different devices using MVC4

You have an MVC Internet application that you want to different views for different devices.  Maybe you want the Windows Phone view to look different than the iPhone view and of course the desktop view will be different because there is just more room to display information. I will be using MVC4 which as some… Continue reading Different views for different devices using MVC4

Certification Test · Computer programming

Notes for MS Certification test 70-486

On February 15th, 2013 I passed the Microsoft Certification test 70-480 Programming in HTML5 with JavaScript and CSS3. Now I’m working towards passing the 70-486 Web Applications.  The next few post will contain notes of things I’ve learned while studying for the 70-486.  While I was studying I was trying to figure out how am… Continue reading Notes for MS Certification test 70-486