location.replace doesn’t work when the following page is a PDF

Applies to:IE 6.0 (+others?), ASP.NET 1.1, JavaScript, PDF, Adobe Acrobat For some reason (at least in IE 6.0) if you use location.replace (to’disable’ back button by changing browser history) doesn’t work when thenext page is a dynamically displayed PDF, e.g. Response.ContentType=”application/pdf”;Response.BinaryWrite( (byte[]) Session[myPDF]);Response.Flush(); The history still displays the prior page in the history list. I’m not sure if [...]

Using client certification authentication in web services in .NET

Applies to.NET 1.1IIS 6Windows 2003 ServerWindows XP (as client) 1. Obtain trial SSL server certificate (e.g. from Verisign) and install to IIS 6;2. On client machine, obtain personal “client” certificate (sometimes called email certificate) (e.g. from verisign);3. Using the certificates (Current User) MMC snapin, navigate to the Personal – Certificates folder (you should see your certificate [...]

Nunit GUI quits without exception when testing objects derived from ServicedComponent

This is apparently a known issue… If you have problems using NUnit with EnterpriseServices, use the command line runner, nunit-console.exe (you will have to append your path to point to it eg. set path=%path%;C:\Program Files\NUnit V2.1\bin {assuming default install path}).

Free Microsoft Technical Roadshows

MS are giving a number of technical briefings including .NET and SQL Server 2005… Tuesday 12th and Wednesday 13th April 2005Edinburgh, The Corn Exchange Tuesday 24th and Wednesday 25th May 2005Birmingham, National Motorcycle Museum Wednesday 1st and Thursday 2nd June 2005Harrogate, Harrogate Pavilions Tuesday 7th and Wednesday 8th June 2005London, Earls Court Olympia Check out http://www.microsoft.com/uk/resources/techroadshow/default.mspx for more info. [...]

Patterns Panacea

The “Patterns Movement” seems to be gaining momentum with more developers becoming aware of the oft-quoted benefits of pattern re-use. Patterns are supposed to be the abstracted solution to common development requirements, but I think the Movement needs to work on closing the circle with respect to concretising the usefulness of Patterns. In most articles [...]

The PCMEF architectural Framework

The general idea behind PCMEF (Presentation Control Mediator Entity Foundation) is that of dependency and object intercommunication minimisation. PCMEF takes inspiration from established design patterns such as Data Mapper, MVC, Observer, Chain of Responsibility and Mediator. Objects in higher subsystems have a dependency on lower subsystems but reverse communication should be event-subscriber based (this implies that [...]

Poet Programmer Analyst Artist

Is the development of software art or is it merely a sequence of logical events which produce an outcome? Certainly software development requires creative thought or is it merely logical thought? Perhaps it is merely a matter of perception; a non-developer will decide on the “beauty” of a system by the rounded boxes and smooth [...]

Enterprise Library - A Day Out with the Logging and Instrumentation Application Block

Ok, I’ll start by saying I like it; reasons? No headache of installing, configuring, deploying EIF; Easy to configure using the nice little GUI Enterprise Library Configuration Tool - no manually messing around with .configs - it also validates the underlying config files when you try to save! Easy to deploy as private assemblies; Simplified logging; Easy to configure multiple [...]