Serialization Assembly. Is it needed or not?

前端 未结 4 1584
梦如初夏
梦如初夏 2020-12-11 01:10

I have a .net 2.0 c# ClickOnce app and it connects to its data via Web Services. I\'ve been told that one way to potentially speed up the application is to generate a seria

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-11 01:26

    It is really asking "Shall I pre-generate the serialization assemblies and include it in the deployed project or shall I fall back on the default of generating the assemblies on the fly?" Generally that won't hurt too much after the first hit perf-wise. Where it can play in is that the serialization assemblies are generated in %SYSTEMROOT%\TEMP. Which, in some cases, the process can't access, leading to fatal exceptions in most cases.

提交回复
热议问题