Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Building Web Services with Windows Azure (new)
  • Table Of Contents Toc
Building Web Services with Windows Azure (new)

Building Web Services with Windows Azure (new)

By : Kaufman, Nikhil Sachdeva
4 (3)
close
close
Building Web Services with Windows Azure (new)

Building Web Services with Windows Azure (new)

4 (3)
By: Kaufman, Nikhil Sachdeva

Overview of this book

If you are a .NET developer who wants to develop end-to-end RESTful applications in the cloud, then this book is for you. A working knowledge of C# will help you get the most out of this book.
Table of Contents (12 chapters)
close
close
6
5. Connecting Applications with Microsoft Azure Service Bus
11
Index

Attribute routing

In Chapter 1, Getting Started with the ASP.NET Web API, we discussed HttpRoutingDispatcher and how we can define a route template in the WebApiConfig.cs file. This method is referred to as "convention-based routing". It allows developers to define multiple route templates at a global configuration level for all controllers. Every incoming request is then matched to one of these routes to determine the controller and action that will process the request. If no paths match, an HTTP 404 Not Found error is issued. Convention-based routing works great for simplistic route matching. However, it becomes cumbersome to maintain a routing table, for example, in situations where we may want to provide nested URI matching. Also, REST architecture constraints recommend having unique explicit paths for recognition of any single resource. Starting with ASP.NET Web API 2, the attribute routing scheme was introduced to tackle such situations.

Attribute routing enables a more...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Building Web Services with Windows Azure (new)
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon