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.0Module Private Assembly NamesModule Private Assembly Names
Previous
 
Next
New Post
1/22/2008 12:44 PM
 

I've been reading up on how to develop modules for DNN 4.x. and I went through the Module Development Guide.  When you create the compiled DLLs, does the name of the dll HAVE to be App_Subcode_<module name>.dll?  Maybe it's because I've been developing for DNN 3.x, but it seems like a "weird" way to have your assemblies named for distribution.  Also, I didn't see a SqlDataProvider dll created for the module either, despite setting up my module the way the guide dictated (business layer code in the App_Code folder, web pages in the DesktopModules/<moduleName> folder).

Is this how all 3rd party modules for DNN 4.x have their dlls named?  Can it be changed?  Why is there a .compiled file that accompanies the dll?  Is this a .net 2.0 thing?  Why can't modules I create look more like the DNN core module dlls that get built (i.e. DotNetNuke.Modules.Documents.dll)?

 

 
New Post
1/22/2008 2:48 PM
 

Use this method and you can name your assemblies:

Using Web Application Projects (WAP)



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
1/24/2008 10:41 PM
 

To follow up to Michaels comment, this is more a change surrounding DNN moving to a Web Site model from the traditional VS2003 dll model.  When VS2005 was released it included one format for websites, which caused tremendous backlash from developers so they had to create WAP (Web Application Projects, Michael has a great tutorial on it). 

DNN Core team, being the developers (and rather intelligent marketers) they are and knowing how we all want to play with our shiny new tools on our favorite workbench, released DNN 4.0 the same day VS2005 came out.  It was an exciting day (not for my wife...) They had to make a decision, a) wait and hope to maintain developer support and have the perfect tool for the job or b) sky rocket both products by being available on the same day and deal with it later, or provide meaningful alternatives.  They chose b and it seems to have paid off.  Microsoft released WAP shortly after and made it the standard in VS2005 SP1 and VS2008. 

The module guide that shows the App_SubCode was released the same day (So we all knew how to code our modules for DNN, plus there was this thing called aspnet_merge or something of that sort we could use to compile a group of these granular DLL's into a single assembly.  I think shortly afterwards Michael really took the lead in providing better ways to code modules on his website.  I don't think that documentation has been updated since. 

bah, sorry for the rant. 


------------- w00t!
 
New Post
1/25/2008 2:19 PM
 

The DotNetNuke Core has to use the WSP model for the main project so that it works with Visual Web Developer Express. Remember the majority of people use Visual Web Developer Express... it is free :)

I urge developer's to consider the fact that the name of an assembly is meaningless.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
1/25/2008 2:28 PM
 

Ahhh yes, completly forgot about that point... thanks Michael. 

WAP wasn't available at time of release either. ;) 

 

 


------------- w00t!
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Module Private Assembly NamesModule Private Assembly Names


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