Oddur Magnusson

Object reference not set to an instance of a human being

November 2003 - Posts

Our new painting

A friend of our, which is a recognized painter here in Iceland, Ari Alexander, gave us a painting by him in gratitude for computer some help we gave him.

The painting which is approximate 1 meter high, is of course if Bill Gates, whom else ?

Take a look here ! (900kb jpg)

Visual Source Safe Drama

I find it a shame how bad Visual Source Safe is compared to the rest of development products Microsoft are releasing.

This product is probably used by most Visual Studio users but still, it's reliability, user interface and quality in general sucks.

Microsoft, please, add some resources to you VSS team before the Whidbey release !

Or, just buy Sourcegear and use theirs ;)

 

now, on to moving our VSS DB to a new server ... *shrug*

Hyperthreading for development ?

Well, it's time again to upgrade my desktop workstation. I read somewhere that we should, if we could, develop on hyper threading processors. Something about simulating dual processor runtime environments. Any truth in that ? I’m developing .net systems that run on anything from dual PII to dual Xeons

msdn download speed

Usally when downloading from microsoft I am downloading at somethine like 300-500KB/sec, but when downloading from MSDN download i am downloading at 16 - 30 KB/sec. Why ? I have a 10mbps fiber connection to our ISP so that should not be a problem.  Taking ~6 hours to download a single ISO image is just not accaptable !

Am I doing something wrong ? are there some hidden tips for msdn download speed ?

Always Copy before clicking post !

I had just written a lengthy post describing how I had to override the HtmlForm class to expose the Action property to work with our asp.net url rewriting technique. I clicked post but the request didn't get through, I got a timeout screen. I pushed back hoping the while post would still be in the form, no good, the title was there, but the post body was gone :(

Lesson learned : always copy the post body text before posting, you can't be sure the request will go through, and the freetextbox control does not hold it's value if you click back.

If you are interested in how to override the server side HtmlForm to allow you to control to url it posts to, comment on this post and I just might write the while post again.

*ctrl-c*

PDF generation in .net ?

Do you guys have any recommendations on components that allow me to generate PDF documents on the fly. Being able to sign  them is a plus.

The ultimate util tool list

Scott Hanselman's Ultimate Developer and Power Users Tools List

Just found this again in my favorites list. Some of these tools are livesavers, go check them out.

 

My Desktop

Paschal L just posted a picture of his desk, since I posted a similar picture just last week on my Icelandic blog, and we both are doing CMS development I think it is appropriate that I post mine ;)

But damn, would I love to have those LCD's instead of my CRT's !

InternalsVisibleTo !

So, we intend to introduce a new feature in next release of .NET -- "Friend Assemblies", that does precisely what you're suggesting. It will use an assembly-level custom attribute called "InternalsVisibleTo", that grants access to a named "friend" assembly (Omer.B in this example) -- for all "internal" types.

 - Jim Hogg [from here]

Exactly what I was looking for earlier today ! Until then I guess we have to rely on the StrongNameIdentityPermissionAttribute to limit access to our assemblies.

Is there any way to limit which assemblies can reference another assembly ?

What I have is our DAL assembly (let's call it product.dal.dll) which takes care of all our communication with our DB. Now I don't want people being able to reference this assembly and wrecking havoc to our (clients) data.

If I could somehow specify that product.gui.dal is the only assembly that could reference the product.dal.dll assembly.

Protecting your connection strings, locking the database server in a hidden bunker with a crazy gnome guarding it makes no sense if anybody can reference the DAL assembly !

More Posts Next page »