久久久久久久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'>

        有沒(méi)有辦法從 DataContract 導(dǎo)出 XSD 架構(gòu)

        Is there a way to export an XSD schema from a DataContract(有沒(méi)有辦法從 DataContract 導(dǎo)出 XSD 架構(gòu))
          <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>
                  本文介紹了有沒(méi)有辦法從 DataContract 導(dǎo)出 XSD 架構(gòu)的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                  問(wèn)題描述

                  限時(shí)送ChatGPT賬號(hào)..

                  我正在使用 DataContractSerializer 將我的類(lèi)序列化/反序列化到 XML.一切正常,但在某些時(shí)候,我想為這些 XML 文件的格式建立一個(gè)獨(dú)立于實(shí)際代碼的標(biāo)準(zhǔn)模式.這樣,如果序列化過(guò)程中出現(xiàn)問(wèn)題,我總是可以返回并檢查標(biāo)準(zhǔn)模式應(yīng)該是什么.或者,如果我確實(shí)需要修改架構(gòu),那么修改是一個(gè)明確的決定,而不僅僅是修改我的代碼的后續(xù)影響.

                  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.

                  此外,其他人可能正在編寫(xiě)其他可能不是基于 .NET 的軟件,這些軟件需要從這些 XML 文件中讀取.我希望能夠?yàn)樗麄兲峁┠撤N架構(gòu)文檔.

                  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 架構(gòu)之間是否存在某種關(guān)系.有沒(méi)有辦法將類(lèi)中的 DataContract 屬性導(dǎo)出為 XSD 架構(gòu)?

                  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 可以導(dǎo)出已編譯數(shù)據(jù)合約的元數(shù)據(jù)".
                  DataContract 和 XSD 之間存在關(guān)系:

                  當(dāng)使用元數(shù)據(jù)終結(jié)點(diǎn)或 ServiceModel 元數(shù)據(jù)實(shí)用工具 (Svcutil.exe) 從 Windows Communication Foundation (WCF) 服務(wù)導(dǎo)出元數(shù)據(jù)時(shí),DataContractSerializer 會(huì)將 CLR 類(lèi)型映射到 XSD.有關(guān)詳細(xì)信息,請(qǐng)參閱數(shù)據(jù)協(xié)定序列化程序.

                  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.

                  當(dāng)使用 Svcutil.exe 訪問(wèn) Web 服務(wù)描述語(yǔ)言 (WSDL) 或 XSD 文檔并為服務(wù)或客戶(hù)端生成數(shù)據(jù)協(xié)定時(shí),DataContractSerializer 還將 XSD 映射到 CLR 類(lèi)型.

                  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.

                  即使在瀏覽器中,您也可以通過(guò) 設(shè)置 MEX 端點(diǎn).
                  默認(rèn)情況下,WSDL 將包含對(duì)可以通過(guò)端點(diǎn)訪問(wèn)的 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.

                  這篇關(guān)于有沒(méi)有辦法從 DataContract 導(dǎo)出 XSD 架構(gòu)的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

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

                          • 主站蜘蛛池模板: 亚洲 欧美 精品 | 91中文字幕在线观看 | 看片91 | 中文字幕视频在线观看 | 久久精品免费 | 美女久久久久久久 | 亚洲国产精品99久久久久久久久 | 91久久国产综合久久91精品网站 | 91视视频在线观看入口直接观看 | 国产精品日本一区二区不卡视频 | 国产一区二区精品在线观看 | 欧美日韩高清 | 毛片黄片| 99久久久无码国产精品 | 精品视频一区二区三区 | 精品国产乱码久久久久久闺蜜 | 国产精品久久国产精品 | 中文字幕在线免费观看 | 中文字幕乱码视频32 | 国产成人av一区二区三区 | 久久精品在线 | 国产一在线观看 | 国产区精品视频 | 99这里只有精品视频 | 黑人精品欧美一区二区蜜桃 | h视频在线观看免费 | 国产午夜精品久久久 | 韩日视频在线观看 | aaa一区| 一区二区三区四区免费视频 | 日韩精品一区二区三区在线播放 | 国产在线精品一区二区三区 | 国产一区二区三区四区五区加勒比 | 国产精品永久在线观看 | 99亚洲精品 | 欧美色综合天天久久综合精品 | 日本一区二区高清视频 | 亚洲第一区久久 | 日韩在线欧美 | 色中文在线| 巨大荫蒂视频欧美另类大 |