dll中的代码管理 [英] code manage in dll
问题描述
在客户端计算机上安装设置之后.在aspx页面中,所有控件都是可见的..如果客户端对aspx页面进行了更改,那么任何代码都将无法正常工作.
因此,为了解决该问题,我们希望使aspx页面的所有控件对客户端都是不可见的(因此,我们正在寻找有关如何将所有aspx数据放入dll的解决方案.).
感谢您最早的答复
示例:当我们实现报告服务器时,将无法在aspx中看到任何代码
页面,除了以下几行
After installing the set up on the client computer.In the aspx pages all the controls are visible.. and by any chance if client makes changes to the aspx pages then the code will not work properly.
So to get around with the problem we want to make all the controls of aspx page to be invisible to the client.(So we are looking for solution as to how to put all the aspx data in to dll.).
We appreciate the earliest reply
Example:when we implement reporting server we will not be able to see any code in the aspx
page except the following lines
<@>
也就是说,我们无法对aspx代码进行任何更改.因此,我们正在寻找这种类型的解决方案.
i.e we cannot makes any changes to the aspx code..So we are looking for that type of solution.
推荐答案
您应该寻找aspnet_compiler.exe
它可以将所有内容编译为单个dll.
http://msdn.microsoft.com/en-us/library/ms229863(VS .80).aspx [ ^ ]
在Visual Studio中,如果选择网站"模板,则使用这种类型的编译.
干杯
You should look for aspnet_compiler.exe
It can compile everything into a single dll.
http://msdn.microsoft.com/en-us/library/ms229863(VS.80).aspx[^]
In Visual Studio this type of compilation is used if you choose the "Web site" template.
Cheers
这篇关于dll中的代码管理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!