Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0IUpgradeableIUpgradeable
Previous
 
Next
New Post
7/10/2006 3:50 PM
 
From what I understand, IUpgradeable now works in the latest 4.3.x codeline as it is based on the Event queue framework - good job!

I would like to implement this but I need an example - do any of the latest modules support it? Whats the best example?

Thanks

Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
7/10/2006 5:10 PM
 
I did some research - there's nothing about it in the Module Dev guide, and nothing on these forums. There is a mention on the Event Queue blog (John's?) about it - so I assume it is working now, but I looked at the modules in 4.3.1 and the only one in Module Defs that had that interface ticked was the Forums module. Upon closer inspection it was the old implementation with a comment - I assume it is used in the same manner now?


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
7/10/2006 6:37 PM
 
Rodney, I'll be working on this over the next two weeks. Email me offline if you work this out before then. I am going to ask the core members because I have to cover this in the revised Module Developers Guide that I am working on.


Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
7/16/2006 3:34 PM
 
Ok - will do. I am looking at this this week - I just want to confirm before I spent too much time on it - it is definitely possible in 4.3.x now?


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
7/16/2006 8:08 PM
 

it will not solve the problem of upgrading from a ASP.NET 1.1 module to a ASP.NET 2.0 module that does not have a .dll and simply has code in the App_Dev folder. The problem is the IUpgradable only runs after the application restart. So at one point the old ASP.NET 1.1 .dll and the new code are both running at the same time and if they are in the same namespace in the same class there will be conflict.

Otherwise it does work and here is sample code:

Public Function UpgradeModule(ByVal Version As String) As String Implements Entities.Modules.IUpgradeable.UpgradeModule
Select Case Version
Case "01.00.00" ' this is the module version from the *.dnn file
If File.Exists(ApplicationMapPath & "\bin\" & "YourModule.dll") Then
File.Delete(ApplicationMapPath & "\bin\" & "YourModule.dll")
End If
End Function



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0IUpgradeableIUpgradeable


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out