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

Is Delta Publish & Deploy for ASP.NET 2.0 Possible?

I am using VS 2005 to Publish my ASP.NET 2.0 Website with the following:

- Not allowing this precompiled site to be updatable
- Use fixed naming and single page assemblies
- Not Enable strong naming on precompiled assemblies

As it is, I get around 300 files in the bin directory and it takes almost 10
minutes to copy them.

I am using code-behind and was wondering if I change the code-behind of only
1 page, can I copy only a subset of the bin files, ie. the assembly of the
page that changed and the associated .compiled file. I have tried it
without success. Maybe I am missing another file?

I prefer not to make the publish updateable so I don't have to copy the
extra .aspx files and I want to keep the code-behind and use the precompiled
performance increase.

Thanks,

Doug
Mar 6 '06 #1
2 1497
Doug,

Yes, you should be able to deploy just the subset of .dll files you need.
The file you are most likely missing is the application's main .dll file
which will change as you change each page. That file should bear the same
name as the web project itself.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Douglas J. Badin" <DJ*****@newsgroups.nospam> wrote in message
news:eP**************@TK2MSFTNGP10.phx.gbl...
I am using VS 2005 to Publish my ASP.NET 2.0 Website with the following:

- Not allowing this precompiled site to be updatable
- Use fixed naming and single page assemblies
- Not Enable strong naming on precompiled assemblies

As it is, I get around 300 files in the bin directory and it takes almost
10 minutes to copy them.

I am using code-behind and was wondering if I change the code-behind of
only 1 page, can I copy only a subset of the bin files, ie. the assembly
of the page that changed and the associated .compiled file. I have tried
it without success. Maybe I am missing another file?

I prefer not to make the publish updateable so I don't have to copy the
extra .aspx files and I want to keep the code-behind and use the
precompiled performance increase.

Thanks,

Doug

Mar 6 '06 #2
Hi Douglas,

For the ASP.NET 2.0 precompilation, if you choose the "non-update" and
"fixed name", the compiler will precompile all the page's aspx template
file as well as the codebehind code files. So the resulting aspx file is
just a placeholder(no html markup or code directives in it). And after such
precompilation, there will results to some precompiled assemblies together
with some xxxx.compiled files in the bin dir. These files are used to mapp
the aspx page to their precompiled assembly. We need to make sure these
files are also updated when we update the assembies. In addition, make sure
the page your modified or updated does not have relation or reference to
other assembly which require recompilation of other page/component.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Mar 7 '06 #3

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

Similar topics

3
by: alexk | last post by:
I've lost a link I had to a site that had published the delta between the .net 1.1 and 2.0 for the entire class hierarchy ... If someone recalls the web-site I've described - please publish the...
2
by: msnews.microsoft.com | last post by:
I'm looking for a one-step publish to server solution. I'm developing my web app in VS.NET and use my local IIS for testing. When ready to publish the latest release, I'd like to be able to hit...
0
by: Robert Warnestam | last post by:
Hello, I have some problems deploying Crystal Reports. I'm using Visual Studio 2005 Beta 1. In this version Crystal Reports (9.7.3500.0) is included. I created a small test application...
3
by: Rich | last post by:
Hello, I have been using OneClick deployment to deploy apps at my workplace. Works great! But now I have to deploy additional files with the app, like chms, rtfs. How do I publish the...
21
by: Al Christoph | last post by:
I posted this last week end in the MSDN forums. No luck there. Let's see what the experts here have to say:-)))) I have a rather convoluted project. The distributable will come in eight...
2
by: GaryDean | last post by:
Regardless if I use the Publish feature of vs2005 or the addin Web Deployment Project I can't seem to get the necessary files deployed. For instance my bin directory has several .licx files but...
3
by: Ludwig Wittgenstein | last post by:
Hello, all. Does anyone know of documentation about implementing a publish- subscribe model between a .NET Web service provide and a Java service consumer? I have this problem I am trying to...
2
by: parez | last post by:
Hi, I am developing a .net 3.0 win forms(C#) application using vs2008. I am also using 3rd party controls which are installed in the the GAC. After i publish the application on the different...
0
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgRGVzYXJyb2xsbw==?= | last post by:
Hi misters USING VS 2005 in XP, VB.NET, CLICK ONCE I have a Publish of my application, AdministradorWin.exe, in a folder D:\ClickOnce\instalacionExpedienteElectronico (of a server in my...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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: 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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.