473,388 Members | 1,493 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,388 software developers and data experts.

.net deployment

We are making the move to an asp.net three-tier architecture. Ease of
deployment is a big factor. One thing that confuses me is deployment. XCOPY
should be enough. If I have a DAL, BAL and a Presentation Layer and I make a
change to the the business layer and build it on my deployment machine will
simply copying the dll deploy it or does the whole application need to be
rebuilt? Quite often I find that changes don't seem to show up in Visual
Studio until I have built everything.

Also I find code behinds in my Presentation Layer unnecessary as all the
preentation is carried out by CSS. Is there any problem with this. Does it
make a distraction.

Regards, Chris.
Jan 13 '07 #1
2 1258
Chris,
As a general rule (and I am talking specifically about Web Application
Projects here) If you make any changes to only the codebehind or referenced
class libraries (DAL, BAL, whatever) then you only need to copy over the
associated assemblies to the /bin folder of your web app on the server.
If you make changes to the ASPX - the markup, control declarations, etc.
then you need to copy those over as well.
Does that help?
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Chris" wrote:
We are making the move to an asp.net three-tier architecture. Ease of
deployment is a big factor. One thing that confuses me is deployment. XCOPY
should be enough. If I have a DAL, BAL and a Presentation Layer and I make a
change to the the business layer and build it on my deployment machine will
simply copying the dll deploy it or does the whole application need to be
rebuilt? Quite often I find that changes don't seem to show up in Visual
Studio until I have built everything.

Also I find code behinds in my Presentation Layer unnecessary as all the
preentation is carried out by CSS. Is there any problem with this. Does it
make a distraction.

Regards, Chris.
Jan 14 '07 #2

Keep in mind this also:

Data
Biz
Pres
and also there is a "Glue layer" (name is weird, but that's what it is)

The glue is the layer that lives outside of the 3 tiers .... that all the
other tiers reference. My choice of objects in this tier is DataSets.
I'll provide a URL in a second about your choices here.

Lets say you want to display data from a db. Well, your datalayer will have
to create this dataset.
Why not just put it in your dataLayer? Because your pres layer should NOT
reference or know about your dataLayer.

Data references Glue
Biz references Data and Glue
Pres references Biz and Glue
Pres does NOT reference Data.

back to your question, if your biz layer changes, and you don't kill any
contracts, you can usually just deploy it. Sometimes the voodoo gods get in
the way of this.
Go to

spaces.msn.com/sholliday/

click on blog

find the 1.1 article (May 2006 I think it is)
find a url that says "birds eye view".

read that article top to bottom. they discuss the glue layer, they don't
call it that, but its in the article.


"Chris" <no****@nospam.comwrote in message
news:ey**************@TK2MSFTNGP03.phx.gbl...
We are making the move to an asp.net three-tier architecture. Ease of
deployment is a big factor. One thing that confuses me is deployment.
XCOPY
should be enough. If I have a DAL, BAL and a Presentation Layer and I make
a
change to the the business layer and build it on my deployment machine
will
simply copying the dll deploy it or does the whole application need to be
rebuilt? Quite often I find that changes don't seem to show up in Visual
Studio until I have built everything.

Also I find code behinds in my Presentation Layer unnecessary as all the
preentation is carried out by CSS. Is there any problem with this. Does it
make a distraction.

Regards, Chris.


Jan 14 '07 #3

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

Similar topics

2
by: Felix | last post by:
Out of no where I'm starting to get these problems and my Deployment projects won't build anymore. Does anyone have any idea what's causing this? I've tried copying these files from another...
0
by: Mystery Man | last post by:
We want to deploy a large CSharp/SQL Server system. We are successfully using the 'setup project' (under setup and deployment projects) to build our deployed system. With our stored...
4
by: wobbles | last post by:
Hi Everyone, I'm really struggling to get no-touch deployment to work well (if at all, in some cases). Can anyone recommend a good book on this topic? There seem to be a lot of blogs about...
3
by: Steve Brecher | last post by:
VS.NET help on deployment indicates that, while using a deployment project requires administrative access to IIS, " we recommend deploying your project in most cases, because it allows you to take...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
0
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
3
by: al | last post by:
Hi, Can someone please tell me what is exactly zero deployment in VB.NET. Is it that .NET doesn't need to deal with the registry? If that is the case, then why MS introduced class registry? ...
2
by: Bill Nguyen | last post by:
I ran into this error trying to run an app from Publish.htm. I can't find what is wrong with the deployment. Thanks a million Bill -------- PLATFORM VERSION INFO
6
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is...
7
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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...
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...

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.