Book Image

Visual Studio 2012 and .NET 4.5 Expert Development Cookbook

By : Abhishek Sur
Book Image

Visual Studio 2012 and .NET 4.5 Expert Development Cookbook

By: Abhishek Sur

Overview of this book

<p>Working with a varied set of upcoming technologies is a challenge. Visual Studio 2012 is all about enabling you to develop and manage these consumer-focused and business-focused apps. It provides best-in-class tools that propel developers to create new apps or evolve existing ones, and it enables individuals and teams to deliver continuous value and agility. In conjunction, .NET 4.5 provides expansive capabilities for developers to work on all forms of apps and services, from client to mobile to web to cloud, enabling them to get to the market fast. This book shows you exactly how to do this, and much more. It focuses on giving expertise on upcoming technologies through complete architectural insights of .NET infrastructure and hands on examples.<br /><br />"Visual Studio 2012 and .NET 4.5 Expert Development Cookbook" is a step-by-step practical guide that teaches you how to work with new changes on technology under .NET. It provides in-depth analysis and expert advice on various elements of .NET, applying them in code using detailed practical examples. The book provides solutions to common development problems and helps you adapt to the latest technologies and get to grips with modern app development for the .NET 4.5 platform.<br /><br />This cookbook gets you startedon Visual Studio 2012 IDE and its various tooling capabilities. It provides expert knowledge on .NET infrastructure, internals of assemblies, and a basic introduction of Intermediate language. Common C# concepts and ideas are demonstrated through an example-driven approach.<br /><br />The recipes provide an overall view of ASP.NET Web applications and introduce the new performance boosters in .NET 4.5. It also gives a basic introduction to HTML 5 and JQuery library to enhance Web applications. It provides a complete introduction to Client applications using WPF and MVVM patterns and looks at some of the major enhancements on WPF 4.5. It shows you how to write applications for Windows 8 and provides expert advice on how to write applications in WinRT, either using XAML and C# or HTML/JavaScript. <br /><br />"Visual Studio 2012 and .NET 4.5 Expert Development Cookbook" gives you better understanding of&nbsp; overall .NET infrastructure using the latest technology updates, providing a broad guide for a basic developer to become an expert on .NET.</p>
Table of Contents (15 chapters)
Visual Studio 2012 and .NET 4.5 Expert Development Cookbook
Credits
About the Authors
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Working with different types of assemblies


In the previous recipe we have understood the internal bits of an assembly. We saw the components that comprise an assembly; the file formats and metadata information regarding an assembly. We have built an executable and inspected its major components. The main motive of the previous recipe was to understand different sections of a .NET assembly and its file format. In this recipe, our focus is to build an assembly with different components.

A .NET assembly is of three types:

  • Private assemblies: Private assemblies are those files that are deployed with the application, either in the same directory where the application is running or in its subdirectories. These assemblies are designed to be used by one particular application and to remain private to all other applications. To enable another process to use a private assembly, it needs to be deployed in the same location where the DLL is deployed. Each of the processes that share a private assembly...