Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8497401
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:06:57+00:00 2026-06-11T00:06:57+00:00

I work on a big asp.net entity framework web application with a lot of

  • 0

I work on a big asp.net entity framework web application with a lot of EDMX (actually 10, later, more than 30). Each EDMX has his own connection string.
When I deploy, my app, I want to change these connection strings. I can replace them with

xdt:Transform="Replace"

But that I need is to replace only a part of the attribut “connectionString”.

If my connection string is :

      <add name="DemosEntities" connectionString="metadata=res://*/Demos.csdl|res://*/Demos.ssdl|res://*/Demos.msl;provider=Devart.Data.Oracle;provider connection string=&quot;User Id=user;Password=password;Home=OraClient11g_home1;Data Source=VDN131DEV15;Persist Security Info=True;ClientId=CLOEE2&quot;" providerName="System.Data.EntityClient" />

I just want to replace VDN131DEV15 with another string on all my connection strings.

Possible with web.config transformation ?

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T00:06:58+00:00Added an answer on June 11, 2026 at 12:06 am

    There is no Transform operation defined that will allow you to replace a part of the attribute value rather than the whole value.

    I think you would need to write a custom build task to apply an xslt to the file in order to do what you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

we are making an web application using some big asp.net web toolkit. At the
Our web application started out as a big, honkin' ASP.NET AJAX 'page' with oodles
I work in a lot of ASP.NET webforms projects. Since im not a big
I am using ASP.NET MVC 2 and C# with Entity Framework 4.0 to code
I have an ASP.NET web application that I am making and I am thinking
I'm more of a asp.net web app dev, I came across my first side
Our team is developing a rather big ASP.NET web project which initially started in
I've read a lot of discussions about web site vs web applications in asp.net
I work in the ui of a quite big MFC application. We tried to
I'm working on a big ASP.NET MVC site, a commerce service sold to customers.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.