Is there a way to compile 2005 code behind into a DLL?

  • Thread starter Thread starter Bishop
  • Start date Start date
B

Bishop

Like you could with older versions of ASP.NET? I want to do it to secure
the code. I know I can create DLL files that are used in code but I want to
be able to remove the .vb files for each page I publish.
 
In vs2005 in solution explorer, right click the project and then click
publish. Answer all of the questions on that page and it will compile the
entire thing. If you want more control over the output than what publish
gives then you can use web deployment projects.
 
Like you could with older versions of ASP.NET? I want to do it to secure
the code. I know I can create DLL files that are used in code but I want
to
be able to remove the .vb files for each page I publish.
 
That's what I was looking for. Thanks!

Andy B. said:
In vs2005 in solution explorer, right click the project and then click
publish. Answer all of the questions on that page and it will compile the
entire thing. If you want more control over the output than what publish
gives then you can use web deployment projects.
 
I think you must be using "Web Site" rather than Web Application. If you
dont have Web Application as a template make sure you have the latest
service pack loaded.

Else

Convert you web site to a web application.
 
Back
Top