This report is meant for .net developers for employing Visual Studio 2011 and Windows 8 for developing metro style apps. Windows 8 & Visual studio 2011 contains some new functions that support .Net developers and ASP.Net developers for their .net development. Right here we will explore Windows Runtime that can be developed for creating Metro Style Apps for .net developers who are professional in Unmanaged C++, JavaScript and .Net.
Windows Runtime (WinRT)
Metro Style Apps can be named one the coolest attributes in Visual Studio 2011 and Windows 8. For acquiring access to templates for Metro Style App the initial step would be to set up VS2011 developer preview on Windows 8 Developer Preview. Windows Runtime (RT) handles these apps and RT is developed for effortlessly creating metro style apps employing the expertise of Asp.net developers.
For creating web application .net developers can use HTML 5, CSS 3 and JavaScript. For accessing wealthy hardware functionality Javascript calls WinRT technique.
For building Metro style applications .Net developers can make use of extensible application Markup language (XAML), C#, VB.NET.
Windows check all the access rights to the user data and system resources for programming with WinRT. Package Manifest specifies these access rights. The Metro Style application wants to send a rapid response to the end-user and for this apps use Asynchronous operations.
As per Microsoft’s definition “Metro style apps are full screen apps tailored to your users’ demands, tailored to the device they run on, tailored for touch interaction, and tailored to the Windows user interface.
Windows assists you interact with your customers, and your users interact with your app”
How to develop Metro Style Apps making use of C#?
Step 1: Open VS2011 and generate a new Windows Metro Style App as below:
You will get below project structure right after creation of application:
Step 2: You require to double click on ‘Package.appxmanifest’ for viewing the settings of application as below:
You will see data for the “Application UI” e.g. Logo as shown in the above image. Also note the size restriction for the Logo image.
Step 3: By clicking on the Capabilities tab you will get the List of Program Characteristics that the application can use.
Step four: Click on the ‘Declaration’ Tab and by using this tab, you can add declarations for the application:
The packaging tab also enables developers for defining properties that determine and describes the package for application at the time of deployment.
Step five: Add a new class file in the MyApp application and name it as ‘DataClasses.cs’. Beneath are the classes you require to add in it:
Step 6: Open MainPage.Xaml then add a ListBox and use the Databinding expression as shown below:
Step 7: By operating the application you will get output in the Emulator as follows:
You are completed with it and we saw how WinRT can be utilized for creating Metro Style Apps by .Net developers.
For Much more Details:- Asp.net development | .Net Developers
Far more ASP.NET Articles
Visual Studio 2011 and Windows 8 for Metro style Apps for .Net Development
No comments:
Post a Comment