Which files to put in web server

  • Thread starter Thread starter RA
  • Start date Start date
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!
**********************************************************************
 
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]
 
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.
 
Back
Top