↓ Skip to main content
The technical notebook of Bryan Avery

Ideas worth sharing.

Practical notes on software architecture, cloud platforms, security and AI. Written from real engineering experience, with an eye on what actually works.

A little about me

Latest articles

553 articles in the archive

MVC Validation

·1 min
Validation is such an important part of development, and the best way I have found for the MVC is by Steven Sanderson, xVal, which is a validation framework for ASP MVC, even Scott Gu thinks it is absolutely fantastic.

Speed and Performance of LINQ

·1 min
I was wondering today if anyone had produced any benchmarks on the speed and performance of LINQ, so I had a look around and found that LINQ 2 SQL is 4 times faster than the Entity Framework. Why is this? It is due the the fact that the Entity Framework is a more generic solution, where as LINQ to SQL can be more fine tuned to the underlying database structure.

Managing Sprints in a Scrum

·1 min
There are many ways of managing a Scrum Sprint, but I always look for the easy ways, I came across Deborah Hartmann, spreadsheet which I have found very useful and easy to get along with. Once you understand the processes of Scrum and what is required the spreadsheet speak a thousand words.

Tools for Linq to SQL and ADO.NET Entity Framework

·1 min
I have found LINQ to SQL and the Entity Framework has a few missing features, one of these is the ability to update the designer diagrams, and this is where Huagati DBML come to play. Huagati DBML/EDMX Tools is an add-in for Visual Studio that adds functionality to the Linq2SQL/DBML diagram designer in Visual Studio 2008, and to the ADO.NET Entity Framework designer in Visual Studio 2008 SP1.

TwitterPing

·1 min
Updated my extensions on my blog this morning and included a Twitter updater by Miguel Jimenez, TwitterPing. Had a few issues with the Extension, but with a few tweeks, and removing the dll by placing the code behind, it means it only needs the .cs file, 

DDD South West Presentations for Room 3

·1 min
Here is a list of Slides and Source code for DDD South West 2009 room 3 For full details on each of the talk check out the Agenda These files are now on the DDD South West web site

Mocking

·2 mins
 In object-oriented programming, mock objectsare simulated objects that mimic the behavior of real objects in controlled ways. A computer programmer typically creates a mock object to test the behavior of some other object, in much the same way that a car designer uses a crash test dummy to simulate the dynamic behavior of a human in vehicle impacts.

RPS – Calculation Model

·4 mins
Calculation Model There are a number of calculations and data transformations that need to take place in order to produce the correct Leakage Calculation.

MVC tool case

·1 min
http://samples.syncfusion.com/mvcdemolaunchpad

Continuous Integration

·5 mins
Task today is to decide and implement an Continuous Integration build process, I will be looking at two options CruseControl and Team City. The are a lot more but for the purpose of the current .NET environment these are the two I’ll be looking at.

Threading

·1 min
http://www.jobserve.com/EC1545A81AE3DF391Z9AED430336436C.jsap

How to sort a generic List

·4 mins
I came across a little issue today, in that I had an Interface object and I needed to be able to sort the list, I would normally implement the IComparable interface on the concreate type, but I don’t have access to the concreate type in my case.

Well all love a good Hack

·1 min
Been playing around with this hack for some time, it’s fun, I can’t remember where I first got the application from, but I’ve had some harmless fun with it in the office. This small hack allows you to write information to most HP printers LCD screen.

Copy one object to another Object

·1 min
I was in need to copying one concreate object to another concreate object, but I needed the flexability that when a new property is added the method would not need to be changed, also I needed the ability for the method to take in any types.

PDB, what and why?

·1 min
If you are like me when you are developing you create a Debug version of your application and in turn .NET provides you with .PDB files for debugging, that is as far as I know, want to know more about it then take a look at John Robbins’ Blog on PDB files: what every developer must know

Returning all data from a DataSet Row

·1 min
If you are like me and you are using DataSets and you need to transfer a table rows collection in to a predefined interface then here is your answer

Only get the data that is needs to be displayed

·2 mins
I have been on the look out for the ability to display and search a customers database, but having the ability to display millions of records if that what the end users wants. But the trouble is that it can take a long time to return a million records from a data source.