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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesCreating and Testing MVP Custom Module.Creating and Testing MVP Custom Module.
Previous
 
Next
New Post
5/22/2012 4:45 AM
 

Hi,

I have developed a very simple (so far) module and have been unit testing as I go along.

I have the module in the MVP Pattern layout, and the tests running fine in their own project but I want to integrate the module now into DotNetNuke and keep the unit tests.

So I create a folder in the DesktopModules for my module, with the correct name. I then add a Presenters and Models folder and put the relevant pages in them. I then add my view in the root of the folder (I have it in a view folder in it's own project but this seems a bit better for this instance).

I have everything in the same namespace I have checked that but the view can not see the presenter and vice versa so I guess I have done something wrong there.

Can somebody point me in the right direction please so I can see the presenters, models etc from each other. I know I am just doing something really simple wrong but could do with a hand for sure.

Thanks.

JHF

 
New Post
5/23/2012 1:14 AM
 

I have the issue regarding the items not seeing each other sorted out and have added a test project to my solution, however I now have the problem that the TestProject can't seem to see the main dotnetnuke project to reference it.

Am I going about this the wrong way ?

Can I not add the test project to my dotnetnuke project, do I have to be content with just testing the modules separately and then add them into the DNN Module ?

Thanks.

JHF

 
New Post
2/27/2013 1:53 PM
 

What resource did you use to learn MVP for DNN? I'm trying to get started but I'm not finding anything good out there.

Thanks

 
New Post
2/27/2013 9:57 PM
 
Hi fredbutters,

Here's a blog about it: http://www.dotnetnuke.com/Resources/B...

NovaSoftware ---a professional outsourcing company in China .
* More than 6 years' offshore experience in DNN
* Successfully developed 30+ websites , 250+ DNN modules, 50+ sets of Skins/Containers.
* Demo Site:http://dotnetnuke.novasoftware.com/
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesCreating and Testing MVP Custom Module.Creating and Testing MVP Custom Module.


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