uploading a website without its cs files

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Mar 2006
Posts: 6
Reputation: unicorn11 is an unknown quantity at this point 
Solved Threads: 0
unicorn11 unicorn11 is offline Offline
Newbie Poster

uploading a website without its cs files

 
0
  #1
Dec 26th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2003
Posts: 2,414
Reputation: alc6379 has a spectacular aura about alc6379 has a spectacular aura about alc6379 has a spectacular aura about 
Solved Threads: 123
Team Colleague
alc6379's Avatar
alc6379 alc6379 is offline Offline
Cookie... That's it

Re: uploading a website without its cs files

 
0
  #2
Dec 29th, 2007
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?
Alex Cavnar, aka alc6379
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 1,181
Reputation: hollystyles will become famous soon enough hollystyles will become famous soon enough 
Solved Threads: 67
hollystyles's Avatar
hollystyles hollystyles is offline Offline
Veteran Poster

Re: uploading a website without its cs files

 
0
  #3
Dec 29th, 2007
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.
==========================================
Yadda yadda yadda...
Web junky, fevered monkey
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 6
Reputation: unicorn11 is an unknown quantity at this point 
Solved Threads: 0
unicorn11 unicorn11 is offline Offline
Newbie Poster

Re: uploading a website without its cs files

 
0
  #4
Jan 1st, 2008
thanks holly,


alc6379- so that my code will not be available to the client unless they pay up completely
Reply With Quote Quick reply to this message  
Join Date: Dec 2003
Posts: 2,414
Reputation: alc6379 has a spectacular aura about alc6379 has a spectacular aura about alc6379 has a spectacular aura about 
Solved Threads: 123
Team Colleague
alc6379's Avatar
alc6379 alc6379 is offline Offline
Cookie... That's it

Re: uploading a website without its cs files

 
0
  #5
Jan 2nd, 2008
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...
Alex Cavnar, aka alc6379
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC