| |
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.
|
31 Articles match "API","Restful"
| Related DevelopMentor Courses | MORE | | Self Hosted Web API / Nuget Gotcha Just a heads up that when self hosting the new WCF Web API. By default if you try to add the Web API references via Nuget you will get a failure (E_FAIL returned from a COM component). Yet again bitten by the Client Profile.NET;REST;WCFThis is due to the likely project types (Console, Windows Service, WPF) defaulting to the client profile rather than the full framework. If you change the project to the full framework the Nuget packages install correctly. DevelopMentor Courses - Wednesday, June 15, 2011 |
66 Articles match "API","Restful"
| The Latest from DevelopMentor | MORE | | Unit testing a ASP.NET WebAPI controller 'One of he goals of the ASP.NET WebAPI is to make REST style API controllers more testable than more traditional WCF services where in the past. 14: 15: // GET api/books. 20: 21: // GET api/books/5. The implementation looks like this: 1: // PUT api/books/5. The implementation is as follows: 1: // POST api/books. ASP.NET REST WebAPI For the most part that is true but there are cases where an ApiController depends on the actual incoming request and its data and things can become a bit more difficult. 1: public class BooksController : ApiController. The Problem Solver - Sunday, May 12, 2013 A Roundup of MongoDB Management Tools It beautifully blends the power of the mongo shell and JavaScript API with a classy and intuitive user interface. 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. Michael C. Kennedy's Weblog - Monday, April 22, 2013 | -
| The Best from DevelopMentor | MORE | - 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. just prefer the MVC approach, you might not. 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. 3: private NorthwindContext _db = new NorthwindContext(); 4: 5: // GET /api/. 10: 11: // GET /api/ /5. 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. 13: {. 16: }. The Problem Solver - Wednesday, March 21, 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. 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. 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. Book GetBook( int id). {. The Problem Solver - Wednesday, July 20, 2011 - 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
I recently did a few blog posts showing the basics of how to get started with the WCF Web API but before I continue I think it is best to start with the why instead of how. 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. Enjoy! www.TheProblemSolver.nl The Problem Solver - Tuesday, June 21, 2011 - Getting started with the WCF Web API
Warning: This post is based on a prerelease version of the WCF Web API When designing services the REST style is becoming more and more popular. Not that REST is anything new, it has been around for some time. The fact that WCF supports REST services isn’t new either as the WebServiceHost and WebHttpBinding where released with the.NET framework 3.5. However the original REST support in WCF was quite limited. You could build very nice REST services but you had to do a lot of work because out of the box there isn’t support for much functionality. Enjoy! The Problem Solver - Tuesday, May 31, 2011 %>
| | |