November 2010 Entries
I've gotten used to Resharper's recommendation for defensive coding (see http://en.wikipedia.org/wik... – never trust the client! private void Bar(string x){ if (x == null) return; But how to get this to play with Design By Contract using Code Contracts? I had a look at http://weblogs.asp.net/gunn... - which shows me how to leverage the ContractFailed event and throw my own exceptions. I don't want to throw...
A couple of tips and tricks in getting SQL Azure and Windows Azure to work well together The SQL Azure Firewall needs tweaking to work between these two stacks – 90% of your teething problems will be here. Step 1) create your SQL Azure project – from the Azure Portal Add a DB test connectivity – it will fail – you need to add a Firewall rule – you may need to wait a few minutes for this to work Add a DB and test connectivity with userid & password – connectivity will now succeed: Get your connection...
I've been working at CodeValue full time for 1 week now and I've done more interesting things in these 5 days than the last working year! In this week alone I've deep dived into the following technologies: The CadLIB API SQL Azure Windows HPC 2008 TPL SQL Profiling Code Contracts Team System Pex Active Directory Forest manipulation WCF Data Services Security Certificates Windows Azure Web Roles Workflow 4 Entity Framework Reporting Services internals The IDesign WCF API Azure Deployment Plus, I'm...
The TPL (Task Parallel Library) of NET 4 contains a plethora of datatypes for implicit / explicit data and task parallelism + several synchronization primatives. Of course, when you learn something, its never the end of the story… http://code.msdn.microsoft.... contains a class library which leverages and complements the functionality available in the .NET Framework 4 TPL. Please find below my spelunk into this class library: Parallel General Extensions AggregateExceptionExtensions...
Runge Kutta: Black Scholes: Fourier Series:...