
Been working on various web server build script for IIS7 in Powershell
most of it was VERY easy and more then wel document on the internet, but managing the ASP.NET trusts, but editing the .net web.config file was a bit more tricky
by glueing some code from here and here i managed to create the follwing code
Which assign FULL trust for web site ID 2 for 64 bit V2 .net framework, i am sure anyone can now tweak to suite there own requirements
Read the rest of this entry »

Like many, my preferred web platform, (done a few intranet and internet) uses a CIFS based backend content store and unique AD based application pool identities for EACH application. This has several plus points. Add to this a tweaked .NET medium trust and you have a secure and scalable platform.
But that is where the fun starts
Read the rest of this entry »

The use of Cold fusion is wide spread in many Internet and intranet environments. www.myspace.com is Cold Fusion based for example. It is an interesting thing to setup, the Adobe Cold Fusion server runs in a J2EE container, typically adobe JRUN. So what you have is a J2EE app, which instead of producing the HTML responses, interprets the CFML tags to render the HTML is a dynamic manor.
The use of J2EE makes it somewhat interesting when you have to track down rogue code inside and application. When you look into the J2EE process with standard windows tools yoiu can only see the J2EE code, not the CFML. This makes fine tuning and fixing a suspect application a bit of a black art.
Enter the (Blue) Dragon from New Atlanta. Written in J# (so still java based) it allows CFML 7.01 tags to be interpreted by an ASP.NET engine, will all the .NET benefits around process monitoring, and managing run away CPU and memory.
Time for a POC!

Over the past 4 years I have had to work with some of the best web application developers I have ever met, unfortunately I have also had the miss-fortune of working with some of the worst developers on the planet.
With this in mind, while attending the Microsoft 2008 launch event, I was very impressed to pick up a book entitled “the Developer Highway code : The drive for safer coding!”
This book is fantastic, and has hundreds of coding guidelines and server configuration recommendations. And absolute MUST read for any ASP, ASP.NET developer and / or web server support staff.
The best bit, it is available as a free ebook, from Microsoft:
http://download.microsoft.com/documents/uk/msdn/devdave/mic472_dev_highway_all.pdf