Serialization Assembly. Is it needed or not?

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

    This is not relevant to your situation, but there's another good reason for pre-generating the serialization assembly - it's necessary when hosting your code in SQL Server (i.e. SQLCLR). SQL Server doesn't allow these assemblies to be generated dynamically, so your serialization code would fail inside SQL Server.

提交回复
热议问题