TOP

CustomPrincipal and Serialization

Recently, I’ve been working on a project that relies on a backend business object layer.  The business object (BO) layer, requires authentication in order to be used.  For most of the systems, this is okay, but my project is to be used by end users.  We don’t need to authenticate the users… we need to authenticate the system.

This is easy enough using the CustomPrincipal object in Rocky Lhotka’s CSLA framework (which is also being used).  We simply create the CustomPrincipal and add that to the ApplicationContext. (more…)

Read More
TOP

Release Mode error message

We’re approaching delivery of the baby!  In the next few months, we’ll be releasing our product.  This is great news as it’s been a long time coming.  As is the norm, we’ve been developing our product in Debug mode.  While in Debug mode, Visual Studio will generate extra files to allow stepping through the code.  This is a great thing for creating the initial code, but it’s not necessary for code that’s deployed to the world at large.

When I switched Visual Studio over from Debug mode to Release mode, I got a weird error. (more…)

Read More
TOP

Unknown class “class name” in Interface Builder file.

Wow… just… wow.  This took a long time to figure out.  I was trying to create and use a custom UIButton in an iOS project.  Everytime I tried it, the app would open and immediately close.  Typical crash behavior.

As is the norm, I opened the console.  This is my first step in trying to figure out what the heck is going on.

(more…)

Read More
TOP

Computers… who needs’em

Doggone it… I have a system setup at home whereby certain tasks are supposed to execute daily during the week. For some reason, my processes will run perfectly for weeks on end and then get really freaky on me.

It’s very strange. I’ll have to check it out.

It reminds me of my time in Customer Support at IBM. People would call up for assistance and then be unable to reproduce the problem with me on the phone.

Weird.

Read More