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?
534 views Asked by Corey Burnett At
1
There are 1 answers
Related Questions in WEB-CONFIG
- Log to Dynatrace using Serilog and web.config .NET Framework API
- trying to get value from secret file .NET 4.8 (VB)
- .NET Core : disable parent application web.config inheritance
- IIS URL Rewrite 2 different URLs in one Rule using Conditions, is it possible?
- Azure web App is ignoring web.config URL rewrite
- CustomHeaders specified in web.config in angular application not reflected in response
- HTTP Error 413.1 - Request Entity Too Large issue
- ASP Net Core IIS error on any settings. Webconfig AspNetCoreModuleV2 problem?
- Web.config transform not being performed in .NetCore 6 webapi service
- Override machine.config's config section in web.config
- web.config oldsite to newsite 301, domain/root to new page AND old pages to oldpages
- Error deploying .NET Framework 4.8 project on Windows Server 2019: "targetFramework" attribute issue
- Web.config transfor is adding 
 How to ignore linebreak during transformation
- web.config - How to serve jpg/png as webp and avif if exist in IIS web.config?
- Illegal characters in path on http request
Related Questions in SITECORE
- How to Customize Sitecore Copy operation
- Joomla 5..0.3 delay in search
- What's the event for when a Branchitem has finished creating?
- Convert Sitecore data sources to Guid, programatically
- How to specify an existing ItemId While uploading Media Items to Sitecore XM Cloud using UploadMedia mutation?
- Sitecore to WordPress migration
- Why changing template in Sitecore using powershell script creates a version in English language even if there no version exists?
- I want to convert sitecore search facet filter from multiple to single
- Sitecore - select fields and write to an excel sheet by changing the field names in Powershell
- Coveo for Sitecore: Precondition failed: The parameter 'p_ApiKey' must not be an empty string
- In Sitecore 10, why would my Content Editor Panel not open
- Not loading CSS files after login to my sitecore instance
- AWS - Amazon.Extensions.S3.Encryption.AmazonS3EncryptionClientBase is attempting to implement an inaccessible interface
- Cannot use import statement outside a module - jest + nextj.js
- To get the sitecore username who created sitepage
Related Questions in SITECORE7
- Not loading CSS files after login to my sitecore instance
- How to add insert option Programmatically in C# Sitecore
- Could not retrieve Coveo for Sitecore license
- Sitecore 7 replace a page with children
- How to run Validation on all the items at once (Sitecore7.2)?
- How to make URL for each tab in a page in sitecore 7.0?
- Sitecore item DisplayName is valid used as a page title
- How to get the rendered Sitecore page html from a pipeline without making a webrequest to the application itself?
- Add a new type of Unordered List to RAD Editor
- Http error 500.19 with no error message?
- Unable to login sitecore CMS wirh Admin username
- Can i develop helix projects in sitecore 7+
- CD-CM setup with merge replication
- Sitecore experience editor interface for scripts
- Sitecore Datefield - Year only for Content Editors
Related Questions in TDS
- TDS-Protocol with pre-login failure message when connecting to Amazon RDS (SQL Server)
- Roblox tds game
- Project Doesn't Build After Installed Sitecore TDS
- Receiving error when using mix ecto.create
- Is there any proper example for LOGIN7 on TDS protocol?
- Why LOGIN7 returns empty reply using TDS protocol
- Server Error in '/' Application after build solution in Visual Studio
- An error appeared when opening TDS Solution: 'The operation has timed out' occurred while checking for your license
- Call curl between two project in one server Laravel
- Global TDS config change
- TDS Hedgehog Sync Project with Sitecore popup only shows an empty frame
- Node library for TDS 7.0 (SQL Server 7)
- How to fix a TDS Hedgehog deploy error: 'Exception The given key was not present in the dictionary.'?
- JDBC failed connectivity to MSSQL server after TCP handshake
- Change TDS Item Deployment by build configuration
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?
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)
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.