Know your loops
For is the fastest way of iterating over a collection, foreach is a little slower, and LINQ queries are slowest.
For is the fastest way of iterating over a collection, foreach is a little slower, and LINQ queries are slowest.
Start with <!DOCTYPE html>. The modern web has no place for Quirks Mode, which was designed so that mid-1990s web pages would be usable in turn-of-the...
In this post, we will add stencils for software and database diagrams to Visio 2010 Standard.
If you do need ViewState, understand the page lifecycle and bind your data appropriately. A control loads its ViewState after Page_Init and before Page_Load,...
Unless you’re tracking a Text_Changed event, you don’t need ViewState enabled on TextBoxes and similar controls. Classic ASP.NET automatically repopulates Te...