Web service deployment

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John

    #1

    Web service deployment

    Hi

    I have completed my first web service and have tested it on my local win2k
    server. Now I need to deploy it to a remote server run by a web hosting
    company. Here are my questions;

    - What files do I need to provide them and how and where do these need to be
    installed?

    - Do I need to change the namespace of the web service (from vs default) if
    the location where it is going to be installed is; www.mydomian.com/myapp?

    - How does my local client see and get the reference for the remotely
    installed web service?

    Thanks

    Regards


  • Dale

    #2
    Re: Web service deployment

    Change the namespace for your own sanity, and others who will see the asmx
    page online, only. It isn't required but it'll clean up all that nonsense
    MS forces you to look at.

    use the exampe:

    [WebService(Name space=http://www.mydomain.co m/myaspp)]

    but really the web address can be anything. It doesn't have to resolve and
    is never called upon.

    As for the files, just copy the asmx file, web.config, global.asax if you
    use it, and the BIN folder. Unless you have other library files or
    references you have to copy, that should do it.

    Dale


    "John" <john@nospam.in fovis.co.uk> wrote in message
    news:uShBLBhaEH A.2388@TK2MSFTN GP11.phx.gbl...[color=blue]
    > Hi
    >
    > I have completed my first web service and have tested it on my local win2k
    > server. Now I need to deploy it to a remote server run by a web hosting
    > company. Here are my questions;
    >
    > - What files do I need to provide them and how and where do these need to[/color]
    be[color=blue]
    > installed?
    >
    > - Do I need to change the namespace of the web service (from vs default)[/color]
    if[color=blue]
    > the location where it is going to be installed is; www.mydomian.com/myapp?
    >
    > - How does my local client see and get the reference for the remotely
    > installed web service?
    >
    > Thanks
    >
    > Regards
    >
    >[/color]


    Comment

    • John

      #3
      Re: Web service deployment

      Is there no way to protect the source?

      Thanks

      Regards


      "Dale" <daleDeletepres @msndotcomNot.N et> wrote in message
      news:O9CVENhaEH A.556@tk2msftng p13.phx.gbl...[color=blue]
      > Change the namespace for your own sanity, and others who will see the asmx
      > page online, only. It isn't required but it'll clean up all that nonsense
      > MS forces you to look at.
      >
      > use the exampe:
      >
      > [WebService(Name space=http://www.mydomain.co m/myaspp)]
      >
      > but really the web address can be anything. It doesn't have to resolve[/color]
      and[color=blue]
      > is never called upon.
      >
      > As for the files, just copy the asmx file, web.config, global.asax if you
      > use it, and the BIN folder. Unless you have other library files or
      > references you have to copy, that should do it.
      >
      > Dale
      >
      >
      > "John" <john@nospam.in fovis.co.uk> wrote in message
      > news:uShBLBhaEH A.2388@TK2MSFTN GP11.phx.gbl...[color=green]
      > > Hi
      > >
      > > I have completed my first web service and have tested it on my local[/color][/color]
      win2k[color=blue][color=green]
      > > server. Now I need to deploy it to a remote server run by a web hosting
      > > company. Here are my questions;
      > >
      > > - What files do I need to provide them and how and where do these need[/color][/color]
      to[color=blue]
      > be[color=green]
      > > installed?
      > >
      > > - Do I need to change the namespace of the web service (from vs default)[/color]
      > if[color=green]
      > > the location where it is going to be installed is;[/color][/color]
      www.mydomian.com/myapp?[color=blue][color=green]
      > >
      > > - How does my local client see and get the reference for the remotely
      > > installed web service?
      > >
      > > Thanks
      > >
      > > Regards
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Dale

        #4
        Re: Web service deployment

        You're copying the asmx file, not the asmx.cs file. The asmx file doesn't
        do anything except point to the dll in the BIN folder. That provides
        limited source protection since any CLR app can be disassembled with tools
        provided with the framework SDK.

        Dale

        "John" <john@nospam.in fovis.co.uk> wrote in message
        news:uWakyYhaEH A.996@TK2MSFTNG P12.phx.gbl...[color=blue]
        > Is there no way to protect the source?
        >
        > Thanks
        >
        > Regards
        >
        >
        > "Dale" <daleDeletepres @msndotcomNot.N et> wrote in message
        > news:O9CVENhaEH A.556@tk2msftng p13.phx.gbl...[color=green]
        > > Change the namespace for your own sanity, and others who will see the[/color][/color]
        asmx[color=blue][color=green]
        > > page online, only. It isn't required but it'll clean up all that[/color][/color]
        nonsense[color=blue][color=green]
        > > MS forces you to look at.
        > >
        > > use the exampe:
        > >
        > > [WebService(Name space=http://www.mydomain.co m/myaspp)]
        > >
        > > but really the web address can be anything. It doesn't have to resolve[/color]
        > and[color=green]
        > > is never called upon.
        > >
        > > As for the files, just copy the asmx file, web.config, global.asax if[/color][/color]
        you[color=blue][color=green]
        > > use it, and the BIN folder. Unless you have other library files or
        > > references you have to copy, that should do it.
        > >
        > > Dale
        > >
        > >
        > > "John" <john@nospam.in fovis.co.uk> wrote in message
        > > news:uShBLBhaEH A.2388@TK2MSFTN GP11.phx.gbl...[color=darkred]
        > > > Hi
        > > >
        > > > I have completed my first web service and have tested it on my local[/color][/color]
        > win2k[color=green][color=darkred]
        > > > server. Now I need to deploy it to a remote server run by a web[/color][/color][/color]
        hosting[color=blue][color=green][color=darkred]
        > > > company. Here are my questions;
        > > >
        > > > - What files do I need to provide them and how and where do these need[/color][/color]
        > to[color=green]
        > > be[color=darkred]
        > > > installed?
        > > >
        > > > - Do I need to change the namespace of the web service (from vs[/color][/color][/color]
        default)[color=blue][color=green]
        > > if[color=darkred]
        > > > the location where it is going to be installed is;[/color][/color]
        > www.mydomian.com/myapp?[color=green][color=darkred]
        > > >
        > > > - How does my local client see and get the reference for the remotely
        > > > installed web service?
        > > >
        > > > Thanks
        > > >
        > > > Regards
        > > >
        > > >[/color]
        > >
        > >[/color]
        >
        >[/color]


        Comment

        Working...