473,399 Members | 4,254 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,399 software developers and data experts.

ASPX pages

Hi,
I created a project with a page in aspx. How can I put
the page in my WebSite, that is not on my server?
Do i need a setup project that goes on the Web Server?
Thank you,
Fabrizio
Nov 15 '05 #1
8 1689
You can put it manually or you can make a web setup project.

1. To put it manually:
- you must create a virtual directory for the application and make it an
application.
- you must copy the aspx, ascx files, the css if you defined files, and the
web.config file. Also you must copy the bin directory and any additional
files that your application use (database, images)
-it is not necessary to copy source files (.cs or .vb) and resources (.resx)
since they are compiled or embedded into dll.

2. To create a deployment project.
- You must ensure that all your files that you want to deploy are included
in application and marked as content.
- you must create a web setup project and add to it the project output (that
means the dll) and the project content(content files).

Hope this helps
Dan Cimpoiesu

"Fabrizio Maltese" <fm******@gestionescorte.it> wrote in message
news:05****************************@phx.gbl...
Hi,
I created a project with a page in aspx. How can I put
the page in my WebSite, that is not on my server?
Do i need a setup project that goes on the Web Server?
Thank you,
Fabrizio

Nov 15 '05 #2
You can put it manually or you can make a web setup project.

1. To put it manually:
- you must create a virtual directory for the application and make it an
application.
- you must copy the aspx, ascx files, the css if you defined files, and the
web.config file. Also you must copy the bin directory and any additional
files that your application use (database, images)
-it is not necessary to copy source files (.cs or .vb) and resources (.resx)
since they are compiled or embedded into dll.

2. To create a deployment project.
- You must ensure that all your files that you want to deploy are included
in application and marked as content.
- you must create a web setup project and add to it the project output (that
means the dll) and the project content(content files).

Hope this helps
Dan Cimpoiesu

"Fabrizio Maltese" <fm******@gestionescorte.it> wrote in message
news:05****************************@phx.gbl...
Hi,
I created a project with a page in aspx. How can I put
the page in my WebSite, that is not on my server?
Do i need a setup project that goes on the Web Server?
Thank you,
Fabrizio

Nov 15 '05 #3
Can I also put manually the pages on the web directly?
I have a domain and the space is on my provider's machine
(it supports ASP.NET)

Thank you

-----Original Message-----
You can put it manually or you can make a web setup project.
1. To put it manually:
- you must create a virtual directory for the application and make it anapplication.
- you must copy the aspx, ascx files, the css if you defined files, and theweb.config file. Also you must copy the bin directory and any additionalfiles that your application use (database, images)
-it is not necessary to copy source files (.cs or .vb) and resources (.resx)since they are compiled or embedded into dll.

2. To create a deployment project.
- You must ensure that all your files that you want to deploy are includedin application and marked as content.
- you must create a web setup project and add to it the project output (thatmeans the dll) and the project content(content files).

Hope this helps
Dan Cimpoiesu

"Fabrizio Maltese" <fm******@gestionescorte.it> wrote in messagenews:05****************************@phx.gbl...
Hi,
I created a project with a page in aspx. How can I put
the page in my WebSite, that is not on my server?
Do i need a setup project that goes on the Web Server?
Thank you,
Fabrizio

.

Nov 15 '05 #4
Can I also put manually the pages on the web directly?
I have a domain and the space is on my provider's machine
(it supports ASP.NET)

Thank you

-----Original Message-----
You can put it manually or you can make a web setup project.
1. To put it manually:
- you must create a virtual directory for the application and make it anapplication.
- you must copy the aspx, ascx files, the css if you defined files, and theweb.config file. Also you must copy the bin directory and any additionalfiles that your application use (database, images)
-it is not necessary to copy source files (.cs or .vb) and resources (.resx)since they are compiled or embedded into dll.

2. To create a deployment project.
- You must ensure that all your files that you want to deploy are includedin application and marked as content.
- you must create a web setup project and add to it the project output (thatmeans the dll) and the project content(content files).

Hope this helps
Dan Cimpoiesu

"Fabrizio Maltese" <fm******@gestionescorte.it> wrote in messagenews:05****************************@phx.gbl...
Hi,
I created a project with a page in aspx. How can I put
the page in my WebSite, that is not on my server?
Do i need a setup project that goes on the Web Server?
Thank you,
Fabrizio

.

Nov 15 '05 #5
Yes you can put the files , but you must create an application on the
application virtual directory, and this thing is usually made by the server
administrator.

Regards
Dan Cimpoiesu

"Fabrizio Maltese" <fm******@gestionescorte.it> wrote in message
news:07****************************@phx.gbl...
Can I also put manually the pages on the web directly?
I have a domain and the space is on my provider's machine
(it supports ASP.NET)

Thank you

-----Original Message-----
You can put it manually or you can make a web setup

project.

1. To put it manually:
- you must create a virtual directory for the

application and make it an
application.
- you must copy the aspx, ascx files, the css if you

defined files, and the
web.config file. Also you must copy the bin directory

and any additional
files that your application use (database, images)
-it is not necessary to copy source files (.cs or .vb)

and resources (.resx)
since they are compiled or embedded into dll.

2. To create a deployment project.
- You must ensure that all your files that you want to

deploy are included
in application and marked as content.
- you must create a web setup project and add to it the

project output (that
means the dll) and the project content(content files).

Hope this helps
Dan Cimpoiesu

"Fabrizio Maltese" <fm******@gestionescorte.it> wrote in

message
news:05****************************@phx.gbl...
Hi,
I created a project with a page in aspx. How can I put
the page in my WebSite, that is not on my server?
Do i need a setup project that goes on the Web Server?
Thank you,
Fabrizio

.

Nov 15 '05 #6
What do you mean for "create an application"?
-----Original Message-----
Yes you can put the files , but you must create an application on theapplication virtual directory, and this thing is usually made by the serveradministrator.

Regards
Dan Cimpoiesu

"Fabrizio Maltese" <fm******@gestionescorte.it> wrote in messagenews:07****************************@phx.gbl...
Can I also put manually the pages on the web directly?
I have a domain and the space is on my provider's machine (it supports ASP.NET)

Thank you

>-----Original Message-----
>You can put it manually or you can make a web setup

project.
>
>1. To put it manually:
>- you must create a virtual directory for the

application and make it an
>application.
>- you must copy the aspx, ascx files, the css if you

defined files, and the
>web.config file. Also you must copy the bin directory

and any additional
>files that your application use (database, images)
>-it is not necessary to copy source files (.cs or .vb)

and resources (.resx)
>since they are compiled or embedded into dll.
>
>2. To create a deployment project.
>- You must ensure that all your files that you want to

deploy are included
>in application and marked as content.
>- you must create a web setup project and add to it the
project output (that
>means the dll) and the project content(content files).
>
>Hope this helps
>Dan Cimpoiesu
>
>"Fabrizio Maltese" <fm******@gestionescorte.it> wrote
in message
>news:05****************************@phx.gbl...
>> Hi,
>> I created a project with a page in aspx. How can I

put >> the page in my WebSite, that is not on my server?
>> Do i need a setup project that goes on the Web Server? >> Thank you,
>> Fabrizio
>
>
>.
>

.

Nov 15 '05 #7
Hi Fabrizio,

You should be able to copy the pages directly to your web hosting, just
copy it as Dan suggested.

Note:
for a test you could simply copy your entire directory see if it works then
remove the source files ( .cs / .vb ) and resources ( .resx )

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Fabrizio Maltese" <fm******@gestionescorte.it> wrote in message
news:07****************************@phx.gbl...
Can I also put manually the pages on the web directly?
I have a domain and the space is on my provider's machine
(it supports ASP.NET)

Thank you

-----Original Message-----
You can put it manually or you can make a web setup

project.

1. To put it manually:
- you must create a virtual directory for the

application and make it an
application.
- you must copy the aspx, ascx files, the css if you

defined files, and the
web.config file. Also you must copy the bin directory

and any additional
files that your application use (database, images)
-it is not necessary to copy source files (.cs or .vb)

and resources (.resx)
since they are compiled or embedded into dll.

2. To create a deployment project.
- You must ensure that all your files that you want to

deploy are included
in application and marked as content.
- you must create a web setup project and add to it the

project output (that
means the dll) and the project content(content files).

Hope this helps
Dan Cimpoiesu

"Fabrizio Maltese" <fm******@gestionescorte.it> wrote in

message
news:05****************************@phx.gbl...
Hi,
I created a project with a page in aspx. How can I put
the page in my WebSite, that is not on my server?
Do i need a setup project that goes on the Web Server?
Thank you,
Fabrizio

.

Nov 15 '05 #8

Hi Fabrizio,

Web Application is consist of by a virtual directory and the files in its
sub directories.

The Server.MapPath(virutalpath) maps the virtualpath into a physical path.
It will be the absolute physical path of your virtual directory in your
disk.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| Content-Class: urn:content-classes:message
| From: "Fabrizio" <fm******@gestionescorte.it>
| Sender: "Fabrizio" <fm******@gestionescorte.it>
| References: <05****************************@phx.gbl>
<ei**************@TK2MSFTNGP09.phx.gbl>
<07****************************@phx.gbl>
<O7**************@TK2MSFTNGP11.phx.gbl>
| Subject: Re: ASPX pages
| Date: Thu, 25 Sep 2003 07:51:01 -0700
| Lines: 88
| Message-ID: <01****************************@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcODdG/pqDrqLUBCQneDs/97dcGZwA==
| Newsgroups: microsoft.public.dotnet.languages.csharp
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:187311
| NNTP-Posting-Host: TK2MSFTNGXA09 10.40.1.161
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| Thank you,
| but I didn't understand what it means to create an
| application on the Hosting server.
| Once i brought the files on the Hosting Server folder,
| what it will be the SErver.MapPAth?
| Thank you,
| Fabrizio
|
| >-----Original Message-----
| >Hi Fabrizio,
| >
| > You should be able to copy the pages directly to your
| web hosting, just
| >copy it as Dan suggested.
| >
| > Note:
| > for a test you could simply copy your entire directory
| see if it works then
| >remove the source files ( .cs / .vb ) and resources
| ( .resx )
| >
| >Cheers,
| >
| >--
| >Ignacio Machin,
| >ignacio.machin AT dot.state.fl.us
| >Florida Department Of Transportation
| >
| >"Fabrizio Maltese" <fm******@gestionescorte.it> wrote in
| message
| >news:07****************************@phx.gbl...
| >> Can I also put manually the pages on the web directly?
| >> I have a domain and the space is on my provider's
| machine
| >> (it supports ASP.NET)
| >>
| >> Thank you
| >>
| >>
| >> >-----Original Message-----
| >> >You can put it manually or you can make a web setup
| >> project.
| >> >
| >> >1. To put it manually:
| >> >- you must create a virtual directory for the
| >> application and make it an
| >> >application.
| >> >- you must copy the aspx, ascx files, the css if you
| >> defined files, and the
| >> >web.config file. Also you must copy the bin directory
| >> and any additional
| >> >files that your application use (database, images)
| >> >-it is not necessary to copy source files (.cs or .vb)
| >> and resources (.resx)
| >> >since they are compiled or embedded into dll.
| >> >
| >> >2. To create a deployment project.
| >> >- You must ensure that all your files that you want to
| >> deploy are included
| >> >in application and marked as content.
| >> >- you must create a web setup project and add to it
| the
| >> project output (that
| >> >means the dll) and the project content(content files).
| >> >
| >> >Hope this helps
| >> >Dan Cimpoiesu
| >> >
| >> >"Fabrizio Maltese" <fm******@gestionescorte.it> wrote
| in
| >> message
| >> >news:05****************************@phx.gbl...
| >> >> Hi,
| >> >> I created a project with a page in aspx. How can I
| put
| >> >> the page in my WebSite, that is not on my server?
| >> >> Do i need a setup project that goes on the Web
| Server?
| >> >> Thank you,
| >> >> Fabrizio
| >> >
| >> >
| >> >.
| >> >
| >
| >
| >.
| >
|

Nov 15 '05 #9

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

Similar topics

1
by: Paul | last post by:
Title: What are the Consequences of Aspx page separate from app DLL Hi JL; I am working on a big asp.net application. When we migrate the dll (or dlls) to the production server, all users who are...
7
by: J Smithers | last post by:
I have several ASPX pages (with code-behind logic) that I reuse amongst many Web sites on the same production server. Currently each Web site has its own copy of these aspx pages. I was thinking...
2
by: Janusz Jezowicz | last post by:
Hello! I would like to have one page on the server, which would be a target processing page for a number of other aspx pages. E.g Processing page \portal_page.aspx Target pages
21
by: matvdl | last post by:
I have a system that was originally developed in asp - the pages are saved in SQL (there are over 10,000 pages) and saved to a temp directory in the server when requested by a client. I have...
29
by: John Rivers | last post by:
Hello, What good reason there is for not allowing methods in ASPX pages I can't imagine, but here is how to get around that limitation: (START) <body MS_POSITIONING="FlowLayout"> <form...
10
by: ptass | last post by:
Hi In asp.net 2.0 an aspx files .cs file is a partial class and all works fine, however, I thought I’d be able to create another class file, call it a partial class and have that compile and...
0
by: Mike Dee | last post by:
I'm new to index server and can't get any DocTitle value back from index server (it is returned as null) for all my aspx pages. It do get the values from inside the <title> tags from my static...
3
by: Mike Dee | last post by:
I posted this back in November 2005 a couple times but did not get any responses. I'm hoping someone here can please shed some light on this. I'm new to index server and can't get any DocTitle...
13
by: Matt | last post by:
Does anyone know how to hide the ASPX extension of web pages in ASP.Net 2.0? Thanks, Matt
13
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains...
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
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
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
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.