Book Image

Microsoft .NET Framework 4.5 Quickstart Cookbook

By : Jose Luis Latorre
Book Image

Microsoft .NET Framework 4.5 Quickstart Cookbook

By: Jose Luis Latorre

Overview of this book

With about ten years since its first release, Microsoft's .NET Framework 4.5 is one of the most solid development technologies to create casual, business, or enterprise applications. It has evolved into a very stable framework and solid framework for developing applications, with a solid core, called the CLR (Common Language Runtime) Microsoft .NET Framework 4.5 includes massive changes and enables modern application and UI development."Microsoft .Net Framework 4.5 Quickstart Cookbook" aims to give you a run through the most exciting features of the latest version. You will experience all the flavors of .NET 4.5 hands on. The “How-to” recipes mix the right ingredients for a final taste of the most appetizing features and characteristics. The book is written in a way that enables you to dip in and out of the chapters.The book is full of practical code examples that are designed to clearly exemplify the different features and their applications in real-world development. All the chapters and recipes are progressive and based on the fresh features on .NET Framework 4.5.The book will begin by teaching you to build a modern UI application and improve it to make it Windows 8 Modern UI apps lifecycle model-compliant. You will create a portable library and throttle data source updating delays. Towards the end of the book, you will create you first Web API.
Table of Contents (19 chapters)
Microsoft .NET Framework 4.5 Quickstart Cookbook
Credits
About the Author
Acknowledgment
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


.NET 4.5 introduces the capability to create ASP.NET web APIs. This is brought to us by ASP.NET MVC4. Basically, the ASP.NET web API is a framework that enables developers to easily build HTTP services. This makes the framework a good fit to build RESTful applications over .NET 4.5.

An important point is that, since these services are being exposed over HTTP, we can integrate them with almost any client device and technology in the market, which makes them extremely useful.

ASP.NET web APIs provide support for:

  • A modern HTTP programming model, allowing direct access and manipulation of HTTP requests and responses.

  • Content negotiation, which helps determine the proper format for the data that the ASP.NET Web API returns. JSON and XML are supported out of the box and customizations for our own formats and structures are also allowed.

  • Query composition through OData conventions, supporting OData queries automatically out of the box when we return IQueryable<T> from our ASP.NET...