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 11 1220
Hi J-T:
You can pick just the pieces / projects you need from EL - no need to
swallow the whole pill.
--
Scott http://www.OdeToCode.com/blogs/scott/
On Fri, 3 Jun 2005 09:36:41 -0700, "J-T" <J-*@microsft.com> wrote: 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
But as far as I know all tghe application blocks are kind of dependant on
the Configuration block.Is that true?
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:o0********************************@4ax.com... Hi J-T:
You can pick just the pieces / projects you need from EL - no need to swallow the whole pill.
-- Scott http://www.OdeToCode.com/blogs/scott/
On Fri, 3 Jun 2005 09:36:41 -0700, "J-T" <J-*@microsft.com> wrote:
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
That is true.
--
Scott http://www.OdeToCode.com/blogs/scott/
On Fri, 3 Jun 2005 11:10:52 -0700, "J-T" <J-*@microsft.com> wrote: But as far as I know all tghe application blocks are kind of dependant on the Configuration block.Is that true?
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message news:o0********************************@4ax.com.. . Hi J-T:
You can pick just the pieces / projects you need from EL - no need to swallow the whole pill.
-- Scott http://www.OdeToCode.com/blogs/scott/
On Fri, 3 Jun 2005 09:36:41 -0700, "J-T" <J-*@microsft.com> wrote:
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
So it means that I have to use configuration block as well.I need kind of
independant one.
Thanks
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:s7********************************@4ax.com... That is true.
-- Scott http://www.OdeToCode.com/blogs/scott/
On Fri, 3 Jun 2005 11:10:52 -0700, "J-T" <J-*@microsft.com> wrote:
But as far as I know all tghe application blocks are kind of dependant on the Configuration block.Is that true?
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message news:o0********************************@4ax.com. .. Hi J-T:
You can pick just the pieces / projects you need from EL - no need to swallow the whole pill.
-- Scott http://www.OdeToCode.com/blogs/scott/
On Fri, 3 Jun 2005 09:36:41 -0700, "J-T" <J-*@microsft.com> wrote:
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
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
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:s7********************************@4ax.com... That is true.
-- Scott http://www.OdeToCode.com/blogs/scott/
On Fri, 3 Jun 2005 11:10:52 -0700, "J-T" <J-*@microsft.com> wrote:
But as far as I know all tghe application blocks are kind of dependant on the Configuration block.Is that true?
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message news:o0********************************@4ax.com. .. Hi J-T:
You can pick just the pieces / projects you need from EL - no need to swallow the whole pill.
-- Scott http://www.OdeToCode.com/blogs/scott/
On Fri, 3 Jun 2005 09:36:41 -0700, "J-T" <J-*@microsft.com> wrote:
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
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...
--
Scott http://www.OdeToCode.com/blogs/scott/
On Sat, 4 Jun 2005 13:37:36 -0700, "J-T" <J-*@microsft.com> wrote: 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
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message news:s7********************************@4ax.com.. . That is true.
-- Scott http://www.OdeToCode.com/blogs/scott/
On Fri, 3 Jun 2005 11:10:52 -0700, "J-T" <J-*@microsft.com> wrote:
But as far as I know all tghe application blocks are kind of dependant on the Configuration block.Is that true?
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message news:o0********************************@4ax.com ... Hi J-T:
You can pick just the pieces / projects you need from EL - no need to swallow the whole pill.
-- Scott http://www.OdeToCode.com/blogs/scott/
On Fri, 3 Jun 2005 09:36:41 -0700, "J-T" <J-*@microsft.com> wrote:
>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 >
Do you run your ASP.NET application in windows 2003 and IIS 6.0?
Thanks
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:kt********************************@4ax.com... 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...
-- Scott http://www.OdeToCode.com/blogs/scott/
On Sat, 4 Jun 2005 13:37:36 -0700, "J-T" <J-*@microsft.com> wrote:
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
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message news:s7********************************@4ax.com. .. That is true.
-- Scott http://www.OdeToCode.com/blogs/scott/
On Fri, 3 Jun 2005 11:10:52 -0700, "J-T" <J-*@microsft.com> wrote:
But as far as I know all tghe application blocks are kind of dependant on the Configuration block.Is that true?
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message news:o0********************************@4ax.co m... > Hi J-T: > > You can pick just the pieces / projects you need from EL - no need to > swallow the whole pill. > > -- > Scott > http://www.OdeToCode.com/blogs/scott/ > > On Fri, 3 Jun 2005 09:36:41 -0700, "J-T" <J-*@microsft.com> wrote: > >>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 >> >
Yes - I use Win2003 on my development machine.
--
Scott http://www.OdeToCode.com/blogs/scott/
On Sat, 4 Jun 2005 18:51:05 -0700, "J-T" <J-*@microsft.com> wrote: Do you run your ASP.NET application in windows 2003 and IIS 6.0?
Thanks
I start the application from VS 2003,the application starts ,but it never
bring the aspx page up!!! then when I enter http://localhost/myapp/mypage.aspx,it is there and works fine.In this way I
can not debug it.Can it be the problem?
Thanks
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:7s********************************@4ax.com... Yes - I use Win2003 on my development machine.
-- Scott http://www.OdeToCode.com/blogs/scott/
On Sat, 4 Jun 2005 18:51:05 -0700, "J-T" <J-*@microsft.com> wrote:
Do you run your ASP.NET application in windows 2003 and IIS 6.0?
Thanks
Hmm - can you set a break point in an ASPX page?
--
Scott http://www.OdeToCode.com/blogs/scott/
On Sun, 5 Jun 2005 16:37:25 -0700, "J-T" <J-*@microsft.com> wrote: I start the application from VS 2003,the application starts ,but it never bring the aspx page up!!! then when I enter http://localhost/myapp/mypage.aspx,it is there and works fine.In this way I can not debug it.Can it be the problem?
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.
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:21********************************@4ax.com... Hmm - can you set a break point in an ASPX page?
-- Scott http://www.OdeToCode.com/blogs/scott/
On Sun, 5 Jun 2005 16:37:25 -0700, "J-T" <J-*@microsft.com> wrote:
I start the application from VS 2003,the application starts ,but it never bring the aspx page up!!! then when I enter http://localhost/myapp/mypage.aspx,it is there and works fine.In this way I can not debug it.Can it be the problem? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Brian Alexander |
last post by:
Hello;
I'm curious to know how people preserve exceptions that arise in a try
... finally block. Consider this example:
try:
getResource()
doSomething()
finally:
alwaysFreeResource()
|
by: chenchang |
last post by:
Hi, experts. i write a simple program to test EH in G++:
void throwfunction()
{
throw "test";
}
class A
{
int i;
|
by: PCC |
last post by:
I am using the Exception Managment Application Block on Windows Server 2003
Enterprise and .NET v1.1.
If I use the block with an ASP.NET web wervice or in a web application I get
the following...
|
by: Kevin Jackson |
last post by:
In the following code snippet, will the finally block be executed when the
throw is executed in the catch block???? I'm assuming it will.
catch (Exception e)
{
// if...
|
by: Alex |
last post by:
Hi.
What would happen if an exception occurs inside a Finally block and at the
same time inside the try another exception was thrown without been handled
by any catch?
Alejandro.
|
by: Kevin Yu |
last post by:
is it a bad programming design to throw exception in the try block then
catch it??
|
by: Vadivel Kumar |
last post by:
I've a problem in handling a custom exception
The following is my custom exception class:
public class AppException : public Exception
{
public AppException (string message, Exception...
|
by: bobueland |
last post by:
Sometimes the best way to understand something is to understand the
mechanism behind it. Maybe that is true for exceptions. This is a model
I have right now (which probably is wrong)
1. When a...
|
by: TC |
last post by:
Hey All,
I posted this to the Crypto users group and forgot to add the VB.Net users
group. I apologize for any confusion.
I have been testing a try / catch / finally block and purposely...
|
by: Ralf Jansen |
last post by:
For logging purposes i want to determine if the current executing code is
running in an ~exceptionhandling context~. I need no details about the exception
just if an exception has been thrown and...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
| |