↓ Skip to main content

Uncategorized

How to determine is a Plugin implements an interface

·1 min
The problem is you have a number of PlugIns in your application, however how do you know which plugins have implemented an interface for a task you need to perform? Following on from my last article, Plugin Model, I will create a new interface, implement that interface and then find the Plugin that implments that interface.

Plugin Model

·3 mins
I’ve been working with a Plugin model for a few weeks now and I thought it was time I should document the model. Task is to build an application that you can plugin models via the .config file, and provide a level of configuration for each plugin via the .config file.

Collection of Tools

·1 min
Here is a list of best kept secrets that developers keep under their hats for looking in to what your Windows system is doing: svchost Viewer – A program to see what all those svchost.exe are running.

iPhone and Google

·1 min
Finally found a link to enable you to be able to use Google fully on your iPhone http://www.google.com/support/mobile/bin/topic.py?topic=13587

Picasa photos in your BlogEngine site

·2 mins
I’ve been having a play with Picasa API, and come up with this Extension for BlogEngine. All you have to do is pake the picture.cs file and place it in “\App_Code\Extensions” folder, and it takes care of everything for you.

Caching from a non Web applications

·1 min
Okay you are developing a WinForm application and you are looking at performance, one area is Caching of information, but wait a minute I’ve been using caching in my web applications for sometime, but how do you do it from a WinForm application as you don’t have a host to store your cache.

Generating a Random Password

·1 min
Found a nice post from Chris Blankenship’s blog about generating a Random Password, the code is just one line of code and is quite simple string password = Membership.GeneratePassword(12, 1); Console.Writeline(“Random Password: ” + password);

Entity Framework Issues

·1 min
I’ve come across two issues with the Entity Framework, one that effects any language and one just for VB.NET It’s quite simple, the Entity Framework generates edmx files, however that Inherits Global.System.Data.Objects.DataClasses.EntityObject, which means when you create your Partial class you can not Inherit from your own base class.

HTTP Sniffer

·2 mins
Why can I never seem to remember the name of software I have used before? Perhaps that is one reason why I try to keep my blog up to date, as I use it as a brain dump of tasks I have been working on, so when my memory fails me I can also revert to my Blog and perform a search or look at the archive and find what I as working on say 2 years ago. I know softare moves on, but I always find some software no matter how old it is, just can’t be beaten.

Picasa Google’s web album

·1 min
I’ve always wanted to hook in to Goolges Picasa Web Album to allow for sites to store and display photos from Picasa, and I have just found a great blog from Richard Nilsson on the startings of building a photo album on your site, well worth a visit.

Anonymous methods, Lambdas, Confusion

·1 min
I’ve been using Anonymous methods and Lambdas extressions for a little while now, but I do find as I go from customer to customer, do they really understand what all this means? I can now safely say that Mike Taulty has posted a very good blog on the subject, which should assist in helping people to understand what it is all about.

MVC Release Candidate 1

·1 min
Microsoft have release MVC Release Candidate 1, I’ve had a little play with MVC and it looks very promising, although it is a different way of programming for your web site, the benefits are huge. You can download MVC Release Candidate 1 from this link

Ski Boots for sale

·1 min
I’m selling my Ski Boots on Ebay, if any one is interested http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=300289215769

WCF getting started

·1 min
I’m not currently working on WCF, but I when I find some useful links I’ll add them here Set of links for WCF Getting Started with Windows Communication Foundation (WCF) If you’re going to do any extensive WCF services it is worth getting hold of Programming WCF Services by Juval Lowy

My Weather station

·2 mins
I’ve been playing with my Weather station, Watson W-8681, since Christmas Day, and I love it. It came in a small box, all tidy and wanting to be built on Christmas day Taking it all out of the box, you get the rain water measurer, wind direction, software CD, temp and wireless sensor and a cover to protect it, wind speed and all the fixing clamps needed.

Creating an Entity Connection for the Entity Framework

·1 min
When you start to play with the Entity Framework you will soon come up with the need to store your connection in a common place. To do this you will need to with provide the connection string to the Entity Object Context or provide the Entity Connection. I prefer to us the Entity Connection as you can explicity define each section of the connection.

LINQ to Entity Framework

·1 min
What with Entity Framework around, I have been finding it quite hard to find any good information about the Framework, so I have started to compile a list of good resources The ADO.NET Entity Framework Overview