|
-
Mar 25th, 2003, 12:49 PM
#1
Thread Starter
Lively Member
How can I deploy a site while hiding as much code as possible?
I am working on a ASP.NET Website the has a number of pages with a lot of code and business logic. If I am installing it on my company's server for our internal use, there is no problem. However, if we sell a Website to a client, we do not want them to have access to all of the code on the .ASPX.VB pages. Is there a way to move hide this code in a DLL or something so that the only code the client will have access to is what is actually on the .ASPX pages, but not the .ASPX.VB pages?
-
Mar 25th, 2003, 12:52 PM
#2
Addicted Member
Why are you wanting to hide the code from them? They bought your website which means they bought the code that it was made with. Restricting access seems a little unethical to me..but hey..thats me.
-
Mar 25th, 2003, 12:52 PM
#3
yeah. noroblem, you just stick all you important business logic into the dll's, stick the dll's into the bin directory of the web app, and call the functions from your .vb codebehind pages
-
Mar 25th, 2003, 12:53 PM
#4
Originally posted by rdove
Why are you wanting to hide the code from them? They bought your website which means they bought the code that it was made with. That seems a little unethical to me..but hey..thats me.
No not necessarily. They may have bought your services to create a website, doesnt mean they paid to take your code and do whatever your wish with it.
Thee is nothing unethical about it.
-
Mar 25th, 2003, 12:57 PM
#5
Thread Starter
Lively Member
I'm not worried about hiding code from the clients that they need for their own Website. However, I do not want to give away the business logic such that the client can simply turn around, repackage our code and start selling it as their own product.
Thanks, Cander.
-
Mar 25th, 2003, 01:05 PM
#6
your welcome
oh ..and all you need to do is delcare the dll in your codebehind like you would any othe class in .NET
Dim myobject As New Namespace.classname
-
Mar 25th, 2003, 01:07 PM
#7
Thread Starter
Lively Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|