Click here to Skip to main content
Click here to Skip to main content

How to create a dummy development environment of your web based project

, 31 Jul 2012
Rate this:
Please Sign up or sign in to vote.
How to create a dummy development environment of your web based project.

Introduction 

Many times there will be situations where we have to create a dummy development environment so that we can work on new module without affecting the code in VSS.

If some existing changes required by client we can open the VSS project and make the changes and upload it. 

Since our dummy development environment is not at all connected to VSS the new module code will not go to the server. 

How to Create a dummy environment of your Web based project: 

  1. First go to your work folder where you placed your project code base. 
  2. Copy paste it in the same work folder and rename the folder with a new name, e.g., DummyProjectFolder.  
  3. Go to the DummyProjectFolder, right click ProjectName.csproj file and open it in notepad. Press CTRL+F and search for localhost. Rename ProjectName to DummyProjectName. 
  4. Create a virtual directory for the DummyProjectName and bind it to your dummy project path. 
  5. Double click on Solution. Remove it from VSS by going to File -> Solution Control -> Change Source Control and click on Unbind. By this the dummy project will be removed from Source control.  
  6. Right click on Solution and rename it to DummyProjectName. If there is a web application in the solution the right click and rename it to DummyWebApplication.  
  7. Create a new database and name it as Dummydb. Back and restore Originaldb on your Dummydb.
  8. Change connectionstrings in config files.
  9. Change the file paths(Log file paths etc.) in Config files. 

Note:

The above mentioned steps are common steps for creating dummy environment. The steps will increase depending on the settings of your project.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

$andesh M Patil
Software Developer (Senior)
India India
Sandesh has a 6 years of total professional experience in a software development. He first handled the computer in his school days when he was in 7th std working on Lotus. In summer vacation, the school authorities allowed him and other students to use the computers for practicing Lotus and playing different games Smile | :) .
 
He has done computer engineering. Currently he is working in Net 4.0 framework. Even though he is using .Net 4.0 framework for development but still he has not got a chance to work with newer technologies like MVC, WCF etc. However he always try to learn these technologies from his end and eagerly waiting for a chance to work with the newer technologies like MVC, WCF and Silverlight etc.

Comments and Discussions

 
GeneralWhy such a manual method for doing this? Pinmemberkaschimer31-Jul-12 2:24 
GeneralRe: Why such a manual method for doing this? PinmemberSChristmas31-Jul-12 2:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 31 Jul 2012
Article Copyright 2012 by $andesh M Patil
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid