November 2010 Entries

Code Contracts and Defensive Programming

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...

Posted On Sunday, November 28, 2010 7:19 AM | Feedback (0)

SQL Azure and Windows Azure Together

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...

Posted On Thursday, November 25, 2010 12:59 AM | Feedback (1)

CodeValue – I'm Living the dream!

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...

Posted On Wednesday, November 24, 2010 2:00 PM | Feedback (1)

Parallel Extensions Extras

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...

Posted On Sunday, November 14, 2010 8:27 AM | Feedback (0)

Formula Test Post

Runge Kutta: Black Scholes: Fourier Series:...

Posted On Thursday, November 04, 2010 3:56 AM | Feedback (0)

Copyright © JoshReuben

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski