473,320 Members | 1,695 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How-To Deploy ASP.NET App Without Source

I need to deploy a 1.1 web app without the .cs files.

I am so far unable to find out how to do this. Can anyone shed some light?

I have already tried upgrading to ASP.NET 2.0. Cost me a day. Didn't work.
Not an option at this time.

Cheers,

Jeb.
Jul 10 '06 #1
5 1664
I'm not sure what you mean by how to do this. Just don't put the .cs files
on the production server.

You might want to be more specific in your question.

"JebBushell" <jebbushell AT yahoo DOT comwrote in message
news:65**********************************@microsof t.com...
>I need to deploy a 1.1 web app without the .cs files.

I am so far unable to find out how to do this. Can anyone shed some
light?

I have already tried upgrading to ASP.NET 2.0. Cost me a day. Didn't
work.
Not an option at this time.

Cheers,

Jeb.

Jul 10 '06 #2
I need to deploy a 1.1 web app without the .cs files.

Add a web setup project to your solution, right click 'Web application
folder' select Add / Project output.
Select your project in the drop down box at the top and only add 'Primary
Output' and 'Content Files' (Also 'Localised resources' if you have satellite
assemblies set up).
The msi that's built should install only the DLL(s) and aspx files.
Jul 10 '06 #3

Compile the application. Then, copy the whole website to your webserver and
delete the actual code (.CS files)

Hope this helpds.
Mike

"JebBushell" <jebbushell AT yahoo DOT comwrote in message
news:65**********************************@microsof t.com...
>I need to deploy a 1.1 web app without the .cs files.

I am so far unable to find out how to do this. Can anyone shed some
light?

I have already tried upgrading to ASP.NET 2.0. Cost me a day. Didn't
work.
Not an option at this time.

Cheers,

Jeb.

Jul 10 '06 #4
In VS 2003 (targeting ASP.NET 1.1), all you need to do is build the application.
That will create an assembly in the /bin directory.

Make sure you copy the /bin directory, and don't copy the source files (.cs or .vb).
You *do* need to copy the aspx/ascx/xml/ashx/image/text files if you use them, though.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"JebBushell" <jebbushell AT yahoo DOT comwrote in message
news:65**********************************@microsof t.com...
>I need to deploy a 1.1 web app without the .cs files.

I am so far unable to find out how to do this. Can anyone shed some light?

I have already tried upgrading to ASP.NET 2.0. Cost me a day. Didn't work.
Not an option at this time.

Cheers,

Jeb.

Jul 10 '06 #5
Many, many thanks for all the responses. I thought I was on the s*** list,
but it just ain't so.

"JebBushell" wrote:
I need to deploy a 1.1 web app without the .cs files.

I am so far unable to find out how to do this. Can anyone shed some light?

I have already tried upgrading to ASP.NET 2.0. Cost me a day. Didn't work.
Not an option at this time.

Cheers,

Jeb.
Jul 11 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tom Szabo | last post by:
Just wandering how can you close a browser remotely. In some web applications the browser closes or refreshes periodically. How is that done and how can it be done through PHP? TIA, Tom
15
by: Reid Nichol | last post by:
Hello, I was wondering if I could control how many bytes are in an int and the byte order. In C/C++ I can use int32 but how do I do this in python? How can I control byte order?
0
by: v I n O | last post by:
hI Geeks Please do let me know how do i find how many instances sql server running on the single machine. or in the n/w my objective should with help of C#/vb.net
4
by: James Salisbury | last post by:
Hi, I was checking my parent's website salisbury.cabrera.net on google by entering villa rent spain cabrera I can see the required site, ranked at 4, but I am concerend by the return at 1 and 5...
2
by: Frances Del Rio | last post by:
http://www.emol.com/especiales/cocina_chilena/comida.asp this page is so neat (goes in pop-up..) how was this done? how do you give a layer (or div, I guess) a semi-transparency so you can still...
4
by: | last post by:
Developing, building, and testing. How do it the best? Learning from the world leader - Microsoft I'm very interested in how the developing/build/testing workflow @ Microsoft looks like. I...
4
by: Supra | last post by:
in vb6 listbox1.remove item 5 how will i do in vb.net? regards
7
by: anushhprabu | last post by:
#define q(k)main(){ return!puts(#k"\nPRABUq("#k")");} q(#define q(k)main(){return!puts(#k"\nq("#k")");}) guys i'm working on this code.. i got it fromnet.. how this is working.. anyone pls.....
0
by: candra | last post by:
Learn What Hackers Know? -General Hacking Information -Password Security -Scanning, Fingerprinting And Similar Techniques -How Hackers Attack Numerous Internet Services -How Hackers Attack Web...
2
by: belred | last post by:
i just read this blog about how many objects (types) are loaded for a hello world program in C#. http://blogs.msdn.com/abhinaba/archive/2008/09/15/how-many-types-are-loaded-for-hello-world.aspx ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.