Sign in
Henrik's Blog
Henrik works at Microsoft building software for the Web. You can also find me on twitter -- my twitter handle is @frystyk.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
RSS for posts
Atom
RSS for comments
OK
Search
Tags
AspNet
AspNetWebAPI
CodePlex
HTTP
HttpClient
MongoDB
MVC
Razor
REST
WebAPI
Archive
Archives
November 2012
(1)
September 2012
(1)
August 2012
(6)
June 2012
(3)
May 2012
(2)
April 2012
(5)
March 2012
(2)
February 2012
(9)
February, 2012
MSDN Blogs
>
Henrik's Blog
>
February, 2012
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Henrik's Blog
Using JSON.NET with ASP.NET Web API
Posted
over 1 year ago
by
Henrik F Nielsen
34
Comments
Json.Net is a popular framework for working with JSON. In particular, it has a bunch of features that are not supported by the DataContractJsonSerializer such as being much more flexible in what kind of types it can serialize and exactly how they should...
Henrik's Blog
Using ASP.NET Web API with ASP.NET Web Forms
Posted
over 1 year ago
by
Henrik F Nielsen
18
Comments
Several of the ASP.NET Web API tutorials (see for example “Your First ASP.NET Web API” ) show how you can use ASP.NET Web API with MVC applications. However, you can equally well add a Web API to a Web Form enabling the same Web API support as in MVC...
Henrik's Blog
HttpClient is Here!
Posted
over 1 year ago
by
Henrik F Nielsen
27
Comments
HttpClient is a modern HTTP client for .NET. It provides a flexible and extensible API for accessing all things exposed through HTTP. HttpClient has been available for a while as part of WCF Web API preview 6 but is now shipping as part of ASP.NET Web...
Henrik's Blog
Extending HttpClient with OAuth to Access Twitter
Posted
over 1 year ago
by
Henrik F Nielsen
9
Comments
Many popular Web APIs such as the twitter API use some form of OAuth for authentication. HttpClient does not have baked in support for OAuth but using the HttpClient extensibility model you can add OAuth as part of the HttpMessageHandler pipeline. The...
Henrik's Blog
Using MongoDB with ASP.NET Web API
Posted
over 1 year ago
by
Henrik F Nielsen
9
Comments
MongoDB is a popular NoSQL database that makes it a great backend for Web APIs which lend themselves towards a document store rather than a relational store . In this blog we show how you can use MongoDB with ASP.NET Web API to build an ApiController...
Henrik's Blog
Async Streaming in ASP.NET Web API
Posted
over 1 year ago
by
Henrik F Nielsen
7
Comments
ASP.NET Web API supports asynchronous actions using the new Task-based programming model introduced in .NET 4. In .NET 4.5 the model has improved further and in addition is supported directly from C# using the new async and await keywords (see “ Visual...
Henrik's Blog
ASP.NET Web API and HttpClient Available on NuGet
Posted
over 1 year ago
by
Henrik F Nielsen
13
Comments
If you don’t need the full ASP.NET MVC 4 installer with project and item templates for Visual Studio 2010 then you can download the various ASP.NET Web API packages directly from NuGet (see list of packages below). If you are new to NuGet then it is a...
Henrik's Blog
HttpClient: Downloading to a Local File
Posted
over 1 year ago
by
Henrik F Nielsen
2
Comments
Downloading content to a local file is a common thing to do. The current version of HttpClient doesn’t yet provide out of the box support for saving content to a file but this sample shows how to extend HttpClient with new ways of reading content retrieved...
Henrik's Blog
Push and Pull Streams using HttpClient
Posted
over 1 year ago
by
Henrik F Nielsen
4
Comments
One of the common discussions to have around network APIs is whether streams should be push or pull . That is, do you push content to the network, or does the infrastructure pull it from you and copy it to the network? In general there is no “right” way...
Page 1 of 1 (9 items)