Re: simple question

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Curt_C [MVP] (software_AT_darkfalz.com)
Date: 02/20/04


Date: Fri, 20 Feb 2004 09:18:25 -0600

If I understood you corrrectly...
If all you did was modify the .CS of a page, just recomile the site on your
machine and upload the .DLL from your compile to the live site's BIN folder.
That should be all you need to do.

-- 
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Allan Rojas" <ndrtkr@thecqgl.com> wrote in message
news:%23yZsUO89DHA.3068@tk2msftngp13.phx.gbl...
> Hi there, i'm having this problem and i hope someone can help me out.
>
> We have this WebApplication in ASP.NET; we work on it in our local
> webserver. When we're done, we must upload the application to the FTP
> located in our hosting location.
>
> The first time it was a full-upload of the project files, and a minor
change
> to the Web.Config in order to access the right databse. But now, if i make
a
> MINOR change to a code-behind file, how do i replicate the changes without
> having to recompile the whole project and make the whole process again?
>
> * I though that if i replaced the .cs / .vb file and reloaded the
> application, it would detect the change and recompile it automatically...
> but it won't work.
>
> * Then i though that if i deleted the DLL file in the BIN subdirectory, it
> would recompile and generate it... but it won't work either.
>
> * Finally, i though that if i deleted the aspx files and tried to access
the
> application, the server would realize it was no longer available; and if i
> added the files again and tried to access it again, it would recompile
it...
> but i was just dreaming...
>
> I'm just starting to work with ASP.NET and i simply can't believe that the
> only way i can get my MINOR change reflected is by recompiling the WHOLE
> application or replacing the pre-compiled DLL ...
>
> Any suggestion or tip ? Thanks in advance.
>
>


Relevant Pages

  • Re: simple question
    ... the whole project for each minor change, no matter how minor it is... ... we must upload the application to the FTP ... >> having to recompile the whole project and make the whole process again? ... >> only way i can get my MINOR change reflected is by recompiling the WHOLE ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Migration of ASP Application from W2K to Win2003
    ... I will take your advice and recompile ALL VB6 DLLs and then post an update ... > for example, I've seen interop start with a native IIS API, use a .Net ... > removes IIS from the picture and instead focuses on the COM interop. ... > a) the VB6 DLL which is called from the classic ASP code works fine, ...
    (microsoft.public.windows.server.security)
  • Re: simple question
    ... you shouldn't have ANY .vb files out on your production server. ... html you just need deploy that .aspx file to have your change take effect. ... require the .dll to be recompiled and deployed. ... But now, if i make a> MINOR change to a code-behind file, how do i replicate the changes without> having to recompile the whole project and make the whole process again? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: constantly re-uploading (unchanged) DLL as site breaks (1.1)
    ... open up VS 2003, re-build the solution, and upload the "new" DLL. ... Are you sure that uploading the dll doesn't just cause the app to recycle? ... If so, then uploading the dll isn't solving the problem, restarting it is. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: DLL exporting with __declspec or .DEF file?
    ... implicitly linked DLL changes. ... considering converting our library code to a DLL. ... implicit linking seems to be the simpliest to implement but I'm ... recompile the EXE's that implicitly link to the export lib. ...
    (microsoft.public.vc.language)