I have a Sitecore Visual Studio project that is using Team Development for Sitecore and is set up according to best practices outlined in this article: http://jockstothecore.com/setting-up-a-sitecore-solution-part-1-visual-studio-and-projects/. It has a web project that lives outside of the Sitecore root and at build time it copies the necessary files over to my local Sitecore installation. It works great. I know that if I have changes that need to be made to the Sitecore configuration I can do that using include files in the App_Config/Include folder and those changes will also be copied over to my local Sitecore installation and will be incorporated in to the Sitecore site. However, what do I do if I need to make other changes to the ASP.NET configuration? (non-Sitecore config) According to the article I referenced above I can't have a web.config file in my web project because at build time it would copy that file over my web.config in my Sitecore installation and that would mess everything up. I'm looking for some way to be able to make ASP.NET config changes in my local web project and at build time have those config changes propogate over to my Sitecore installation. Ideally I don't want to touch the web.config file in the local Sitecore installation. One of the goals of this setup is to not have any of the local Sitecore files in source control and be able to completely wipe out and re-install the local Sitecore installation at any time. Any ideas?
How to handle ASP.NET configuration changes in a Sitecore project that uses TDS?
530 Views Asked by Corey Burnett At
1
There are 1 best solutions below
Related Questions in WEB-CONFIG
- IIS 7 ERR_CONNECTION_TIMED_OUT only with public IP
- Nop Commerce automatically redirecting to different URL
- How do you declare or use variables in web.config
- ASP.NET Webforms project is reading from a web.config in a completely different solution on my PC when debugging
- Issue with maxStringContentLength on WCF
- IIS Rewrite problems - catching all .php files
- Just want to change url in address bar but backend request will be same?
- How to store cookie permanently
- Web Config ConnectionStringCollection limitations
- Enterprise Library 6 - dynamically change log file name
- Deploying a classic ASP site from IIS 6 (2003 WS) to IIS 7 (WS 2008). Tried Manual deploy and msdeploy
- Exception of type 'System.Web.HttpUnhandledException' was thrown. while modifying web.config file
- Convert 404/500 or any other error code to 301
- Can't deny access to role in web.config authorization element
- how to authorize a specific page to be accessed anonymously in asp.net MVC using the web.config?
Related Questions in SITECORE
- Web Forms For Marketers (WFFM) Rich Text Field Type
- Incomplete sitecore publish ( presentation details missing )
- Is there an easy way to fake a Sitecore Device for testing?
- Lost uCommerce interface within Sitecore
- Unable to use WFFM using Sitecore MVC
- How to get all the fields from Sitecore
- 'Sitecore.Forms.Mvc.Models.FormModel' vs. 'Sitecore.Mvc.Presentation.RenderingModel'
- Sitecore WFFM checkbox values on Create Item
- How to add an session value to a custom webforms for markters save action?
- Set a field in all the children of an item
- Trouble With Sitecore Web.config Patch File
- Sitecore link with icon
- Sitecore Inheriting an Item from Branches (Inheriting complete structure)
- Sitecore 7.2 publish increment the data serialization folder Size
- In Sitecore 7.5 how to programmatically create media items with language versioning?
Related Questions in SITECORE7
- How to add an session value to a custom webforms for markters save action?
- Set a field in all the children of an item
- Sitecore link with icon
- Sitecore Inheriting an Item from Branches (Inheriting complete structure)
- Sitecore 7.2 publish increment the data serialization folder Size
- In Sitecore 7.5 how to programmatically create media items with language versioning?
- Sitecore.Context.Database.GetItem() not working in sitecore events
- Sitecore: Setting the default culture/landing page for a Page Editor
- Sitecore 7.2 sometimes publishes to the wrong target
- Getting Stack Overflow when performing Linq to Sitecore Query
- Add nofollow attribute to each <a> tag with external link after the page was rendered
- Programmatically add a new field in a template in sitecore
- Sitecore read a specific field under section "Data" from an Item
- Sitecore Glass Mapper Null reference exception on some model properties
- Identify page nodes that have specific layout controller
Related Questions in TDS
- Sitecore, wrong type of inherited template field created by TDS
- TDS and TFS integration
- Visual studio 2012 TDS project not loading in VS2015
- The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel', but this dictionary requires a model item of type
- How to handle ASP.NET configuration changes in a Sitecore project that uses TDS?
- Glass Mapper, TDS Code Generation and Rich Text field in Sitecore
- Sitecore Continous Integration with TDS + TFS Cloud --> .target file not found
- get an Uknown error when trying to executing a long query in NodeJs using mssql module
- Automatic publish of Sitecore content at end of TDS CI deploy
- TDS .update package fails with object reference error - 8.0 update 2
- Is there any way to tell TDS not to sync security settings field for Sitecore?
- Receiving error when using mix ecto.create
- Sitecore TDS on deploy cannot find map.xml
- Team development Sitecore postscript
- Project Doesn't Build After Installed Sitecore TDS
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The short answer is that you cannot patch asp.net configuration like you would sitecore config sections using include files. Having said that, I would add web.config to VS and use Slow Cheetah to add config transforms per build configuration per environment. I don't see any harm in adding config files to source control especially when you have custom settings for each environment.