DunDDD 2014: Introduction to Node.js–From Hello World to Deploying on Azure

Thank you for those that came to my talk. As promised here are the slides, code, and links given in the talk. Slides and Code The slide deck is available as a PDF file. Hello World (zip – 4.82kb) File Dependencies (zip – 6.91kb) Node Package Manager (zip – 22.86mb) Express Hello World (zip – […]

SQL Injection Attacks – DunDDD 2012

Examples The examples were run against a copy of the Adventure Works database. Basic Demo (ASP.NET MVC / C# / Visual Studio 2010) Second Order Demo (WinForms / C’# / Visual Studio 2010) Required Tables For the Second Order Demo you need the following table added to the Adventure Works database: CREATE TABLE [dbo].[FavouriteSearch]( [id] […]

Aberdeen Developers – Introduction to Parallelisation

Examples Here are all the examples from Thursday evening’s introductory talk on Parallelisation at the Aberdeen Developers User Group. Starting tasks Parallel.Invokeexample Parallel.Forexample Parallel.ForEachexample Basic PLINQexample Tasks within Tasks example Data Management Independent Object Graphsexample ConcurrentBagexample ConcurrentDictionary example Stopping Tasks Error Handling with AggregateExceptionexample Cancelling Tasks example. Slide Deck You can download the slide deck […]

DDD Belfast Parallelisation Talk

Examples Here are all the examples from Saturday’s introductory talk on Parallelisation at DDD Belfast. Starting tasks Parallel.Invoke example Parallel.For example Parallel.ForEach example Basic PLINQ example Tasks within Tasks example Data Management Independent Object Graphs example ConcurrentBag example ConcurrentDictionary example Stopping Tasks Error Handling with AggregateException example Cancelling Tasks example. Slide Deck You can download […]

SQL Server User Group: SQL Injection Attacks

Examples The examples were run against a copy of the Adventure Works database. Basic Demo (ASP.NET MVC / C# / Visual Studio 2010) Second Order Demo (WinForms / C’# / Visual Studio 2010) Required Tables For the Second Order Demo you need the following table added to the Adventure Works database: CREATE TABLE [dbo].[FavouriteSearch]( [id] […]

DDD South West Parallelisation Talk Overview

Examples Here are all the examples from Saturday’s introductory talk on Parallelisation at DDD South West 2011. Starting tasks Parallel.Invoke example Parallel.For example Parallel.ForEach example Basic PLINQ example Tasks within Tasks example Data Management Independent Object Graphs example ConcurrentBag example ConcurrentDictionary example Stopping Tasks Error Handling with AggregateException example Cancelling Tasks example Slide Deck The […]

Parallelisation Talk examples – Cancelling Tasks

This example showed what happens when tasks are cancelled. In this example, some tasks will be able to run to completion, others will be cancelled and other won’t even get a chance to start because the cancellation token was signalled before the task gets a chance to start. Here is the code for the cancellation […]

DDD Scotland Parallelisation Talk Overview

Follow Up I was asked a question during the talk I wasn’t immediately able to answer which I’ve now found the definite answer. What happens to parallel tasks running in the background when the application exits? Examples Here are all the examples from Saturday’s introductory talk on Parallelisation at DDD Scotland 2011. Starting tasks Parallel.Invoke […]