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.

72 Articles match "Restful"

  • Related DevelopMentor Courses

    72 Results found
    Showing page 1 of 4   Next >

  • Excellent rest met de WebAPI #TechDaysNL
    De PowerPoint slides Excellent rest met de web api from Maurice Beijer En hier staat de bron code. NET REST WebAPI TechDaysEnjoy!
    Maurice de Bejeir - Monday, March 11, 2013
  • 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. And that will remain so until reloads the data. Enjoy!
    Maurice de Bejeir - Wednesday, July 25, 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? Technical REST Security WCFDownload the code for this blog post here. netsh http add sslcert ipport=
    Tony and Zuzana's World - Monday, May 28, 2012
  • 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. 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. Testing a simple ApiController that gets data Suppose we have the following ASP.NET WebAPI Controller with two Get methods, the first returns the complete list of books and the second returns the book with the requested ID. 8: 9: }. 11: {. 17: {.
    Maurice de Bejeir - Sunday, May 12, 2013
  • WCF SOAP and REST Multi-Project Visual Studio Templates
    Last year I published a REST Multi-Project Visual Studio Template on the Visual Studio Extensions Gallery, available for download from the Tools-Manage Extensions menu from within Visual Studio 2010. It’s a similar idea as the REST Template, but using SOAP services. Technical REST SOAP Visual Studio WCFWhat I like about this sort of project template is that it produces a much more realistic WCF solution with entities spit off into a separate project that is referenced from both the service and client projects. Click Download, then install the template. Enjoy.
    Tony and Zuzana's World - Sunday, June 10, 2012
  • Self Hosted Web API / Nuget Gotcha
    Yet again bitten by the Client Profile.NET;REST;WCFJust 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). This 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.
    .NET Meanderings - Wednesday, June 15, 2011
  • 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.
    Tony and Zuzana's World - Monday, June 11, 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.
    Tony and Zuzana's World - 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.
    Tony and Zuzana's World - Sunday, April 8, 2012
  • Showing AJAX activity in a AngularJS application
    REST AngularJS 'Showing some kind of AJAX busy indicator is a common thing in web applications. However it is something you don't want to do with every AJAX start and end of request. First of all writing all that code would be quite tedious but more importantly the might be multiple overlapping requests ongoing at the same time. And in a case like that you only want to show the AJAX busy indicator at the first request and more importantly hide it only when the last of the requests has finished. With AngularJS 1.2 The solution is simple: 1: module.config( function ($httpProvider) {.
    Maurice de Bejeir - Monday, January 13, 2014
  • Maurice de Beijer: On versioning WebAPI REST services
    'When you develop REST services you are going to run into the little matter of versioning, there is just no way to avoid it if you want to make any change to your REST service. What your version strategy is also depends on if your REST services are read-only or read-write with read-only services being somewhat simpler due to their smaller API surface. In these examples I am using the ASP.NET WebAPI but these same principles apply to REST services however you develop them. That said it is a relatively common and popular way of versioning REST services. 11: {.
    Maurice de Bejeir - Wednesday, October 2, 2013
  • Roll Your Own REST-ful WCF Router
    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. While the ASP.NET MVC or the new ASP.NET Web API might seems like attractive options, WCF is the way to go if you need to accommodate both Soap-based and Rest-ful clients. Enjoy.
    Tony and Zuzana's World - Tuesday, April 24, 2012
  • MyGet: Continuous Integration for the Rest of Us
    'By this time, most.NET developers are familiar with NuGet. It used to be that if you wanted to use some part of.NET, such as Entity Framework , you would add a reference to your project pointing to some DLL in the.NET Framework Class Library (FCL). Those days are loooong gone. Nowadays, if you want to use Entity Framework you must get it from NuGet, because it’s not even included in the FCL anymore. The reason is simple: product teams at Microsoft can push out updates in much shorter cycles using NuGet than they ever could do with the.NET Framework itself. That’s where MyGet comes in! <?
    Tony and Zuzana's World - Saturday, October 25, 2014
  • Maurice de Beijer: LIDNUG: Excellent REST using ASP.NET WebAPI material
    'Thank for attending the LIDNUG : Excellent REST using ASP.NET WebAPI session earlier today. The session recording is available here. The PowerPoint slides and sample code are also available for download. Enjoy
    Maurice de Bejeir - Thursday, September 26, 2013
  • Maurice de Beijer: LIDNUG: Excellent REST using ASP.NET WebAPI
    'Next week Wednesday, September 25, 2013, I will be presenting an online session for the Linked.Net Users Group. More info about this free event as well as the registration form can be found here. Hope to see you there
    Maurice de Bejeir - Monday, September 16, 2013
  • Tony Sneed: Build Async Services with ASP.NET Web API and Entity Framework 6
    Web services based either on WCF, which supports both SOAP and REST, or on ASP.NET Web API, which exclusively … Continue reading → If you are building web services that interact with a database, chances are they are not written in a scalable fashion.
    Tony and Zuzana's World - Friday, March 22, 2013
  • 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! Starting with.NET 3.5,
    DevelopMentor Courses - Tuesday, March 1, 2011
  • Guerrilla.NET (US) Training
    WCF REST : Create REST based services based on the WCF and ASP.NET stacks including the new WCF 5.0 REST-oriented features. MVC : Build modern web applications and services using JavaScript, jQuery, AJAX, REST, ASP.NET MVC, and more. WCF REST : Create REST based services based on the WCF and ASP.NET stacks including the new WCF 5.0 REST-oriented features. MVC : Build modern web applications and services using JavaScript, jQuery, AJAX, REST, ASP.NET MVC, and more. Building WCF REST Services WCF 3.5 dynamic typing from C# 4.0, and 5.0
    DevelopMentor Courses - Tuesday, March 1, 2011
  • Unit testing code depending on the ASP.NET #WebApi HttpClient
    But with a REST service there is both a client and a service component. In this case the client application contains the following class to load books from the REST WebAPI controller: 1: public class BooksClient. The GetBooks() function gets all books from the REST service. Not a whole lot but the REST convention is to return both an HTTP 201 Created status as well as the location of the new resource in an HTTP header. 'In a previous post I showed how to unit test an ASP.NET WebAPI Controller. 7: _httpClient = httpClient; 8: BaseUrl = new Uri( "[link] ); 9: }.
    Maurice de Bejeir - Monday, May 20, 2013
  • Unit testing AngularJS HTTP requests in the RAW Stack
    One of the things that can help there is another service called $resource with is all about RESTful services. 'In the previous blog post we created some basic unit tests for the AngularJS movies controller. As I mentioned there was one set of tests missing and that was around the controller doing HTTP requests to the WebAPI backend. In a unit test typically don't want to do those test for real. First of all we don't want to take a dependency on some external state and equally important we don't want the overhead of those requests. 13: $scope: scope. 18: var movies = [. Enjoy!
    Maurice de Bejeir - Friday, February 28, 2014
<< 1 2 3 4 >>