| |
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.
|
45 Articles match "Restful","Web"
| 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? Technical REST Security WCFDownload the code for this blog post here. netsh http add sslcert ipport=0.0.0.0:2345 DevelopMentor Courses - Monday, May 28, 2012 Building Scalable and Secure WCF Services Here is a web.config file with custom SOAP and REST bindings and Keep-Alive disabled. keepAliveEnabled = " false " /> </ binding > < binding name = " rest-secure-nokeepalive " > < webMessageEncoding /> < httpsTransport manualAddressing = " true ". The sample project contains the necessary binding configurations for both SOAP and REST style endpoints. Technical REST SOAP WCFThe key to building scalable WCF services is to eliminate binding configurations that could result in server affinity. Download the code for this blog post here. DevelopMentor Courses - Monday, June 18, 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 |
90 Articles match "Restful","Web"
| The Latest from DevelopMentor | MORE | | Reblogged: What should I learn to get started in.NET and web development? The question they had was: What should I learn to get started in.NET and web development? Now this question was starting from a position of “I’d like to get started with.NET and the web. To go from “ zero to web dev in.NET” I think you should start on these topics, in an iterative fashion: Fundamentals of C# (skip the advanced stuff – async, yield return, etc for now). Because you can preview the first lesson of each course, you have about 7 hours free and the rest are all included in an affordable $29 subscription. How do I do that?” Michael C. Kennedy's Weblog - Monday, May 6, 2013 A Roundup of MongoDB Management Tools Now there is one less worry in managing your web-scale data. 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. Installs into your web app (provided you’re using Ruby or PHP). My take : This is a very interesting web monitoring app. 'I’ve been working with MongoDB for a long time now. The news is good. Michael C. Kennedy's Weblog - Monday, April 22, 2013 | -
| The Best from DevelopMentor | 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? Technical REST Security WCFDownload the code for this blog post here. netsh http add sslcert ipport=0.0.0.0:2345 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. Using HTTP status codes with the WCF Web API returning custom HTTP status codes with the WCF Web API is quite easy. 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. The fix is quite simple. The Problem Solver - Wednesday, July 20, 2011 - Using the WCF Web API in an ASP.NET MVC application
Warning: This post is based on a prerelease version of the WCF Web API In my previous blog post I showed how to add to and use the new WCF Web API a console application using NuGet. 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. Just like in this post we can add a reference to the WCF Web API to our project. repo = repo; }. public BooksService(). The Problem Solver - Monday, June 13, 2011 - Query composition with the ASP.NET Web API
Having the ASP.NET Web API as a REST service returning data is kind of nice but to be efficient on the wire we don’t want to return more data that required only to discard it in the client. NET REST HTML5 WebAPI ASP.NET MVCAs we have seen in a previous post just returning a collection data was real easy. As it turns out changing the service so the client can filter data is almost just as easy. In the previous example we returned an IEnumerable. All we need to do is change this to return an IQueryable and most of the work is done. 6: public IQueryable Get(). 13: {. 16: }. The Problem Solver - Wednesday, March 21, 2012 - RESTful Web Services with WCF Screencast
I recently got the chance to record a screencast discussing REST-oriented web services in WCF. If you're interested in WCF you should definitely check it out because WCF and REST make an awesome combination. WCF-REST-Kennedy-Peepleocity.wmv 35 MB (WMV HD). cover building WCF services using REST princples, the WebGet and WebInvoke attributes, working with the SyndicationFeed & Rss20FeedFormatter classes, and configuration-free WCF hosting in IIS. You can also download the source code of the project built in the screencast. All content copyright Michael C. - 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 %>
| | |