Max key/value length in 'application configura

2019-07-03 23:38发布

What's the maximum allowed length for MyKey and MyValue in a configuration file?

<configuration>
  <appSettings>
    <add key="MyKey" value="MyValue" />
  </appSettings>
</configuration>

1条回答
贪生不怕死
2楼-- · 2019-07-04 00:01

As per knowledge there is no limitation the key value pair in webconfig file .....

if you are planning to add object to config file check this post will help you to achieve your task

How to store custom objects in web.config ?

查看更多
登录 后发表回答