Windows Azure Native CodeVersion: 2.0 DescriptionLearn how to enable full trust support in Windows Azure. In this lab, you will create a simple native C++ dll and invoke it from an ASP.NET web role. OverviewOne of the features available in Windows Azure environment is the ability to run Web and Worker Roles in full trust (non-admin). The addition of full trust support in Windows Azure not only allows developers to access a wider range of .NET CLR features, but also enables access to unmanaged code through P/Invoke. ObjectivesIn this hands-on lab, you will:
Prerequisites
SetupIn order to execute the exercises in this hands-on lab you need to set up your environment.
Note: Make sure you have checked all the dependencies for this lab before running the setup. Using the Code SnippetsThroughout the lab document, you will be instructed to insert code blocks. For your convenience, most of that code is provided as Visual Studio Code Snippets, which you can use from within Visual Studio 2010 to avoid having to add it manually. If you are not familiar with the Visual Studio Code Snippets, and want to learn how to use them, you can refer to the Setup.docx document in the Assets folder of the training kit, which contains a section describing how to use them. ExercisesThis hands-on lab includes the following exercises:
Estimated time to complete this lab: 30 minutes. Note: When you first start Visual Studio, you must select one of the predefined settings collections. Every predefined collection is designed to match a particular development style and determines window layouts, editor behavior, IntelliSense code snippets, and dialog box options. The procedures in this lab describe the actions necessary to accomplish a given task in Visual Studio when using the General Development Settings collection. If you choose a different settings collection for your development environment, there may be differences in these procedures that you need to take into account. |
.png)