↓ 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

My Theme made it in to the BlogEngine Themes

·1 min
After my work creating the Mad Tri web site, I submitted the theme it to the BlogEngine team a few months ago and they have included it in their Theme pack, what a lovely surprise. The BlogEngine team are going to be working hard over Christmas, with updating the BlogEngine and release a new release. more…

Page Notifications

·1 min
The purpose of the class is to allow the application to display information to the end user. All that is required is for the calling application to set the Message in the PageNotifications class, e.g.

LINQ to SQL and Paging

·2 mins
Oh how I remember those days of page through data, using a GridView controller, or any other controller, lots of coding and so easy to make a mistake. Just take a look at http://www.unboxedsolutions.com/sean/archive/2005/12/28/818/ by Sean Chase, and you will see what I mean.

Editable Resource Files

·1 min
http://blog.lavablast.com/post/2008/02/RESX-file-Web-Editor/ ResXEditor.zip (1.01 mb)

C# 4.0 Dynamic Language

·1 min
With C# 4.0 going to include Dynamic Language programming, the reports and demos I have seen to date look very impressive. The only main implementation and useful application was to connect to COM objects, or more to the point to Microsoft Office as this is pure COM, and always been really hard to connect and work with. 

DataContext in LINQ to SQL

·1 min
What is the best practice and pattern to use for the DataContext with LINQ to SQL. While using LINQ to SQL and it's DataContext I have found it is very easy to fall in to a concurrency issues when you try out multiusers, I've not found the answer as yet, but I have come across this article for different methods

LINQ 2 SQL default values

·1 min
One little crip I am having with LINQ to SQL is that when you build the DBML files within Visual Studio 2008, the default values from the database are not taken in to account. This means that you need to set the default values against your object before it is saved or after the object is created.

CodePlex Presentation

·1 min
List of files and links as part of my Grog talk at DotNetDevNet 2nd December 2008 •CodePlex –http://www.codeplex.com/ •VisualStudio Team System 2008 Team Explorer –http://tinyurl.com/VSTM-TeamExplorer •SubVersion –http://subversion.tigris.org/ •CodePlex Blog –http://blogs.msdn.com/codeplex/ 

Links for The Cloud

·3 mins
Here is a set of link you may need to get you going with Azure and the Microsoft Cloud DDD7 presentation by Chris Hay, includes Power Point Presentation and Source Code, this is the best examples I have see to date

How to publish to the Cloud

·1 min
Okay it has taken me quite a while, but I finally found this Blog on how to publish to the Microsoft Cloud. A STEP BY STEP GUIDE Not for getting you'll need an activation key Id to enable your services, I'm still trying to get mine. 

Tables in the Cloud

·1 min
With Microsofts Cloud now available in CTP, I am looking at writing a blog entry about this great technology, but in the mean time if you are planning to use the Azure Tables, then it is worth checking out Chris Hays blog on Azure Tables

Membership and Security

·1 min
Always good to go back to basics, where ever I go I have the need to generate a security environment which is based on the MembershipProvider. There are lots of examples out on the Internet so it makes it hard to find what you are after, everytime I end up back at the same website, as it take you through the basic Membership and then goes in to it in depth, such as switching users if you are an administrator.

Live Mesh

·2 mins
Just been playing with Live Mesh Beta. So easy to setup, just visit https://www.mesh.com You can either run the application from the web browser, or install a local client to your PC. So I went to take and install the local client on my machine at home, asked it to share a few files, well I also choose a complete folder which contains about 25 Gbyes of information.

Team Foundation Server Addon’s

·1 min
There is an increasing number of Team Foundation Server Addon's, here are a list that might be of use Working remotely and need to collaborate, check this out Working Skype Collaboration Provider for TFS

Web Testing

·1 min
I’ll start this article, and list different ways to perform Web Testing Web testing using Fiddler An old favourite of mine Microsoft Web Application Stress Testing I am sure there are lots of different Web testing tools, and as I find them I will try and list them here. 

Difference between two dates

·1 min
QUESTION: What is the easiest way to find the difference between two dates? DateTime userLoginTime = (DateTime)roteTimeout.LastLoginTime; TimeSpan span = DateTime.Now.Subtract(userLoginTime); if (span.Seconds > userTimeout.TimeoutPeriod) { }