469,903 Members | 1,520 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,903 developers. It's quick & easy.

PP:How to ensure "Only Compiled code" will be released

Hi Folks

I have a ASP.NET 2.0 (C#) project, in which I have few ASPX/cs files.
When I compile the project, it generates the assemblies

Does this mean, when I release the files to TEST, I have to give the CS
file along with ASPX files ot just ASXP, CONFIG, dll file should be
good enough for the APP to work.

Apr 13 '06 #1
1 1056
To deploy your 2005 solution you can:

- create a web setup project
- distribute your source (.cs and .aspx, etc)
- Precompile your website by using menu Build->Publish website

Because I personally don't like to publish my .cs files on the webserver I
prefer the last solution.

In ASP.NET 1.1 you could just copy the .aspx, .asmx and the dll's for
deployment, but in ASP.NET 2.0 your website project will not be compiled to a
dll (or multiple), only if you precompile your website.

"pr******@hotmail.com" wrote:
Hi Folks

I have a ASP.NET 2.0 (C#) project, in which I have few ASPX/cs files.
When I compile the project, it generates the assemblies

Does this mean, when I release the files to TEST, I have to give the CS
file along with ASPX files ot just ASXP, CONFIG, dll file should be
good enough for the APP to work.

Apr 13 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by James | last post: by
8 posts views Thread by Martin Marcher | last post: by
10 posts views Thread by copx | last post: by
1 post views Thread by Michael Tkachev | last post: by
11 posts views Thread by fourfires.d | last post: by
26 posts views Thread by Martin Jørgensen | last post: by
2 posts views Thread by prabhupr | last post: by
24 posts views Thread by arnuld | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.