Debugging tips for SharePoint

On May 19, 2010, in Sharepoint Tips, by admin

Debugging on SharePoint is much the same as debugging any other ASP.Net application…you can use the same techniques. Here are some of my tips for diagnosing & solving your problems… Debugging starts with your first line of code As you start writing some code you need to bear in mind that at some point you will need […]

Tagged with:  

ASP.NET: Controlling Caching in ASP.NET Web Forms

On May 19, 2010, in, by admin

ASP.NET allows you to cache pages. The means that when the code behind the page runs, it produces HTML, the HTML is sent down to the client, however a copy is stored in the memory of the web server. If the same page is requested again, then the page is retrieved from the cache and […]

Tagged with:  

.NET Tip: Using a Nullable Value Type

On May 18, 2010, in CSharp tips, by admin

How often do your programs grab some data from a database and throw the values returned into local variables without giving the data another thought? I used to, until my programs started throwing exceptions because of nulls in the data. So, what did I do? I checked every field coming back from the database that […]