When you do something worth doing, do it with a Bang! At any job that you do, there will always be good people, bad people and just people. Take a look at the guy next to you. Is that the person you want to be like? It does not matter how insignificant your job is, [...]
Archive for Programming
On Interviews
Job Interviews are like double-edged swords. While it is an opportunity for the prospective employer to get to know you, what most people fail to do is getting to know your employer. Is that company a place you really want to work for? Will you be happy there or will it be an endless battle [...]
How to get data in chunks from a WCF Service
This is a simple solution on how to get data in chunks from a WCF service (e.g. a paged list of results) Assuming that your service pulls data from a SQL Server database, you can use Linq2Sql and create your data context, OR if you are not using SQL Server, then the Microsoft Entity Framework [...]
Discover and Invoke methods programmatically at runtime
I had a fairly simple problem recently (well, most problems are simple – solutions are not always so). I had an interface for a class that exposed about a dozen or so methods, and I needed to call them all, one at a time. The methods were parameterless and the return types were identical. Basically [...]
Choosing a blogging software
I have tried various blog software in the past to run this blog. .TEXT I started using the now defunct .TEXT . In my opinion, .TEXT was excellent. It has a nice feature set and was more than good enough to run a personal blog. In addition, it had a 3rd party MS Access data [...]
Community Server
I currently run my website on DotNetNuke as a content management server. I am considering changing to Community Server instead. I will give that a spin over the next few days at home, and if I am happy enough I will change this site to run on Community Server. Typically I am considering Community Server [...]
How to Serialize an Object to XML and then Deserialize back to its Object
I often get asked questions about serializing a class to XML and then deserializing it back to its original object. There are numerous reasons why you would do this, but more commonly I found that it is the preferred way to persist objects in a database. I’ve put together these two methods that will take [...]
Hello GI-Jane Grandma!!!
The Australian Tech-Ed 2006 this year is hosted in Sydney. I’ll make sure I attend the session How to get your grandmother building Missile Defence Systems, it sounds like a lot of fun
Forcing a Page_Load on BACK button in .NET
There’s a little tip on how to force a page_load when the user press the back button on the browser. In your page_load section, add this line of code: Response.Cache.SetCacheability(HttpCacheability.NoCache) By disabling ASP.NET Caching on a page, we can force a Page_Load on BACK button. There are a few reasons why you would want this [...]
Hmmmm Something!!!
It’s a bit of a disappointment that “Something” hasn’t been added to the Visual Basic Language. I have been dreaming of a day when I can use Dim Blah as New Person … If IsSomething(Blah) Then ‘ Do Stuff with Bla Else MessageBox.Show(”Blah has not been initialised”) End If Well, until that day comes, I [...]