开发者

VS 2010: <system.web><compilation debug="false" /></system.web> for non-web-apps?

In web apps, there are these nodes and attributes:

<system.web>
    <compilation debug="false" />
</system.web>

I had read that turning this off in a production environment improves performance. However, does this exist for non-web-apps like cons开发者_如何学Cole apps? We use a console app to host services which make heavy calls to data layer operations and I am wondering if there's a way to tweak it to enhance performance any that we can.


Just build your application in Release mode and all possible optimization will be performed on your code.

Here is discussion on stackoverflow about differences and if it have some optimization. Anyway it's better to optimize logic in application instead of some technical optimization.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜