<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Mat Velloso's Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/velloso/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/velloso/feed.xml</link>
    <description>Microsoft dev, Azure, identity, bots, machine learning and stuff</description>
    <lastBuildDate>Tue, 16 Apr 2019 05:34:40 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Cloud Identity 201: Identity concepts for developers</title>
      <link>https://docs.microsoft.com/archive/blogs/velloso/cloud-identity-201-identity-concepts-for-developers</link>
      <pubDate>Wed, 25 Feb 2015 14:47:59 GMT</pubDate>
      <dc:creator><![CDATA[Mat (Mateus) Velloso]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/velloso/2015/02/25/cloud-identity-201-identity-concepts-for-developers/</guid>
      <description><![CDATA[Yesterday I've published a new Channel 9 video:...]]></description>
      <content:encoded><![CDATA[<p>Yesterday I've published a new Channel 9 video: <a href="https://channel9.msdn.com/Series/Explain/Identity-201-Cloud-Identity-for-Developers">https://channel9.msdn.com/Series/Explain/Identity-201-Cloud-Identity-for-Developers</a></p>
<p>It talks about basic OAuth concepts and how Azure Active Directory plays a role in your application authentication/authorization scenarios.</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Two more videos on O365 APIs and SharePoint</title>
      <link>https://docs.microsoft.com/archive/blogs/velloso/two-more-videos-on-o365-apis-and-sharepoint</link>
      <pubDate>Fri, 07 Nov 2014 12:11:04 GMT</pubDate>
      <dc:creator><![CDATA[Mat (Mateus) Velloso]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/velloso/2014/11/07/two-more-videos-on-o365-apis-and-sharepoint/</guid>
      <description><![CDATA[If you only have 20 minutes and you want to have an overview of SharePoint online and O365 REST...]]></description>
      <content:encoded><![CDATA[<p>If you only have 20 minutes and you want to have an overview of SharePoint online and O365 REST APIs, please check these:</p>
<p>&nbsp;</p>
<p><a href="https://channel9.msdn.com/Shows/Azure-Friday/Azure-Office-365-and-SharePoint-Online-has-REST-endpoints-with-Mat-Velloso">https://channel9.msdn.com/Shows/Azure-Friday/Azure-Office-365-and-SharePoint-Online-has-REST-endpoints-with-Mat-Velloso</a></p>
<p><a href="https://channel9.msdn.com/Shows/Azure-Friday/Assembling-Azure-Office-365-and-Web-Services-into-a-real-app">https://channel9.msdn.com/Shows/Azure-Friday/Assembling-Azure-Office-365-and-Web-Services-into-a-real-app</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>New Channel 9 Series: Explain that to me</title>
      <link>https://docs.microsoft.com/archive/blogs/velloso/new-channel-9-series-explain-that-to-me</link>
      <pubDate>Tue, 22 Jul 2014 18:31:35 GMT</pubDate>
      <dc:creator><![CDATA[Mat (Mateus) Velloso]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/velloso/2014/07/22/new-channel-9-series-explain-that-to-me/</guid>
      <description><![CDATA[I have started a new Channel 9 series called Explain that to me.
&nbsp;
The idea is to explain...]]></description>
      <content:encoded><![CDATA[<p>I have started a new Channel 9 series called Explain that to me.</p>
<p>&nbsp;</p>
<p>The idea is to explain often difficult concepts in the easiest possible way. To start, we have a video talking about how Identity plays a role putting up Office 365 and Azure together. Let's call it Identity 101. Enjoy:</p>
<p>&nbsp;</p>
<p><a href="https://channel9.msdn.com/Series/Explain/Identity101">https://channel9.msdn.com/Series/Explain/Identity101</a></p>]]></content:encoded>
    </item>
    <item>
      <title>A detailed guide about creating the ADAL Xamarin binding for Android</title>
      <link>https://docs.microsoft.com/archive/blogs/velloso/a-detailed-guide-about-creating-the-adal-xamarin-binding-for-android</link>
      <pubDate>Wed, 02 Jul 2014 15:34:38 GMT</pubDate>
      <dc:creator><![CDATA[Mat (Mateus) Velloso]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/velloso/2014/07/02/a-detailed-guide-about-creating-the-adal-xamarin-binding-for-android/</guid>
      <description><![CDATA[Today I just put together a step by step guidance to get Azure Active Directory Authentication...]]></description>
      <content:encoded><![CDATA[<p>Today I just put together a step by step guidance to get Azure Active Directory Authentication Library to work on a Xamarin Android project: <a href="https://www.matvelloso.com/2014/07/02/adal-bindings-xamarin-android-applications-ultimate-guide/">https://www.matvelloso.com/2014/07/02/adal-bindings-xamarin-android-applications-ultimate-guide/</a></p>]]></content:encoded>
    </item>
    <item>
      <title>A detailed guide about creating the ADAL Xamarin binding for iOS</title>
      <link>https://docs.microsoft.com/archive/blogs/velloso/a-detailed-guide-about-creating-the-adal-xamarin-binding-for-ios</link>
      <pubDate>Mon, 30 Jun 2014 17:50:29 GMT</pubDate>
      <dc:creator><![CDATA[Mat (Mateus) Velloso]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/velloso/2014/06/30/a-detailed-guide-about-creating-the-adal-xamarin-binding-for-ios/</guid>
      <description><![CDATA[Just posted it today with screenshots and code samples:...]]></description>
      <content:encoded><![CDATA[<p>Just posted it today with screenshots and code samples: <a href="https://www.matvelloso.com/2014/07/01/adal-bindings-xamarin-ios-applications-ultimate-guide/">https://www.matvelloso.com/2014/07/01/adal-bindings-xamarin-ios-applications-ultimate-guide/</a></p>
<p>Will work on an Android version next.</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Simple guide for enabling authentication to Azure Active Directory from an application</title>
      <link>https://docs.microsoft.com/archive/blogs/velloso/simple-guide-for-enabling-authentication-to-azure-active-directory-from-an-application</link>
      <pubDate>Thu, 05 Jun 2014 13:44:00 GMT</pubDate>
      <dc:creator><![CDATA[Mat (Mateus) Velloso]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/velloso/2014/06/05/simple-guide-for-enabling-authentication-to-azure-active-directory-from-an-application/</guid>
      <description><![CDATA[Many people ask how to get started with authentication on their mobile app, web app, web service,...]]></description>
      <content:encoded><![CDATA[<p>Many people ask how to get started with authentication on their mobile app, web app, web service, Xamarin, etc. Usually this first step can be confusing as there are lots of options available with different weaknesses and strengths.</p>
<p>&nbsp;</p>
<p>I wrote a simple guide to help you get started with making those decisions and moving forward:</p>
<p>&nbsp;</p>
<p><a title="Mat Velloso - Authentication guidance for apps" href="https://www.matvelloso.com/2014/06/05/authentication-library-choose/">https://www.matvelloso.com/2014/06/05/authentication-library-choose/</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Setting up a subscription to work with Azure Active Directory and o365</title>
      <link>https://docs.microsoft.com/archive/blogs/velloso/setting-up-a-subscription-to-work-with-azure-active-directory-and-o365</link>
      <pubDate>Mon, 05 May 2014 11:48:20 GMT</pubDate>
      <dc:creator><![CDATA[Mat (Mateus) Velloso]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/velloso/2014/05/05/setting-up-a-subscription-to-work-with-azure-active-directory-and-o365/</guid>
      <description><![CDATA[I've posted a little step by step guide in order to show how to get both an o365 and Azure...]]></description>
      <content:encoded><![CDATA[<p>I've posted a little step by step guide in order to show how to get both an o365 and Azure subscription to work with the same Azure Active Directory (so you can authenticate users seamlessly on both platforms): <a href="https://www.matvelloso.com/2014/05/05/setting-azure-o365-subscription/">https://www.matvelloso.com/2014/05/05/setting-azure-o365-subscription/</a></p>
<p>This is the step 1 of a more extensible guidance around creating apps that leverage Azure and o365 together. Stay tuned!</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>RichEditBox, Store apps and the challenges with advanced text formatting</title>
      <link>https://docs.microsoft.com/archive/blogs/velloso/richeditbox-store-apps-and-the-challenges-with-advanced-text-formatting</link>
      <pubDate>Wed, 23 Apr 2014 10:34:00 GMT</pubDate>
      <dc:creator><![CDATA[Mat (Mateus) Velloso]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/velloso/2014/04/23/richeditbox-store-apps-and-the-challenges-with-advanced-text-formatting/</guid>
      <description><![CDATA[This has become a common topic people ask me about so I decided to write it down for future...]]></description>
      <content:encoded><![CDATA[<p>This has become a common topic people ask me about so I decided to write it down for future reference.</p>
<p>&nbsp;</p>
<p>If you are using <a title="Windows.UI.Xaml.Controls.RichEditBox" href="https://msdn.microsoft.com/EN-US/library/windows/apps/windows.ui.xaml.controls.richeditbox.aspx">RichEditBox </a>on a store app, you might have realized by now that coding specific format changes in parts of the content is not trivial. Different than <a title="Windows.UI.Xaml.Controls.RichTextBlock" href="https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.richtextblock">RichTextBlock </a>which has a very extensible, c# friendly way of defining paragraphs and custom formatting inside of it (but is not an user editable control), RichTextBlock will allow you to reach some basic properties in order to format the entire content as a single unit, but no c# specific classes and methods for, let's say, format a specific subset of the content with a different font color.</p>
<p>So how do you do that if you need to?</p>
<p>&nbsp;</p>
<p>I typically suggest two options:</p>
<p>&nbsp;</p>
<p>1-Rely on RTF:</p>
<p>RichEditBox understands RTF well. So you can either load an entirely RTF formatted document or update parts of a content with RTF tags. For example, imagine the user selects part of the text and you want to format that part only with a different font color. You can do that in a relatively simple way doing this:</p>
<p>&nbsp;</p>
<pre style="font-family: Consolas; font-size: 13; color: black; background: white;"><span style="color: blue;">string</span>&nbsp;text;
richText1.Document.Selection.GetText(Windows.UI.Text.<span style="color: #2b91af;">TextGetOptions</span>.None,&nbsp;<span style="color: blue;">out</span>&nbsp;text);
richText1.Document.Selection.SetText(Windows.UI.Text.<span style="color: #2b91af;">TextSetOptions</span>.FormatRtf,&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #a31515;">"{\\rtf1\\ansi\\deff0"</span>&nbsp;+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #a31515;">"{\\colortbl;\\red0\\green0\\blue0;\\red255\\green255\\blue0;}"</span>&nbsp;+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #a31515;">"\\cf2"</span>&nbsp;+&nbsp;text&nbsp;+&nbsp;<span style="color: #a31515;">"}"</span>);</pre>
<p>What we are doing here is getting the selected text on screen, keeping it in a variable, then overwriting it with a RTF content that enforces a specific color definition. In other words, for anything the RichEditBox can't do with it's properties and methods, RTF can.</p>
<p>&nbsp;I have published this sample <a title="sample" href="https://code.msdn.microsoft.com/Custom-text-formatting-ac78bab4">here</a>.</p>
<p>2-Use a HTML based rich text editor.</p>
<p>&nbsp;</p>
<p>Another approach to this problem is to just use a WebView control and load it with a HTML/JS based rich text editor. That way you now have control over the entire HTML content, which will let you do as much as HTML can. There are many sample rich text editors in HTML you can rely on for this.</p>]]></content:encoded>
    </item>
    <item>
      <title>Xamarin iOS and Android bindings for ADAL (Active Directory Authentication Library)</title>
      <link>https://docs.microsoft.com/archive/blogs/velloso/xamarin-ios-and-android-bindings-for-adal-active-directory-authentication-library</link>
      <pubDate>Tue, 22 Apr 2014 12:03:05 GMT</pubDate>
      <dc:creator><![CDATA[Mat (Mateus) Velloso]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/velloso/2014/04/22/xamarin-ios-and-android-bindings-for-adal-active-directory-authentication-library/</guid>
      <description><![CDATA[If you're diving into building cross platform apps using Xamarin and you need to use Active...]]></description>
      <content:encoded><![CDATA[<p>If you're diving into building cross platform apps using Xamarin and you need to use Active Directory Authentication Library, you will need to create bindings so you can call the native iOS and Android libraries from C#. Xamarin describes the process of creating bindings libraries in details <a title="here (Objective-C)" href="https://docs.xamarin.com/guides/ios/advanced_topics/binding_objective-c/binding_objc_libs/">here (Objective -C)&nbsp;</a>and <a title="here (Java)" href="https://docs.xamarin.com/guides/android/advanced_topics/java_integration_overview/binding_a_java_library_(.jar)/">here (Java)</a>. But if that feels like too much work, the AD folks have published sample codes that will get you going:</p>
<p><a title="Sample binding project for Xamarin iOS" href="https://github.com/AzureADSamples/NativeClient-Xamarin-iOS">Sample binding project for Xamarin iOS</a></p>
<p><a title="Sample bindings for Xamarin Android" href="https://github.com/AzureADSamples/NativeClient-Xamarin-Android">Sample bindings for Xamarin Android</a></p>
<p>I will blog more about getting these things to work later on.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>So you did what with PowerPoint??</title>
      <link>https://docs.microsoft.com/archive/blogs/velloso/so-you-did-what-with-powerpoint</link>
      <pubDate>Thu, 21 Nov 2013 11:54:00 GMT</pubDate>
      <dc:creator><![CDATA[Mat (Mateus) Velloso]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/velloso/2013/11/21/so-you-did-what-with-powerpoint/</guid>
      <description><![CDATA[I was volunteering in a robotics class when one of the boys started playing with Microsoft...]]></description>
      <content:encoded><![CDATA[<p>I was volunteering in a robotics class when one of the boys started playing with Microsoft PowerPoint in a way that was completely novel to me: He was creating an actual playable computer game in PowerPoint.</p>
<p>No kidding, I had to record this as a proof, the video below says all.</p>
<p>What Aaron did got me to think about a couple of things:</p>
<p>&nbsp;</p>
<p>First, what is programming? From my perspective, Aaron figured how to "program" PowerPoint, even if not using an actual programming language. He managed to control decision points and actions without any problems.</p>
<p>&nbsp;</p>
<p>And second: How much more could we do with the tools and technologies we already have, but what's stopping us is just our lack of imagination and different perspectives?</p>
<p>I don't have much else to say so I will let Aaron run the show. Enjoy:</p>
<p>&nbsp;</p>
<p>&nbsp;<iframe src="https://www.youtube.com/embed/8ex8SN_-6Qo" frameborder="0" width="560" height="315"></iframe></p>]]></content:encoded>
    </item>
  </channel>
</rss>