wait,
it is possible to just copy over files from one directory to the ASP.NET app
deployment dir. This will "deploy" the app. You can use VS to do this, or
xcopy, or drag-n-drop from explorer, Or a perl script, or whatever. It's
just copying.
What the original poster was asking about was the JIT-compiling of ASPX and
ASMX files, I suppose. When this happens, the aspnet worker process
actually preprocesses the ASPX or ASMX, then launches csc.exe (or vbc.exe,
etc) and compiles the code into a new DLL, randomly named. The random name
is making Black Ice cough, according to the OP. This is part of the ASP.NET
model for v1.1 and cannot be changed.
For ASP.NET v2.0 ("Whidbey"), there is a possibility to "pre-compile"
websites. This may address your needs. But for v1.1, you will always get
randomly-named DLLs when you include any ASPX or ASMX files in your web app.
-Dino
"Jeff Dillon" <je**@removeemergencyreporting.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
No, not must..just one way.
Reverse-engineer what the Copy Project feature does.
Jeff
"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:e4**************@TK2MSFTNGP15.phx.gbl... Jeff,
Are you telling me that I must use VS.NET and I cannot automate this with
a BAT that calls the C# compiler and uses my Perl ftp procedures to deploy
to the remote hosting service? If so, how do I automate this using VS.Net?
Thanks,
Siegfried
"Jeff Dillon" <je**@removeemergencyreporting.com> wrote in message
news:e4**************@TK2MSFTNGP10.phx.gbl... > Use the Copy Project feature.
>
> Jeff
> "Siegfried Heintze" <si*******@heintze.com> wrote in message
> news:u2*************@TK2MSFTNGP11.phx.gbl...
> > It appears that the automatic compilation feature of ASP.NET causes
> > problems with a security package called Black Ice that my hosting
service > is
> > using.
> >
> > I'm hoping that if I manually compile my web service, I can avoid the
> > randomly named DLLs that ASP.NET creates when I hit my web service after > > FTPing new C# source code.
> >
> > So I used Visual Studio to create a web service on the remote hosting
> > service and that worked. However, I would like to use "make" or write my > > own bat file to compile and deploy my web service.
> >
> > So I tried
> >
> > csc /t:library /r:System.Web.dll = /r:System.Web.Services.dll
> > Service1.asmx.cs
> >
> > and copied the resulting DLL to the bin directory of my web service.
You > > can see the contents of Service1.asmx below in the error message.
> > Now
> when
> > I point me browser to the web service I get the error below.
> >
> > What am I doing wrong?
> >
> > Thanks,
> >
> > Siegfried
> >
>
-------------------------------------------------------------------------= > >
> > ---
> >
> > Description: An error occurred during the parsing of a resource
required = > > to service this request. Please review the following specific parse
error > > details and modify your source file appropriately.=20
> >
> > Parser Error Message: Could not create type 'AnalyzeCase.Service1'.
> >
> > Source Error:=20
> >
> > Line 1: <%@ WebService Language=3D"c#"
> > Codebehind=3D"Service1.asmx.cs"
> >
> > Class=3D"AnalyzeCase.Service1" %>
> >
> > Source File: c:\inetpub\heintze\CaseAssessment\Service1.asmx =A0=A0 =
> >
> > Line: 1=20
> >
> > ________________________________________
> >
> >
>
>