久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <bdo id='0Sdd3'></bdo><ul id='0Sdd3'></ul>
    1. <legend id='0Sdd3'><style id='0Sdd3'><dir id='0Sdd3'><q id='0Sdd3'></q></dir></style></legend>

        <i id='0Sdd3'><tr id='0Sdd3'><dt id='0Sdd3'><q id='0Sdd3'><span id='0Sdd3'><b id='0Sdd3'><form id='0Sdd3'><ins id='0Sdd3'></ins><ul id='0Sdd3'></ul><sub id='0Sdd3'></sub></form><legend id='0Sdd3'></legend><bdo id='0Sdd3'><pre id='0Sdd3'><center id='0Sdd3'></center></pre></bdo></b><th id='0Sdd3'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='0Sdd3'><tfoot id='0Sdd3'></tfoot><dl id='0Sdd3'><fieldset id='0Sdd3'></fieldset></dl></div>
        <tfoot id='0Sdd3'></tfoot>

        <small id='0Sdd3'></small><noframes id='0Sdd3'>

        有沒有辦法從 DataContract 導出 XSD 架構

        Is there a way to export an XSD schema from a DataContract(有沒有辦法從 DataContract 導出 XSD 架構)
          <tbody id='xBPxm'></tbody>

                <bdo id='xBPxm'></bdo><ul id='xBPxm'></ul>
                <tfoot id='xBPxm'></tfoot>

                1. <small id='xBPxm'></small><noframes id='xBPxm'>

                2. <legend id='xBPxm'><style id='xBPxm'><dir id='xBPxm'><q id='xBPxm'></q></dir></style></legend>
                3. <i id='xBPxm'><tr id='xBPxm'><dt id='xBPxm'><q id='xBPxm'><span id='xBPxm'><b id='xBPxm'><form id='xBPxm'><ins id='xBPxm'></ins><ul id='xBPxm'></ul><sub id='xBPxm'></sub></form><legend id='xBPxm'></legend><bdo id='xBPxm'><pre id='xBPxm'><center id='xBPxm'></center></pre></bdo></b><th id='xBPxm'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='xBPxm'><tfoot id='xBPxm'></tfoot><dl id='xBPxm'><fieldset id='xBPxm'></fieldset></dl></div>
                  本文介紹了有沒有辦法從 DataContract 導出 XSD 架構的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我正在使用 DataContractSerializer 將我的類序列化/反序列化到 XML.一切正常,但在某些時候,我想為這些 XML 文件的格式建立一個獨立于實際代碼的標準模式.這樣,如果序列化過程中出現問題,我總是可以返回并檢查標準模式應該是什么.或者,如果我確實需要修改架構,那么修改是一個明確的決定,而不僅僅是修改我的代碼的后續影響.

                  I'm using DataContractSerializer to serialize/deserialize my classes to/from XML. Everything works fine, but at some point I'd like to establish a standard schema for the format of these XML files independent of the actual code. That way if something breaks in the serialization process I can always go back and check what the standard schema should be. Or if I do need to modify the schema the modification is an explicit decision rather then just a later affect of modifying my code.

                  此外,其他人可能正在編寫其他可能不是基于 .NET 的軟件,這些軟件需要從這些 XML 文件中讀取.我希望能夠為他們提供某種架構文檔.

                  In addition, other people may be writing other software that may not be .NET based that would need to read from these XML files. I'd like to be able to provide them with some kind of documentation of the schema.

                  DataContract 和 XSD 架構之間是否存在某種關系.有沒有辦法將類中的 DataContract 屬性導出為 XSD 架構?

                  Is there some relationship between a DataContract and an XSD schema. Is there a way to export the DataContract attributes in classes as an XSD schema?

                  推薦答案

                  Svcutil.exe 可以導出已編譯數據合約的元數據".
                  DataContract 和 XSD 之間存在關系:

                  當使用元數據終結點或 ServiceModel 元數據實用工具 (Svcutil.exe) 從 Windows Communication Foundation (WCF) 服務導出元數據時,DataContractSerializer 會將 CLR 類型映射到 XSD.有關詳細信息,請參閱數據協定序列化程序.

                  The DataContractSerializer maps CLR types to XSD when metadata is exported from a Windows Communication Foundation (WCF) service using a metadata endpoint or the ServiceModel Metadata Utility Tool (Svcutil.exe). For more information, see Data Contract Serializer.

                  當使用 Svcutil.exe 訪問 Web 服務描述語言 (WSDL) 或 XSD 文檔并為服務或客戶端生成數據協定時,DataContractSerializer 還將 XSD 映射到 CLR 類型.

                  The DataContractSerializer also maps XSD to CLR types when Svcutil.exe is used to access Web Services Description Language (WSDL) or XSD documents and generate data contracts for services or clients.

                  即使在瀏覽器中,您也可以通過 設置 MEX 端點.
                  默認情況下,WSDL 將包含對可以通過端點訪問的 XSD 的引用.

                  You can get the XSD(s) at run-time as well, even in your browser, by setting up a MEX endpoint.
                  The WSDL by default will contain references to XSD(s) that can be accessed through the endpoint as well.

                  這篇關于有沒有辦法從 DataContract 導出 XSD 架構的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  What are good algorithms for vehicle license plate detection?(車牌檢測有哪些好的算法?)
                  onClick event for Image in Unity(Unity中圖像的onClick事件)
                  Running Total C#(運行總 C#)
                  Deleting a directory when clicked on a hyperlink with JAvascript.ASP.NET C#(單擊帶有 JAvascript.ASP.NET C# 的超鏈接時刪除目錄)
                  asp.net listview highlight row on click(asp.net listview 在單擊時突出顯示行)
                  Calling A Button OnClick from a function(從函數調用按鈕 OnClick)

                      <tfoot id='94cVZ'></tfoot>

                      <legend id='94cVZ'><style id='94cVZ'><dir id='94cVZ'><q id='94cVZ'></q></dir></style></legend>

                      <small id='94cVZ'></small><noframes id='94cVZ'>

                    • <i id='94cVZ'><tr id='94cVZ'><dt id='94cVZ'><q id='94cVZ'><span id='94cVZ'><b id='94cVZ'><form id='94cVZ'><ins id='94cVZ'></ins><ul id='94cVZ'></ul><sub id='94cVZ'></sub></form><legend id='94cVZ'></legend><bdo id='94cVZ'><pre id='94cVZ'><center id='94cVZ'></center></pre></bdo></b><th id='94cVZ'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='94cVZ'><tfoot id='94cVZ'></tfoot><dl id='94cVZ'><fieldset id='94cVZ'></fieldset></dl></div>

                          <bdo id='94cVZ'></bdo><ul id='94cVZ'></ul>
                            <tbody id='94cVZ'></tbody>

                          • 主站蜘蛛池模板: 国产精品日韩在线 | 欧美福利视频 | 日本亚洲一区 | 国产精品免费小视频 | 亚洲不卡在线视频 | 一道本不卡 | 在线黄色网 | 国产一区二区三区免费 | 涩涩视频在线看 | 一区二区三区免费 | 伊人网在线综合 | 天堂中文字幕av | 2019精品手机国产品在线 | 日本免费一区二区三区 | 亚洲免费在线 | 成人免费观看视频 | 日韩在线视频免费观看 | 中文字幕一区二区三区四区五区 | 色视频网站在线观看 | 欧美成人影院在线 | 亚洲精品无 | 日韩欧美在线免费 | 超碰免费在线观看 | 日本免费在线看 | 青青草av| 亚洲最新在线视频 | 日本欧美大片 | 欧美美女爱爱视频 | 日韩成人一区 | 日韩精品成人 | 精品一区二区三区av | 91中文字幕在线观看 | 久久精品99久久 | 黄色在线播放视频 | 久久久久久久久久一区 | 亚洲精品国产a久久久久久 中文字幕一区二区三区四区五区 | 久久久久久久久综合 | 另类a v| 欧美日韩亚洲系列 | 91在线精品一区二区 | 999观看免费高清www |