473,614 Members | 2,508 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

deployment issue

I am using simple ASP.NET page using C#.NET

I have developed

ABCD.aspx page and
ABCD.aspx.cs

when I compiled it has creatred ABCD.dll in my Bin directory.

Now I want to deply this to customer site I guess I will need to distribute
only aspx and .dll right?

my aspx page reads as below

<%@ Page language="c#" Codebehind="ABC D.aspx.cs" Inherits="ABCD. WebForm1"
SmartNavigation ="true" AutoEventWireup ="false" %>

What changes I will need to do so that I can send only .dll and aspx page.

thanks in advance


Nov 19 '05 #1
6 1221
abcd wrote:
I am using simple ASP.NET page using C#.NET

I have developed

ABCD.aspx page and
ABCD.aspx.cs

when I compiled it has creatred ABCD.dll in my Bin directory.

Now I want to deply this to customer site I guess I will need to distribute
only aspx and .dll right?

my aspx page reads as below

<%@ Page language="c#" Codebehind="ABC D.aspx.cs" Inherits="ABCD. WebForm1"
SmartNavigation ="true" AutoEventWireup ="false" %>

What changes I will need to do so that I can send only .dll and aspx page.

thanks in advance

Nothing...just deploy the 2 files...the CodeBehind attribute is only
used by VS.NET, means nothing to the runtime; you don't have to modify
any aspx files to 'deploy'....all you have to do is compile and
distribute the aspx, dll (into the bin folder) and the other core files
(web.config, global.asax, etc.)

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
Nov 19 '05 #2
Thanks Craig

is it necessary to change

Codebehind="ABC D.aspx.cs"

to

Codebehind="ABC D.dll"

Thanks

"Craig Deelsnyder" <cdeelsny@NO_SP AM_4_MEyahoo.co m> wrote in message
news:O3******** ******@TK2MSFTN GP12.phx.gbl...
abcd wrote:
I am using simple ASP.NET page using C#.NET

I have developed

ABCD.aspx page and
ABCD.aspx.cs

when I compiled it has creatred ABCD.dll in my Bin directory.

Now I want to deply this to customer site I guess I will need to
distribute only aspx and .dll right?

my aspx page reads as below

<%@ Page language="c#" Codebehind="ABC D.aspx.cs"
Inherits="ABCD. WebForm1" SmartNavigation ="true" AutoEventWireup ="false"
%>

What changes I will need to do so that I can send only .dll and aspx
page.

thanks in advance

Nothing...just deploy the 2 files...the CodeBehind attribute is only used
by VS.NET, means nothing to the runtime; you don't have to modify any aspx
files to 'deploy'....all you have to do is compile and distribute the
aspx, dll (into the bin folder) and the other core files (web.config,
global.asax, etc.)

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET

Nov 19 '05 #3
abcd,

You don't need to do anything.

An easy way of releasing a project is to:

-Set up a new Virtual Directory pointing to a new folder that will just
contain the release of your application.

-When your solution is fully built, go to Project -> Copy Project, and
set the Destination Project Folder and Path to those you just created
(the VD and the physical path).

When you copy the project, it will only include the files necessary to
run it. This way you don't need mess around making sure you go the right
files.

/RT
abcd wrote:
Thanks Craig

is it necessary to change

Codebehind="ABC D.aspx.cs"

to

Codebehind="ABC D.dll"

Thanks

"Craig Deelsnyder" <cdeelsny@NO_SP AM_4_MEyahoo.co m> wrote in message
news:O3******** ******@TK2MSFTN GP12.phx.gbl...
abcd wrote:
I am using simple ASP.NET page using C#.NET

I have developed

ABCD.aspx page and
ABCD.aspx. cs

when I compiled it has creatred ABCD.dll in my Bin directory.

Now I want to deply this to customer site I guess I will need to
distribute only aspx and .dll right?

my aspx page reads as below

<%@ Page language="c#" Codebehind="ABC D.aspx.cs"
Inherits="AB CD.WebForm1" SmartNavigation ="true" AutoEventWireup ="false"
%>

What changes I will need to do so that I can send only .dll and aspx
page.

thanks in advance


Nothing...jus t deploy the 2 files...the CodeBehind attribute is only used
by VS.NET, means nothing to the runtime; you don't have to modify any aspx
files to 'deploy'....all you have to do is compile and distribute the
aspx, dll (into the bin folder) and the other core files (web.config,
global.asax , etc.)

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET


Nov 19 '05 #4
Ryan you have explained it very niccely. Thanks.

is .pdb also a part of deployment?

When I said copy project it also copied this file too...

Also which .NET framework I should install on the client machine (if .net
framerwork is not existing)...wha t are the minimal .NET components required
to run simple ASP.NET page....

thanks


"Ryan Ternier" <rt******@icomp asstech.com> wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
abcd,

You don't need to do anything.

An easy way of releasing a project is to:

-Set up a new Virtual Directory pointing to a new folder that will just
contain the release of your application.

-When your solution is fully built, go to Project -> Copy Project, and set
the Destination Project Folder and Path to those you just created (the VD
and the physical path).

When you copy the project, it will only include the files necessary to run
it. This way you don't need mess around making sure you go the right
files.

/RT
abcd wrote:
Thanks Craig

is it necessary to change

Codebehind="ABC D.aspx.cs"

to

Codebehind="ABC D.dll"

Thanks

"Craig Deelsnyder" <cdeelsny@NO_SP AM_4_MEyahoo.co m> wrote in message
news:O3******** ******@TK2MSFTN GP12.phx.gbl...
abcd wrote:

I am using simple ASP.NET page using C#.NET

I have developed

ABCD.aspx page and
ABCD.aspx.c s

when I compiled it has creatred ABCD.dll in my Bin directory.

Now I want to deply this to customer site I guess I will need to
distribut e only aspx and .dll right?

my aspx page reads as below

<%@ Page language="c#" Codebehind="ABC D.aspx.cs"
Inherits="ABCD. WebForm1" SmartNavigation ="true" AutoEventWireup ="false"
%>

What changes I will need to do so that I can send only .dll and aspx
page.

thanks in advance

Nothing...ju st deploy the 2 files...the CodeBehind attribute is only used
by VS.NET, means nothing to the runtime; you don't have to modify any
aspx files to 'deploy'....all you have to do is compile and distribute
the aspx, dll (into the bin folder) and the other core files (web.config,
global.asa x, etc.)

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET



Nov 19 '05 #5
No, .pdb files are for the debugger -- a deployment build should not contain
these files.

"abcd" <ab**@abcd.co m> wrote in message
news:eu******** ******@tk2msftn gp13.phx.gbl...
Ryan you have explained it very niccely. Thanks.

is .pdb also a part of deployment?

When I said copy project it also copied this file too...

Also which .NET framework I should install on the client machine (if .net
framerwork is not existing)...wha t are the minimal .NET components
required to run simple ASP.NET page....

thanks


"Ryan Ternier" <rt******@icomp asstech.com> wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
abcd,

You don't need to do anything.

An easy way of releasing a project is to:

-Set up a new Virtual Directory pointing to a new folder that will just
contain the release of your application.

-When your solution is fully built, go to Project -> Copy Project, and
set the Destination Project Folder and Path to those you just created
(the VD and the physical path).

When you copy the project, it will only include the files necessary to
run it. This way you don't need mess around making sure you go the right
files.

/RT
abcd wrote:
Thanks Craig

is it necessary to change

Codebehind="ABC D.aspx.cs"

to

Codebehind="ABC D.dll"

Thanks

"Craig Deelsnyder" <cdeelsny@NO_SP AM_4_MEyahoo.co m> wrote in message
news:O3******** ******@TK2MSFTN GP12.phx.gbl...

abcd wrote:

>I am using simple ASP.NET page using C#.NET
>
>I have developed
>
>ABCD.asp x page and
>ABCD.aspx. cs
>
>when I compiled it has creatred ABCD.dll in my Bin directory.
>
>Now I want to deply this to customer site I guess I will need to
>distribu te only aspx and .dll right?
>
>my aspx page reads as below
>
> <%@ Page language="c#" Codebehind="ABC D.aspx.cs"
> Inherits="ABCD. WebForm1" SmartNavigation ="true"
> AutoEventWireup ="false" %>
>
>What changes I will need to do so that I can send only .dll and aspx
>page.
>
>thanks in advance
>
>
>
>

Nothing...j ust deploy the 2 files...the CodeBehind attribute is only
used by VS.NET, means nothing to the runtime; you don't have to modify
any aspx files to 'deploy'....all you have to do is compile and
distribut e the aspx, dll (into the bin folder) and the other core files
(web.config , global.asax, etc.)

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET

Nov 19 '05 #6
Thanks Sean
cheers !
Sean M wrote:
No, .pdb files are for the debugger -- a deployment build should not
contain these files.

"abcd" <ab**@abcd.co m> wrote in message
news:eu******** ******@tk2msftn gp13.phx.gbl...
Ryan you have explained it very niccely. Thanks.

is .pdb also a part of deployment?

When I said copy project it also copied this file too...

Also which .NET framework I should install on the client machine (if
.net framerwork is not existing)...wha t are the minimal .NET
components required to run simple ASP.NET page....

thanks


"Ryan Ternier" <rt******@icomp asstech.com> wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
abcd,

You don't need to do anything.

An easy way of releasing a project is to:

-Set up a new Virtual Directory pointing to a new folder that will
just contain the release of your application.

-When your solution is fully built, go to Project -> Copy Project,
and set the Destination Project Folder and Path to those you just
created (the VD and the physical path).

When you copy the project, it will only include the files necessary
to run it. This way you don't need mess around making sure you go
the right files.

/RT
abcd wrote:
Thanks Craig

is it necessary to change

Codebehind="ABC D.aspx.cs"

to

Codebehind="ABC D.dll"

Thanks

"Craig Deelsnyder" <cdeelsny@NO_SP AM_4_MEyahoo.co m> wrote in
message news:O3******** ******@TK2MSFTN GP12.phx.gbl...

> abcd wrote:
>
>> I am using simple ASP.NET page using C#.NET
>>
>> I have developed
>>
>> ABCD.aspx page and
>> ABCD.aspx.cs
>>
>> when I compiled it has creatred ABCD.dll in my Bin directory.
>>
>> Now I want to deply this to customer site I guess I will need to
>> distribute only aspx and .dll right?
>>
>> my aspx page reads as below
>>
>> <%@ Page language="c#" Codebehind="ABC D.aspx.cs"
>> Inherits="ABCD. WebForm1" SmartNavigation ="true"
>> AutoEventWireup ="false" %>
>>
>> What changes I will need to do so that I can send only .dll and
>> aspx page.
>>
>> thanks in advance
>>
>>
>>
>>
>
> Nothing...just deploy the 2 files...the CodeBehind attribute is
> only used by VS.NET, means nothing to the runtime; you don't have
> to modify any aspx files to 'deploy'....all you have to do is
> compile and distribute the aspx, dll (into the bin folder) and
> the other core files (web.config, global.asax, etc.)
>
> --
> Craig Deelsnyder
> Microsoft MVP - ASP/ASP.NET

Nov 19 '05 #7

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

Similar topics

5
4907
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET 1.1 -> MsiNetAssembly Support.) I have a few issues and questions regarding the MSI and its properties. * This may be my biggest annoyance at the moment. When the installer creates the target directory, it's setting them as read-only. When the...
1
1658
by: Sunny | last post by:
Hi I have a Database Application that i am trying to install on the Clients machine, the application uses three custom Ms access Databases. Those database i added in the correct folder in the SETUP Project of my application However, perhaps due to the size of the Databases (appx 500 mb), or some other reason when i try to build the SETUP project, it fails, right in the start giving an ERROR, not enough DISK SPACE to complete this operation. I...
1
2709
by: Steve | last post by:
I am having an issue deploying an ActiveX control. This is a .NET project in C#. The ActiveX control is written in VB6. I use the PDW (Package and Deployment Wizard) to create a .CAB for the control. The problem is that sometimes the ActiveX control installs successfully and sometimes it doesn't. We have various test machines running different operating systems. On one machine, running Windows 2000, SP4, the control installs...
2
4555
by: Mark | last post by:
Hi, I've been having problems with the validation controls not working on my deployment server. Initially it was a security issue with the anonymous account not having permissions to access /aspnet_client/system_web/1_1_4322/WebUIValidation.js but I think I've now fixed this. What is happening now is I'm not getting a security issue but the validation is not occuring, the page submits without validation. When
5
1266
by: DEWright_CA | last post by:
I have a app that I built for a client. I was able to deploy it to a test server without any real issue. I copied the bin folder to my server, copied over the aspx pages and made the virtual directory under IIS/5 executable. Everything worked great! Now I am trying to deploy the same app on a Windows 2003 server using the same methodology and I can't get it to function. I followed the same steps above and the basic pages load fine, but...
1
1508
by: Marty Cruise | last post by:
My application is run within an intranet environment and is installed on client machines. Each time the application is executed, it checks to see if a newer version is availble. If there is, it launches a new process and starts the installation while shutting down the original process. I'm running into some issues, however 1) A duplicate shortcut is being created on the desktop. That is, when the older version of the app is removed, its...
3
1376
by: Jeff G | last post by:
When I build the deployment project for an application everything works. However, the two files instmsia.exe and instmsiw.exe do not appear with the setup files. I may be installing this on machines that will require them. Can someone please let me know how to rectify this. thanks in advance.
1
2774
by: moondaddy | last post by:
I need to have multiple deployment profiles for a .net 2.0 winforms project. This is my requirement: 1) Re-use same project for multiple ClickOnce deployment profiles. 2) Each profile will have it's own custom deployment properties such as Publish Version Number, Start Menu and application Name in start menu. For example, in the past (before ClickOnce deployment) I had to build Setup.exe files and distribute them to various...
0
5194
by: blkwebman | last post by:
I'm trying to create a "standalone" install package (without any of the dialog boxes that a standard setup package would have). I think I understand how to do it in VB6 (using PDCmdLn.exe); I have already researched this subject in the MSDN for VB6. Here is the problem: I'm trying to execute a batch file containing this command and I'm running into a couple of errors. Here is the contents of the batch file: ...
6
4061
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 an issue, what else is available?
0
8198
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
8642
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8444
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
7115
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
6093
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
4058
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...
0
4138
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1438
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.