Azure Mobile Services, Part 2: Listing 2

MainPage.xaml Updated for Live Connect Login.


    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
            <StackPanel x:Name="MobileUser" Orientation="Horizontal">
                <TextBlock>Logged in as</TextBlock>
                <TextBlock x:Name="MobileLastName" Margin="10,0,0,0" Text="{Binding LastName}"></TextBlock>
                <TextBlock x:Name="MobileFirstName" Text="{Binding FirstName}"></TextBlock>
            <Button x:Name="SignOut" Click="SignOut_Click">Sign Out</Button>
            <Button x:Name="SignIn" Visibility="Collapsed" Click="SignIn_Click">Sign In</Button>
            <StackPanel x:Name="Contact" Visibility="Collapsed">
                <TextBlock x:Name="UserDetail"></TextBlock>
                <TextBlock>First Name</TextBlock>
                <TextBox x:Name="FirstName"  Text="{Binding FirstName, Mode=TwoWay}"></TextBox>
                <TextBlock>Last Name</TextBlock>
                <TextBox x:Name="LastName" Text="{Binding LastName, Mode=TwoWay}"></TextBox>
                <TextBox x:Name="Email" Text="{Binding Email, Mode=TwoWay}"></TextBox>
                <TextBlock x:Name="Status"></TextBlock>
                <Button x:Name="Save" Click="Save_Click">Save</Button>
                <Button x:Name="Delete" Click="Delete_Click" IsEnabled="False">Delete</Button>
                <ListBox x:Name="Contacts" MinHeight="100" SelectionChanged="Contacts_SelectionChanged">

About the Author

Eric Vogel is a Senior Software Developer for Red Cedar Solutions Group in Okemos, Michigan. He is the president of the Greater Lansing User Group for .NET. Eric enjoys learning about software architecture and craftsmanship, and is always looking for ways to create more robust and testable applications. Contact him at [email protected].

comments powered by Disqus


  • Data Prep for Machine Learning: Normalization

    Dr. James McCaffrey of Microsoft Research uses a full code sample and screenshots to show how to programmatically normalize numeric data for use in a machine learning system such as a deep neural network classifier or clustering algorithm.

  • Microsoft Intros Azure Well-Architected Framework Best Practices

    Taking a page from the Amazon Web Services (AWS) book on cloud computing platforms, Microsoft has introduced its own Azure Well-Architected Framework, providing a set of architecture best practices to help users build and deliver great solutions and improve the quality of cloud workloads.

  • Creating a Progressive Web App with Blazor WebAssembly

    Not surprisingly, it's dead easy to create an app in Blazor that runs outside of the browser window and (potentially) in an offline mode. Before you get carried away, though, there are some key design decisions to make.

  • GitLab Takes Over VS Code Extension, Plans Improvements

    DevOps specialist GitLab has officially taken over the control of a GitLab extension for Microsoft's open source, cross-platform Visual Studio Code editor.

  • VS Code Python Tool Now Does Native Notebooks

    The Python Extension for VS Code Insiders team is previewing the newest implementation of notebooks, used frequently in data science with offerings such as Jupyter Notebooks.

.NET Insight

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.

Upcoming Events