We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19fb486 commit 956401eCopy full SHA for 956401e
src/ServiceStack.Hello/default.htm
@@ -260,19 +260,15 @@ <h2>3. Creating your first Web Service</h2>
260
</p>
261
262
<h4>1. Create the name of your Web Service (i.e. the Request DTO)</h4>
263
-<code class="csharp">[DataContract]
264
-public class Hello
+<code class="csharp">public class Hello
265
{
266
- [DataMember]
267
public string Name { get; set; }
268
}
269
</code>
270
271
<h4>2. Define what your Web Service will return (i.e. Response DTO)</h4>
272
273
-public class HelloResponse
+<code class="csharp">public class HelloResponse
274
275
276
public string Result { get; set; }
277
278
0 commit comments