On Jun 25, 2:35 pm, daokfella <jjbut...@hotmail.comwrote:
I'm still stuck on the .dll and bin folder mentality in 1.1. When
deploying a 2.0 web application, there is no web .dll to deploy?
So is this how we deploy in 2.0?
1. Copy the app_code folder
2. Copy the bin directory containing any pre-compiled dlls
3. Move BOTH aspx AND aspx.vb files into the applicable directories
(is this correct?)
If so, we're just duplicating the file system from the development
machine to the production server?
I guess this technically makes my life easier if I fix a particular
bug in a single *.vb file. I can just copy the vb file over (rather
than compiling and copying the entire web.dll over like in 1.1.
Is this all correct? Or am I missing anything?
Jason
Right click on the name of your project at the top of your solution
tree.
Choose "Publish Web Site"
The simple options box that follows will give you several options.
I prefer to develop the app as a "file system" website. Then when I'm
ready to deploy it, I run "Publish Web Site," uncheck "Make this web
site updateable" (this forces stub pages for the aspx pages and rolls
BOTH the aspx and code-behind pages into dll file(s),) and then
publish to a local or intranet folder running IIS (i.e. 'C:\Inetpub
\wwwroot'). Once it's in the IIS folder, I can test hit it with
(
http://localhost). Also, since everything is there, I can also copy
it out to other servers easily, if that's what I need. That always
seems to work very well.