05582nam 2200649Ia 450 991043809530332120200520144314.09781430249788143024978110.1007/978-1-4302-4978-8(CKB)3460000000120366(EBL)1204529(SSID)ssj0000878485(PQKBManifestationID)11476013(PQKBTitleCode)TC0000878485(PQKBWorkID)10850655(PQKB)11769320(DE-He213)978-1-4302-4978-8(MiAaPQ)EBC1204529(CaSebORM)9781430249771(PPN)169134873(OCoLC)843955372(OCoLC)ocn843955372 (EXLCZ)99346000000012036620130327d2013 uy 0engur|n|---|||||txtccrASP.NET MVC 4 and the Web API building a REST service from start to finish /Jamie Kurtz1st ed. 2013.Berkeley, Calif. Apress ;New York Distributed to the book trade worldwide by Springerc20131 online resource (152 p.)The expert's voice in ASP.NET ASP.NET MVC 4 and the Web APIIncludes index.9781430249771 1430249773 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; SummaryCHAPTER 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 ProjectsBasic 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 RelationshipsManaging 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 SubcontrollersTask Priority and Status ControllersThe Task Categories and Users Controllers; The Task Controller; Sample Client Code; Automatic Error Logging; Summary; IndexThis 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 not find any help on CSS, HTML, JavaScript, or jQuery. Nor will you find any help on the Razor view engine, HTML Helpers, or model binding. If you need this information then Pro ASP.NET MVC 4 is your perfect book. ASP.NET MVC 4 and the Web API: Building a REST Service from Start to Finish helps you build cutting-edge REST services using ASP.NET MVC 4 and the Web API in more depth and detail than any other resource. ASP.NET MVC has always been a good platform on which to implement REST, but with the advent of the Web API it has now become even better. This book will show you why it's great and how to get the most from it. Author Jamie Kurtz will take you from zero to full-blown REST service hero in no time at all. And you'll even learn how to incorporate some popular open source tools along the way: little or no experience with ASP.NET or the MVC Framework is required.Microsoft .NETApplication program interfaces (Computer software)Microsoft .NET.Application program interfaces (Computer software)006.76Kurtz Jamie860175MiAaPQMiAaPQMiAaPQBOOK9910438095303321ASP.NET MVC 4 and the Web API1947594UNINA