Serialization Assembly. Is it needed or not?

前端 未结 4 1575
梦如初夏
梦如初夏 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:38

    In most cases, you aren't likely to see a huge benefit from this, especially if you keep the app open for a while. Pre-generating a serialization assembly mainly helps the first time (in an exe lifetime) that you serialize a specific type as xml.

提交回复
热议问题