Oracle Connections with DataDirect Part 2: Reauthentication

In Part 1, we looked at fixing a problem with the memory usage of connection pools by accelerating the timeout, but that didn’t address some of the root problems.  For one, why does every user have his own connection pool?  DataDirect pools connections based on unique connection strings (as do most DB providers), but shouldn’t…

0

Web Security Practice

I recently started checking out Google Code University’s Jarlsberg Project, which is a really cool idea to provide a sandboxed website with multiple security vulnerabilities.  It then gives the user challenges to hack the site in various different ways and provides explanations and walkthroughs of how to fix the vulnerabilities that were just exploited. I…

0

Oracle Connections with DataDirect Part 1: Timeout

Recently, a customer had issues with an ASP.Net application connecting to an Oracle database using the DataDirect provider.  The customer was seeing runaway memory usage and was using a 40 minute App Pool recycle schedule to combat it.  This worked for a while, but during App Pool recycles, they were seeing connection timeouts to the…

0

Windows Server 2008 R2 Native Boot

After reading Scott Hanselman’s description of how awesome Boot from VHD is, I had to try it.  Since I already obviously use Windows 7 as my primary OS, I figured I’d try to create a VHD with Windows Server 2008 R2, then boot directly to it. Unfortunately, the instructions in the Hanselman post didn’t work…

1

Cost Savings vs. Cost Avoidance

We presented an informal proposal to a customer that included some cost savings estimates.  The customer asked us whether they were true cost savings, or just cost avoidance.  I had never heard the distinction before, so I did some research.  Here are the results. Cost savings in general refers to benefits of a project that…

1

File Download in IE6

Setup We moved the file download portion of our ASP.NET 3.5 WebForms application to MVC Symptoms When IE6 users tried to open a file (text, Word doc, PDF, etc) through the new MVC controller action, the appropriate application would launch and fail with a “file not found” error If the users clicked “Save” instead of…

0

Learning PowerShell: Random Album

With the inclusion of PowerShell in Windows 7, it has become much more accessible and widely used.  PowerShell has been on my list of technologies to learn for a few months now.  I’ve just been waiting for the right project to use as an excuse to try out PowerShell. I found that project due to…

0

SQL Server 2005 Full Text Search Timeout

Setup ASP.Net 3.5 application with a SQL Server 2005 backend Full Text Search index (to search a document library stored in the database) Web frontend to the document search Search is handled by a stored procedure Symptoms Running a query first thing in the morning results in a SQL timeout Subsequent queries are very fast…

0

File Associations in ClickOnce Applications

One of the really cool features of ClickOnce applications is the ability to set file associations.  Note: File associations can only be set for Full Trust ClickOnce applications The MSDN article walks you through creating a file association using XML in the application manifest, but most developers will find it easier to use the Project…

0

Learning Expression as a Developer

As a developer, working on Silverlight and WPF can be a bit confusing.  There’s a lot of overlap between Visual Studio and Expression, and it’s not always clear when to use each tool.  For me, Expression was just familiar enough to start using without any training, but new enough that I didn’t feel that I…

0