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

  • SEARCH
  • Home
  • 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 6846157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:35:16+00:00 2026-05-27T00:35:16+00:00

We have a legacy ASP.NET web site (not web application, so I can freely

  • 0

We have a legacy ASP.NET web site (not web application, so I can freely edit the code) where I’m pretty sure that the live code doesn’t match the version we have in source control.

I have to make a small change where I move the logic of a method to a webservice.

So the old method was something like:

public byte[] CreatePivot(DataTable D, string PivotPath, string Parms)
{
 ...LOGIC!
}

The new method is going to be something like:

public byte[] CreatePivot(DataTable D, string PivotPath, string Params)
{
       ConsoleApplication4.PivotService.Service1 pivotService = new ConsoleApplication4.PivotService.Service1();
       byte[] bob = pivotService.CreatePivot(D, PivotPath, Params);
}

When referencing the new service the following is added to the web.config…

<applicationSettings>
        <ConsoleApplication4.Properties.Settings>
            <setting name="ConsoleApplication4_PivotService_Service1" serializeAs="String">
                <value>http://aservice.com/PivotWebservice.asmx</value>
            </setting>
        </ConsoleApplication4.Properties.Settings>
    </applicationSettings>

Is it possible to add a reference to the new service without redeploying? Is the only needed change the addition to the web.config or is there something more to it?

Edit:

I see that there is a App_Webreferences folder in the directory of the live site with a folder for each web service. This folder has a .disco, discomap and .wsdl file in it. Maybe it’ll work if I copy those files across too.

  • 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-05-27T00:35:16+00:00Added an answer on May 27, 2026 at 12:35 am

    So, to recap, your production site doesn’t match your “local source”. Are you using source control? Doesn’t sound like it.

    In any case, you want to do software development in your production site, right? Just edit and go, no testing, no “deployment”?

    Yeah, you can do that. It’s your choice.

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

Sidebar

Related Questions

Currently I have some legacy ASP.NET 2.0 code that uses the ASP Xml web
I have a legacy ASP.Net web application that is basically used to process web
We have some legacy ASP.NET code that detects if a request is secure, and
I've been dealing with a legacy asp.net 2.0 web site that was originally setup
I have a Asp.net web application running with the following config setting. <xhtmlConformance mode=Legacy/>
I have an unconventional legacy asp.net 1.1 web app that uses the src attribute
I have a legacy (haha) ASP.Net Webforms Web Site Project in Visual Studio 2008
We have a legacy ASP.NET webforms application that we're engaged in stabilising and removing
We have a legacy ASP.net powered site running on a IIS server, the site
So I've started to add Entity Framework 4 into a legacy web application (ASP.NET

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.