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
About the Author
About the Reviewers

Using Smart Tasks in the HTML editor

The HTML editor provides improved support for some of the server controls that used to have dialogues and wizards for their configuration and setup. Usually we had to do this from the design view or move our mouse to the properties to launch these configuration wizards.

With ASP.NET 4.5, we have them at our fingertips in our source code view.

Getting ready

In order to use this recipe you should have Visual Studio 2012.

How to do it...

In this recipe we are going to see how to activate and use the Smart Tasks in the HTML editor.

  1. Open our previous ASP.NET application or create a new one.

  2. Open the Site.Master page.

  3. Locate the <asp:ListView> server control that we added (or add a new one).

  4. Place our text input cursor in the code, over the tag; click on it so that it is selected.

  5. We should see an underline glyph at the beginning of the element and it should appear highlighted, showing that it has been selected, as shown in the following screenshot:

  6. When we click...