ASP.NET Web API (49)

MSP Turkey Kickoff 2014 ASP.NET Web API and SignalR Presentation Slides, Recording and Links
2014-10-19 13:44:00

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
2014-10-03 11:49:00

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
2014-08-17 12:04:00

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
2014-05-11 12:56:00

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
2014-04-16 08:28:00

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)
2014-04-01 14:30:38

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)
2014-03-16 13:05:00

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
2014-02-21 22:06:00

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
2013-11-29 09:39:00

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
2013-09-25 06:28:00

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
2013-09-06 07:33:00

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
2013-08-25 15:09:00

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
2013-04-07 16:01:00

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
2013-03-23 16:21:00

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
2013-02-09 12:22:00

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
2013-02-04 08:11:00

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
2013-01-12 16:26:00

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
2013-01-10 13:00:00

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
2013-01-08 04:34:00

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#
2013-01-05 22:01:00

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
2012-12-20 21:32:00

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
2012-12-18 19:50:00

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
2012-11-07 09:27:00

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

Advanced ASP.NET Web API Webcast Slide and Codes
2012-11-02 07:07:00

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
2012-10-23 19:34:00

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
2012-10-20 08:57:00

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
2012-10-15 12:38:00

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
2012-10-13 10:45:00

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
2012-10-08 06:03:00

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
2012-10-07 10:56:00

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
2012-09-30 19:04:00

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
2012-09-21 06:34:00

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
2012-09-11 10:39:00

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
2012-09-08 08:46:00

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
2012-08-30 11:05:00

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
2012-08-29 13:14:00

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
2012-08-01 06:27:00

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
2012-07-27 05:26:00

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
2012-06-21 09:50:00

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
2012-06-04 08:12:00

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
2012-06-02 20:01:00

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
2012-03-22 08:09:00

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
2012-03-05 14:23:00

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)
2012-03-03 21:05:00

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
2012-03-03 09:38:00

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
2012-02-27 07:43:00

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
2012-02-26 17:21:00

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
2012-02-24 06:49:00

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
2012-02-23 11:53:00

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