|
|
|
start date: Fri, 03 Aug 2007 23:37:58 -0000,
posted on: microsoft.public.dotnet.framework.aspnet
back
| Thread Index |
|
1
pamela fluente
|
|
2
Juan T. Llibre
|
|
3
Juan T. Llibre
|
|
4
pamela fluente
|
|
5
Alexey Smirnov
|
|
6
pamela fluente
|
Can overwrite via FTP an ASP file of precompiled application ?
I have created and published a precompiled application.
If I replace an ASP file, e.g. Default.ASP, with a new copy, by
sending it via FTP, do I do something WRONG?
Do I spoil the precompiled application or I can replace any file as I
wish?
Can I also just drag all the application files to replace the old
version ?
-P
Date:Fri, 03 Aug 2007 23:37:58 -0000
Author:
|
Re: Can overwrite via FTP an ASP file of precompiled application ?
re:
!> If I replace an ASP file, e.g. Default.ASP, with a new copy, by
!> sending it via FTP, do I do something WRONG?
ASP doesn't pre-compile.
ASPX ( ASP.NET 2.0 ) Applications do pre-compile.
re:
!> Do I spoil the precompiled application or I can replace any file as I wish?
For ASP.NET 2.0 apps, you'll neeed to pre-compile the app again,
assuming you have marked the site as updatable.
re:
!> Can I also just drag all the application files to replace the old version ?
Yes, as long as you've re-compiled them.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
======================================
"pamela fluente" wrote in message news:1186184278.585496.74640@57g2000hsv.googlegroups.com...
>I have created and published a precompiled application.
>
> If I replace an ASP file, e.g. Default.ASP, with a new copy, by
> sending it via FTP, do I do something WRONG?
>
> Do I spoil the precompiled application or I can replace any file as I
> wish?
>
> Can I also just drag all the application files to replace the old
> version ?
>
> -P
>
Date:Fri, 3 Aug 2007 22:50:08 -0400
Author:
|
Re: Can overwrite via FTP an ASP file of precompiled application ?
On 4 Ago, 04:50, "Juan T. Llibre" wrote:
> re:
> !> If I replace an ASP file, e.g. Default.ASP, with a new copy, by
> !> sending it via FTP, do I do something WRONG?
>
> ASP doesn't pre-compile.
> ASPX ( ASP.NET 2.0 ) Applications do pre-compile.
>
> re:
> !> Do I spoil the precompiled application or I can replace any file as I wish?
>
> For ASP.NET 2.0 apps, you'll neeed to pre-compile the app again,
> assuming you have marked the site as updatable.
>
> re:
> !> Can I also just drag all the application files to replace the old version ?
>
> Yes, as long as you've re-compiled them.
>
> Juan T. Llibre, asp.net MVP
> asp.net faq :http://asp.net.do/faq/
> foros de asp.net, en espaƱol :http://asp.net.do/foros/
> ======================================
>
> "pamela fluente" wrote in messagenews:1186184278.585496.74640@57g2000hsv.googlegroups.com...
> >I have created and published a precompiled application.
>
> > If I replace an ASP file, e.g. Default.ASP, with a new copy, by
> > sending it via FTP, do I do something WRONG?
>
> > Do I spoil the precompiled application or I can replace any file as I
> > wish?
>
> > Can I also just drag all the application files to replace the old
> > version ?
>
> > -P
You are right I was talking about ASP.NET 2.0 and the extension is
ASPX
(gor mixed up), but you understood anyway well my question.
So assuming I have a site at
fpt://Mysite/MyAspNetApp
and I am working home at c:\MyProjects\Mysite/MyAspNetApp
Can I just drag my files from the work folder into Internet Explorer
to
replace one or more files on the server ?
And what does "precompiled" really means. Is the precompilation info
stored into the ASPX or where ??
-P
Date:Sat, 04 Aug 2007 03:53:35 -0700
Author:
|
Re: Can overwrite via FTP an ASP file of precompiled application ?
On Aug 4, 12:53 pm, pamela fluente wrote:
> Can I just drag my files from the work folder into Internet Explorer
> to
> replace one or more files on the server ?
>
yes
Note, that the web.config file might be different
> And what does "precompiled" really means. Is the precompilation info
> stored into the ASPX or where ??
http://www.odetocode.com/Articles/417.aspx
Date:Sat, 04 Aug 2007 04:32:31 -0700
Author:
|
Re: Can overwrite via FTP an ASP file of precompiled application ?
re:
!> Can I just drag my files from the work folder into Internet Explorer
!> to replace one or more files on the server ?
You can use FTP to update your files. Just copy all the files and directories.
The only thing you have to keep in mind, since you stated that
!> I have created and published a precompiled application
....is that pre-compiled applications can be set to updatable...or not.
If you set the application to be non-updatable, you can't just copy files.
You have to pre-compile the application and mark it a updatable.
*Then* you can copy the updated files.
re:
!> And what does "precompiled" really means.
These articles give you a good backgrounder on precompilation :
http://blogs.msdn.com/walzenbach/archive/2007/07/19/daily-net-feeds-asp-net-2-0-advanced-day-9.aspx
http://blogs.msdn.com/walzenbach/archive/2007/07/20/daily-net-feeds-asp-net-2-0-advanced-day-10.aspx
re:
!> Is the precompilation info stored into the ASPX or where ??
Special files are created, by the pre-compilation process, which have the ".compiled" extension.
The compilation references are stored in them.
One important thing to know is that the articles cited above describe
the *manual* pre-compilation process, i.e., from the command line.
You can achieve the exact same result by "publishing" the web site from the VS 2005 IDE.
Note : this cannot be done if you're using an ASP.NET "Project".
Publishing an ASP.NET "Project" doesn't give you the precompilation option.
You can either use the "Web Application" model ( there's a context menu to "convert to Web Application"
when you right click the app in the Solution Explorer ) or create a "Web Site" from scratch.
If you create a "web site", it will be placed by default in :
drive:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\WebSiteName
If you create a "Web Site" in VS 2005, and then you "Publish" the website,
to any directory you designate, you'll be presented with the options you need.
If you accept the default directory, the "published" files will be placed
in a subdirectory of your Website's file directory, named "PrecompiledWeb"
Examining the files in that directory will tell you all you need to know.
Don't edit those files manually, though.
If you need to make changes, make them in the VS 2005 IDE and republish the web site.
I hope this makes the process more understandable for you.
If you have any questions...post them.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
======================================
"pamela fluente" wrote in message news:1186224815.249904.216320@g4g2000hsf.googlegroups.com...
On 4 Ago, 04:50, "Juan T. Llibre" wrote:
> re:
> !> If I replace an ASP file, e.g. Default.ASP, with a new copy, by
> !> sending it via FTP, do I do something WRONG?
>
> ASP doesn't pre-compile.
> ASPX ( ASP.NET 2.0 ) Applications do pre-compile.
>
> re:
> !> Do I spoil the precompiled application or I can replace any file as I wish?
>
> For ASP.NET 2.0 apps, you'll neeed to pre-compile the app again,
> assuming you have marked the site as updatable.
>
> re:
> !> Can I also just drag all the application files to replace the old version ?
>
> Yes, as long as you've re-compiled them.
>
> Juan T. Llibre, asp.net MVP
> asp.net faq :http://asp.net.do/faq/
> foros de asp.net, en espaol :http://asp.net.do/foros/
> ======================================
>
> "pamela fluente" wrote in messagenews:1186184278.585496.74640@57g2000hsv.googlegroups.com...
> >I have created and published a precompiled application.
>
> > If I replace an ASP file, e.g. Default.ASP, with a new copy, by
> > sending it via FTP, do I do something WRONG?
>
> > Do I spoil the precompiled application or I can replace any file as I
> > wish?
>
> > Can I also just drag all the application files to replace the old
> > version ?
>
> > -P
You are right I was talking about ASP.NET 2.0 and the extension is
ASPX
(gor mixed up), but you understood anyway well my question.
So assuming I have a site at
fpt://Mysite/MyAspNetApp
and I am working home at c:\MyProjects\Mysite/MyAspNetApp
Can I just drag my files from the work folder into Internet Explorer
to
replace one or more files on the server ?
And what does "precompiled" really means. Is the precompilation info
stored into the ASPX or where ??
-P
Date:Sat, 4 Aug 2007 07:38:21 -0400
Author:
|
Re: Can overwrite via FTP an ASP file of precompiled application ?
On 4 Ago, 13:38, "Juan T. Llibre" wrote:
> re:
> !> Can I just drag my files from the work folder into Internet Explorer
> !> to replace one or more files on the server ?
>
Than you very much, Juan
for the throughout anf helpful explanation.
-P
Date:Sat, 04 Aug 2007 12:33:28 -0700
Author:
|
|
|