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

Stupid .cs question

P: n/a
I read that you don't need .cs files to deploy but I suppose if you are
trying to reconstruct someone's work, you will need these files. Is that
correct?
Nov 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
That is correct.

Just like if you develop a windows application you will only distribute
the resulting .exe file, but if you want to do further work on the
application you will need the source code (.cs files).

When you compile an asp.net application the source code (.cs files) are
compiled into one or more .dlls - which you will need to deploy.
Regards,

Peter Chadwick (MCP)
pe**@code-explorers.com

Nov 19 '05 #2

P: n/a
Man, that was a stupid question. :-) Actually, the only stupid question is
the one that is never asked, so never self-depricate over a question you do
not have an answer to.

When you compile a web application, you no longer need to deploy your source
code. This is the same as a desktop application. In the 2.0 Framework, even
the tagged part of your code can be compiled and exempt from deployment (due
to the concept of partial classes, which is implemented in Code Beside).

To maintain an application, however, you either a) need the source code (the
..cs files) or b) need to decompile the assemblies to get source code (meaning
you need the source code).
---

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

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

"Ron Weldy" wrote:
I read that you don't need .cs files to deploy but I suppose if you are
trying to reconstruct someone's work, you will need these files. Is that
correct?

Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.