Exception block

J

J-T

I'd like to use Exception block for my asp.net application,but apparently
there are two things available now:
1)Old exception block
2) exception block represented in enterprise library.

I thought I read somewhere they are not using ApplicationException anymore
in Elib and I don;t want to use Elib as the only thing I need is an
Exception block.

Is there someone who can help me finding my path:)?

Thanks a lot
 
S

Scott Allen

Hi J-T:

You can pick just the pieces / projects you need from EL - no need to
swallow the whole pill.
 
J

J-T

But as far as I know all tghe application blocks are kind of dependant on
the Configuration block.Is that true?
 
J

J-T

So it means that I have to use configuration block as well.I need kind of
independant one.

Thanks
 
J

J-T

Scott,

You didn't follow up my other post"Application_End method of Global.asax and
Shutting down an asp.net application",did you? I didn't get the final answer
from you.My problem was:

I have my applciation installed in an appplication pool (a worker
process) -IIS 6.0-which is defined to be shut down after 20 minutes of being
idle.If I put a breakpoint in Application_End method of Global.asax and
there is no request for 20 minutes ,it never gets hit!!! Why is that so?

Is there a document which can gives me more infomration in this behaviour?


Thanks
 
S

Scott Allen

HI J-T:

No, I didn't follow up - I honestly I can't think of what the problem
would be. I've tried this myself by setting the timeout to one minute
for the application pool hosting my ASP.NET application, and the
breakpoint I have set in Application_End will be hit.

I wonder why you are not seeing the same behavior...
 
J

J-T

Yes,Scott all the breakpoints get hit except the one which is in
Application_End.I've set "Shut down worker process if idle..." of the
application pool to 1 minue.Never hits the breakpoint in
application_End!!!:)

that's funny
Thanks Scott for following this up.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top