Discussion in 'ASP .Net Web Services' started by Vai2000, Mar 10, 2005.

  1. Vai2000

    Vai2000 Guest

    Hi All, I have a doubt on WS. Initial deployment of an app which
    calls a websvc includes copying all the webreferences and proxy files
    (including the .cs files of the proxy)
    If I build a new version of the app and don't change anything in the
    underlying WS or the way it calls it, do I have to copy over all the
    webreferences again to the production box? or I can just copy the .dll file
    of app in the bin? (if no aspx pages has changed)

    Vai2000, Mar 10, 2005
    1. Advertisements

  2. Vai2000

    Dm. Guest

    yes, in case no aspx pages has changed you can just update assembly file.

    moreover, for more secure deployment you can remove codebehind link from
    your aspx and deploy it without any '.cs' or '.asax'
    for instance:

    page header at development:
    <%@ Page language="c#" Codebehind="confirmation.aspx.cs"
    AutoEventWireup="false" Inherits="inquiry.confirmation"
    page header at deployment:
    <%@ Page language="c#" AutoEventWireup="false"
    Inherits="inquiry.confirmation" enableViewState="False"%>

    so just '.aspx' and '.dll' and dont worry.

    Dm., Mar 10, 2005
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. deployemnt means

    , Nov 12, 2007, in forum: ASP .Net
    Mark Rae [MVP]
    Nov 12, 2007