Browse by Tags
All Tags »
.Nyet (
RSS)
Sorry, but there are no more tags available to filter with.
Scott Hanselman has blogged recently about our experience with nasty tricks Visual Studio debugger can play on you. Turns out, it's possible to run and debug normally without resorting to a secondary thread spin-off. But there is a price to pay: remote...
Nothing makes our life more interesting than ASP.NET behaviour at debugger termination. This is a short version of three lost hours: Create an empty page and add the following code private void Page_Load( object sender, System.EventArgs e) { const string...
There is a handy class UriBuilder which, unlike Uri , allows full read-write access to all the components of Uri. However, problems started when I tried to serialise it using XmlSerializer. The following code: .csharpcode { font-size: 10pt; color: black;...
Whammm! I did it again! How many times do I have to tell myself that Response.Redirect(string) throws an ThreadAbortException ?! Here is the short version: private void Page_Load(object sender, System.EventArgs e) { try { Response.Redirect("page1.aspx...
More Posts