ASP.NET Web API: Listing 1.
A Visual Studio-generated class.
<System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml",
"4.0.30319.17020"), _
System.Diagnostics.DebuggerStepThroughAttribute(), _
System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=True), _
System.Xml.Serialization.XmlRootAttribute([Namespace]:="",
IsNullable:=False)> _
Partial Public Class Customer
Private firstNameField As String
Public Property FirstName() As String
Get
Return Me.firstNameField
End Get
Set(value As String)
Me.firstNameField = Value
End Set
End Property
End Class
About the Author
Peter Vogel is a system architect and principal in PH&V Information Services. PH&V provides full-stack consulting from UX design through object modeling to database design. Peter tweets about his VSM columns with the hashtag #vogelarticles. His blog posts on user experience design can be found at http://blog.learningtree.com/tag/ui/.