HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Log Application Shutdown reason...Log Application Shutdown reason...
Previous
 
Next
New Post
3/8/2007 7:21 PM
 
mitchel.sellers@gmail.com wrote

Frankt,

That code you posted for the shutdown reasons is very helpful. 

Is it possible that I can port that over to C# an post it on my blog?  I will give credit to this post, I just have a need for something like this in each one of my hosted applications!

 

Have at it!!  Just change the syntax.  I'd use a switch statement myself:

switch (shutdownreason)

{

   case System.Web.ApplicationShutdownReason.BinDirChangeOrDirectoryRename:

shutMessage = "The AppDomain shut down because of a change to the Bin folder or files contained in it."

break;

etc...

}

Also, you may want to take a look at this:

http://weblogs.asp.net/scottgu/archive/2005/12/14/433194.aspx

 

 


Version: DNN 4.4.1
Hosting Provider: 1and1
RAISE
 
New Post
3/8/2007 9:11 PM
 
Great thanks! 

Yeah I was planning on changing the logic around a bit....thanks again!

-Mitchel Sellers
Microsoft C# MVP, MCITP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Consulting Quotes, and DNN Technical Support Services

I recommend PowerDNN and 3Essentials for DotNetNuke Hosting and BaseCamp for project management
 
New Post
4/22/2007 1:08 PM
 

Thanks for this great idea. I added this to core today, so it will be present in next version.


Disgrafic.com
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Log Application Shutdown reason...Log Application Shutdown reason...


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.