| |
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.
|
5 Articles match "Restful","URL"
| Related DevelopMentor Courses | MORE | | Secure WCF REST Services with a Custom UserNamePasswordValidator < serviceBehaviors > < behavior > < serviceCredentials > < userNameAuthentication userNamePasswordValidationMode = " Custom " customUserNamePasswordValidatorType = " Security.PasswordValidator, Security " /> </ serviceCredentials > </ behavior > </ serviceBehaviors > This is all fine and dandy, but it assumes that clients will only be talking Soap – what about REST-ful clients who don’t know a thing about Soap? You may also need to grant permission for the process hosting your service to register a url with Http.Sys. Enjoy. DevelopMentor Courses - Monday, May 28, 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 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 |
31 Articles match "Restful","URL"
| The Latest from DevelopMentor | MORE | | A Roundup of MongoDB Management Tools No url, comes with MongoDB itself. REST view, price: $0 / open-source, platforms: Windows, OS X, Linux. My take : While this is just the basic REST API of MongoDB, you can monitor your log files, run commands using the REST API, and otherwise check in on your server. Just requires the –rest command-line to mongod. 'I’ve been working with MongoDB for a long time now. Back in the early days, there really were no management tools analogous to RDBMS tools (e.g. SQL Server Management Studio ). Since then, things have changed significantly. link]. link]. Michael C. Kennedy's Weblog - Monday, April 22, 2013 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 Secure WCF REST Services with a Custom UserNamePasswordValidator < serviceBehaviors > < behavior > < serviceCredentials > < userNameAuthentication userNamePasswordValidationMode = " Custom " customUserNamePasswordValidatorType = " Security.PasswordValidator, Security " /> </ serviceCredentials > </ behavior > </ serviceBehaviors > This is all fine and dandy, but it assumes that clients will only be talking Soap – what about REST-ful clients who don’t know a thing about Soap? You may also need to grant permission for the process hosting your service to register a url with Http.Sys. Enjoy. DevelopMentor Courses - Monday, May 28, 2012 | -
| The Best from DevelopMentor | MORE | - REST services and URL’s
When designing and building REST services the URL’s used take on a rather important part. So it pays to think a lot about the URL structure up front. Basically a URL is used to identity a recourse. Unlike a primary key a resource can have multiple URL’s pointing to the same resource. Another difference is that we often have a URL for a collection of the same items. An often made mistake is to model operations using the same URL scheme. www.dotnetevents.nl.NET WCF REST dotnetmagSo it kind of behaved like a primary key in a database. Enjoy! The Problem Solver - Thursday, July 14, 2011 - Secure WCF REST Services with a Custom UserNamePasswordValidator
< serviceBehaviors > < behavior > < serviceCredentials > < userNameAuthentication userNamePasswordValidationMode = " Custom " customUserNamePasswordValidatorType = " Security.PasswordValidator, Security " /> </ serviceCredentials > </ behavior > </ serviceBehaviors > This is all fine and dandy, but it assumes that clients will only be talking Soap – what about REST-ful clients who don’t know a thing about Soap? You may also need to grant permission for the process hosting your service to register a url with Http.Sys. Enjoy. DevelopMentor Courses - Monday, May 28, 2012 - Using HTTP status codes in a REST service
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. The best known of these are the 303 See Other and the 301 Moved Permanently which are used a lot on the web to redirect a browser to another URL. This response usually also contains a Location header to indicate the URL of the newly created resource. If I request the books resource using the URL [link] I get the following. www.dotnetevents.nl.NET WCF REST dotnetmagBut there are far more status codes we can use. null ). {. else. {. 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 - 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. "{controller}/{action}/{id}" , // URL with parameters. "{controller}/{action}/{id}" , // URL with parameters. Navigating to the URL in browser results in the following: Pretty nice. www.dotnetevents.nl.NET WCF ASP.NET VS2010 Futures NuGet RESTrepo = repo; }. public BooksService(). The Problem Solver - Monday, June 13, 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 %>
| | |