Handling POST and PUT methods with Lullaby

Posted by: <Rolog>, on 22 Sep 2008 | View original | Bookmarked: 0 time(s)

When a POST or PUT method is sent to Lullaby, the request stream is deserialized to the type of the REST class that is currently being invoked and the REST method is invoked with the deserialized object. The REST method for a POST or PUT method needs to have one argument that is of the type of the enclosing REST class. Below is an example of a XML request stream and a simple Lullaby REST class and REST POST method. <Address>   <AddressLine1>123 My Street</AddressLine1>  ...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 887 | Hits: 37

Similar Posts

  • Code Sample Taxonomy more
  • Silverlight Streaming Utility Classes more
  • Thoughts on the Code Contracts Preview for .NET 4.0 more
  • Change to RestClassAttribute and RestMethodAttribute more
  • Graffiti CMS Extension for DotNetKicks more
  • Lullaby's authentication provider framework more
  • Announcing Lullaby more
  • ASP.NET MVC CodePlex Preview 5 Released more
  • DNN Content: The growth of community content about Dotnetnuke more
  • New feature in Subtext 2.0: publish in the future more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD