What is the best way to store the XML data used in a program? Use a RESX file or save it as an .xml file, upload and download files as required.
The third option is to place the XML file as an embedded resource in the assembly. In this case, use Assembly.GetManifestResourceStream () to load the XML.
As Cerebus wrote, when localization is required, RESX will be the way to go.
.resx XML , (Microsoft ResX Schema v2.0). .
XML. . , , .resx. , XML .
XML (blobs) .resx
:
If you store xml content very strongly as an embedded resource, you can create an XML file and save it as a file resource inside RESX.
Source: https://habr.com/ru/post/1706717/More articles:Is the current working directory no longer inherited from the calling process from python 2.5? - pythonUsing XSL to display all element fields in Sitecore CMS - xsltHow to implement boxes with sentences like intellisense for winforms textbox? - c #Embedded Java HTTP Servers - javaUnity Dependency Injection - how to register with .config? - dependency-injectionAndroid: enable / disable automatic synchronization and background data - androidWCF and moving proxy code in a DLL. Is it possible? - c #How to install Silverlight DatePicker Control for ReadOnly? - silverlightCreating a PDF file on an aspx page without displaying it - asp.netComboBox: the selected value remains in focus (blue) - c #All Articles