ASP.NET MVC 4 and the Web API building a REST service from start to finish

This one hundred page book focuses exclusively on how you can best use the ASP.NET MVC 4 Framework to build world-class REST services using the Web API. It sets aside much of what the ASP.NET MVC Framework can do, and focuses exclusively on how the Web API can help you build web services. You will n...

Descripción completa

Detalles Bibliográficos
Autor principal: Kurtz, Jamie (-)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Berkeley, Calif. : New York : Apress ; Distributed to the book trade worldwide by Springer c2013.
Edición:1st ed. 2013.
Colección:The expert's voice in ASP.NET ASP.NET MVC 4 and the Web API
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629609706719
Tabla de Contenidos:
  • Title Page; Copyright Page; Contents at a Glance; Table of Contents; Foreword; About the Author; About the Technical Reviewer; Acknowledgments; CHAPTER 1 ASP.NET MVC as a Service Framework; In the Land of JavaScript and Mobile Devices; Advantages of Using the MVC Framework; Configuration; REST by Default; Abstraction with Routes; Controller Activation Is, Well, Very Nice; Interoperability of JSON, XML, and REST; A Brief Introduction to the Web API; Summary; CHAPTER 2 What is RESTful?; From RPC to REST; XML-RPC and SOAP; URIs and Resources; HTTP Verbs; HATEOAS; HTTP Status Codes; Summary
  • CHAPTER 3 Designing the Sample REST APITask Management Resource Types; Hypermedia Links; Modeling the URIs and HTTP Verbs; The Task-Management Data Model; Choosing Architecture Components; Data Access; IoC Container; Logger; Authentication and Authorization; Mocking Framework; Build and Deployment Scripting; Summary; CHAPTER 4 Building the Environment and Creating the Source Tree; Machine Configuration; Windows 7 SP1 64 bit; SQL Server 2012; Visual Studio 2012; NuGet Package Manager 2.1; Creating the Folder Structure; Creating the Solution; NuGet Config File; Adding the Projects
  • Basic ComponentsDateTimeAdapter; Domain Model; Service Model Types; Logging; The Database; Summary; CHAPTER 5 Controllers, Dependencies, and Managing the Database Unit of Work; Controller Activation; Adding an HttpRequestMessage Argument; Adding a Model Object Argument; Dependencies; Constructor Injection of Dependencies; Configuring Ninject Dependency Injection; Container Configuration; Container Bindings; IDependencyResolver for Ninject; NHibernate Configuration and Mappings; Database Configuration; Model Mapping; The Mapping Classes; Project and File Organization; Model Relationships
  • Managing the Unit of WorkDatabase Transaction Control; Summary; CHAPTER 6 Securing the Service; The Main Idea; Authentication; Authorization; The Authentication and Authorization Process; Setting It Up; Augmenting Membership Data; The Message Handler; IUserSession; Summary; CHAPTER 7 Putting It All Together; A Quick Recap; The Reference Data Controllers; The PrioritiesController; The CategoriesController; Exploring the Controllers; Using Fiddler; Content Negotiation in the Web API; Adding New Resources; OData Support in the Web API; The Task Controllers; Separation of Subcontrollers
  • Task Priority and Status ControllersThe Task Categories and Users Controllers; The Task Controller; Sample Client Code; Automatic Error Logging; Summary; Index