且构网

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

我想部署我的ASP.NET Web应用程序

更新时间:2022-11-06 13:27:47

是的,这很大您的代码根本无法在发布模式下运行的问题,它将引发异常.
尝试考虑一下.
用户提出请求
您的代码运行
您会显示一个消息框
..直到服务器上的 对消息框采取措施之前,什么也不会发生.

查看此帖子 [
Yeah that''s a big problem you code wont run at all in release mode, it will cast an exception.
Try to think about it..
A user makes a request
your code runs
you display a message box
.. not nothing happens until someone on the server takes action on the message box.

see this post[^] to see how you can display a messagebox in the client side, after the request has been processed and a response has been sent by the server