943,634 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 1258
  • ASP.NET RSS
Dec 26th, 2007
0

uploading a website without its cs files

Expand Post »
Hi All,

I am developing a website using asp.net 2.0 and C# as my language and would like to know if it possible to upload a website without its cs files. if how is it possible?

Regards
unicorn11
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
unicorn11 is offline Offline
6 posts
since Mar 2006
Dec 29th, 2007
0

Re: uploading a website without its cs files

You can do inline code instead of using code-behind. That way, all the code is included directly on the ASP page:

http://quickstarts.asp.net/QuickStar...odebehind.aspx

But, why would you want to do that?
Team Colleague
Reputation Points: 186
Solved Threads: 147
Cookie... That's it
alc6379 is offline Offline
2,519 posts
since Dec 2003
Dec 29th, 2007
0

Re: uploading a website without its cs files

Just compile the website and upload only the .aspx files to the web server. The cs files are not required all the code in the .cs files is compiled into the single .dll in the bin folder.
Last edited by hollystyles; Dec 29th, 2007 at 1:15 pm.
Reputation Points: 262
Solved Threads: 68
Veteran Poster
hollystyles is offline Offline
1,181 posts
since Feb 2005
Jan 1st, 2008
0

Re: uploading a website without its cs files

thanks holly,


alc6379- so that my code will not be available to the client unless they pay up completely
Reputation Points: 10
Solved Threads: 0
Newbie Poster
unicorn11 is offline Offline
6 posts
since Mar 2006
Jan 2nd, 2008
0

Re: uploading a website without its cs files

Ok... your post wasn't so clear.... Yeah-- you can pre-compile the site... Even make a deployment project so the client can install the web app themselves...
Team Colleague
Reputation Points: 186
Solved Threads: 147
Cookie... That's it
alc6379 is offline Offline
2,519 posts
since Dec 2003

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Conversion problem
Next Thread in ASP.NET Forum Timeline: uploading a picture with details





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC