ASP.NET Web API (49)

MSP Turkey Kickoff 2014 ASP.NET Web API and SignalR Presentation Slides, Recording and Links
19 October 2014 · 2 minutes read

I was at Microsoft Turkey office yesterday and I gave a presentation on ASP.NET Web API and SignalR in context of this year’s MSP Kickoff. This post covers where you can reach out to presentation slides, recording and several relevant links.

Exciting Things About ASP.NET vNext Series: The Ultimate Guide
3 October 2014 · 10 minutes read

As of today, I am starting a new blog post series about ASP.NET vNext. To kick things off, I would like to lay out the resources about ASP.NET vNext here which is probably going to be an ultimate guide on ASP.NET vNext.

Microsoft Turkey Summer School 2014 - ASP.NET Web API and SignalR Talk
17 August 2014 · 1 minutes read

In context of Microsoft Turkey Summer School 2014, I had a chance to give a talk on ASP.NET Web API and ASP.NET SignalR a few days ago at Microsoft Turkey Office. Here is the slides, recording video and references from the talk.

Efficiently Streaming Large HTTP Responses With HttpClient
11 May 2014 · 2 minutes read

Downloading large files with HttpClient and you see that it takes lots of memory space? This post is probably for you. Let's see how to efficiently streaming large HTTP responses with HttpClient.

Challenge of Solving an ASP.NET Web API Self-Hosting Problem: No HTTP resource was found that matches the request URI
16 April 2014 · 3 minutes read

Couple of weeks ago, one of my former coworkers ran across a very weird problem when he was prototyping on some of his ideas with ASP.NET Web API: No HTTP resource was found that matches the request URI. Let's see what this issue was all about and what is the solution.

Simple OAuth Server: Implementing a Simple OAuth Server with Katana OAuth Authorization Server Components (Part 1)
1 April 2014 · 11 minutes read

In my previous post, I emphasized a few important facts on my journey of building an OAuth authorization server. As great people say: "Talk is cheap. Show me the code." It is exactly what I'm trying to do in this blog post. Also, this post is the first one in the "Simple OAuth Server" series.

My Baby Steps to OAuth 2.0 Hell (or Should I Call It Heaven)
16 March 2014 · 5 minutes read

Securing our HTTP API endpoints are one of the biggest challenges we face when writing so-called modern applications and this is where the OAuth 2.0 enters. In this post, I will highlight the things that I have found vital for the last couple of months when I have been working on an OAuth 2.0 Server implementation in .NET Framework.

How and Where Concurrent Asynchronous I/O with ASP.NET Web API
21 February 2014 · 9 minutes read

When we have uncorrelated multiple I/O operations that need to be kicked off, we have quite a few ways to fire them off and which way you choose makes a great amount of difference on a .NET server side application. In this post, we will see how we can handle the different approaches in ASP.NET Web API.

AspNet.Identity.RavenDB: Fully asynchronous, new and sweet ASP.NET Identity implementation for RavenDB
29 November 2013 · 4 minutes read

A while back, ASP.NET team has introduced ASP.NET Identity, a membership system for ASP.NET applications. Today, I'm introducing you its RavenDB implementation: AspNet.Identity.RavenDB.

Pro ASP.NET Web API Book is Shipped and Available on Amazon
25 September 2013 · 2 minutes read

Today, I am very proud to say that Pro ASP.NET Web API Book is now shipped and available on Amazon for paperback sales :)

Owin.Dependencies: An IoC Container Adapter Into OWIN Pipeline
6 September 2013 · 6 minutes read

Owin.Dependencies is an IoC container adapter into OWIN pipeline. This post will walk you through the Autofac IoC container implementation and ASP.NET Web API framework adapter for OWIN dependencies.

Microsoft Turkey Summer School Presentation Samples and Links for .NET Web Stack
25 August 2013 · 3 minutes read

I was at Microsoft's Turkey headquarters giving talks on Microsoft Web Stack for Microsoft Summer School and here are presentation samples and links for .NET Web Stack

Links, Source Code and Slides From My Microsoft Web Camp Talks
7 April 2013 · 2 minutes read

Web Camp Istanbul was held at Microsoft Istanbul office yesterday and here are the links, source code and slides from my talks

Microsoft Web Camps Istanbul on the 6th of April
23 March 2013 · 1 minutes read

One leg of Microsoft Web Camps spring 2013 tour will be held in Microsoft Istanbul office on the 6th of April, 2013.

MSP Turkey Kickoff Microsoft Web Stack Presentation Slides, Samples and Links
9 February 2013 · 2 minutes read

I was at MSFT Istanbul office yesterday to give a presentation on Microsoft Web Stack for MSPs. Slides and samples are now available online.

Hierarchical Resource Structure in ASP.NET Web API
4 February 2013 · 8 minutes read

This post explains the concerns behind the hierarchical resource structure in ASP.NET Web API such as routing, authorization and ownership.

ASP.NET Web API Tracing and IDependencyScope Dispose Issue
12 January 2013 · 5 minutes read

If you enabled tracing on your ASP.NET Web API application, you may see a dispose issue for IDependencyScope. Here is why and how you can workaround it.

Clean, Better, and Sexier Generic Repository Implementation for Entity Framework
10 January 2013 · 6 minutes read

With the new release of the GenericRepository.EntityFramework package, we now have clean, better and sexier generic repository implementation for Entity Framework. Enjoy!

Sides and Source Code for DEU Bilgisayar Topluluğu Izmir 2. Teknoloji Zirvesi
8 January 2013 · 1 minutes read

This weekend, I participated in an event as a speaker in Izmir, DEU Bilgisayar Topluluğu Izmir 2. Teknoloji Zirvesi. Sides and Source Code for my sessions are available.

List of Resources on Asynchronous Programming for .NET Server Applications with C#
5 January 2013 · 2 minutes read

I listed some resources on asynchronous programming for .NET server applications with C# which consist of blog posts, presentations and podcasts.

Pro ASP.NET Web API's Sample Project (PingYourPackage) Source Code is Up on GitHub
20 December 2012 · 2 minutes read

We wanted to give you an early glimpse on the Pro ASP.NET Web API's sample application(PingYourPackage) and its source code is now up on GitHub.

Why am I not Using NancyFx Instead of ASP.NET MVC / Web API
18 December 2012 · 6 minutes read

Why am I not using NancyFx instead of ASP.NET MVC / Web API? Because of a very important and vital missing part with NancyFx: asynchrony!

Advanced ASP.NET Web API Webcast Offline Recording (In Turkish) is Available
7 November 2012 · 1 minutes read

Advanced ASP.NET Web API Webcast Offline Recording (In Turkish) is Available

Advanced ASP.NET Web API Webcast Slide and Codes
2 November 2012 · 1 minutes read

The slide and the full source code of the Advanced ASP.NET Web API webcast (Turkish) is available.

Working with IIS Express Self-signed Certificate, ASP.NET Web API and HttpClient
23 October 2012 · 4 minutes read

We will see how to smoothly work with IIS Express Self-signed Certificate, ASP.NET Web API and HttpClient by placing the self-signed certificate in the Trusted Root CA store.

Newsflash! ASP.NET Web API does not Sit on Top of ASP.NET MVC! In Fact, It does not Sit on Top of Anything
20 October 2012 · 3 minutes read

One of the common misconceptions about ASP.NET Web API is that it is being built on top of ASP.NET MVC. Today, I am going to break it!

Pro ASP.NET Web API Book is Available on Amazon for Pre-order
15 October 2012 · 2 minutes read

Two days ago, I blogged about the availability of the Pro ASP.NET Web API Book through Apress Alpha Program. Today, the Pro ASP.NET Web API book is now available on Amazon for pre-order

Pro ASP.NET Web API Book is Available Through Apress Alpha Program
13 October 2012 · 2 minutes read

I am proud to announce that the Pro ASP.NET Web API book is available through Apress Alpha Program and you can get access to the early bits and completed chapters now.

Complex Type Action Parameters with ComplexTypeAwareActionSelector in ASP.NET Web API - Part 2
8 October 2012 · 4 minutes read

In this post, we will see how ComplexTypeAwareActionSelector behaves under the covers to involve complex type action parameters during the action selection process.

Complex Type Action Parameters with ComplexTypeAwareActionSelector in ASP.NET Web API - Part 1
7 October 2012 · 3 minutes read

We will see how to make complex type action parameters play nice with controller action selection in ASP.NET Web API by using ComplexTypeAwareActionSelector from WebAPIDoodle NuGet package.

Complex Type Action Parameters and Controller Action Selection with ASP.NET Web API
30 September 2012 · 5 minutes read

How to use complex type action parameters in ASP.NET Web API and involve them inside the controller action selection logic

Asynchronous .NET Client Libraries for Your HTTP API and Awareness of async/await's Bad Effects
21 September 2012 · 9 minutes read

Writing asynchronous .NET Client libraries for your HTTP API and using asynchronous language features (aka async/await) and some deadlock issue you might face.

ASP.NET Web API and Handling ModelState Validation
11 September 2012 · 4 minutes read

How to handle ModelState Validation errors in ASP.NET Web API with an Action Filter and HttpError object

Dealing with Asynchrony inside the ASP.NET Web API HTTP Message Handlers
8 September 2012 · 7 minutes read

How to most efficiently deal with asynchrony inside ASP.NET Web API HTTP Message Handlers with TaskHelpers NuGet package or C# 5.0 asynchronous language features

Why do I Need ASP.NET Web API When I Already Have ASP.NET MVC
30 August 2012 · 1 minutes read

Gleen Block explains why we need ASP.NET Web API when we already have ASP.NET MVC and what can we achieve with ASP.NET Web API

ASP.NET Web API Catch-All Route Parameter Binding
29 August 2012 · 4 minutes read

ASP.NET Web API has a concept of Catch-All routes but the frameowk doesn't automatically bind catch-all route values to a string array. Let's customize it with a custom HttpParameterBinding.

Streaming with New .NET HttpClient and HttpCompletionOption.ResponseHeadersRead
1 August 2012 · 3 minutes read

How to consume a streaming endpoint with new .NET System.Net.Http.HttpClient and the role of HttpCompletionOption.ResponseHeadersRead

Disposing Resources At the End of the Request Lifecycle in ASP.NET Web API
27 July 2012 · 3 minutes read

How to disposing resources at the end of the request lifecycle in ASP.NET Web API with the RegisterForDispose extension method for the HttpRequestMessage class

Running the Content Negotiation (Conneg) Manually in ASP.NET Web API
21 June 2012 · 2 minutes read

In this post we will see how run the Content Negotiation (Conneg) manually in an ASP.NET Web API easily.

WebAPIBloggers - An RSS Feed Aggregator for ASP.NET Web API Blog Posts
4 June 2012 · 1 minutes read

Couple of days ago, @AlexZeitler has launched WebAPIBloggers web site which aggregates the blog posts of several bloggers who write about ASP.NET Web API.

The Perfect Recipe to Shoot Yourself in The Foot - Ending up with a Deadlock Using the C# 5.0 Asynchronous Language Features
2 June 2012 · 4 minutes read

Let's see how we can end up with a deadlock using the C# 5.0 asynchronous language features (AKA async/await) in our ASP.NET applications and how to prevent these kinds of scenarios.

Creating Custom CSVMediaTypeFormatter In ASP.NET Web API for Comma-Separated Values (CSV) Format
22 March 2012 · 4 minutes read

In this post, we will see how to create a custom CSVMediaTypeFormatter in ASP.NET Web API for comma-separated values (CSV) format

API Key Authorization Through Query String In ASP.NET Web API AuthorizationFilterAttribute
5 March 2012 · 7 minutes read

We will see how API key authorization (verification) through query string would be implemented In ASP.NET Web API AuthorizationFilterAttribute

ASP.NET Web API Custom RouteDataMapping (MediaTypeMapping)
3 March 2012 · 2 minutes read

In this post, we will create RouteDataMapping. This custom MediaTypeMapping will allow us to involve the decision-making process about the response format according to RouteData values.

ASP.NET Web API MediaTypeFormatters With MediaTypeMappings
3 March 2012 · 4 minutes read

We will see how Content-Negotiation (Conneg) Algorithm works on ASP.NET Web API with MediaTypeFormatters and MediaTypeMappings

Autofac and ASP.NET Web API System.Web.Http.Services.IDependencyResolver Integration
27 February 2012 · 2 minutes read

In this post, you can make Autofac work with ASP.NET Web API System.Web.Http.Services.IDependencyResolver. Solution to the 'controller has no parameterless public constructor' error.

My Take on Task-base Asynchronous Programming in C# 5.0 and ASP.NET MVC Web Applications
26 February 2012 · 7 minutes read

I'm trying to show you what new C# 5.0 can bring us in terms of asynchronous programming with await keyword. Especially on ASP.NET MVC 4 Web Applications.

Getting Started With ASP.NET Web API - Tutorials, Videos, Samples
24 February 2012 · 5 minutes read

I would like to point you those resources (Tutorials, Videos, Samples) in order to get started with ASP.NET Web API.

ASP.NET Web API and ELMAH Integration
23 February 2012 · 3 minutes read

See how ASP.NET Web API Plays Nice With ELMAH. This blog post is a Quick introduction to ASP.NET Web API and System.Web.Http.Filters.IExceptionFilter