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 ExtensionsModulesModulesbest Practices for Team Source Control and DNN Module Devbest Practices for Team Source Control and DNN Module Dev
Previous
 
Next
New Post
6/13/2012 4:26 PM
 

I'm hoping we can get some advice on the subject of setting up source control for internal modules development of DNN modules.  I've already found a few articles and posts related to this subject, but they are a bit dated or assume that the module source is open and would be posted on codeplex.

Here is what we want to do:

  • Allow multiple developers in geographically diverse areas develop against a corporate DNN "dev" instance.
  • Use internal source control (we're licensed for Team Foundation Server)
  • We use a modified version of Christoc's module template and love love love the ability to us MSBuild to automate module packaging.  We'd really like to keep this.
    • Related to this, each module has it's own solution and project file
  • Ideally, we want to code against that dev instance because:
    • Project managers and project stakeholders want to "see" module dev progress
    • It's backed up and secure
    • It keeps all of our code in a single managed place (solving both the "what if my laptop gets run over by a bus" or I decided to work somewhere else" issues.)

It seems like TFS wants us to dev locally and then "check in" code to TFS.  I guess we're looking for some guidance on the best way to setup TFS, local dev and DNN so we can all code either against that single box or our local codes are checked in and build up on the dev machine.

Admittedly, TFS is new to us to we're pecking away at it but hoped a community member (or DNN employee) might have some "this worked and this didn't" advice and guidance for us.

Thanks in advance for any information on this one.



Steven Webster
Manager, Community Platform
F5 Networks, DevCentral
 
New Post
6/17/2013 7:51 PM
 

I'd like the answer to this as well. If you find any interesting resources please pass them along. Thanks.

 
New Post
6/18/2013 1:48 PM
 
I highly recommend dev locally for DNN module development. If you want, automate the process of checkins being pushed to a DEV instance, but doing module development, with multiple developers, hitting on DNN site, in my experience is a HUGE pain in the rear.

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
6/18/2013 2:09 PM
 

I'd agree with Chris that developing on a common site is painful.  You don't want another developer's test to break your dev environment.  And developing remotely is slow and frustrating.

So, if you want that common site to be automatically up-to-date, you'll need to grab the packages that Chris' template produces, put them in the /Install/Module folder of the website, and then send a web request to /Install/Install.aspx?mode=installresources.

To do that in TFS, you'll need to modify the build workflow (the workflow xaml file in the project root's BuildProcessTemplates folder).  There's not a lot of great documentation or guidance there, and xaml files aren't nice to compare in source control.  The alternative is to use a CI server like TeamCity to do the building for TFS.  It's much easier to use and configure.

Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesbest Practices for Team Source Control and DNN Module Devbest Practices for Team Source Control and DNN Module Dev


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