What attributes help runtime .Net performance?

前端 未结 3 2001
孤街浪徒
孤街浪徒 2021-02-05 13:54

I am looking for attributes I can use to ensure the best runtime performance for my .Net application by giving hints to the loader, JIT compiler or ngen.

For example we

3条回答
  •  南笙
    南笙 (楼主)
    2021-02-05 14:31

    I found another: NeutralResourcesLanguageAttribute. According to this blog post it helps the loader in finding the right satellite assemblies faster by specifying the culture if the current (neutral) assembly.

    [NeutralResourcesLanguageAttribute("nl", UltimateResourceFallbackLocation.MainAssembly)]
    

提交回复
热议问题