[PT] PGGD25 – 25º Portugal Girl Geek Dinner – Lisboa

Estamos de regresso a Lisboa e contamos novamente com o apoio da Microsoft!

O #PGGD25 vai realizar-se no próximo dia 1 de Dezembro, a partir das 18:30, nas instalações da Microsoft (no Parque Expo). A participação é gratuita!
Agenda:

18:30 Registo / Snacks & Drinks

19:00 Joana Gomes – Marketing para uma audiência técnica

20:00 Sara Silva – Como criar aplicações Windows usando o Windows AppStudio

Nesta sessão a Sara irá apresentar o Windows AppStudio e como podemos criar as nossas próprias aplicações para Windows Phone e Windows 8.1 (Windows Store apps). Será apresentado um exemplo de como integrar a Cortana numa aplicação de Windows Phone (gerada pelo Windows AppStudio) e será exemplificado como poderemos interagir com a Cortana, através do Windows Phone ou até mesmo da Microsoft Band.

21:00 Encerramento

Apoios: Microsoft Portugal

Nota: Homens podem também participar desde que sejam acompanhantes de uma geek girl.

 

Sobre os Girl Geek Dinners…

Os Girl Geek Dinners nasceram em Londres há 7 anos. Este conceito reside em organizar eventos temáticos para mulheres apaixonadas por tecnologia, sejam elas, programadoras, investigadoras, empreendedoras, designers ou simplesmente interessadas por tópicos relacionados com tecnologia.

A ideia por detrás destes jantares é simples: num ambiente relaxado e informal proporcionar um ambiente para networking e ao mesmo tempo ouvir uma ou duas apresentações dedicadas a um tema tecnológico ou de negócio. Mais do que isso é também o espaço ideal para dar a conhecer o que se anda a fazer no mundo da tecnologia e new media em Portugal.

Website | Facebook | Twitter | hashtag oficial: #PGGD25

Tem dúvidas sobre #PGGD25 – 25º Portugal Girl Geek Dinner – Lisboa?Contacte Portugal Girl Geek Dinners

Survey about Android development in Visual Studio

The Visual Studio team would like to thank you for helping us understand more about Android development and debugging.   We want to hear about the tools and technologies you are using (as either a hobbyist or fulltime) for Android development.  We appreciate your time helping us shed some light on this area.

The information you provide is entirely voluntary.  By filling out and returning this survey, you agree that we can use, disclose, reproduce, or otherwise distribute your feedback at the aggregated level. Your personal information will remain confidential. Please check http://privacy.microsoft.com/en-us/default.aspx for Microsoft Privacy Statements.

 

If you have any questions about participating, please feel free to contact vsdr@microsoft.com.

 continue…

Some news released during the Connet() event

Today started the first day of the Connect(); Microsoft Visual Studio vNext & Azure, and was released some article that we should read!
Here are

[C#] File exporter for IEnumerable of T

Scope

This article has the goal to show a solution for have a file exporter based in a list of items but not matter which type.

Introduction

Sometime ago was published the sample Export To CSV for Windows Store apps, this solution is generic, is dynamic because uses reflection and It allow to export a list of items to a csv file. In Windows Store apps uses Windows Runtime and reflection is a bit different from reflection in WPF, Asp.Net, …

In this sample ww will create the sample for a common .Net project.

Description

For help in the sample, let’s create a specific class Person.

    /// 
    /// Define the Person.
    /// 
    public class Person
    {
        /// 
        /// Gets or sets the name.
        /// 
        /// The name.
        public string Name { get; set; }

        /// 
        /// Gets or sets the age.
        /// 
        /// The age.
        public int Age { get; set; }

        /// 
        /// Gets or sets the birthday.
        /// 
        /// The birthday.
        public DateTime Birthday { get; set; }

        /// 
        /// Gets or sets the country.
        /// 
        /// The country.
        public string Country { get; set; }
    }

in class diagram we will have

person
After it, we will create the Export class that will have a generic method, that uses a generic type T. Something like as following

 

    /// 
    /// Define the Export File.
    /// 
    public static class Export
    {
        /// 
        /// Exporters the list of items that can include the specified include header line.
        /// 
        /// <typeparam name="T">The generic type.
        ///If set totrue [include header line].
        ///The separator.
        ///The items.
        /// The content file.
        public static string Exporter(bool includeHeaderLine, string separator, IEnumerable items) where T : class
        {
            var sb = new StringBuilder();

            // Get properties using reflection. 
            var properties = typeof(T).GetProperties();

            if (includeHeaderLine)
            {
                // add header line
                foreach (var property in properties)
                {
                    sb.Append(property.Name).Append(separator);
                }
                sb.Remove(sb.Length - 1, 1).AppendLine();
            }

            // add value for each property. 
            foreach (T item in items)
            {
                foreach (var property in properties)
                {
                    sb.Append(MakeValueFriendly(property.GetValue(item, null))).Append(separator);
                }
                sb.Remove(sb.Length - 1, 1).AppendLine();
            }

            return sb.ToString();
        }

        /// 
        /// Makes the value friendly.
        /// 
        ///The value.
        /// The string converted.
        private static string MakeValueFriendly(object value)
        {
            if (value == null)
            {
                return string.Empty;
            }

            if (value is DateTime)
            {
                if (((DateTime)value).TimeOfDay.TotalSeconds == 0)
                {
                    return ((DateTime)value).ToString("yyyy-MM-dd");
                }
                return ((DateTime)value).ToString("yyyy-MM-dd HH:mm:ss");
            }
            var output = value.ToString();

            if (output.Contains(",") || output.Contains("\""))
            {
                output = '"' + output.Replace("\"", "\"\"") + '"';
            }

            return output;
        } 
    }

The method Exporter will allow to include a header with the properties name and allow to define the separador between each field value. It is very interesting because I can use the ListSeparator ( , or  ; ), |, + or other we define.

The method MakeValueFriendly is only useful for format specific type like DateTime.

Now we can create a list of person and write it to a file, let’s see how!

    /// 
    /// Define the Program.
    /// 
    public class Program
    {
        /// 
        /// Defines the entry point of the application.
        /// 
        /// args">The arguments.
        static void Main(string[] args)
        {
            var people = GetPeople();
            var basePath = Directory.GetCurrentDirectory();

            var fullPath = Path.Combine(basePath, "mycsvfile_includeHeader.csv");

            // to cvs file
            File.WriteAllText(fullPath, Export.Exporter(true, System.Globalization.CultureInfo.CurrentCulture.TextInfo.ListSeparator, people));

            fullPath = Path.Combine(basePath, "myfile_includeHeader.txt");

            // to a txt file
            File.WriteAllText(fullPath, Export.Exporter(true, "+", people));


            fullPath = Path.Combine(basePath, "mycsvfile.csv");

            // to cvs file
            File.WriteAllText(fullPath, Export.Exporter(true, System.Globalization.CultureInfo.CurrentCulture.TextInfo.ListSeparator, people));

            fullPath = Path.Combine(basePath, "myfile.txt");

            // to a txt file
            File.WriteAllText(fullPath, Export.Exporter(true, "|", people));
        }

        /// 
        /// Gets the people.
        /// 
        /// The IEnumerable.
        private static IEnumerable GetPeople()
        {
            return new List
            {
                new Person { Name = "Mary", Age = 22, Birthday = new DateTime(1992, 03, 24), Country = "Ireland" },
                new Person { Name = "Peter", Age = 10, Birthday = new DateTime(2004, 01, 05), Country = "Portugal" },
                new Person { Name = "Anne", Age = 50, Birthday = new DateTime(1964, 11, 03), Country = "Spain" }
            };
        }
    }

In the sample provided, we get the people and then wrote it in a CSV file and a TXT file, where we selected the both cases (with header and without).

The ouput

Running the console application we will get the output

folder

The CSV file with header

The CSV file without header

The txt file with header

The CSV file without header

Source Code

The source code can be found in MSDN Samples.

[Telerik] AutoCompleteBox for Universal apps

Scope

This article has the goal to show how to use the AutoCompleteBox for Universal Apps, from Telerik.

Introduction

Some time ago Telerik published the UI For Windows Universal as a Beta version, which can be download in Telerik WebSite.

telerik

For now is only available the following controls:

In this article we will focus in the AutoCompleteBox. Let’s see how we can use it!

Description

Before download and install UI For Windows Universal, we should create a Blank Universal App, then we need to add the reference for this. The following image show how to add it:
add reference

and thensdk extension

Now we can start use the Telerik controls, but before we can move MainWindow.xaml and App.xaml for the shared project for reuse the code.

Note: In this article we will use MVVMLight, see more about here.

In MainWindow we can define the UI  as following

<Page
    x:Class="MyTelerikSamples.AutoCompleteBoxSample.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:input="using:Telerik.Universal.UI.Xaml.Controls.Input"
    mc:Ignorable="d"
    DataContext="{Binding Main, Source={StaticResource Locator}}"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="{StaticResource HeaderWidth}"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="{StaticResource HeaderHeigth}"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <TextBlock Grid.Row="0" Grid.Column="1" VerticalAlignment="Center" Style="{StaticResource HeaderTextBlockStyle}" Grid.ColumnSpan="2">RadAutoCompleteBox Sample</TextBlock>
        <StackPanel Margin="20,10,0,0" Orientation="Vertical"  Grid.Row="1" Grid.Column="1">
            <TextBlock  FontSize="20">Insert some text:</TextBlock>
            <input:RadAutoCompleteBox Margin="0,20,0,0"
                     FilterMode="Contains" IsTextMatchHighlightEnabled="True"
                     Text="{Binding Value, Mode=TwoWay}" 
                     FilterComparisonMode="CurrentCultureIgnoreCase"
                     ItemsSource="{Binding Suggestions}" AutosuggestFirstItem="False"
                     Width="200" HorizontalAlignment="Left">
                <input:RadAutoCompleteBox.ItemTemplate>
                    <DataTemplate>
                        <TextBlock Text="{Binding}"
                               input:RadAutoCompleteBox.IsTextMatchHighlightEnabled="True">
                          <input:RadAutoCompleteBox.TextMatchHighlightStyle>
                              <input:HighlightStyle Foreground="DeepPink" FontSize="21"/>
                          </input:RadAutoCompleteBox.TextMatchHighlightStyle>
                        </TextBlock>
                    </DataTemplate>
                </input:RadAutoCompleteBox.ItemTemplate>
            </input:RadAutoCompleteBox>
        </StackPanel>
    </Grid>
</Page>

In AutoCompleteBox we defined a binding for the Text, which define the text string we will write in the control and we defined the ItemsSource which are the suggestion we will provide to the control, with this each time we start to write a word the control will try to find available words that match with the user input.

The DataTemplate was defined for allow to highlight the matched chars when we insert the text, in this case will be highlight by Pink color.

The MainViewModel can be defined as following

 public class MainViewModel : ViewModelBase
    {
        private string _value;

        /// <summary>
        /// Gets or sets the value.
        /// </summary>
        /// <value>
        /// The value.
        /// </value>
        public string Value
        {
            get { return _value; }
            set { Set(() => Value, ref _value, value); }
        }

        /// <summary>
        /// Gets the suggestions.
        /// </summary>
        /// <value>The suggestions.</value>
        public IEnumerable<string> Suggestions
        {
            get
            {
                return new List<string>
                {
                     "Apple",
                     "Babaco",
                     "Bacupari",
                     "Bacuri",
                     "Black cherry",
                     "Pineapples",
                     "Orange",
                     "Tomato",
                };
            }
        }
    }

After it we can run the app for test if the behavior do what we want, but before we should change the style for the selected item, because it will show the default colors and for the highlight was choosen Pink. For it, create a dictionary for add the resource we want to override

    
    <SolidColorBrush x:Key="TelerikAutoCompleteBoxSelectorSelectedItemBackgroundBrush" Color="DeepPink"/>
    <SolidColorBrush x:Key="TelerikAutoCompleteBoxFocusedForegroundBrush" Color="White"/>

then in App.xaml add the resources and the themes, as following

<Application
    x:Class="MyTelerikSamples.AutoCompleteBoxSample.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:viewModel="using:MyTelerikSamples.AutoCompleteBoxSample.ViewModel"
    xmlns:controls="using:Telerik.Universal.UI.Xaml.Controls">
    <Application.Resources>
        <ResourceDictionary>
            <viewModel:ViewModelLocator x:Key="Locator"/>
            <controls:UserThemeResources x:Key="ThemeResource" 
                                         DarkResourcesPath="ms-appx:///Styles/TelerikResources.xaml"
                                         LightResourcesPath="ms-appx:///Styles/TelerikResources.xaml"/>
            <ResourceDictionary.ThemeDictionaries>
                <ResourceDictionary x:Key="Default">
                    <ResourceDictionary.MergedDictionaries>
                        <!-- your namespace is "Telerik.Universal.UI.Xaml.Input" -->
                        <ResourceDictionary Source="ms-appx:///Telerik.Universal.UI.Xaml.Input/Themes/ThemeResourcesDark.xaml"/>
                        <ResourceDictionary Source="{CustomResource DarkResourcesPath}"/>
                    </ResourceDictionary.MergedDictionaries>
                </ResourceDictionary>
                <ResourceDictionary x:Key="Light">
                    <ResourceDictionary.MergedDictionaries>
                        <ResourceDictionary Source="ms-appx:///Telerik.Universal.UI.Xaml.Input/Themes/ThemeResourcesLight.xaml"/>
                        <ResourceDictionary Source="{CustomResource LightResourcesPath}"/>
                    </ResourceDictionary.MergedDictionaries>
                </ResourceDictionary>
            </ResourceDictionary.ThemeDictionaries>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Style/Definition.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>
</Application>

Running the app

When we run the app, we will get

sample

sample

sample

Source Code

The source code is available in github.

See Also

Telerik UI for Windows 8 XAML Documentation – Telerik Named Brushes

Telerik UI for Windows 8 XAML Documentation – Resolving Telerik named resources

Next stop Seatle…. I am going to Microsoft MVP Global Summit 2014

seatle

Next week will be Microsoft MVP Global Summit 2014 and for the 2nd time I will be there!

I will stay in Bellevue from Friday to Tuesday then I will move to Seatle for 2 days as a tourist :)

Want to know more about this event? See the following article

MVP Global Summit Home Page
What is MVP Global Summit?

[Survey] Windows Phone and Windows Store Dev Experience – 2014

As we continue to improve the Windows developer experience, the Windows Apps teams need your help.

5-10 minutes of your time can greatly help the team better understand how the WPDev community is using the Windows and Windows Phone platforms and tools. Your answers and insights will help determine what developer resources are as we continuously improve the SDK(s) and how we support the community’s needs. Additionally, the team can (and will) share top-level results from your survey responses back out to the community.

This survey is designed to take 8 minutes – depending on how much deep feedback you care to share, your mileage may vary.

Windows Developer Survey Privacy Statement (last updated: November-14-2011)
Microsoft is committed to protecting your privacy. Your responses to this survey will not be linked to any contact information previously collected by Microsoft. Your answers will be reported in aggregate with those of other respondents. This survey collects information about your response such as the Internet Protocol (IP) address through which you access the Internet and the date and time you access the survey. This information is used to help improve the survey, analyze trends, and administer the survey. Please note that this privacy statement applies only to this survey. It does not apply to other online or offline Microsoft sites, surveys, products or services.

Please contact cliff.simpkins@microsoft.com if you have any questions concerning collection and use of your personal information.

Microsoft’s Windows App Studio Beta: Submit Menu App in the Store

Scope

This article aims to show how to submit, in the Store, the Menu App created by Windows AppStudio. See more in the following articles

Introduction

Publish an application in the Windows Store is the last step we need to do for have the application available in the store, but publish the application is not only to take a package and add it to the store, there are some steps we need to do.

In general, the main steps we must do are

  • Test the app in simulator or in a real device;
  • Analyse all requirements for submit an app in store;
  • Analyse the common issues in store certification;
  • Fixe any issue found in the above steps;
  • Take screenshots for submit in the store;
  • Associate the app with the Store;
  • Generate the packages;
  • Validate the package with Windows App Certification Kit;
  • Create the required artwork (logo and others images, if need)
  • Submit the package in Dev Center;
  • Fill all data about the app, like description and keywords, and define the category and age rating;
  • Add up to 8 screenshots;

Now, let’s see it in more detail.

Test the app

After the application is created each developer should test the application in simulator or in real devices, in some cases is good to test the app in different devices with different characteristics (but is not required!).

The following articles will help to run the app in simulator or in devices

For Windows AppStudio apps is recommended to see the following video for help in the sideloading process: Generating, Sideloading, and Publishing Windows App Studio 8.1 apps for Tablets and PCs.

Sometimes couldn´t be easy to test our application or we don´t know what to test, a simple and good test is to provide the package to our friends or beta testers for they provide a feedback about the app, normally they saw issues that the developer not see. But before it, is recommended that each developer should do the basic tests provided in the following article Testing apps for Windows Phone 8.

In the article Testing apps for Windows Phone 8, we can find the App certification requirements for Windows Phone that are very important! If our app not respect this requirements the application will fail the certification and we should be updated about the changes in these requirements, for see the last changes read the article the App certification requirements change history for Windows Phone and finally we could read the Top Windows Phone app certification failures and how to avoid them. For Windows apps, you should read App certification requirements for the Windows Store and the common certification failures.

Each issue we find based in tests should be fixed and a new version should be created for apply new tests. After the app looks great you can skip to next step.

Take the screenshots

The next step is to take the screenshots that are required and this screenshots will showed to the user, and we only can upload up to 8 screenshots. For take the screenshots we can use the simulator, because it has a great feature for it, we only need to deploy the app in simulator as following

When we click in “Capture” button, the screenshot is taken and the image is save in a folder we defined.

Associate the app with the Store and generate packages

We can associate the app to the store and for it there are two ways: associate in Windows AppStudio or associate in Visual Studio.

In Windows AppStudio

The last step before generate the app (in Windows AppStudio) is the Publish, where the user can define the app title, the app description, the language, allow to connect the app with the store. The following screen show the Publish separator

In Publish separator (we saw above), click in “Associate App with the Store”, it will show the following form

For fill this form, we should open the Dashboard in Windows Phone Dev Center or in Windows Dev Center for get the information about our account (Publisher GUID, Publisher name)

And in the Dashboard we will find the Account option.

The information about the Menu App (App identity and App display name) is got after we create the application in dashboard, by clicking in Submit App.

Then we will have

At the end, we will have

After save all, it’s time to generate the app, for it, click in finish and then Generate. Now we need to choose Publish Packages, for create the packages for the store

After it we will get

At this moment we have the packages for the store.

In Visual Studio

For how that modified the app in Visual Studio or got the source code from in Windows AppStudio, is possible to connect the app with the Store, by doing

And then need to follow the wizard

At the end we will have an xml file with the store information, like following

 

After it is possible to generate the packages, as following

 

And we will get another wizard where we can choose if the package will be for store, and at the end we can set the package version, the output folder and others

In this cases, the packages are created for submit in store and the last panel will show the output path for the package and an option for run the Windows App Certification Kit

Running Windows App Certification Kit

If we click for “Launch Windows App Certification Kit” we will see the following wizard

Windows App Certification Kit is an automatic process for verify if the app is ok and it allow to select which test we want to run, in general, we should select all!

At the end, it will show the result, if passed or not and provide a report with more details. See the complete report here: MenuApp-WindowsAppCertificationKit-Report. If the app do not passe these tests, we should not submit the app in store until the issues reported in report are not fixed.

Note: One app that passed in this test can fail in others tests that this test do not test, but if the app not passed in these tests will not pass in store, too. For get more information about it, see the article Using the Windows App Certification Kit.

The artwork

Before go to the Dev Center for submit the app, we should prepare all artwork. The screenshots are taken, the app title icon with 300×300 should be created and if need create the background image with 1000×800, square icon with 358×358 and wide icon with 358×173.

Is recommended to see this App submission checklist which help to prepare and organize all the required info.

Uploading packages

Now is time to upload the package and fill the required data (description, keywords,…)

Choose the option 2, click “add new” and then choose the package

It will be uploaded and will showed the package name, version, package details

A form for description, keywords

 

And the options for add the artwork

Note:

  1. This form need to be defined for each language supported.
  2. If for some reason you get any issue when upload the packages, see the article Resolving package upload errors.

At this moment all data was filled and the app can be submitted to the certification process. If there is question about the certification process, and the different stages, we can find detailed info here.

In some cases, can be useful to add some notes to the testers (from certification process), for see how we should do it see the article Providing info to certification testers.

Now the sky is the limit and our app can be one of the top apps


For it we should promote our app, see more about in this article How to Market and Promote your apps on Windows Phone and Windows 8.

See also

[TechNet Wiki] The Microsoft TechNet Guru Awards! (September 2014) …. is out!

Yesterday was published the The Microsoft TechNet Guru Awards! (September 2014) and one more time I participated in TechNet Wiki. This time I published some articles about Azure Mobile Service and Windows AppStudio, which articles are related with Menu App, see all about it in Menu App Sample.

The results are good and I won

  • Microsoft Azure Technical Guru – September 2014 
  • Windows Phone and Windows Store Apps Technical Guru – September 2014 

Here are the boards

techinal guru

 

technical guru

How to binding a Dictionary to a Lisbox in apps based in XAML

Scope

This sample as the goal to show how to binding a Dictionary to a Lisbox in apps based in XAML, using the MVVM pattern.

Description

Suppose we have a resource dictionary with some data that we need to show in an application and for each item in listbox we want to show the key/value.

We will start by create a model class called “Company” that has only two properties: Name and Url.

    /// 
    /// Define the Company.
    /// 
    public class Company
    {
        /// 
        /// Gets or sets the name.
        /// 
        /// The name.
        public string Name { get; set; }

        /// 
        /// Gets or sets the URL.
        /// 
        /// The URL.
        public string Url { get; set; }
    }

In the MainViewModel we will create the resource dictionary where the Company is the key and the value will be an int, and we will have a SelectedCompany property for get the company selected in listbox.

The MainViewModel will be defined by

  public class MainViewModel : ViewModelBase
    {
        private Company _selectedCompany;

        /// 
        /// Initializes a new instance of the MainViewModel class.
        /// 
        public MainViewModel()
        {
            Companies = new Dictionary<company, int="">
            {
                {
                    new Company
                    {
                        Name = "Microsoft", Url="www.microsoft.com"
                    }, 1
                },
                {
                    new Company
                    {
                        Name = "Google", Url="www.google.com"
                    }, 2
                },
                {
                    new Company
                    {
                        Name = "Apple", Url="www.apple.com"
                    }, 3
                }
            };
        }

        /// 
        /// Gets or sets the selected company.
        /// 
        /// The selected company.
        public Company SelectedCompany
        {
            get { return _selectedCompany; }
            set { Set(() => SelectedCompany, ref _selectedCompany, value); }
        }

        /// 
        /// Gets or sets the companies.
        /// 
        /// The companies.
        public Dictionary<company, int=""> Companies { get; set; }
    }

 

The MainWindow will defined as following

<mui:ModernWindow x:Class="BindingResourceDictionarySample.MainWindow"
                  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                  xmlns:mui="http://firstfloorsoftware.com/ModernUI"
                  Title="Sample"
                  Width="525"
                  Height="350"
                  DataContext="{Binding Main,
                                        Source={StaticResource Locator}}"
                  Style="{StaticResource BlankWindow}">
    
        
        
            
                
                    
                        
                            
                            
                        
                    
                
            
        
    
For get the selected Company was used the SelectedValue property from Listbox, which will used the SelectedValuePath for know wich value will return. For get the value instead of Company we should change Key to Value.
Note:
1. For have a nice look, was used the ModernWindow from the ModernUI (for WPF). For see more about ModerUI see the following Modern UI Samples.
 2. The sample is similar for any XAML app, where we show the UI for WPF.

Running the sample

sample

Source Code Files

  • ViewModelLocator class contains static references to all the view model in  application and provides an entry point for the bindings.
  • MainViewModel class for binding to MainView.xaml
  • MainWindow represents the view.
  • Company defines the model.

Source

The source code can be find in MSDN Samples.

More Information

Ask me on twitter @saramgsilva

Follow me

My blog: typeof(saramgsilva)

My twitter @saramgsilva