473,657 Members | 2,409 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1497
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******@hotma il.comwrote in message
news:11******** **************@ c77g2000hse.goo glegroups.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******@hotma il.comwrote in message
Gnews:11******* *************** @c77g2000hse.go oglegroups.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...@hotma il.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*********@co mmunity.nospamw rote in message
news:46******** *************** *@msnews.micros oft.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******@hotma il.comwrote in message
Gnews:11******* *************** @c77g2000hse.go oglegroups.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*********@co mmunity.nospamw rote in
JLmessage
JLnews:46****** *************** ***@msnews.micr osoft.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******@hotma il.comwrote in message
Gnews:11****** *************** *@c77g2000hse.g ooglegroups.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
1673
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 storage, but I'm not sure if it will support multiple users in a network. Can anyone share with me what is the standard way of distributing such applications?
4
2136
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 the Default Web Site level, there is also another Web Folder). When I run the installer, it only wants to install the site under the Default Web Site, and doesn't appear to have any way of selecting the alternative location.
5
1426
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 first ASP.NET app that is going on the production cluster. I've been writing a testing (and deploying from dev to the QA cluster) quite a bit. When I try to copy I get "Internal Server Error" from BOTH servers (I try copying to each...
4
1461
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. I have heard that there is a fix for this available, can anyone point me towards it.
4
1635
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 source code with your Windows Forms apps too? John Powell
0
899
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. I also added an Installer project to my solution. The directory shows up under C:\Websites\AFD\AFDInstaller. Of course, now when I deploy my solution, it includes the AFDInstaller
0
1004
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 project to be deployed has a typical membership database created through the administrative interface ("App_Data/ASPNETDB.MDF"). For that dB to work on the webserver, does SQL Server Express Ed. have to be installed on the webserver as well?
4
6698
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 establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error...
8
2812
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 2.0 application. But I followed the steps I do for a 1.1 ASP.Net applications. I get the following error message when I try to run it. The application run fine in VS2005 on the development machine. It is set up properlly as far as IIS 6.x is...
0
8395
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7330
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6166
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4155
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.