| |
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.
|
20 Articles match "Protocol","Restful"
| 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 The built-in router is great for a lot of different scenarios – it provides content-based routing, multicasting, protocol bridging, and failover-based routing. 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. Enjoy. DevelopMentor Courses - Tuesday, April 24, 2012 Service-Orientation Today and Tomorrow Training WCF REST REST is another architectural style for building services ? often also called RESTful services. REST embraces HTTP as an application protocol and uses URIs to address pieces of functionality in a service. which allows building RESTful services with an easy to use API. And finally, we&aposll learn the fundamentals of REST, as well as why and when RESTful services make sense. Are you someone who would like to develop solutions for today"s problems and be prepared for future challenges? We have the course for you! DevelopMentor Courses - Tuesday, March 1, 2011 |
15 Articles match "Protocol","Restful"
| The Latest from DevelopMentor | MORE | | Roll Your Own REST-ful WCF Router The built-in router is great for a lot of different scenarios – it provides content-based routing, multicasting, protocol bridging, and failover-based routing. 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. Enjoy. DevelopMentor Courses - Tuesday, April 24, 2012 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 Token based Authentication for WCF HTTP/REST Services: Authentication This post shows some of the implementation techniques for adding token and claims based security to HTTP/REST services written with WCF. It gets invoked early enough in the pipeline, has access to the HTTP protocol details of the incoming request and can set Thread.CurrentPrincipal. Bearer" , "[link] , "https://roadie/webservicesecurity/rest/" , "WFD7i8XRHsrUPEdwSisdHoHy08W3lM16Bk6SCT8ht6A=" ); In some situations, SAML token may be used as well. For the theoretical background, see my previous post. Disclaimer. Goals and requirements. Implementation overview. Error handling. www.leastprivilege.com - Tuesday, November 15, 2011 | -
| The Best from DevelopMentor | MORE | - Using HTTP status codes in a REST service
Now the HTTP protocol also contains a way of sending status information back to the client but when using SOAP that is mostly ignored, all we use is a 200 OK or an 500 Internal Server Error error status. 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. But there are far more status codes we can use. For example a database connection failed. Enjoy! The Problem Solver - Wednesday, July 20, 2011 - Access Control Service: Protocol and Token Transition
ACS v2 supports a number of protocols (WS-Federation, WS-Trust, OpenId, OAuth 2 / WRAP) and a number of token types (SWT, SAML 1.1/2.0) – see Vittorio’s Infographic here. Some protocols are designed for active client (WS-Trust, OAuth / WRAP) and some are designed for passive clients (WS-Federation, OpenID). One of the most obvious advantages of ACS is that it allows to transition between various protocols and token types. This way you application only needs to understand a single protocol whereas ACS acts as a protocol bridge (see my ACS2 sample here ). www.leastprivilege.com - 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 HTTP methods in a REST service
So I guess the designers of the HTTP specs must have thought why not do the same with the HTTP protocol. When REST came along and it embraced the HTTP standard is also embraced the HTTP verbs. And it turns out that makes perfect sense because REST is about resources. www.dotnetevents.nl.NET WCF REST dotnetmagIn a normal language like English we use verbs all the time to describe what we are doing. And that makes perfect sense. In the HTTP spec these are called methods but commonly these are also names verbs. Sounds familiar? What about SOAP messages? Safe actions. The Problem Solver - Thursday, August 25, 2011 - Roll Your Own REST-ful WCF Router
The built-in router is great for a lot of different scenarios – it provides content-based routing, multicasting, protocol bridging, and failover-based routing. 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. Enjoy. DevelopMentor Courses - Tuesday, April 24, 2012 - Token based Authentication and Claims for Restful Services
While there is limited support for WCF WebServiceHost based services (for standard credential types like Windows and Basic), there is no ready to use plumbing for RESTful services that do authentication based on tokens. This is not an oversight from the WIF team, but the REST services security world is currently rapidly changing – and that’s by design. There are a number of intermediate solutions, emerging protocols and token types , as well as some already deprecated ones. So it didn’t make sense to bake that into the core feature set of WIF. Here’s how. Click here.). www.leastprivilege.com - Tuesday, November 15, 2011 %>
| | |