Microsoft MVP성태의 닷넷 이야기
VS.NET IDE : 32. Add-in : Paste XML as serializable type [링크 복사], [링크+제목 복사],
조회: 12358
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 


VS.NET Add-in : Paste XML as serializable type


오... 재미있는 툴이네요. 저를 포함해서, 이런 툴이 있다는 사실을 아는 사람들이 거의 없는 모양입니다. 이번 MIX07 에서 관련해서 소개가 되었다는 데 다들 신선했나 봅니다. ^^

다음의 토픽들에서 이에 대해 자세히 설명해 주고 있습니다.

Paste XML as serializable type
; http://bloggingabout.net/blogs/dennis/archive/2007/05/05/paste-xml-as-serializable-type.aspx

Paste XML as serializable type
; http://blogs.msdn.com/mwinkle/archive/2007/05/14/paste-xml-as-serializable-type.aspx

간단하게 풀어보면. 다음과 같은 XML 내용을 클립 보드로 복사한 경우,

<training>
  <name>WCF</name>
  <location>MIC</location>
</training>

VS.NET 2005/Orcas 에서는 다음과 같은 Edit / Paste XML as Serializable Type 메뉴가 생깁니다.

paste_as_serialize_image_thumb.png

선택하면? ^^

다음과 같은 코드가 자동 생성됩니다.

[System.Xml.Serialization.XmlRootAttribute(Namespace = "", ElementName = "training")]
public class TrainingClass
{
  private string nameField;
  private string locationField;
 
  [System.Xml.Serialization.XmlElementAttribute(Namespace = "", ElementName = "name")]
  public virtual string Name
  {
    get { return this.nameField; }
    set  {  this.nameField = value;  }
  }
 
  [System.Xml.Serialization.XmlElementAttribute(Namespace = "", ElementName = "location")]
  public virtual string Location
  {
    get { return this.locationField;}
    set { this.locationField = value;}
  }  
}

오... 훌륭하지요. ^^

의외로, 이 add-in 툴은 현재 "BizTalk Services SDK" 에 포함되어 있습니다. 다음의 경로에서 다운로드 받을 수 있습니다.

BizTalk Labs - BizTalk Services SDK
; http://labs.biztalk.net/downloads.aspx

하지만, 사용자들의 요구 사항으로 인해 조만간 PowerTools 에서 보게 될 수 있을 것 같습니다. ^^



[이 토픽에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]







[최초 등록일: ]
[최종 수정일: 5/16/2007]


비밀번호

댓글 작성자
 




... 31  32  33  34  35  36  37  [38]  39  40  41  42  43  44  45  ...
NoWriterDateCnt.TitleFile(s)
239정성태4/18/200611635Display a Web Page in a Plain C Win32 Application
238정성태4/17/200611563ASP.NET 2.0 의 Provider 관련 쪽 소스 공개
237정성태4/17/200611263Microsoft Application Verifier
236정성태4/17/200612517IIS6 - IE static resource caching problem
235정성태4/13/200611192"Atlas" Control Toolkit for April CTP Released
234정성태4/13/200611526Access Visual Studio 2005 Team System From Macintosh and UNIX Systems, and from within the Eclipse IDE
233정성태4/13/200611220More Workflow Videos
232정성태4/13/200612193Microsoft Visual C++ 2005 Redistributable Package
231정성태4/13/200611706Windows Presentation Foundation Hands-On-Labs - February 2006 CTP
230정성태4/13/200611549Microsoft Management Model Designer
229정성태4/13/200612538Discovery Wizard for SharePoint
228정성태4/13/200612083TeamPlain Web Access for Team System
227정성태4/13/200611899Scrum for Team System Released
226정성태4/13/200611818Visual Studio Team Foundation Server MSSCCI Provider Version 1.0
224정성태4/13/200611367VC++ - GroupLab Component Library
223정성태4/13/200610503MSBuild Community Tasks Project releases new version
225정성태4/13/20069926    답변글 Visual Studio 2005 Web Application Projects (RC1)
222정성태4/13/200610975Visual Studio 2005 Security Features and Tools
220정성태6/8/200610877Shared Source Common Language Infrastructure 2.0 Release [1]
219정성태8/4/200610724Simple List Extensions Specification
218정성태4/13/2006113163rd party library - EZShellExtensions.Net 1.0 [1]
217정성태4/13/200611079Bug Details: GC fails to load in server mode if config file contains none ASCII characters
215정성태4/13/200611237http://www.400plusdifferences.com/
214정성태4/13/20069704Team Foundation Server, Biztalk 2006
216정성태4/13/200611087    답변글 Team Foundation Server 시험판 공개 다운로드
213정성태4/13/200611168Introduction to the MSN Messenger Activity SDK
... 31  32  33  34  35  36  37  [38]  39  40  41  42  43  44  45  ...