部署后本地应用程序变慢。 [英] Local Application gets slow after deployment.

查看:71
本文介绍了部署后本地应用程序变慢。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有个问题需要讨论。我在一家ERP公司工作,所以我们公司有一台本地服务器进行测试。因此,如果我开发某些东西或我们修复了一些东西,然后我们在本地服务器上部署这些对象(文件)以进行本地测试。

所以举个例子我开发了一些东西所以我用了一个常用的dll来使用在ERP中的其他项目中也有一些文件,比如aspx,aspx.cs和我的项目的另外一个dll,我将这些文件部署到本地服务器,然后在部署这些文件后
如果有任何用户打开本地ERP它变得如此缓慢。我不知道为什么可能因为那些DLL文件所以我读到NGen。这些问题是你们帮助我解决这个问题。 

Hi,
I have a query to discuss. I work in an ERP company so we have a local server in our company for testing. So if i develop something or we fix something and then we deploy those objects (files) on that local server for local testing.
so take a example i developed something so i used one common dll which is used in other projects too in that ERP and there are some files like aspx,aspx.cs and one more dll of my project and i deploy those files to that local server then after deploying those files if any user open that local ERP it gets so much slow. I dont know why may be because of those DLL files so i read about NGen. Is these anything you guys help me about this issue. 

推荐答案

你好,

有两件事您可以这样做。

There is two things which you can do.

1)如果您不想调试,请在发布模式下构建应用程序

1) Build your application in Release mode if you are not intended to debug

2)预编译网页到加快页面加载时间 - In Place预编译也可以提供帮助。

2) Pre-Compile web pages to speed up the page load time - In Place pre-compilation can also help.

https://msdn.microsoft.com/en-us/library/bb398860.aspx

https://msdn.microsoft.com/en-us/library/bb398860.aspx

希望,这会帮助你。

 


这篇关于部署后本地应用程序变慢。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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