| |
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.
|
16 Articles match "Restful","Restful Services"
| Related DevelopMentor Courses | MORE | | Secure WCF REST Services with a Custom UserNamePasswordValidator When securing WCF services you’re faced with a choice: Message versus Transport security. Using SSL is generally the best choice for ensuring point-to-point privacy and integrity, which lets you pass user credentials over the wire when directly invoking service operations. This will cause the service to look in a soap header for client credentials. It turns out the serviceCredentials behavior doesn’t really have anything to do with whether it’s a Soap or Rest-based service. Technical REST Security WCFDownload the code for this blog post here. Enjoy. DevelopMentor Courses - Monday, May 28, 2012 Ninject WCF Extensions for RESTful Services while ago I blogged about using Ninject for dependency injection with WCF Services. The problem with WCF services is that by default they are required to have a parameterless constructor, which does not play nice with DI containers, such as Ninject , which support injection of dependencies via constructor parameters. had the need recently to set up a REST-style WCF Services project and wanted to use Ninject for DI with it. Things get a little tricky, however, if you want to expose both SOAP and REST endpoints from the same WCF service. Named( "Rest" ).WithConstructorArgument( DevelopMentor Courses - Sunday, April 8, 2012 Using SignalR for real time data updates To be fair the JavaScript would be using jQuery in most cases and would be quite trivial to write against some REST service. Replacing a REST service with SignalR Suppose the client doesn’t load the data using a REST service but uses SignalR instead. REST HTML5 ASP.NET MVC SignalRIn a previous post I showed how easy it is to create a simple chat application using SignalR. And chatting on the internet might be popular but as it turns out there are rather a lot of applications that need to do more than just chat. var hub = $.connection.booksHub; The Problem Solver - Wednesday, July 25, 2012 |
67 Articles match "Restful","Restful Services"
| The Latest from DevelopMentor | MORE | | Join Me at Guerrilla.NET in November Building RESTful Services with The ASP.NET Web API. Just a quick announcement for an developer upcoming event I’ll be participating in… Early November I’ll be co-teaching DevelopMentor’s biggest.NET developer event of the year in Los Angeles: Guerrilla.NET. If you haven’t been to Guerrilla.NET, it’s a very unique and memorable event – it’s unlike almost any other training class you’ve seen. We’ve just updated the outline with the most important current and upcoming technologies (see below). hope to see you there! C# 5.0. Michael C. Kennedy's Weblog - Tuesday, September 25, 2012 Using SignalR for real time data updates To be fair the JavaScript would be using jQuery in most cases and would be quite trivial to write against some REST service. Replacing a REST service with SignalR Suppose the client doesn’t load the data using a REST service but uses SignalR instead. REST HTML5 ASP.NET MVC SignalRIn a previous post I showed how easy it is to create a simple chat application using SignalR. And chatting on the internet might be popular but as it turns out there are rather a lot of applications that need to do more than just chat. var hub = $.connection.booksHub; The Problem Solver - Wednesday, July 25, 2012 Using SignalR for real time data updates To be fair the JavaScript would be using jQuery in most cases and would be quite trivial to write against some REST service. Replacing a REST service with SignalR Suppose the client doesn’t load the data using a REST service but uses SignalR instead. REST HTML5 ASP.NET MVC SignalRIn a previous post I showed how easy it is to create a simple chat application using SignalR. And chatting on the internet might be popular but as it turns out there are rather a lot of applications that need to do more than just chat. var hub = $.connection.booksHub; The Problem Solver - Wednesday, July 25, 2012 | -
| The Best from DevelopMentor | MORE | - Secure WCF REST Services with a Custom UserNamePasswordValidator
When securing WCF services you’re faced with a choice: Message versus Transport security. Using SSL is generally the best choice for ensuring point-to-point privacy and integrity, which lets you pass user credentials over the wire when directly invoking service operations. This will cause the service to look in a soap header for client credentials. It turns out the serviceCredentials behavior doesn’t really have anything to do with whether it’s a Soap or Rest-based service. Technical REST Security WCFDownload the code for this blog post here. Enjoy. DevelopMentor Courses - Monday, May 28, 2012 - Using HTTP status codes in a REST service
When 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. 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. 5xx is all about service errors With these status codes we indicate that something went wrong in the service. In that case the service would return a 401 Unauthorized status. Book GetBook( int id). {. null ). {. The Problem Solver - Wednesday, July 20, 2011 - Ninject WCF Extensions for RESTful Services
while ago I blogged about using Ninject for dependency injection with WCF Services. The problem with WCF services is that by default they are required to have a parameterless constructor, which does not play nice with DI containers, such as Ninject , which support injection of dependencies via constructor parameters. had the need recently to set up a REST-style WCF Services project and wanted to use Ninject for DI with it. Things get a little tricky, however, if you want to expose both SOAP and REST endpoints from the same WCF service. Named( "Rest" ).WithConstructorArgument( DevelopMentor Courses - Sunday, April 8, 2012 - Building rich HTML 5 clients using REST services
You can download the slide from my session on Building rich HTML 5 clients using REST services here and the sample application using the WCF Web API here. www.dotnetevents.nl.NET WCF webcast ASP.NET REST dotnetmag HTML5The slides are also available on SlideShare. Enjoy! www.TheProblemSolver.nl The Problem Solver - Wednesday, October 26, 2011 - Building rich HTML 5 clients using REST services recording
For those who missed the online event about building JavaScript and HTML 5 client for a REST service build using the new WCF Web API the recordings are up. www.dotnetevents.nl.NET WCF webcast ASP.NET REST HTML5You can download the hi res recording here or download one of the other formats from the main page here. And remember there a bunch of other useful recording from other DevelopMentor instructors on the same page. Enjoy! www.TheProblemSolver.nl The Problem Solver - Thursday, November 3, 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. The Problem Solver - Tuesday, June 21, 2011 - Token based Authentication and Claims for Restful Services
WIF as it exists today is optimized for web applications (passive/WS-Federation) and SOAP based services (active/WS-Trust). 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. HTTP Services and Authentication. Here’s how. Claims transformation. www.leastprivilege.com - Tuesday, November 15, 2011 %>
| | |