且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用C#在asp.net中隐藏代码

更新时间:2023-02-12 07:49:50

我不认为这是隐藏代码.您可以通过取消选中单独文件中的位置代码来添加Web表单.然后,您的C#代码必须在.aspx页中编写.我认为这已经完成了您的项目.您也可以使用dll代替.cs.
I do not think that it is hide the code. You can add a web form with uncheck the place code in separate file. Then your c# code have to write in .aspx page. I think it is done your project. You also can use dll instead of .cs.


通过下面的链接

^ ]
Go through the below link

Here[^]



您可以对所有这些代码使用一个通用的dll来实现.

Microsoft提供了一个Web部署,它将所有代码转换为一个dll文件.因此我们只有aspx页面.您可以在上面搜索.


umesh
Hi,
You can do it using make one common dll for all that code.

Microsoft provide a web deployment that is convert all code into one dll file. so we have only aspx pages. You can search on it.


umesh