Quantcast
Channel: Ugo Lattanzi
Browsing latest articles
Browse All 8 View Live

Image may be NSFW.
Clik here to view.

Do we really need Web API instead of ASP.NET MVC?

When I tried for the first time WebAPI I asked to myself if I really need it instead of ASP.NET MVC because part of my own code (Controller Factory, Attributes, etc) doesn’t work as is. In these days...

View Article


Image may be NSFW.
Clik here to view.

Self-Host with Web API

Inside Web API there is a hidden gem that isn't having the right interest, the Self-Host. The most typical mistake is to consider Web API as part of ASP.NET MVC. Really it doesn't and there aren't...

View Article


Customize Json result in Web API

In my previous post I wrote about Web API and the content negotiation. In this post I’d like to describe how it’s easy to change the Json serialization.The most important improvement from the Beta to...

View Article

An easy way to write an integration test with Web API

In my previous post I wrote about the Self-Host in Web API and why this features is so cool. In this I’d like to show how easy is to create an integration test with Web API (with my base class of...

View Article

Image may be NSFW.
Clik here to view.

Manage cookies using Web API

In my last project, I’ve deeply used WebApi, both for the client side and server side. In fact my application must call several REST endpoints developed with java and, after a code elaboration, I have...

View Article


Caching Web API Requests

I wrote many times about Web API, so you should know about the library and the main differences between the client part of Web API and the server side; in this post I’m going to write about the client...

View Article

Image may be NSFW.
Clik here to view.

How to use CORS with ASP.NET Web API 2.0

With the latest version of ASP.NET Web API, Microsoft introduced support for cross domain requests, usually called CORS (Cross-Origin Resource Sharing)By default it's not possible to make HTTP requests...

View Article

Image may be NSFW.
Clik here to view.

Speed up WebAPI on Microsoft Azure

One of my favorite features of ASP.NET WebAPI is the opportunity to run your code outside Internet Information Service (IIS). I don’t have anything against IIS, in fact my tough matches with this...

View Article

Browsing latest articles
Browse All 8 View Live