473,411 Members | 2,013 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,411 software developers and data experts.

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="ABCD.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 1204
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="ABCD.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="ABCD.aspx.cs"

to

Codebehind="ABCD.dll"

Thanks

"Craig Deelsnyder" <cdeelsny@NO_SPAM_4_MEyahoo.com> wrote in message
news:O3**************@TK2MSFTNGP12.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="ABCD.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="ABCD.aspx.cs"

to

Codebehind="ABCD.dll"

Thanks

"Craig Deelsnyder" <cdeelsny@NO_SPAM_4_MEyahoo.com> wrote in message
news:O3**************@TK2MSFTNGP12.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="ABCD.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 #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)...what are the minimal .NET components required
to run simple ASP.NET page....

thanks


"Ryan Ternier" <rt******@icompasstech.com> wrote in message
news:%2****************@TK2MSFTNGP15.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="ABCD.aspx.cs"

to

Codebehind="ABCD.dll"

Thanks

"Craig Deelsnyder" <cdeelsny@NO_SPAM_4_MEyahoo.com> wrote in message
news:O3**************@TK2MSFTNGP12.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="ABCD.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 #5
No, .pdb files are for the debugger -- a deployment build should not contain
these files.

"abcd" <ab**@abcd.com> wrote in message
news:eu**************@tk2msftngp13.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)...what are the minimal .NET components
required to run simple ASP.NET page....

thanks


"Ryan Ternier" <rt******@icompasstech.com> wrote in message
news:%2****************@TK2MSFTNGP15.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="ABCD.aspx.cs"

to

Codebehind="ABCD.dll"

Thanks

"Craig Deelsnyder" <cdeelsny@NO_SPAM_4_MEyahoo.com> wrote in message
news:O3**************@TK2MSFTNGP12.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="ABCD.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 #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.com> wrote in message
news:eu**************@tk2msftngp13.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)...what are the minimal .NET
components required to run simple ASP.NET page....

thanks


"Ryan Ternier" <rt******@icompasstech.com> wrote in message
news:%2****************@TK2MSFTNGP15.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="ABCD.aspx.cs"

to

Codebehind="ABCD.dll"

Thanks

"Craig Deelsnyder" <cdeelsny@NO_SPAM_4_MEyahoo.com> wrote in
message news:O3**************@TK2MSFTNGP12.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="ABCD.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
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
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...
1
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...
2
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...
5
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...
1
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...
3
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...
1
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...
0
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...
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...
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:
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...
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
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...
0
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,...
0
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...

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.