生产服务器上的c#代码没有dldll文件 [英] no dldll file for c# code on the production server

查看:111
本文介绍了生产服务器上的c#代码没有dldll文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有一个在iis服务器上运行的Web应用程序。我们在服务器上没有发布代码。我们在服务器上有所有代码文件和DLL文件。现在我想知道我在其中一个代码文件上做了一些更改并在服务器上更新但是没有更新服务器上的相对dll文件。服务器在这种情况下的表现如何?





反向场景..

如果我构建代码并仅上传dll文件会发生什么服务器上的实际代码文件。会发生什么?

Hi,

i have one web application working on the iis server. we dont have publish code on the server. we have all the code file and dll files on the server. now what i want to know that i made some changes on one of the code file and update on the server but did not update the relative dll files on the server. how the server will behave in this case?


reverse scene ..
what happen if i build the code and upload only dll files and not the actual code files on the server. what will happen than ?

推荐答案

什么可能(发布代码或整个解决方案),IIS将读取代码信息(二进制格式)仅限DLL。

如果您对<* c $ c>代码后面的代码做了一些更改然后你必须构建一个新版本的DLL并在IIS中引用它

如果 ASPX文件,css,Javascript 文件中的更改你可以只替换服务器中的相应文件......
What ever might be (publish code or entire solution) , the IIS will read the code information (binary format) from DLL only..
if you have done some changes on the code behind(*.cs) then you have to build a new version of DLL and refer it in the IIS
in case of changes in the ASPX files, css, Javascript files you can just replace the respective files in the server...


这篇关于生产服务器上的c#代码没有dldll文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆