Temporary ASP.NET Folder and Preservation Files November 19, 2013
The processing of an ASP.NET page request requires quite a few temporary files. When you install ASP.NET 2.0 on a Web server machine, a hierarchy of folders is created.
The first time an application is executed on the machine, a new subfolder is created under the temporary files directory. The name of the compilation subfolder matches the name of the application’s IIS virtual directory.
For each page in the application, the page compilation process generates a file with the following name:
The [page] placeholder represents the name of the .aspx resource. The [folder-hash] placeholder is a hash value that makes the file name unique and disambiguates files with the same name that originally belonged to different folders. Such files are said to be preservation files because they contain important information that helps the ASP.NET runtime to quickly retrieve the assembly and type name of the HTTP handler that will be used to serve the page request. In addition, a preservation file contains a file hash value that is used to detect if the contents of the file has changed since last access.
All .aspx pages that make up an application are compiled in the same temp folder, even if they have the same name and reside in different folders. How does that work? Suppose your application contains two pages named test.aspx that are located in different folders-Folder1 and Folder2. Both pages will be compiled in the same temp folder, but they can be distinguished by their hash values, which will be different because hash values are calculated on the path information and not just the file name. So in the end, the two test.aspx pages might have preservation file names that differ only in the folder hash value:
Web Performance Mash Up October 20, 2013
AutoSPInstall September 24, 2013
Visual Studio Icenium Mobile Addin September 23, 2013
How It Works
In future posts we will take a deep-dive into using the Icenium Extension for Visual Studio, but for now let’s have a quick look at how we can get up and running in just a few minutes:
Close all running instances of Visual Studio (better safe than sorry!) and install the Icenium Extension for Visual Studio. The installation should take all of one minute or so.
Open up Visual Studio and create a new project with Ctrl-Shift-N or by choosing “File -> New Project”. You can now browse the new Icenium project templates which include the four familiar options you are used to seeing already: Blank Project, jQuery Mobile, Kendo UI DataViz, and Kendo UI Mobile.
SQL Server Encryption June 18, 2013
Certificates are useful because of the option of both exporting and importing keys to X.509 certificate files. The syntax for creating certificates allows for creation options for certificates such as an expiry date.
SQL Server certificates comply with the IETF X.509v3 certificate standard.
Creates strong names for symmetric keys.
Azure Explorer April 18, 2013
✔ Manage all your Windows Azure blobs in one place
✔ Reliably upload and download blobs with a responsive UI
✔ Transfer blobs between your storage accounts
✔ Easily search and filter your blobs
SQL Server Queue Depth for HBA October 7, 2012
However, you might be lucky and have a dedicated SAN for your SQL Server; maybe to support failover clustering perhaps. In this case it makes sense that you want to push the SAN to its limit to get the best I/O performance by whacking up the HBA Queue Depth to a much higher value. It’s a sound theory and you would assume that there is some sort of stupidly large value that might negatively affect performance. As it turns out, it’s true. However, after building a Windows Server 2008 failover cluster recently quicker than expected I had some time to test some different values and was surprised at the results which indicate that performance started to decline with an HBA Queue Depth of only 128.
I used SQLIOSim to test each configuration as I was interested in a general performance test to give me an idea of how SQL Server might perform, not a pure I/O throughput test. Here are some links on SQLIOSim you might find useful:
SQLIOSim available for download
How to use the SQLIOSim utility to simulate SQL Server activity on a disk subsystem
Understanding SQLIOSIM Output – This one is key to understanding the results!
Visual Studio Test Manager September 4, 2012