惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
Netflix TechBlog - Medium
G
Google Developers Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
The Blog of Author Tim Ferriss
Microsoft Azure Blog
Microsoft Azure Blog
GbyAI
GbyAI
L
LangChain Blog
云风的 BLOG
云风的 BLOG
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
小众软件
小众软件
WordPress大学
WordPress大学
A
About on SuperTechFans
大猫的无限游戏
大猫的无限游戏
C
Check Point Blog
月光博客
月光博客
Stack Overflow Blog
Stack Overflow Blog
美团技术团队
Jina AI
Jina AI
T
Tailwind CSS Blog
Google DeepMind News
Google DeepMind News
D
Docker

博客园 - 左佩玉

通过了 70-316 考试 .NET SDK 工具 线程 进程 程序集 全局化和本地化 实现帮助 可访问性设计 访问和调用外部组件 实现打印 自定义控件 使用 GDI+ 在ADO.net 中使用xml 绑定、查看和筛选数据 ADO.net 处理和抛出异常 使用Debug和Trace 测试和调试 继承 System.Collections.CollectionBase 创建一个强类型集合类
程序配置
左佩玉 · 2005-08-26 · via 博客园 - 左佩玉

配置和优化应用程序
config文件
<starup> 只包含<requiredRuntime>,该元素允许指定使用的公共语言运行库的版本
<runtime> 程序集邦定和垃圾回收的行为
<system.runtime.remoting> 有关信道和远程对象的配置
<system.net> Internet应用程序的信息
<mscorlib> 包含<cryptographySetting>元素,配置应用程序使用密码的方法
<configSections> 自定义配置
<system.diagnostics> Trace和Debug的配置

使用动态属性配置
DynamicProperties节点

获取动态属性设置
System.Configuration.AppSettingsReader

优化
避免后期绑定
避免使用全局变量
小心使用循环

测试性能
perfmon.exe

启用编译器优化
Configuration Properties -> Build  -> Enable Optimizations 或 Optimize Code = true 会变得难以调试