Microsoft MVP성태의 닷넷 이야기
VS.NET IDE : 32. Add-in : Paste XML as serializable type [링크 복사], [링크+제목 복사],
조회: 12353
글쓴 사람
정성태 (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)
134정성태11/15/200510719Microsoft SQL Server Management Studio Express - Community Technical Preview (CTP) November 2005 [1]
242정성태4/19/200611088    답변글 정식 릴리스 - Microsoft SQL Server Management Studio Express
243정성태4/19/200610376    답변글 Microsoft SQL Server 2005 Express Edition Toolkit
245정성태4/19/200610883    답변글 Microsoft SQL Server 2005 Express Edition Service Pack 1
133정성태10/30/200510914VS.NET TS 버전을 제외하고 전부 나왔습니다. ^^
132정성태10/28/200511129IE Script 에서 ADO.Stream 개체를 사용 허가 유무를 지정.
131정성태10/27/200510562ASP.NET Spiced: AJAX
130정성태10/26/200512092RSA In JavaScript [1]파일 다운로드1
128정성태10/25/200510743Connecting to MS SQL Server from Unix파일 다운로드1
129정성태10/25/200510541    답변글 [추가]: SQL Server 2005 JDBC Driver Beta 2 Now Available
173정성태1/20/200610346        답변글 정식 릴리스: Microsoft SQL Server 2005 JDBC Driver
127정성태10/21/20051083064-bit Windows ; 언제, 그리고 왜 써야 할까?
126정성태10/19/200511277WSE(Web Services Enhancements) 3.0의 새로운 기능
125정성태10/14/200511222Cluster 가능한 StateServer 세션 관리자
124정성태10/14/200511333MapPoint Web Service SDK Version 4.0 for Visual Studio .NET 2003
123정성태10/14/200511029alpha release of the Python programming language for the .NET platform
161정성태1/3/200610987    답변글 [추가]: Beta release
184정성태8/12/200611491    답변글 Beta3 까지. ^^
190정성태3/10/200610876    답변글 Beta 4
221정성태3/31/200611087    답변글 Beta 5
246정성태4/21/200610993    답변글 Beta 6
295정성태5/24/200610066    답변글 Beta 7
122정성태10/13/200510852Determine whether service packs are installed on the .NET Framework
121정성태10/12/200510416.NET Reference Guide - 웹
120정성태11/14/200510960VS.NET Automation 과 VSIP
119정성태10/9/200510521Internet Information Services (IIS) 6.0 Resource Kit Tools (English)
... 31  32  33  34  35  36  37  38  39  40  41  [42]  43  44  45  ...