The Problem Solver

Tell me and I will forget
Show me and I will remember
Involve me and I will understand
- Confucius -

Google Ads

This Blog

Syndication

Search

Tags

News





  • View Maurice De Beijer's profile on LinkedIn

Community

Email Notifications

Explore

Archives

Browse by Tags

All Tags » ASP.NET » WebAPI (RSS)
Unit testing a ASP.NET WebAPI 2 controller
Earlier this year I wrote a blog post about how to unit test ASP.NET WebAPI controllers . It turned out that in order to do a good job of testing the public ApiController methods you would need to quite a bit of setup. Most of the time this was just about...

Posted by Maurice | 1 comment(s)

Filed under: , , ,

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. Now there are lots of different ways to go about this and these different ways...

Posted by Maurice | 2 comment(s)

Filed under: , ,

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!

Posted by Maurice | with no comments

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!

Posted by Maurice | 1 comment(s)

Filed under: , , ,

Integrating the #WebAPI HttpClient and ApiController in a single test
In the two previous blog posts I showed how to unit test and ASP.NET WebAPI controller and how to unit test the client side code depending on the HttpClient class . Both unit tests are perfectly valid but as so often just adding unit tests can be deceptive...

Posted by Maurice | with no comments

Filed under: , , ,

Unit testing code depending on the ASP.NET WebApi HttpClient
In a previous post I showed how to unit test an ASP.NET WebAPI Controller. But with a REST service there is both a client and a service component. Assuming for a moment the client part is also written in C# we should test that as well. In this case the...

Posted by Maurice | 1 comment(s)

Filed under: , , ,

Unit testing a ASP.NET WebAPI controller
  Update: If you are using the ASP.NET WebAPI 2 see the new post here.   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. For the most part that is...

Posted by Maurice | 11 comment(s)

Filed under: , ,

Demos and slides from my HTML5 and REST presentation in Belgium last week
  HTML5 & rest services View more PowerPoint from Maurice Beijer You can download the ASP.NET WebAPI demo here and the SignalR demo here .   Enjoy!   TheProblemSolver DotNetEvents

Posted by Maurice | with no comments

Filed under: , , , ,

Client side support with the ASP.NET Web API
With REST there is not a lot required on the client as far as sending requests goes. As long as you can send HTTP GET requests you are good to go and there are very few programming stacks that don’t allow for some form of doing that. Of course just doing...

Posted by Maurice | with no comments

Filed under: , , , ,

Updating data with the ASP.NET Web API
  In the previous blog post I demonstrated how to get started with the ASP.NET Web API and retrieve some products data from the Northwind database. Something that was really easy to do But quite often we want to update data just as much as we want...

Posted by Maurice | with no comments

Filed under: , , , ,

Getting started with the ASP.NET Web API
Some time ago I did a number of blog posts about the beta versions of the WCF Web API . As it turns out the WCF Web API team has moved into the ASP.NET team, a good thing as far as I am concerned, and as a result it is now called ASP.NET Web API . Now...

Posted by Maurice | 1 comment(s)

Filed under: , , , , ,