(Transfer) no ASPX document deployment

xiaoxiao2021-03-06  121

In ASPX-> CS-> DLL, I introduced you to the method of generating CS through the ASPX and compile into a DLL. The romantic eleven wolf on this technique (no ASPX deployment) ask me, I am here Let me introduce it in detail. Through the previous article, you already know how to get the ASPX generated DLL file. We can achieve no ASPX deployment as long as you work, and copy the generated DLL file to the bin directory of the project; 2, Add similar to the following configuration section in Web.config where SRQMG4MO is generated DLL's program set name, we get the DLL file name and program set name; asp.webform1_aspx is a namespace, unified as an asp.aspxFileName_aspx format; WebForm1.aspx is the ASPX file name we have to process After these two steps, You can delete all ASPX.

转载请注明原文地址:https://www.9cbs.com/read-126152.html

New Post(0)