Which files to put in web server

R

RA

Hi

Which files I need to put on the web server in order to have my asp.net
work?

Thanks,
Ron
 
C

Cowboy \(Gregory A. Beamer\)

The .dll file in the /bin folder, along with all .aspx, .asmx (web
services), .ascx (user control) and the global.asax file. You also need to
put the config file out there.

The basic rule is it is safe to put all files but:

.##proj (where ## = vb for VB.NET and cs for C#)
..sln
..cs or .vb (source files)

Also, never put out any files other than .dll in the /bin folder or any of
the compilation folders.

NOTE: I may have missed a couple of exclusions, but protecting source files
is the most important part.

The easiest way to do this is Copy Project inside Visual Studio .NET as
there is a simple flag for placing the files out there.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
 
R

Ravikanth[MVP]

Hi

No need to copy codebehind files to the server to run
asp.net. Apart codebehind files you have to copy all
files to run asp.net website.

HTH
Ravikanth[MVP]
 
T

Tim Stephenson

If you're not sure what to deploy, and are using Visual Studio.net - try the
"Copy Project Wizard".
This will only copy the files you need to run the site.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top