Archive for the ‘ASP.NET MVC’ Category

ASP.NET MVC Authentication – Customizing Authentication and Authorization The Right Way

We’re continuing the ASP.NET Authentication series (yes, I’m doing a few overlapping series, and yes, it’s making me dizzy). The previous post covered Global Authentication and Allow Anonymous. This one continues with a simple tip that can be summed up…

Task Parallel Library and Servers, Part 4: TaskHelpers

This is part 4 in a series on using Task Parallel Library when writing server applications, especially ASP.NET MVC and ASP.NET Web API applications. Introduction SynchronizationContext ContinueWith TaskHelpers Simple Task Helpers I know we left off in part 3 with…

Windows 8 and ASP.NET Web API – Part 1 – Getting Started

Many of the key Windows 8 Metro Style application features either require or can greatly benefit from a connection to online services. ASP.NET Web API is a great fit for these services, as it’s tightly focused around providing HTTP services to applicat…

ASP.NET MVC Authentication – Global Authentication and Allow Anonymous

As I was recently updating the Wrox Professional ASP.NET book for ASP.NET MVC 4, I thought about some of the common questions, tip, and tricks I’ve seen over the past few years, and thought it was time for a… quick blog series! Let’s start with Globa…

Custom errors and error detail policy in ASP.NET Web API

Today Kurt and I were attempting to debug an Web API service we had deployed to a remote machine. The service was returning 500 errors, and for various reasons, we couldn’t just try to do the requests from that deployed … Continue reading 

Task Parallel Library and Servers, Part 3: ContinueWith

This is part 3 in a series on using Task Parallel Library when writing server applications, especially ASP.NET MVC and ASP.NET Web API applications. Introduction SynchronizationContext ContinueWith TaskHelpers What ContinueWith Really Does I promised that we had a bug in…

Task Parallel Library and Servers, Part 2: SynchronizationContext

This is part 2 in a series on using Task Parallel Library when writing server applications, especially ASP.NET MVC and ASP.NET Web API applications. Introduction SynchronizationContext ContinueWith TaskHelpers Introduction to SynchronizationContext An important part of the work in properly handling…

Task Parallel Library and Servers, Part 1: Introduction

This is part 1 in a series on using Task Parallel Library when writing server applications, especially ASP.NET MVC and ASP.NET Web API applications. Introduction SynchronizationContext ContinueWith TaskHelpers Okay, let’s just get this out of the way: Asynchronous (multi-threaded) programming…

ASP.NET Web API, MVC, ViewModels and Formatters

There are probably a few more terms I can throw in there, but over the past few days, I’ve been struggling to bridge the gap from how I build applications in ASP.NET MVC and how I see folks building them … Continue reading 

ASP.NET Connections Spring 2012 Talks and Code

Thank you everyone who attended my ASP.NET Connections talks last week in Las Vegas. I’ve attached the slides and code for the three talks that I delivered:   Using jQuery to interact with the Server through Ajax – In this talk, I discuss the …