Tag Archives: .NET

Solved: Bug in memcached client library .Net port causes inconsistent key distribution

Memcached is most popularly used in php and java applications, but it’s a great technology that can integrate with anything.  For those with programs in the .Net world, there is a .Net memcached client library, which is a port called … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Performance: generate web traffic load using a powershell script

The other day, I found myself wanting a quick and dirty way to throw a controlled amount of load against a server for the purpose of tuning some thread settings.  What I wanted was to simulate varying numbers of concurrent … Continue reading

Posted in Uncategorized | Tagged , , , , , | 1 Comment

Solved: Invoke a cygwin script from an asp.net web application and stream the output to the browser in real time

For back-end system monitoring like log analysis, I frequently use cygwin scripts to process data.  These tools are often useful for diagnosing issues or checking whether a problem could be specific to one server in a pool.  I’ve wanted to … Continue reading

Posted in Uncategorized | Tagged , , | 3 Comments

Debugging: Use Fiddler and WebProxy to debug HttpWebRequest / HttpWebResponse issues in ASP.NET

We recently found ourselves debugging code that was making web requests to another server.  If we hit the server manually in a web browser, it worked fine, but when we ran it through the code simulating the request using HttpWebRequest, … Continue reading

Posted in Uncategorized | Tagged , , , | 3 Comments

Solved: ASP.NET Web Services using POST only work on localhost by default

This information isn’t exactly secret, but it took a bit of googling around to piece the answer together, so I wanted to share it in a more condensed form.   We are in the process of migrating some legacy ASP … Continue reading

Posted in Uncategorized | Tagged , , , , | 2 Comments

Performance: speed up creation of ASP.NET DataSet objects

During some recent performance tuning work, I took a look at a method that was taking around 450 ms. The primary task of the function was to build a relatively large DataSet object, with around 350 rows and over 110 … Continue reading

Posted in Uncategorized | Tagged , , | 1 Comment

Performance Tuning: Clear hidden form variables to avoid unnecessarily large post backs #browser #html #javascript

To create rich web applications, it is fairly common to encode data in JSON on the server and then manipulate it using javascript on the client.  For example, when creating a rich Datatable in YUI, rather than rendering the data … Continue reading

Posted in Uncategorized | Tagged , , , | 4 Comments

Recent ASP.NET security patch KB2416471 can break CompositeScript elements

Microsoft released a patch (KB2416471) to fix a security vulnerability where a malicious party could use errors generated in the application to decrypt the data used in certain requests.  In theory, the fix should not require changes in the application. … Continue reading

Posted in Uncategorized | Tagged , , | 1 Comment