Determining an ASP.NET Page’s View State Footprint
So many developers pay little to no attention to the size of the ViewState, if you don't need it either @ a page level or a control level, TURN IT OFF, viewstate="false", v.large viewstates can cause issues with your page.
Scott Mitchell has written a small bit of code that displays your viewstate size, not for production purposes, but good when debugging your code;
Code formatter
I started this morning looking for a code formater for blogger and I found;
http://formatmysourcecode.blogspot.com/
It was nice but there were no color coding options for the code. I dug further and found the following;
http://www.manoli.net/csharpformat/
Which is great for c#, vb.net and t-sql, but it isn't blogger friendly (didn't generate all the CSS inline).
What I have done for this site is to use the ideal of blogger friendly code formating from http://formatmysourcecode.blogspot.com/ and merge it with http://www.manoli.net/csharpformat/.
Another problem was that whilst I had now worked out how to generate the right look and feel for .NET / SQL, I didn't have a JavaScript formater. I found http://www.felgall.com/jsformat.htm, which is great but again I have had to combine this formater with the idea of the http://www.manoli.net/csharpformat/
So after all the messing around I have downloaded http://www.manoli.net/csharpformat/ source code and will be adding the following functionality;
- Blogger friendly formatting
- JS formatting
- CSS formatting
As soon as its completed I'll post in on my Portfolio site (http://www.carlbruiners.co.uk) for you all to download and use.
I specialise in all things Agile (XP, Kanban, Lean), in particular Scrum. I have a passion for taking on 'problem' projects / teams and turning them into a sucess as well as promoting automated test driven practices.




