473,406 Members | 2,710 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Deploying 2.0 WebSites

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

Jun 25 '07 #1
5 1482
You are correct except #2. If you moving aspx files then you do not have
precompiled DLLs unless you added some DLL as a reference.

aspx and vb files compiled on a fly by asp.net. But if you wish you can
precompile your application then you do not need to move aspx or vb files.
George.
"daokfella" <jj******@hotmail.comwrote in message
news:11**********************@c77g2000hse.googlegr oups.com...
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

Jun 25 '07 #2
While I prefer the new methodology of web sites, there is the option to use
a Web Application project rather than a Web Site project. The WAP follows
a similar 2003 project set of complication and rollout rather than the direct
copy/publish of .net 2.0.

http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx has more information.

-dl

--
David R. Longnecker
http://blog.tiredstudent.com

GYou are correct except #2. If you moving aspx files then you do not
Ghave precompiled DLLs unless you added some DLL as a reference.
G>
Gaspx and vb files compiled on a fly by asp.net. But if you wish you
Gcan precompile your application then you do not need to move aspx or
Gvb files.
G>
GGeorge.
G>
G"daokfella" <jj******@hotmail.comwrote in message
Gnews:11**********************@c77g2000hse.googleg roups.com...
G>
>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

Jun 25 '07 #3
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.

Jun 25 '07 #4
Also, remember that VS 2005 SP1 includes WAP
as the default without needing a separate install.

With it, you get to choose the number and names of the dll's.


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/
======================================
"David R. Longnecker" <dl*********@community.nospamwrote in message
news:46************************@msnews.microsoft.c om...
While I prefer the new methodology of web sites, there is the option to use a Web Application
project rather than a Web Site project. The WAP follows a similar 2003 project set of
complication and rollout rather than the direct copy/publish of .net 2.0.

http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx has more information.

-dl
GYou are correct except #2. If you moving aspx files then you do not
Ghave precompiled DLLs unless you added some DLL as a reference.
GGaspx and vb files compiled on a fly by asp.net. But if you wish you
Gcan precompile your application then you do not need to move aspx or vb files.
GGGeorge.
G"daokfella" <jj******@hotmail.comwrote in message
Gnews:11**********************@c77g2000hse.googleg roups.com...
G>
>>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


Jun 25 '07 #5
Ahh, good call; forgot about that.

-dl

--
David R. Longnecker
http://blog.tiredstudent.com

JLAlso, remember that VS 2005 SP1 includes WAP
JLas the default without needing a separate install.
JLWith it, you get to choose the number and names of the dll's.
JL>
JLJuan T. Llibre, asp.net MVP
JLasp.net faq : http://asp.net.do/faq/
JLforos de asp.net, en español : http://asp.net.do/foros/
JL======================================
JL"David R. Longnecker" <dl*********@community.nospamwrote in
JLmessage
JLnews:46************************@msnews.microsoft .com...
>While I prefer the new methodology of web sites, there is the option
to use a Web Application project rather than a Web Site project. The
WAP follows a similar 2003 project set of complication and rollout
rather than the direct copy/publish of .net 2.0.

http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx has more
information.

-dl

GYou are correct except #2. If you moving aspx files then you do
not
Ghave precompiled DLLs unless you added some DLL as a reference.
GGaspx and vb files compiled on a fly by asp.net. But if you wish
you
Gcan precompile your application then you do not need to move aspx
or vb files.
GGGeorge.
G"daokfella" <jj******@hotmail.comwrote in message
Gnews:11**********************@c77g2000hse.google groups.com...
G>
>>>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

Jun 25 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: tuuky | last post by:
My team is in the process of building a .NET Windows Application that we plan to ship to clients on cd format for a local install. We were planning on using the MSDE version of SQL as the data...
4
by: tonyz.wrightz | last post by:
Hi, I have used the setup wizard to build an installer that installs my asp.net application. Problem is, at my current job, they have an alternative web folder at the root level (to clarify, at...
5
by: RCS | last post by:
I am trying to deploy an app to a WLBS cluster. We've been testing on our QA WLBS cluster. In VS.NET 2K3, I typically use the "Copy Project" button to copy the project to the next tier. This is the...
4
by: LiamCo | last post by:
I want to deploy an asp.net application but I want the installer to be able to specify the website that it goes into at install time. The current installer always installs to the default website. ...
4
by: john | last post by:
I think some of the changes to Asp.net are rediculous. Take the ability to deploy source code to production that is compiled on the fly. If this is such a great model, why not distribute your...
0
by: dm1608 | last post by:
Can someone tell me the correct way to setup my WebProject so that I can add an Installer project to my solution. I have a web project folder for a website that I have called C:\Websites\AFD. ...
0
by: geek-y-guy | last post by:
I have a "newbie" deployment question. I want to confirm what's involved in deploying a web created with Visual Web Developer Express Edition to a production Server2003/IIS 6 server. The...
4
by: jobs | last post by:
Works great on my client when I test from vs.net 2005. Howevever, when I deploy to the web server, I get this error: remotely and local from the web server. An error has occurred while...
8
by: =?Utf-8?B?V2hpc2tleVJvbWVv?= | last post by:
I am trying to copy files and folders onto a production machine (Windows 2003 web edition -- we had to install the .NetFramework 2.0 on it). I wasn't even sure which files to copy for a ASP.NET...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.