Windows 8 Development – Save File Picker State XAML

In our last video, we used the picture selected via our file picker to populate properties to text blocks. Now, we want to save the state of our new page, so that the picture selected will persist across application launches. At first glance it might seem as easy as just preserving the file path, but we will need to consider permissions to that image first. When a file picker is launched, file access permissions are given to the application to any file the user selects (implicitly). To maintain these permissions, we will need to register the file as a 'Most Recently Used' file, and use the token returned from that operation for future access. In this video, I will show you how to save the state of a file picker. References XAML File Pickers –

How to create a navigation controller programmatically in iOS

The UINavigationController class implements a specialized view controller that manages the navigation of hierarchical content. This class is not intended for subclassing. Instead, you use instances of it as-is in situations where you want your application’s user interface to reflect the hierarchical nature of your content. This navigation interface makes it possible to present your data efficiently and also makes it easier for the user to navigate that content. To create a navigation controller programmatically, you have to write the following code: UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:self.viewController]; Usually that is done in the "AppDelegate.m" file, but it can be done in any file you need. If you do that in the "AppDelegate.m" file than you should replace the line: self.window.rootViewController = self.viewController; with the following line: self.window.rootViewController = navController; and it is perfectly ok because UINavigationController is a subclass of UIViewController. If you run the program, you may notice a blue navigation bar appears on the top. You can customise that if you want, or you can hide it using any of the 2 lines below: navController.navigationBarHidden = YES; navController.navigationBar.hidden = YES; To set a title in the NavBar, you should write in the "viewDidLoad" method of the ViewController class that is currently displayed by the Navigator object, any of the 2 lines below: self.navigationItem.title = @"Title"; self.title = @"Title";

How to create view controllers programmatically in iOS

iew Controllers are special objects of UIViewController type or one of its subclasses. They connect the application's data and its visual appearance. Every-time the app shows something to the user, the displayed content is managed by a view controller or a group of view controllers coordinating with each other. The "Single View Application" template from Xcode comes with a default View Controller class, which also has a .xib file associated with it. If we have a look in the AppDelegate.m file, at the top, there is the "- (BOOL)application: didFinishLaunchingWithOptions:" method, and inside that, there is the following generated line of code (amongst others): self.viewController = [[ViewController alloc] initWithNibName:@"ViewController" bundle:nil]; This creates a view controller object, initialising it with the "ViewController.xib" file, and then assigns it to the "viewController" property. There are situation when we have some ViewController class, but no .xib or .storyboard file associated with it. In that case we need to replace the line above with the following line of code: self.viewController = [[ViewController alloc] init]; and in the implementation file of our ViewController class, usually in the "- (void)viewDidLoad" method, we have to write all the UI creation and interaction code. For example: self.view.backgroundColor = [UIColor orangeColor];

Introduction to view controllers in iOS

View Controllers are special objects of UIViewController type or one of its subclasses. They connect the application's data and its visual appearance. Every-time the app shows something to the user, the displayed content is managed by a view controller or a group of view controllers coordinating with each other. iOS provides many view controllers classes for creating standard user interfaces, such as Navigation view controllers, and TabBar view controllers. Usually we subclass on of the standard view controllers, and create our custom ones to display content according to our needs. The UINavigationController takes care of navigation between 2 or more UIViewController objects. It takes care of placing the Back buttons on the Detail view controllers, and setting the title of that button with the text that was set as the title of the previous view controller. For more information, you can check the Apple's online Documentation at:

Windows 8 Development – Data Binding XAML

Data binding is an essential concept to software development, and one that is luckily made near-trivial by Visual Studio. In a one-way binding, data is populated in one direction, to the end UI control. In this system, changing a value in the control does not reflect in the data source. In a two-way binding scenario, data can flow back from the control to the data source. This is useful for an 'edit' role, versus a 'label' role which would more appropriately make use of one-way binding. Data binding was made popular in WinForms (.NET 2.0), and Visual Studio 2012 makes it intuitive. Through multiple methods, such as Binding.Source and DataContext switching, a control can be bound to a source in just a few clicks. In this video, I will show you how to bind a TextBlock to the DisplayName property in a file chosen from a FilePicker. References XAML File Pickers -

Windows 8 Development – File Picker Code Review XAML

Previously we have used boilerplate code, with some modification, to add a file picker workflow to our application. Now, we need to review that code to understand each step, and any modifications which may be needed for different uses for the workflow. We will also leverage asynchronous programming, to ensure this operation does not block any other elements of the application. In this video, I will review the code we previously used for the file picker workflow. References XAML File Pickers –

Windows 8 Development – File Picker Introduction XAML

In the start of the new section of the XAML tutorial, we'll be looking at file access. File access is an important part of any application, and Windows 8 introduces some new rich workflows to enhance the experience. Tablets add some new considerations to file access, in that the file picker UI will not work if the application is in Snapped view. In this video, I will show you how to add a file picker interaction to an event handler of a button. References XAML File Pickers -

Windows 8 Development – Editing Portrait View XAML

Our last task in this section is to edit the remaining view that needs to be changed, the portrait view. The portrait view offers more vertical real estate, but less horizontal, and is well suited to displaying documents. By making a few simple changes, as before, we can ensure that our content is displayed in an appropriate manner. In this video, I will show you how to edit the ‘Portrait’ view. References XAML Navigation, Layout, Views –

Windows 8 Development – Editing Snapped View XAML

Now that we know how to edit different views, we will look at the first view that seems to be in need of editing, the Snapped view. A snapped-application will display in a small column in the left of the screen, allowing two applications to be used simultaneously. It is likely, however, that a snapped application will have some modifications require to that view. By keeping the view edits view-specific, we can optimize the user experience for each possible view. In this video, I will show you how to edit the 'Snapped' view.

Windows 8 Development : Using The Device Pane XAML

Visual Studio 2012 offers a powerful new feature for application development and debugging, the 'Device' pane. The device pane allows the designer to reconfigure itself to match the four visual states : snapped, filled, full screen horizontal, or full screen vertical. Developers are now able to test against different states at the click of a button, as well as against different resolutions without any further scaffolding required. In this video, I will show you how to use the 'Device' pane in Visual Studio 2012.

Troubleshooting VMWare

Sometimes you are facing components issues like cdroms and this video shows you how to get rid of them without restarting hosts ans management network ..

Citrix Deployment first part

This video shows you the prerequesites for Active Directory,DNS . Be sure to deploy it on Windows 2k8r2 enterprise or 32 bit standard and enterprise and refer to It will help you do quick deploy which is the basic deployment for SMBs

Citrix Xendesktop VDA installation

The master component after the xendesktop studio is your Master image if you are using a pooled deployment,meaning that you are provisionning VMs from a master image. An agent is needed for that Master image and this video shows you the basic install for it

xenDesktop second part

Installing xendesktop come with easy steps but there are common erros that comes with it. This video shows you the quick deploy one,focusing on AD,DNS requirements and then how to resolve SSL Certification error on a vSphere environment.

Citrix xenDesktop Architecture

Solution deployments are made easier these days,by having an appliance up and running very fast.But when thinking about different problems you will face,requirements for installation and implementation,it will hard to maintain when you don t know how it s architectured. This video shows you the main components for xendesktop deployment including the controller that will need IIS installed and ASP to be running correctly,the license server because XD checks it before giving the ability to users to connect to their desktops.