DEPLOYEMNT!!!

V

Vai2000

Hi All, I have a doubt on WS. Initial deployment of an asp.net 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 asp.net 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 asp.net app in the bin? (if no aspx pages has changed)

TIA
 
D

Dm.

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"
enableViewState="False"%>
page header at deployment:
<%@ Page language="c#" AutoEventWireup="false"
Inherits="inquiry.confirmation" enableViewState="False"%>

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


Regards,
Dm.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top