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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...How To Setup for Multiple Developers with TFS & only 1 DB?How To Setup for Multiple Developers with TFS & only 1 DB?
Previous
 
Next
New Post
5/23/2011 2:30 PM
 
1. Should we put the whole DNN install folder in source control, or just the specific folders for our modules and skins?

 

Specs:
  • DNN 5.6.2 Enterprise.
  • Enterprise company environment.
  • Multiple developers.
  • All share 1 database for development (so it's important when a new developer sets up their computer for DNN that their installation does not make DB changes).
  • Visual Studio 2010 (VS 2008 is also available)
  • SQL Server Management Studio 2005
  • Source Control: TFS (Team Foundation Server)
  • We branch and version.

These posters recommend putting just the specific folders into source control:
http://www.dotnetnuke.com/Resources/F...
http://social.msdn.microsoft.com/Foru...

2. What are the pros/cons?

  • It would be nice to have a fast check in, get latest, etc by only adding the specific folders for DesktopModules and Portals/Skins.
  • Some of what I read suggests another benefit is different developers can be on different versions of DNN and that does not slow down the other developers by forcing them to upgrade before they can use the project again.
  • However, since we share the 1 single database, I assume that forces us all be on the same version. Is this correct?

3. I assume that if the admin installs 5.6.2 on the server, then first developer installs 5.6.2 on their computer, then DNN will see that the DB is already installed, on the same version, and not change anything. However then what happens when later a second developer installs 5.6.3 on their computer, then DNN will see that the DB is already installed, but it's a different version, and change things, which could interfere with the first developer.

4. Anyone else use branching like this? Have an answer?
http://www.dotnetnuke.com/Resources/F...

 
New Post
5/24/2011 2:50 PM
 
Depends:

1. For distributed DNN portal/host development with a lots of custom developed dnn modules we are adding whole DNN web in TFS. All developers have to setup local dev IIS in same way, and all are using same SQL database. Just take a care that each developer  CLOAK in TFS all dnn CACHE folders (we do not need this in TFS). In this case we had problems with huge portal folders with abnormal number of files and GB's of images. This is also problem for VS2010 that you can solve by making this huge folders hidden on file system and distribute them in other way (SyncToy). Main benefit is that designers and webmasters are also using TFS for their work.

2. For custom dnn module development we are adding in TFS just Web Project Application with DNN modules from DesktopModules (and related form VS solution). Each developer has its own DNN installation (vanilla DNN) with separate SQL database. This is simple and it is working very fast but there is no so much benefits for designers and webmasters in this case.

Regards
 
New Post
12/8/2011 10:50 AM
 

Hi,

We have recently decided to do the same thing. 

  • We created a solution with one Website which points to the DNN (6.1.1 ) website installation on our local machine. (example: e:\ Web-Root\DNN_Dev\) 
  • Then we created different projects for different modules and put them in the DesktopModules folder. 
  • We included these projects in our solution so in the end we had one website in our solution and several module projects. 
  • Then we configured some of the module in the DNN website from our localhost, http://localhost/DNN_Dev/, so after these changes in our DNN website we had a few pages and some modules running.
  • Then we put every thing in the solution in the TFS.
  • We excluded some things from going into TFS; like we did not put the complete bin folder of the DNN website, we just put the DLL files in the bin folder which were not related to our modules.
  • After doing all these steps, we downloaded this solution on another developer's machine at the same "e:\ Web-Root\DNN_Dev\" location.
  • Then we configured the IIS to point to this solution folder with the same address, http://localhost/DNN_Dev 
  • Now when we run the website on the second developer's machine, we see the same DNN website as we initially configured.


Now some other information: 

  • We are using only one DNN database for all of our developers, there are 10 developers in out team right now.
  • Each of the developer machine is connected to the same TFS solution, so all the developers have the same DNN website and the same modules. so every one see the same website interface, pages, modules etc.
  • We are using VS 2010 for development purpose.
  • We are using SQL Server 2008 
  • The reason we want to have the complete DNN website in TFS is so that all the Images, Scripts, Skins etc are synced to every developer's machine. Also when we upgrade the DNN version in one machine and check in the code, all the developers' DNN websites should also be updated by getting the latest code.


Now we have tested with this configuration and every things seems to work except one problem. We configured a new module on the website on one developer's machine and when we tried to view it on another's , the module was not there. I assumed that DNN only keeps all these configurations in the DB and nothing is changes on the file system, so when ever we change any thing in the DB, it should be immediately reflected on the website, meaning, any website using that db should reflect the change.

When we tried to figure out the problem, we came across some articles which suggested that DNN maintains some cash for some core stuff like pages or modules etc. so we even tried to clear all the cashes from the second developer and first developer's machine, but nothing worked. The strangest thing was that the next day the module was visible and working on both developer's machines without any more changes.

Now I would like to know if any one knows what is happening here? If any one has some suggestion how we can do this or what should we do to sync the module and other configuration done in one machine to all other machines with out waiting for one day? Or any other suggestion or alternative


Regards

Mojeeb

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...How To Setup for Multiple Developers with TFS & only 1 DB?How To Setup for Multiple Developers with TFS & only 1 DB?


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