| |
browse.develop.com
Browse.develop.com is a community that was established to collect and
organize valuable web information. Our technical staff have selected and
indexed information and courses that they feel will help you stay
current on best practices across the SDLC.
|
15 Articles match "Restful","XML"
| Related DevelopMentor Courses | MORE | | Ninject WCF Extensions for RESTful Services had the need recently to set up a REST-style WCF Services project and wanted to use Ninject for DI with it. Luckily, the Ninject WCF Extension project had been updated to support REST, so I updated the Nuget package and discovered the project would not compile. Typically when exposing a REST-type endpoint from a WCF service, you would leverage the ASP.NET UrlRoutingModule by adding a ServiceRoute to the RouteTable in the Application_Start method of your Global.asax.cs Browsing to the REST-endpoint, and appending /help to the url, displays a list of available operations. DevelopMentor Courses - Sunday, April 8, 2012 Roll Your Own REST-ful WCF Router However, as the MSDN documentation for the WCF Router states, “ The Routing Service does not currently support routing of WCF REST services. The reason is fairly simple: the WCF Routing Service performs routing of messages in a way that is independent of the underlying transport, whereas a REST-based architecture is deeply rooted in the HTTP protocol and relies on the URI for delivery semantics. You can also achieve a more compact data representation with plain old XML (POX) or Javascript Object Notation (JSON), which could result in greater throughput. null ) { bool ? DevelopMentor Courses - Tuesday, April 24, 2012 WCF SOAP and REST Multi-Project Visual Studio Templates Last year I published a REST Multi-Project Visual Studio Template on the Visual Studio Extensions Gallery, available for download from the Tools-Manage Extensions menu from within Visual Studio 2010. It’s a similar idea as the REST Template, but using SOAP services. In addition there is a Common project with a Namespaces class that has constants that replace magic strings for xml namespaces on the service and data contracts. Technical REST SOAP Visual Studio WCFSelect the Templates category from the Online Gallery, then search for “WCF SOAP”. Enjoy. DevelopMentor Courses - Sunday, June 10, 2012 |
24 Articles match "Restful","XML"
| The Latest from DevelopMentor | MORE | | Simple WCF SOAP-REST Multi-Project Template did it again: another multi-project Visual Studio template – this time for a simple WCF service that exposes both SOAP and REST endpoints. My other REST and SOAP templates are intended as a starting point for more real-world WCF services. Search for “WCF SOAP-REST” in the Online Gallery, then click Download to install the extension. Then to use the template, simply select New Project from the File menu, click on the WCF category and select “WCF SOAP and REST Simple Service.” Here is code in the client project that uses SOAP and REST to communicate with the service. DevelopMentor Courses - Monday, June 11, 2012 WCF SOAP and REST Multi-Project Visual Studio Templates Last year I published a REST Multi-Project Visual Studio Template on the Visual Studio Extensions Gallery, available for download from the Tools-Manage Extensions menu from within Visual Studio 2010. It’s a similar idea as the REST Template, but using SOAP services. In addition there is a Common project with a Namespaces class that has constants that replace magic strings for xml namespaces on the service and data contracts. Technical REST SOAP Visual Studio WCFSelect the Templates category from the Online Gallery, then search for “WCF SOAP”. Enjoy. DevelopMentor Courses - Sunday, June 10, 2012 Roll Your Own REST-ful WCF Router However, as the MSDN documentation for the WCF Router states, “ The Routing Service does not currently support routing of WCF REST services. The reason is fairly simple: the WCF Routing Service performs routing of messages in a way that is independent of the underlying transport, whereas a REST-based architecture is deeply rooted in the HTTP protocol and relies on the URI for delivery semantics. You can also achieve a more compact data representation with plain old XML (POX) or Javascript Object Notation (JSON), which could result in greater throughput. null ) { bool ? DevelopMentor Courses - Tuesday, April 24, 2012 | -
| The Best from DevelopMentor | MORE | - Using HTTP status codes in a REST service
This SOAP fault is just another piece of XML informing the calling application about whatever was wrong. When we are building REST service we embrace HTTP and as a result we also embrace all the HTTP status codes, not just 200 and 500. www.dotnetevents.nl.NET WCF REST dotnetmagWhen we build services, or write any code for that matter, error can occur and we have to cater for those. With SOAP service we gibe a calling application information about the error by returning a SOAP fault. But there are far more status codes we can use. For example a database connection failed. The Problem Solver - Wednesday, July 20, 2011 - On building Restful services
lot of people will be familiar with writing SOAP style services but not everyone is quite as familiar with the REST approach so I guess that takes a bit of explanation. This subject is a bit long for a single blog post so I am going to do a number explaining what REST is, the difference with SOAP and how to build these Restful services using the WCF Web API. Of course the WCF Web API is still in a preview state so some of the technical things are subject to change over time but the general principal of building Restful services isn’t going to change a lot. Enjoy! The Problem Solver - Tuesday, June 21, 2011 - Digging into WCF REST
Last Thursday evening I presented a talk to the Dallas.NET User Group on support in WCF 4 for building REST-ful services. Here is a summary of the talk: To REST or Not To REST? Building REST-ful Services with the WCF Web Programming Model REST is defined as an architectural style for building services that embrace the principles of the web. Tony will provide concrete examples of where it makes sense to implement REST-ful web services. and Visual Studio 2010, folding in features we first saw in the REST Starter Kit, which is now largely obsolete. Tony and Zuzana's World - Saturday, September 10, 2011 - Ninject WCF Extensions for RESTful Services
had the need recently to set up a REST-style WCF Services project and wanted to use Ninject for DI with it. Luckily, the Ninject WCF Extension project had been updated to support REST, so I updated the Nuget package and discovered the project would not compile. Typically when exposing a REST-type endpoint from a WCF service, you would leverage the ASP.NET UrlRoutingModule by adding a ServiceRoute to the RouteTable in the Application_Start method of your Global.asax.cs Browsing to the REST-endpoint, and appending /help to the url, displays a list of available operations. DevelopMentor Courses - Sunday, April 8, 2012 - Using the WCF Web API in an ASP.NET MVC application
Now that works but it is far more likely that you will want to be using IIS and host the REST service as part of a web application. So in this blog post I am going to show how to do the normal thing I Created an ASP.NET MVC 3 app to host the REST service. non browser client application can consume this REST service quite easily using a standard HTTP API available. www.dotnetevents.nl.NET WCF ASP.NET VS2010 Futures NuGet RESTjust prefer the MVC approach, you might not. Just like in this post we can add a reference to the WCF Web API to our project. repo = repo; }. The Problem Solver - Monday, June 13, 2011 - Roll Your Own REST-ful WCF Router
However, as the MSDN documentation for the WCF Router states, “ The Routing Service does not currently support routing of WCF REST services. The reason is fairly simple: the WCF Routing Service performs routing of messages in a way that is independent of the underlying transport, whereas a REST-based architecture is deeply rooted in the HTTP protocol and relies on the URI for delivery semantics. You can also achieve a more compact data representation with plain old XML (POX) or Javascript Object Notation (JSON), which could result in greater throughput. null ) { bool ? DevelopMentor Courses - Tuesday, April 24, 2012 - WCF SOAP and REST Multi-Project Visual Studio Templates
Last year I published a REST Multi-Project Visual Studio Template on the Visual Studio Extensions Gallery, available for download from the Tools-Manage Extensions menu from within Visual Studio 2010. It’s a similar idea as the REST Template, but using SOAP services. In addition there is a Common project with a Namespaces class that has constants that replace magic strings for xml namespaces on the service and data contracts. Technical REST SOAP Visual Studio WCFSelect the Templates category from the Online Gallery, then search for “WCF SOAP”. Enjoy. DevelopMentor Courses - Sunday, June 10, 2012 %>
| | |