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,971 | Comments: 44,508

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.


  1. Paying the rent online - about one day from now

There are posts all the way to Aug 03, 2015


  1. Production postmortem (5):
    29 Jul 2015 - The evil licensing code
  2. Career planning (6):
    24 Jul 2015 - The immortal choices aren't
  3. API Design (7):
    20 Jul 2015 - We’ll let the users sort it out
  4. What is new in RavenDB 3.5 (3):
    15 Jul 2015 - Exploring data in the dark
  5. The RavenDB Comic Strip (3):
    28 May 2015 - Part III – High availability & sleeping soundly
View all series


Main feed Feed Stats
Comments feed   Comments Feed Stats