Ayende @ Rahien

My name is Oren Eini
Founder of Hibernating Rhinos LTD and RavenDB.
You can reach me by phone or email:


+972 52-548-6969

, @ Q c

Posts: 5,953 | Comments: 44,409

filter by tags archive



Yeah it's a much different world than corporate clients that's for sure. The precautionary steps required are ten-fold in order to prevent an avalanche of false positive bug reports and associated problems.

I say, bind 'em up and lock 'em down. If your product still runs then your user will have a pleasant experience and be grateful to you, otherwise barf early and often otherwise the user will falsely cuss you like they do Microsoft.

Krzysztof Kozmic

I don't think you should do that - simply close the app without any notification for the user.

You should output a message telling a user why you are closing.

Ayende Rahien


The Assert is also responsible for alerting the user


Yip, I've done similar assertions, as well as doing permission assertions.

e.g. Try running NHProf under Intranet/Internet Zone policies.


Hmm wouldn't reflector + deblector + reflexil make it trivial to bypass this? or i'm missing something?

Ayende Rahien


Please read it.

Then guess about why I need it


Ahh nevermind i thought it was some kind of assert to "protect" your files in addition to your licensing scheme. I should go to sleep :x

Peter Morris

I wouldn't bother at all to be honest. If someone is going to delete files I would let the app crash.

Maybe the unhandled exception dialog could suggest re-installing the file and if the problem persists they should send the bug report on to you.

Ayende Rahien


You do realize how many support calls a good error can save you?

Ayende Rahien

So you realize why it is important to try to reduce them :-)

Comment preview

Comments have been closed on this topic.


No future posts left, oh my!


  1. The RavenDB Comic Strip (3):
    28 May 2015 - Part III – High availability & sleeping soundly
  2. Special Offer (2):
    27 May 2015 - 29% discount for all our products
  3. RavenDB Sharding (3):
    22 May 2015 - Adding a new shard to an existing cluster, splitting the shard
  4. Challenge (45):
    28 Apr 2015 - What is the meaning of this change?
  5. Interview question (2):
    30 Mar 2015 - fix the index
View all series


Main feed Feed Stats
Comments feed   Comments Feed Stats