Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Chat About It!  Log Application Shutdown reason...
Previous Previous
 
Next Next
New Post 3/8/2007 7:21 PM
User is offline Frank Corrao
122 posts
www.raiseepilepsy.org
9th Ranked


Re: Log Application Shutdown reason... 
 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
User is offline Mitch Sellers
5372 posts
www.mitchelsellers.com
3rd Ranked




Re: Log Application Shutdown reason... 
Great thanks! 

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

-Mitchel Sellers
MCITP, MCPD, MCTS
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 reccomend 3Essentials for shared hosting and BaseCamp for project management
 
New Post 4/22/2007 1:08 PM
User is offline Vicenç Masanas
1389 posts
www.disgrafic.com
6th Ranked








Re: Log Application Shutdown reason... 

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


Disgrafic.com
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Chat About It!  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.

 


Integral Hosting | DNN only $14.95/month
Experienced .NET hosting on Windows 2003, ASP.NET 1.1 & 2.0, MSSQL with real technical support.
www.integralhosting.com
Aricie
Aricie is one of the French pioneers and experts in DotNetNuke technology.
www.aricie.com
AFUEGO!
Looking for Free DNN Hosting?
www.AFUEGO.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP