0

Can I use xml file to store application config setting instead of using web.config? If can, where should this xml be put in WebApi project? Xml also no need to publish like web.config. What will be the different to store app setting in xml and web.config? Thanks in advance all experts

Fantacy
  • 83
  • 1
  • 4

1 Answers1

0

You can store app settings in a separate file as mentioned here Reading settings from separate config file

Just remember not to use .xml file extension since it can be viewed in a browser as mentioned in the above post.

Community
  • 1
  • 1
JackRussell
  • 40
  • 1
  • 6