- Adaptable Design Up Front
- Adaptable Design Up Front
- A term to describe the idea of (1) avoiding Big Design Up Front (2) doing Enough Design Up Front and (3) recognising that for agile development that up-front design must very specifically be a design that caters for future change. First coined as far as I know in a blog post by Hayim Makabee.
Alan Gawthorpe & I a talk last month on doing architecture with agile teams:
We did the session agile-style: We had cards for our topics, and the ‘customers’ in the audience prioritised. I think it worked okay, it would probably go smoother doing it a second time. Some of the significant books & articles that went into the slides were:
Agile Methodologies for the Enterprise
What does a technical architecture for agile look like?
The further reading list
* George Fairbanks, Just Enough Software Architecture
* The UK government’s national audit office report on Agile Governance
Something I always want with VS projects: The ‘Command Line here’ menu option within Visual Studio; and the ‘Visual Studio Tools Command Line here’ option in Windows explorer. So here they are for VS2012.
NB: that the Explorer right-click works when you right click on a folder icon but not, sadly, when you right click on empty space. If anyone has a solution for that I’ll be glad to know.
Windows Explorer “VS2012 Command Prompt Here” Right-Click Menu Item
To add a Visual Studio 2012 Command Prompt Here to your Explorer Right-Click menu, save this as a .reg file to your desktop, and then run it:
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command Line VS2012] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command Line VS2012\command] @="cmd.exe /k echo on & pushd \"%1\" & \"C:\\Program Files\\Microsoft Visual Studio 11.0\\VC\\vcvarsall.bat\" x86"
If you have 64-bit Windows, you might want:
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command Line VS2012] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command Line VS2012\command] @="cmd.exe /k echo on & pushd \"%1\" & \"C:\\Program Files\\Microsoft Visual Studio 11.0\\VC\\vcvarsall.bat\" x64"
Visual Studio 2012 External Tools Command Prompt Here Menu Item
In visual studio choose TOOLS – External Tools. Press Add to add a new command with fields as follows:
Title: Command Line Here Command: %COMSPEC% Arguments: /K "%VS110COMNTOOLS%\VsDevCmd" Initial Directory: $(ItemDir)
So my newly created WCF ReST service (or webHttp service, as MS more accurately like to call it) runs fine in Visual Studio 2012, using IIS Express. But when I switch to IIS proper (in my case, IIS8 on Windows 8) I get:
HTTP Error 404.17 – Not Found
The requested content appears to be script and will not be served by the static file handler.
Most so-far extant posts on how to fix this, refer to how to fix it for .Net 3 on Windows before Win8: Use
"%WINDIR%\Microsoft.Net\Framework\v3.5\Windows Communication Foundation\ServiceModelReg.exe" to register or to repair registration of WCF components. (The other gotcha being, having the right AppPool settings for .Net version & for 32 vs. 64 bit).
This doesn’t work for Windows 8 / .Net 4.X. Instead you must open the control panel “Turn Windows Features On or Off” and tick the box for Http activation:
Which should fix the issue after a couple of minutes.