asp.net

vb.net

The Slow Brain Death of VB.NET

It’s amusing that the very people defending VB.NET are, ironically, illustrating precisely why VB.NET is in such trouble: I just want to make it clear that I am one MVP that does NOT intend to sign this petition about VB. And by the way, my background is

By Jeff Atwood ·
Comments

asp.net

ASP.NET About Box (Page)

I had a request for an ASP.NET version of my windows forms About Box. This is a good idea that I’ve considered in the past, so I took the time to convert it today: Clicking details will provide a dump of all loaded assemblies in summary form, with

By Jeff Atwood ·
Comments

asp.net

Wintellect ASP.NET FAQ

Nothing beats a well constructed FAQ based on lots of real-world questions. It’s a little old, but I was surprised how much genuinely insightful material is present in the Wintellect ASP.NET FAQ. It’s a mixture of the mundane (How do I comment out statements in ASPX files?

By Jeff Atwood ·
Comments

asp.net

Code-Behind vs. Inline Code

After religiously adhering to the new, improved code-behind model of ASP.NET for so long, I have to admit it’s sort of refreshing to rediscover inline code ASPX pages again. Deploying single web pages to a server without recompiling the entire solution? Making localized edits to single pages that

By Jeff Atwood ·
Comments

programming languages

Top Tens

I found two interesting top 10 lists yesterday. From MSDN Magazine, 10 Tips for Writing High-Performance Web Applications, is a fine read. I’ll summarize: 1. Return Multiple Resultsets 2. Paged Data Access 3. Connection Pooling 4. ASP.NET Cache API 5. Per-Request Caching 6. Background Processing 7. Page Output

By Jeff Atwood ·
Comments

asp

Classic ASP

I just went to the Radio Shack website to look for something, and after every click on the main page, I was greeted with this: If I was running a giant corporation, I think I’d hire coders who could develop a rational error handling strategy for our production website.

By Jeff Atwood ·
Comments

asp.net

WebFileManager

I posted a new CodeProject article, WebFileManager: I often deploy ASP.NET websites to servers that I don’t control. In these situations, I can’t get to the underlying filesystem to do any file maintenance, because I don’t have direct access to the server. For various reasons, I

By Jeff Atwood ·
Comments

.net

Process.Start and Impersonation

Did you know that Process.Start always uses the security context of the parent ASP.NET process? I just found this out the hard way; Using Process.Start on “whoami.exe” always returns the ASPNET worker process no matter what I do. Some searching turned up this entry in Scott’

By Jeff Atwood ·
Comments

asp.net

Web Farms and ASP.NET ViewState

If you deploy ASP.NET websites to a web farm, you may run into this perplexing System.Web.HttpException: The viewstate is invalid for this page and might be corrupted If you’ve installed ASP.NET 1.1 service pack 1, you may also get a much more helpful exception

By Jeff Atwood ·
Comments

asp.net

Multiple /bin folders in ASP.NET

About a week ago, Scott Hanselman posted a neat tip on deploying multiple /bin folders in an ASP.NET application. What’s really cool about this is that it lets you build a pseudo plugin architecture into your existing ASP.NET website. Scott documents it perfectly; I’m here to

By Jeff Atwood ·
Comments

asp.net

Captcha Control Coda

I finally bit the bullet and formatted my ASP.NET CAPTCHA server control as a CodeProject article. This version of the control has a few significant improvements over the last version: * Optimized with use of HttpModule and Cache objects * Removed ViewState for Captcha text (this isn’t secure, doh) * Added

By Jeff Atwood ·
Comments

asp.net

HTTP Compression via HttpModule

I’ve talked about HTTP compression in IIS 6.0, and HTTP compression using Net.WebClient, but what about deploying ASP.NET websites to servers you don’t control, e.g., third party hosts? How can we enable compression in that scenario? We can implement HTTP compression on a per-website

By Jeff Atwood ·
Comments