These Hands-On Labs are sets of step-by-step guides that are designed to help you learn Visual Studio 2012, ASP.NET 4.5 WebForms and ASP.NET MVC 4. Each Lab provides instructions to guide you through the process of developing a Web application.
The Dependency Injection design pattern separates the component behavior from the resolution of dependencies without object intervention. In this Hands-On lab you will learn ASP.NET MVC 4 Dependency Injection features, Unity integration, and Dependency Injection in Controllers, Views and Action Filters.
In the root folder of this repository you will find the Hands-On Lab (HOL) document, HOL.md. Before beginning with the HOL exercises, make sure you have followed all the required steps indicated at the setup section of the HOL document.
In the Source folder you will find the source code of each of the exercises, as well as the assets and setup scripts. Throughout the HOL you will be instructed to open and explore the different solutions from the source folder. It is typically comprised of the following subfolders:
- Assets: This folder contains files that are used throughout the exercises.
- Exercise Name: Each exercise that requires a programming solution has its own code folder.
- Begin: The begin solution is the initial incomplete solution that you will finish by following the steps of the corresponding exercise.
- End: The end solution is the final result you will achieve at the end of an exercise.
- Setup: This folder contains the dependency files and the setup scripts necessary to initialize specific configurations of the lab, being its execution is required in the majority of the Hands-on Labs.
In order to run the solutions of the exercises provided by this lab you will first need configure your environment and install any necessary prerequisites such as runtimes, components, or libraries. Each lab includes setup instructions for getting started.
If you find any issues or opportunties for improving this hands-on lab, fix them! Feel free to contribute to this project by forking this repository and make changes to the content. Once you've made your changes, share them back with the community by sending a pull request. Please see How to send pull requests for more information about contributing to github projects.
If you find any issues with this hands-on lab that you can't fix, feel free to report them in the issues section of this repository.