↓ 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

Hidden but found on the iPhone

·1 min
I’ve had an iPhone for a year and a half now, and I’m still finding things it can do, here are a few things that I have found: Pressing the Home button twice quickly takes you to your favorites (this can be configured in the setting) Press Home button while pressing the on/off button causes a Print Screen If you continue to home the Home and on/off button it will perform a reboot of your iPhone Have you found any more features that I have missed?

How to get an EULA displayed for your clickonce application

·4 mins
Stuck with this issue, if needing a ClickOnce installation to display an EULA, I final found a solution, on MSDN Here’s a round about way to get your clickonce applications to install with an End user license agreement. Basically you build a redistributable component that can be seen in your prerequsites dialog box under the publish window. This allows a nice way to have all your apps reuse the same agreement, if you want. It’s very easy, you need only to create three files (“eula.txt”, “product.xml”, and “package.xml”) and two folders in this case (“EULApackage”, and “en”). I documented everything below on how I set mine up. it works great. the only thing you’ll have to change is the Name of the component and of course you’ll need your own end user licence agreement saved as eula.txt. The component needs to be put in the following path:

Integration Test using the MembershipProvider

·1 min
Creating tests is a very important part of the development cycle, one of the import part of creating tests is to make sure the tests have as little dependencies as possible, this is where Intergration testing comes in to play.

Videos for MVC

·1 min
Need a quick over view of how MVC can help you, take a look at these series of videos by Bill Burrows, all very simple and easy to follow videos, and what’s more he is running the demos in VB.NET

Yeald

·1 min
Okay, I’ve learn’t something new today, so I’d thought I would share it with you, it’s the yeald keyword, the reason why I think I have not used or know about it before is that it is used for an IEnumerable collection, which has come more in to play with LINQ, here is a short example of how it can be used:

MVC LifeCycle

·1 min
To understand the the power of MVC you need to understand the Life Cycle, I could go in to great detail about the ASP.NET Lifecycle, but I have found a number of very good articles already providing good amount of information on the LifeCycle. Before going to the pages here is a simple flow diagram of the steps the MVC process goes through

Configuration for NLog

·2 mins
When I am writing an application it is so important to make sure you record and log information correctly, there are a number of free loggers you can use Log4Net NLog I have come to use NLog, by Jaroslaw Kowalski, it’s so easy to use and get up and running, which is what you really need if you are using a logger of any type.

Finding if any records exist in a table

·1 min
When you need to find if any records exist in a table or a selective snap shot of a table, you are prehaps like me in using the COUNT(*) SQL transaction and see if there are zero counts, but is this the most efficient method?

TFS, SoureSafe or Subversion

·1 min
Quite often when I start at a new client they ask me what are the benefits of TFS (Team Foundation Server), as they can not justify the cost, as it is very confusing (like may of Microsoft pricing structures)

CMS Options

·1 min
http://www.hellomorello.com/ Umbraco BlogEngine.NET

Method for retrieving movie posters

·2 mins
A couple of weeks ago I released an online TV guide for Danish viewers called ifjernsyn.dk. The goal was to make a very simple overview that could easily be accessed from a mobile phone and customized by any visitor without any login. The purpose was to always know what’s on the air right now and what programs will shortly follow – and of course to keep it simple.

Backup Strategy

·3 mins
How may time does it take to lose import files or photos held on your computer before you put in place a backup strategy to protect your files. I thought I’d share my personal backup strategy, as I don’t just reply on one process, in fact I have three sync/backup methods

Playing with DataGrids in jQuery

·1 min
I’ve been looking around for some Data Grid’s and as I love jQuery throught I’d share some Grid written in jQuery, well only one at present, froma Russian developer http://trirand.com/jqgrid/jqgrid.html

Images and Icons

·1 min
So many places have so many different ideas on what and how things should look, as a developer it is just a cause of accepting what they supply. But from time to time, more often then not, the customer asks to see what you have produced, and even though you may have spent hours or even days getting the code to work correctly, the plain and simple fact is that it look and feels really bad.

SubSonic Autogenerate Database scripts

·1 min
First of you are going to need to download and install SubSonic Once installed just follow the steps below Within Visual Studio External tools Title “SubSonic DAL” command sonic.exe arguments generate /out App_Code\Generated

Clouding Computing at Mix09

·1 min
If you are like me and you missed your chance to attend Mix09, then all is not lost as you can view the Azure sessions Here’s the list of Azure sessions: Using the Windows Azure Tools for Microsoft Visual Studio to Build Cloud Services Introduction to the Azure Services Platform Overview of Windows Azure Building Web Applications with Windows Azure Windows Azure Storage

Updated Windows Azure SDKs

·1 min
Updates to the Azure platform, must spend some time on this soon Greetings from the Azure Services Platform Team, We are excited to announce that we have released an update to the Windows® Azure™ SDK and Windows Azure Tools for Microsoft Visual Studio®. These latest releases are available here:

Free ASP.NET MVC eBook – NerdDinner.com Walkthrough

·1 min
Now that MVC has been released, it’s worth getting hold of a free MVC book, which should help you get going on using MVC. aspnetmvc-nerdinner_v1.pdf (13.78 mb) http://nerddinner.codeplex.com/