By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,825 Members | 1,269 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,825 IT Pros & Developers. It's quick & easy.

ASPX pages

P: n/a
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
Share this Question
Share on Google+
8 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a

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 discussion thread is closed

Replies have been disabled for this discussion.