Why I’m not using ASP.NET

Well, there are lots of reasons why I’m not using ASP.NET. The reason today, though, is that it seems to be impossible to post to an ASP.NET website using a non-browser tool such as wget or Python’s urllib. There’s a huge __VIEWSTATE form variable, and links seem to call a JavaScript function called __doPostBack(). Of course, it requires JavaScript to work. This is shit. Yes it is. Fortunately, __doPostBack() doesn’t do anything very complicated in the page I want to manipulate. Sadly, though, I’ve tried POSTing what I think the output of the form will be to the URL, and I get no love from it at all. Lots of <H1>Bad Request</h1> and the like. Has anyone dealt with this problem?

More in the discussion (powered by webmentions)

  • (no mentions, yet.)