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.0Using Web Application Projects with DNN 4.xUsing Web Application Projects with DNN 4.x
Previous
 
Next
New Post
6/1/2006 2:25 AM
 

as an alternative to this approach, I've posted my idea of dev. environment:

http://vladan.strigo.net/Projects/tabid/75/Default.aspx

 

maybe it can help you resolve your issues?


Thanks,
Vladan Strigo
NETMedia

My website: Vladan.Strigo.NET

Vladan.Strigo.NET: Projects
* Advanced VS2005 development approach - BlankModule
* DNN & Microsoft Ajax best practices guidance

Vladan.Strigo.NET: Resources
* Comprehensive list of DNN 4 Module development resources

 
New Post
6/1/2006 11:00 AM
 

Our solutions are almost identical.  I updated my sample solution to demonstrate yours as well.  The main difference is that in yours when working on a module you only have that project open.  I added a solution file to by download that demonstrating what you are recommending.  This way you can just open your module or you can open the DNN solution and the module.

Since are solutions are practically identical your solution runs into the same issues as mine when referencing ascx controls from the main project

The other concern I have with both of our solutions is writing to the main bin folder.  This could cause issues in VS2003.  I am hoping that this has been correct in 2005 but time will tell I guess.

Download my updated sample and let me know if this is accurate.

Thanks for the input

http://www.corderman.com/DNN1.zip

 

Bert

 
New Post
6/2/2006 2:20 AM
 

The main diffrence is that it is in a seperate solution, that thing alone has many advantages (the modules are self-contained, it's faster to build/debug them....)

Ill try the controls thing this afternoon and let you know.

As for the bin folder - that's one of the things I dislike the most about this - but I have some alternatives to which I'm looking into. As for the problems of this kind of build - there will be no problems (I didn't have them in VS2003 either), only if you select your references to be copy local= false, this way you module does not create a conflict because it doesnt transfer the DotNetNuke (or any other DNN) dll to the main bin - just itself

Ill try it and let you know.

Btw. I'm so excited about this, I'm already working on Visual Studio Templates for this solution

 


Thanks,
Vladan Strigo
NETMedia

My website: Vladan.Strigo.NET

Vladan.Strigo.NET: Projects
* Advanced VS2005 development approach - BlankModule
* DNN & Microsoft Ajax best practices guidance

Vladan.Strigo.NET: Resources
* Comprehensive list of DNN 4 Module development resources

 
New Post
6/2/2006 6:14 AM
 
Bertcord wrote

I had to add a few DLL references and add some import statements

Hi, also trying my first steps with the discussed proposals, I wonder why you (and I) have to add those 'imports' statements. I am rather new to VB.net, but as far as I understand, using any class or module-method somewhere down in a namespace hierarchy needs to have declared that hierarchy by the imports statement.

So, when you install the DNN-Starterkit and the sample widget module, there is the ProcessModuleLoadException-Statement in the Page_Load event of the controls, but no 'imports DotNetNuke.Services.Exceptions'.

When you convert that widget-module to WAP, this part does not compile, unless you add the imports statement (ProcessModuleLoadException is a public method of the public module Exceptions).

Why?

Not that I am not able to add those statements (there are more of them), I just would like to understand it. What is the difference to the Standard-DNN-Installation in the WebSite Project to the WAP so I do have to delcare imports...?

Does anybody have an idea?

Thank you, Wolfgang 

 
New Post
6/2/2006 7:21 AM
 

Actually it's just a matter of some references.

If you've added the correct references and compiled DNN initially before that, you should be ok - check my tutorial, and especially the part about adding a reference to DotNetNuke.

If it does not work, contact me by mail and I can see how I can help you to make it work.

Ou and, adding imports is an optional thing to remove the clutter of repeated namespaces from your code and to help you work faster, but if you don't add them and code a full path to your class each time, that works too.

HTH

 


Thanks,
Vladan Strigo
NETMedia

My website: Vladan.Strigo.NET

Vladan.Strigo.NET: Projects
* Advanced VS2005 development approach - BlankModule
* DNN & Microsoft Ajax best practices guidance

Vladan.Strigo.NET: Resources
* Comprehensive list of DNN 4 Module development resources

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Using Web Application Projects with DNN 4.xUsing Web Application Projects with DNN 4.x


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