Microsoft MVP성태의 닷넷 이야기
VS.NET IDE : 32. Add-in : Paste XML as serializable type [링크 복사], [링크+제목 복사],
조회: 9547
글쓴 사람
정성태 (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]


비밀번호

댓글 작성자
 




... 16  17  18  19  20  21  22  23  24  25  26  27  28  29  [30]  ...
NoWriterDateCnt.TitleFile(s)
450정성태9/28/20069605.NET : 16. ADO.NET vNext Entity Data Model Designer Prototype, CTP
449정성태9/28/200610514TFS : 37. Team Foundation Server and Basic Authentication
448정성태9/28/200610075TFS : 36. Moving the Team Foundation Server Data Warehouse to a Separate Server
447정성태10/20/200610210Vista : 10. ASLR이 적용된 Vista
446정성태9/26/200610001개발환경 구성 : 31. Profiling Tool for .NET Developers
445정성태10/20/20069652Windows 2008 : 2. LHS Feature Of The Week #2 - Remote Differential Compression
444정성태10/20/200610225Windows 2008 : 1. LHS Feature Of The Week #1 - Transactional NTFS
443정성태9/23/200610114개발환경 구성 : 30. Tip/Trick: Optimizing ASP.NET 2.0 Web Project Build Performance with VS 2005
442정성태9/28/200610679TFS : 35. 설치 설명서 / 관리자 가이드 도움말 업데이트
441정성태9/21/200611164개발환경 구성 : 29. SQL Server Spec 비교
440정성태10/20/200610557.NET 3.0 : 3. WCF Workshops updated to Release Candidate 1
439정성태9/20/200610557개발환경 구성 : 28. Caml Viewer 2007 : released on Codeplex
438정성태9/20/200610318개발환경 구성 : 27. Enterprise Smart Card Deployment in the Microsoft® Windows® Smart Card Framework
437정성태9/19/200610262TFS : 34. Getting Started with TFS Integrator 파일 다운로드2
434정성태9/20/200610975개발환경 구성 : 26. Developing Web Applications on Windows Vista with Visual Studio 2005
433정성태10/20/200610421Vista : 9. Next Generation TCP/IP Stack
432정성태9/16/200610290TFS : 33. Now Available: Teamprise V2 Preview 2
431정성태9/16/20069943개발환경 구성 : 25. Announcing the Web Client Software Factory
430정성태9/15/200610289.NET : 15. ASP.NET 2.0 - A Preview of Web LINQ - BLINQ
429정성태9/15/20069870The True Cost of .NET Exceptions
428정성태9/15/200611660.NET : 14. IronPython 예제들
427정성태9/14/200611156개발환경 구성 : 24. Smart Start and Stop Service in VS.NET Build
426정성태9/13/200610584TFS : 32. Team Foundation Server Language Change Package
425정성태9/12/200610425TFS : 31. Team Foundation Administrator's Guide (TFSAdmin.chm)
424정성태9/12/200611092Visual C++ : 2. Managed Debugger Expression Evaluator - mcee_mc.dat
422정성태9/8/200611000.NET : 13. An Introduction to LINQ
... 16  17  18  19  20  21  22  23  24  25  26  27  28  29  [30]  ...