52
Developing Universal Windows Apps (C#/XAML) Jump Start Q&A Log Live Event Date: September 30 – October 01, 2014 Page 1 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information. Day 1 08:38:58 PDT Question: Hello From Finland Answer: Welcome Finland, we hope you enjoy the class 08:39:19 PDT Question: Hello, from W.N.Y., NJ! Answer: Hello and Good Morning from Redmond 08:39:57 PDT Question: Hello from Czech Republic everybody! Answer: Welcome Frankie from Czech Republic, this will be a great class. Enjoy 08:40:07 PDT Question: Hello and Good Day from Philippines!!! Answer: Hello and Welcome Philippines 08:40:34 PDT Question: Hello and good evening from Austria Answer: Good Afternoon to you AndriTirol from Austria 08:40:44 PDT Question: Hello and good Evening from the UK Answer: Welcome Everyone from UK 08:41:04 PDT Question: Hello from Romania! I am very glad to be with you all! Answer: Hello Romania, we hope you enjoy the class 08:41:29 PDT Question: Hello from El Salvador, I know this is gonna be great [[REPLY:]Hello El Salvador this is going to be an amazing class 08:41:47 PDT Question: Hello From EGYPT Answer: Welcome Mohamed Hesham from Egypt. 08:41:59 PDT Question: Hi from South Africa Answer: Hello Colin 08:42:29 PDT Question: Good evening from Germany Answer: Good Evening to those form Germany we wish you a Good Morning from Redmond 08:42:52 PDT Question: Hello from Serbia. Greetings to all MVA members... Answer: Hello to Serbia. Welcome 08:43:08 PDT Question: Hello from Estonia ! Answer: Welcome Kertli from Estonia

Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

  • Upload
    tranthu

  • View
    230

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 1 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

Day 1 08:38:58 PDT Question: Hello From Finland Answer: Welcome Finland, we hope you enjoy the class

08:39:19 PDT Question: Hello, from W.N.Y., NJ! Answer: Hello and Good Morning from Redmond

08:39:57 PDT Question: Hello from Czech Republic everybody! Answer: Welcome Frankie from Czech Republic, this will be a great class. Enjoy

08:40:07 PDT Question: Hello and Good Day from Philippines!!! Answer: Hello and Welcome Philippines

08:40:34 PDT Question: Hello and good evening from Austria Answer: Good Afternoon to you AndriTirol from Austria

08:40:44 PDT Question: Hello and good Evening from the UK Answer: Welcome Everyone from UK

08:41:04 PDT Question: Hello from Romania! I am very glad to be with you all! Answer: Hello Romania, we hope you enjoy the class

08:41:29 PDT Question: Hello from El Salvador, I know this is gonna be great

[[REPLY:]Hello El Salvador this is going to be an amazing class

08:41:47 PDT Question: Hello From EGYPT Answer: Welcome Mohamed Hesham from Egypt.

08:41:59 PDT Question: Hi from South Africa Answer: Hello Colin

08:42:29 PDT Question: Good evening from Germany Answer: Good Evening to those form Germany we wish you a Good Morning from Redmond

08:42:52 PDT Question: Hello from Serbia. Greetings to all MVA members... Answer: Hello to Serbia. Welcome

08:43:08 PDT Question: Hello from Estonia ! Answer: Welcome Kertli from Estonia

Page 2: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 2 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

08:43:29 PDT Question: Hello from Belgium Answer: Wecome Paulo

08:43:39 PDT Question: Hi from Lebanon Answer: Hello Lebanon

08:43:52 PDT Question: Hello from Germany Answer: Wow, a few folks from Germany in the house, welcome

08:44:35 PDT Question: Hello from Brazil! Answer: Welcome everyone from Brazil

08:45:26 PDT Question: Yes, it will be a long day for us from Germany. Answer: Welcome Lar,s, yes this will end up being a long day for those joining across the big pond

08:45:34 PDT Question: Hello from Canada! Answer: Welcome Canada

08:46:00 PDT Question: Hello World from Hungary!

[[REPLY: Hello and Welcome everyone from Hungary.

08:46:29 PDT Question: Hello from Peru! Answer: Hello and Welcome Rolando from Peru

08:46:43 PDT Question: Hello From Egypt Answer: Hello Egypt,

08:46:51 PDT Question: Hi I am from Pakistan Answer: Welcome Pakistan

08:47:02 PDT Question: Hello from India Answer: Welcome all from India

08:48:02 PDT Question: Hello from Portugal! Answer: Welcome all from Portugal

08:48:21 PDT Question: Hello from UK Answer: Good Evening UK

Page 3: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 3 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

08:48:43 PDT Question: Hello from Switzerland Answer: Welcome all from Switzerland

08:49:01 PDT Question: Hello from Denmark Answer: Hello and Welcome everyone from Denmark

08:49:34 PDT Question: Good afternoon from Boston! Answer: Good Afternoon Boston

08:50:22 PDT Question: Hello all from the Netherlands, early evening here.. Answer: Welcome Netherlands, Good evening to you

08:51:35 PDT Question: Hello Everybody From Honduras Answer: Welcome everyone from Honduras

08:54:10 PDT Question: Hello from NY Answer: Welcome NY

08:54:53 PDT Question: I'm not Todo, but I'm from Kansas, USA Answer: Welcome, I am not Dorothy but love the Sunflower state

08:55:24 PDT Question: Hello world From Egypt Answer: Hello Egypt - Welcome!

08:55:49 PDT Question: Hello From Kansas Answer: Quite a few folks from Kansas signing in. Welcome

08:56:10 PDT Question: Tjing from Sweden! Answer: Good Evening to everyone from Sweden

08:58:17 PDT Question: Greeting from Vancouver Answer: Welcome Vancouver

08:59:11 PDT Question: Good morning from Melbourne Australia it's 2am (yawn) Answer: Welcome Australia grab your coffee or tea and sit back and enjoy the class

08:59:34 PDT Question: Hello from Canada! Answer: Hello Canada!

Page 4: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 4 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

09:01:09 PDT Question: Hello from Amsterdam! Answer: Welcome and Good Evening Amsterdam

09:01:41 PDT Question: Hello from Rutland, England Answer: Welcome Rutland, England. We hope you enjoy the event

09:10:43 PDT Question: Is this Universial Win App in C# good for exporting to Xamarin to develop Android and iOS apps? If you

have Xamarin installed, you can include ios and android projects in your universal app. Answer:

09:11:14 PDT Question: hello from israel Answer: Welcome israel

09:12:00 PDT Question: Is the code already there? Answer: There is some code on that codeplex site, but more will be added after this course.

09:13:33 PDT Question: Can we have the link again please Answer: which link?

09:15:03 PDT Question: Thanks. Next time will be nice to have our hands in real time on what are they talking about. Answer: One good strategy for these courses is to watch them live without interacting; then, view the recording later

with the sample code in front of me.

09:16:02 PDT Question: are you going to put all the presentation & code on github ore something like that ? Answer: A recording and the code will be made available later.

09:16:18 PDT Question: so we need no VS? Answer: Yes, you need VS.

09:18:22 PDT Question: Can't universal apps also be used on the Xbox One platform? Answer: Mike, good point. We announced at BUILD in April that the Universal Windows app model will extend to

XBOX ONE, but that is not available yet nor is it covered in this training.

09:19:07 PDT Question: it is free to public any app in the store ? Answer: To publish an app in the store, you need to sign up for a developer license, which costs $19.

09:19:38 PDT Question: I feel kinda boring. Im just from the east coast of the U.S....

Answer: Jeff, nothing boring about US East Coast, I'm here too!

Page 5: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 5 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

09:20:37 PDT Question: Is the $19 Developer License good for both Windows Phone and Windows valid for life? Answer: That is correct.

09:20:52 PDT Question: $19 for a month or year ? Answer: $19 forever.

09:21:10 PDT Question: $19 for a month or year ?

Answer: Costas, it used to be $19 per year, but we recently announced that it is now a lifetime subscription!

09:21:25 PDT Question: link to code on codeplex: http://xaml.codeplex.com Answer: xaml.codeplex.com

09:24:12 PDT Question: Are you grandfathered into the $19 forever, Nick, if you paid the previous developer fee? Answer: Daniel, all current registered developers who already paid their fee (or got it via a free BizSpark or

DreamSpark code) are grandfathered in.

09:25:02 PDT Question: Thank you Nick Answer: You're welcome!

09:25:41 PDT Question: Am I coming through? Answer: Loud and clear!

09:26:35 PDT Question: Does that include grandfathered users? Users who bought the phone version BEFORE the UA was

created. Answer: Yes, whether you were a registered Windows Phone or Windows Store developer, and are still active today,

you are now a lifetime Windows developer

09:27:34 PDT Question: I know nothing about xaml yet, should I leave or what Answer: Hamid, stick around! You will learn a lot here, even if you do not know XAML

09:28:11 PDT Question: $19 is still not bad for a lifetime publisher license Answer: Not bad? I think it's AWESOME!

09:28:41 PDT Question: hello nick Answer: Hi TJ, welcome!

09:29:16 PDT Question: Hi from Belgium Answer: Bonsoir Guy!

Page 6: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 6 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

09:31:19 PDT Question: In windows 9, we will can made an app for mobile/desktop in only 1 project ? Answer: Steven, we are not discussing development on future versions of Windows today. Only Windows 8.1 and

Windows 8.1, but the Universal app model is designed to carry forward

09:31:57 PDT Question: Hi Nick, I'm from the Flemish part of Belgium, so 'goeienavond'

Answer: Ah, well, sorry, no Flemish here... just French & English

09:32:13 PDT Question: Hi Nick Answer: Hi, welcome!

09:32:55 PDT Question: a good way to backup your code is to use OneDrive Answer: I agree, all my dev projects reside in OneDrive, but I am also using GitHub & Visual Studio Online (with Git

endpoints)

09:34:10 PDT Question: Missed the beginning, can you build universal apps with html and javascript? Answer: Martin, yes, the Universal app model works for HTML & JavaScript too (i.e. WinJS), as well as XAML with

either VB, C# or C++

09:35:17 PDT Question: How do you tie an existing phone app to store app? (The names may not be the same) Answer: John, you'll have to publish an update and reserve the same name for both the Windows Phone and

Windows Store version, that will link them

09:35:50 PDT Question: hey Nick Answer: Hi Rob, welcome

09:36:08 PDT Question: Hello from the Moon. Answer: That's no moon, that's a space station!

09:37:18 PDT Question: is there anything that we should download or need for this class besides visual studio Answer: make sure you have Visual Studio 2013 with Update 3. You can use either the Express for Windows

version, or Professional and higher

09:38:08 PDT Question: Someone has reserved app name I used on the phone so I guess I have to rename the phone app Answer: John, it can happen. Support can sometimes help with naming issues

09:38:48 PDT Question: i am just register Windows and Windows Phone Annual Developer Registration Price: € 14,00 not lifetime

!!!! Answer: Costas, if you bought an annual developer registration, it automatically gets upgraded to a lifetime sub, it

won't expire

Page 7: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 7 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

09:39:16 PDT Question: Does Silverlight work on Win Phone ?? Answer: MEB, there is no Silverlight support in the Windows Phone Internet Explorer browser

09:39:47 PDT Question: if i have an win 8.1 app how can i make it universal app ? Answer: Simply right-click the Windows 8.1 project and select "Add Windows Phone 8.1", bingo!

09:40:33 PDT Question: Hey Nick Send me Code that you published in 3rd slide. Answer: If you mean the MVA voucher code, see the FAQ tab, it is posted there

09:42:18 PDT Question: Wait, so if I get this correctly - if an application is intended to be universal app, it needs to have the same

name on phone and desktop markets? So labeling ony "Ant Farm" and the other "Ant Farm mobile" (for example) means that they can not be connected, even if code-wise they are written as universal app? Answer: Frankie, Universal apps are still submitted separately to the store. You CAN have them unlinked with

separate reserved names, but most users will expect the same Windows and Windows Phone apps from a publisher to be linked. That is a recommended practice.

09:43:34 PDT Question: Currently we have no "shared project" project template - is there any plugin/update available or manual

creation is currently the only way to create new shared project Answer: Dejan, you can "add" the other platform on an existing project by right-cliking it to convert it to a Universal

app. We also have a "Shared Project Reference Manager" add-on on Codeplex

09:44:03 PDT Question: @Nick Landry: Thanks. And the only way to link the app is to have both versions share the in store name,,

if I get this correctly? Answer: When you reserve the same name for both apps, the store UI will ask you if you want to link them

09:44:40 PDT Question: I'm sorry if I my question is inappropriate, but I've been trying for a few days to render animated GIF

images in a universal app. What is the right way to do it? Thanks in advance! Answer: I recommend you take a look at the Nokia Imaging SDK to work with animated GIFs in Universal apps

09:45:41 PDT Question: Hello, is it possible to put project references into the shared project? Answer: No, Shared Projects do not have their own references since they have no build targets. Their contents is

just merged with the Windows or Windows Phone project at build time

09:47:24 PDT Question: Nick Landry is my hero! Answer: I love you too James!

09:49:11 PDT Question: you never got around answering the question about xamarin. Is a universal app able to be imported in

xamarin? Answer: No, Universal apps are for Windows and Windows Phone and are based on the Windows Runtime. Xamarin

apps are for iOS and Android and are based on Mono, which uses .NET profile 78. There would be incompatibilities in code. There are ways allowing you to share code between Universal Windows Apps and Xamarin apps with Portable Class Libraries (PCL), but that is beyond the scope of this course

Page 8: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 8 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

09:49:56 PDT Question: What's a popular app for windows currently? Answer: Popular is a subjective term. Log into the Windows store and you can see a list of top apps there

09:50:54 PDT Question: hey nick my question is when i'm done implementation my project how can I submit my universal

application I know windows 8.1 i'll create package and upload it and windows phone 8.1 how about shared solution ? that's all I want thank you Answer: Shahed, Universal apps let you share code but they still generate two appx packages, which both have to

be submitted to the store separately

09:52:37 PDT Question: Unfortunately I developed my Windows Store app in Visual Basic (I'm nostalgic") and I am screwed

because there are no universal app support for VB. So much for the parody that MS talks about. Answer: David, VB support is there for Windows Phone 8.1 and Windows Store 8.1, but not in Universal Apps yet,

this was due to time contraints. It may yet come in the future but nothing has been announced to date. You could use PCLs to share code today. We love our VB users, I used to be one for over 14 years!

09:54:12 PDT Question: Can I use the Nokia Imaging SDK even in Windows 8.1 projects?

Answer: Yes, the last version of the Nokia Imaging SDK added Windows Store support too

09:55:24 PDT Question: How i can make application for windows store and windows phone which is able to communicate with

each other? Answer: What do you mean by "communicate with each other?" You can do that today using Azure for example

09:55:59 PDT Question: I had to answer the door when they converted the app to universal, what was that step Answer: Right click your Windows Store project and click "Add Windows Phone 8.1", or vice-versa

09:56:50 PDT Question: sorry sir you didn't get that what actually i want say. i'm developing app for windows phone and store

which will be connected with each other. whenever my computer get on so that application should send information about computer activity on my windows phone application Answer: I recommend that you add support for a sync service via Azure

09:57:40 PDT Question: I didn't get an answer to my greeting, I didn't get an answer to my question. What am I doing wrong? Answer: What was your question? We are getting flooded here

09:58:00 PDT Question: Hello everybody. Answer: Hi, welcome

09:58:18 PDT Question: Do we win anything if we get the current poll question correct? Answer: You win my admiration!

09:58:43 PDT Question: Nokia Imaging: - How are this included in the project? - Is it free, as it was on WP8? Answer: Yes, it is free, I'm pretty sure you can add it via Nuget

Page 9: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 9 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

10:00:23 PDT Question: hi , i have VS 2012 what suppose i do ? i dont have sdk for windows 8.1 Answer: You need Visual Studio 2013 Update 3. There is a free Express version for Windows and it can work side

by side with VS2012

10:00:36 PDT Question: PM> Install-Package NokiaImagingSDK Answer: Thanks Johan!

10:01:04 PDT Question: Those other MVAs look interesting, are they free to watch ? Answer: All the content on MVA is free, always free, and it's awesome!

10:02:07 PDT Question: I love XAML! Answer: XAML rocks!

10:02:13 PDT Question: How to third party controls integrated in window project. like telerick control. Answer: This is no different for Universal apps. Set references or add to toolbox or install Nuget package. It depends

on the library.

10:02:26 PDT Question: dose vs 2013 update 3 is it free? Answer: Yes, the Express edition for Windows is free

10:02:35 PDT Question: What is PCL? Answer: PCL= Portable Class Library

10:02:51 PDT Question: What is PCL? Answer: PCL = Portable Class Library, it's a way to share code in a DLL that can target multiple .NET profiles

10:02:55 PDT Question: What is PCL? Answer: Marcel, PCL is a portable class library. Allows you to share code between different projects

10:03:22 PDT Question: Well, I'm developing an app totally focused on WP8.1. Would I be able to make it universal after I'm done

with the WP version?? Answer: Yes simply right click on the project and click "Add support for Windows 8.1"

10:04:07 PDT Question: is there a record for the event ? when i can watch it again ? Answer: The recording link will be published after the event is over. Not sure the exact date.

10:04:27 PDT Question: where should i get vs 2013 update 3? Answer: You can download the Express versions of Visual Studio 2013 (and 90-day trials of Pro and above)

at http://www.visualstudio.com/downloads/download-visual-studio-vs. make sure to download Visual Studio 2013 with Update 3 for Windows (NOT for Windows Desktop)

Page 10: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 10 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

10:04:29 PDT Question: what is a T4? Answer: T4 = A templating engine for code generation.

10:05:06 PDT Question: there is a huge difference in form factor between tablet and phone. how to handle that? Answer: You can separate your UI code for the Phone vs the Tablet. These are in different projects and need not be

shared.

10:05:11 PDT Question: there is a huge difference in form factor between tablet and phone. how to handle that? Answer: Hi! This is something that is up to the developer. You have the ability to share as much UI (or not) as you

want. Typically you want to customize the UI for each platform and screen real estate

10:05:44 PDT Question: I just joined the session Nick ...can i know how much time of the session has left for today? Answer: The course runs until 5PM PDT / 8PM EST, and then continues tomorrow

10:05:58 PDT Question: Does vs 2013 with update 3 insall on windows 7 sp1? Answer: No, you need Windows 8.1

10:06:21 PDT Question: Do PCL have less API common surface than shared code? Answer: Shared code allows you to share things like the app.xaml files as well as layout .xaml files that you cannot

share with PCL

10:07:31 PDT Question: what do u mean by universal app? Answer: Universal App means that ability to share code that targets Windows and Windows Phone

10:07:47 PDT Question: what do u mean by universal app? Answer: A Universal App means it targets both Windows Store and Windows Phone, sharing as much as 100% of

the code, including the XAML UI

10:07:53 PDT Question: buttan hahahhahha Answer: haha these guys are funny!

10:10:10 PDT Question: Isn't the back button going away? (Not that I support that idea.) I heard users were found to not

understand how to use it. Answer: No, the Back button never went away, it is always there on Windows Phone, but there is no Back button on

Windows. The only change is that now Windows Phone can have the back button rendered at the bottom of the screen (like Android does) instead of being a physical touch button on the hardware

10:10:37 PDT Question: I have to copy The xaml Page to each project? , I have added a page to shared Project , I have to copy

them to each Project ??? Answer: if you share a .xaml page in the shared project you do not need to copy it into the windows and windows

phone project. This will automatically happen

Page 11: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 11 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

10:11:11 PDT Question: Sharing XAML is not a very good idea. Answer: There are ways allowing you to share XAML and still build awesome Phone and Windows UI's, especially is

you use the Hub control. This will be covered later

10:11:43 PDT Question: so it means if i create a UI with xaml it will work on windows phone as well? Answer: Yes, you can share C# code and share XAML UI, but you still need to make sure it looks good on both

10:12:31 PDT Question: is there a compiler directive like #debug? to make difference between specific code? Answer: Yes, you can use #if WINDOWS_APP or #if WINDOWS_PHONE_APP in C# to add platform specific code

(but not in XAML)

10:12:55 PDT Question: Is this course going to be available later on on MVA? Answer: yes, all MVA courses are made available for on-demand watching a few days later

10:14:53 PDT Question: how to publish windows store application? so i can run another windows 8 pc and is it free or not? Answer: Amit, you go to dev.windows.com and can publish from there, use either the Windows or Windows Phone

dashboard. The $19 is for both stores

10:15:42 PDT Question: Do you think there is a better way than using compiler directive for windows and windows phone ..

otherwise I will have #if everywhere in the code? Answer: This is again up to the developer. It can go either way and really depends on what you are more

conformtable. If you are doing a ton of work that is platform specific it is probably worth adding that code to the designated project instead of the shared folder

10:16:19 PDT Question: Jerry and Daren are a good match! I've watched "Programming in C#" and you guys rock. Knowledgeable

and Fun! Answer: yes, they make a great team!

10:17:16 PDT Question: Do you need to pay for a developer licence if you have an MSDN Ultimate subscription? Answer: No, your MSDN Ultimate Sub gives you a free store registration token under "My Account" and then you'll

be set for life!

10:17:51 PDT Question: then my app will it be available in both store? Right Answer: You still have to submit the two appx packages to their respective stores, this will be covered later

10:18:31 PDT Question: Can we have a larger font please. Answer: Click the four arrows button at the bottom right of the video to go full screen

10:20:16 PDT Question: Is this class going to cover how to change Silverlight 8.0 phone apps into UA? I found it totally confusing

to find namespaces not supported in the UA. Answer: There might be hints here and there about moving from .NET (WP8) to WinRT, but I don't think that is

specifically covered here. You should look at the Windows Phone 8.1 JumPDTart on MVA

Page 12: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 12 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

10:20:57 PDT Question: Nick i have doubt about application cost? suppose i'll publish any windows 8 supported app who will

decide the price of application and how mush money i'll get after sale the application Answer: You decide the pricing, and when linked, buying one platform in a Universal app gets you the other platform

too

10:21:29 PDT Question: Hello Answer: Hi, welcome

10:24:45 PDT Question: I guess there are no plans for the windows store to have beta distribution capabilities like the phone store.

Too bad since it's something that's actually important. Answer: Scott, I'm not sure, I do not have that info and we're not here to discuss future plans. I'll see what I can find

out

10:25:07 PDT Question: Joe Belfiore: New Windows 10 app model is Universal Windows apps. They will run on the desktop

alongside desktop applications. Answer: Yes, building Universal Windows apps is the way to go and the road to the future, available today

10:26:25 PDT Question: Say I have WStyles an WPDTyles xaml files, each containing the same styles but with difference values, I

want them to not override or collide with each other, how do I reference them in App.xaml? right now I'm just keeping both styles with different naming like "*_Windows" to get by? am I doing a "good practice" here or there is a better solution? You can keep copies of each (named the same) in the windows and windows phone projects and then simply reference them by name in the shared app.xaml file The app.xaml will go out and find the appropriate one Answer:

10:26:49 PDT Question: Namaste!

Answer: Namaste to you too!

10:27:26 PDT Question: Thanks Nick. Answer: you're welcome. I try to provide as many answers as possible, but sometimes it requires follow-up with

different teams after the class.

10:37:10 PDT Question: I have to say the time of this session is prefect for Europe Answer: Glad it works out for you, we try to accommodate as many time zones as possible

10:38:26 PDT Question: What plugin/addin do we need to do the same stuff in VS 2012? Answer: Anjana, VS2012 is not supported for Universal Windows apps, you need Visual Studio 2013 Update 3,

which is free at http://www.visualstudio.com/downloads/download-visual-studio-vs

10:40:01 PDT Question: Well, also from Europe, why is the time so great for Europe?

Answer: Because it's not at 3:00am

Page 13: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 13 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

10:40:21 PDT Question: Nick how to activate hybrid for emulator to run windows phone application Answer: what do you mean by "activate hybrid"?

10:40:39 PDT Question: I think it has not had any answer... Answer: What was the question?

10:41:16 PDT Question: but it ends at 3 am or so ... Answer: Yeah, I know. You can still catch it on demand in a few days No matter what time zone we pick, some

people will be inconvenienced

10:42:22 PDT Question: Hyper-v? Answer: Hyper-V is used by the Windows Phone emulator to do super fast virtualization of the Windows Phone

operating system. For more info on setting up a Windows Phone environment, see http://aka.ms/wpdevsetup

10:43:20 PDT Question: So, there are three nice ways to make code available on the different platforms: (1) compiler directives, (2)

partial classes, (3) derived classes by abstract/virtual methods and partial methods, right? Answer: Portable Class Libraries (PCL) using common code is another way

10:43:54 PDT Question: actually when i run windows phone application it's showing me error like windows phone application

required Hyper V Answer: I can help you there. For more info on setting up a Windows Phone environment, see my Ultimate Guide

and FAQ at http://aka.ms/wpdevsetup

10:44:13 PDT Question: My University Department 30 Student Attending This program now Answer: very cool, welcome everyone!

10:46:20 PDT Question: i am not getting intrest on windows phone app ,its boaring Answer: Give it a shot, you'll be surprised. There are a lot of VERY successful developers on the Windows Phone

(and Windows) platforms

10:47:04 PDT Question: RichardJohn786 will now reserve all the famous names from Windows Store Apps Answer: Eh, nice try, no squatting, our support team has ways to deal with that. We want to insure fair play for

all

10:48:12 PDT Question: Is there any conditional in XAML to solve the problems Jerry is just having? Answer: XAML does not support conditional compilation, but there are many ways through which your C# code can

manipulate your XAML elements to tweak the UI for either platform, more will be covered later

10:48:26 PDT Question: ALL YOUR APPS ARE BELONG TO US

Answer: No, they belong to me

Page 14: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 14 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

10:49:13 PDT Question: Meanwhile, Windows 10 is out with a universal store Answer: Everything you build here with Universal Apps will carry forward in the next version of Windows, THIS is the

recommended approach. You're in the right place

10:49:38 PDT Question: are you going to record this session? Answer: Yes, all MVA sessions are recorded and made available for on-demand watching within a few days

10:52:02 PDT Question: Good evening, I had to enable hyper-v on my VMware fusion 7 before I was able to emulate the windows

phone 8.1 Answer: Yes, if you run Windows 8.1 in a VM, you need to enable Nested Virtualization in VMWare Fusion or

Parallels Desktop for Mac

10:53:16 PDT Question: Hi, I'm attending from Mexico, Jerry and Daren, my favorite expositors, they are nice and very high level

technical people, congratulations! Answer: Welcome Carlos

10:54:12 PDT Question: Getting points for watching this? I dig that!

Answer: MOAR POINTS!

10:55:19 PDT Question: Is there a way to have a trial for in app purchase? I would like to have time limited trial showing all features

but when trial ends have limited functionality and let people buy additional features through in app purchase - how could this be set up? Answer: Trials for in-app purchases are not supported, no. You could create free IAP products that match the paid

versions, and decide how to handle them in your code

10:55:34 PDT Question: Stream is gone? Answer: 10 minutes break

10:57:58 PDT Question: is there a point in the future where we can share real desktop and and phone code? Answer: You can already do that today for non-UI code using Portable Class Libraries (PCL)

10:58:38 PDT Question: Off-subject: Is there a Azure Media Services subject expert here? I'm new to Azure and I'm trying to

stream content to a Windows Form. Is there a recommended video player I can embed into my project to stream my content using the new on-demand DRM from MS? Answer: Off-subject indeed, let's please stick with the topic of this course for now. Thanks!

10:58:48 PDT Question: Dinner time! Answer: Bon appétit!

10:59:05 PDT Question: Can anyone post the redemption code one more time? Answer: The MVA voucher code is in the FAQ tab

Page 15: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 15 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

11:00:10 PDT Question: ok. i ment UI code. sry Answer: Even if you could, I would not recommend it. The environments are too different. One is for users sitting

comfortably at their desk with mouse and keyboard, the other is for users on the go, often with touch only.

11:00:27 PDT Question: Can we find the poll results somewhere (including correct answers, if applicable) Answer: The correct answer is always 42.

11:00:45 PDT Question: I love MVA <3 Answer: me too!

11:01:10 PDT Question: Coffee break

Answer: I'll have a grande non-fat latté please

11:01:49 PDT Question: 42 - Yea, but whats the QUESTIONS

Answer: We're gonna need a bigger computer for that one, ask the mice

11:03:40 PDT Question: every time I drink coffee I fall asleep... not fun... don't know if my keurig was a good idea Answer: Does it say "DECAF" on your coffee bag? That might be the problem

11:05:03 PDT Question: Earlier it was alluded that in-app authentication for multi-platform apps would be covered. Is that done

through Azure Active Directory or some other technology? Answer: I'm not sure, you'll have to wait and see. Azure authentication supports AD, Microsoft Account, Facebook,

Twitter and Google ID

11:05:38 PDT Question: the QUESTION is, where do I get my MVA towel? Answer: Try your local Microsoft Retail Store. If they're out, remember: DON'T PANIC!

11:09:30 PDT Question: i like my DVLUP backpack i got in Dallas back in may... very nice and comfy and roomy... a towel would

be a nice addition Answer: I use a DVLUP backpack too, they rock

11:10:43 PDT Question: whatis the nomenclatuur? metrostyle, modern, windt, store app? Answer: Universal Windows apps when targeting both, otherwise it's Windows Store apps and Windows Phone

Store apps

11:11:40 PDT Question: On a more serious note. If I write a PCL to target both store and desktop apps, does this prevent me from

submitting the store app? Answer: No problem, apps can still be submitted to the store if they use PCLs

Page 16: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 16 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

11:12:54 PDT Question: wat is the connection to wpf if any? The syntax is xaml but what is the underlying technology? Answer: WPF uses .NET, Universal Apps use the new Windows Runtime

11:14:00 PDT Question: hummm... will Microsoft have a way to get ui stencils pads for us to help design our wonderful apps for wp

and windows that would be a big help in our design and prototyping processing Answer: No need, it's already available at http://www.uistencils.com/products/windows-8-stencil-kit

11:15:06 PDT Question: Thanks Nick, btw Chakotay has a very valid point there. the terminology is terrible, give me something that

makes sense in a search query Answer: An umbrella term would make matters worse. Stick to distinct searches like WPF, Windows Store, Windows

Phone, Universal apps, etc.

11:15:47 PDT Question: Do you know if it wil lbe possible to run Universal Windows Apps in windowed mode in the next Windows

versions? Answer: Marcin, we're not discussing future versions of Windows in this class, other than confirming that Universal

Windows apps are the path forward

11:17:05 PDT Question: So we're still using WPF in the context of this presentation for both PC/Phone apps? Answer: No, WPF is for desktop apps. Windows Store / Universal apps built using the Windows Runtime use XAML

but it is not WPF

11:18:57 PDT Question: It is really confusing in MSDN to search for a particular platform. I normally get hits for all apps. Is there a

way around this? Answer: We have a long legacy of developer technologies and a great track record of supporting them, it's not an

easy problem to solve

11:21:14 PDT Question: Hi, Do I need to install a Nuget package to get Universal App in Visual Studio working? Answer: No, you just need to go under Tools --> Extensions and Updates, and install Update 3 in Visual Studio 2013

11:21:26 PDT Question: Hi, Do I need to install a Nuget package to get Universal App in Visual Studio working? Answer: Hey Peter you do not need a nuget package. You simply need VS 2013 update 2 or higher

11:23:49 PDT Question: Nick: A metal stencil? Microsoft should buy a product like Visio - Oh wait, they did

Answer: You can also use Blend

11:24:47 PDT Question: Nick: Another good choice

Answer: I'm full of answers

11:26:48 PDT Question: I like the content! Answer: I'm glad you do, enjoy!

Page 17: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 17 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

11:27:42 PDT Question: The biggest help would be a way to search in a particular technology. Also, how to port from any

technology to UA. It is hard to evangelize a technology when the tools are hard to use. Answer: I hear you, and we are constantly making changes to our Windows Developer Center to make it easier to

find the information you need

11:29:14 PDT Question: nick i want to build an about page what is a good way to do that and add it into my apps i have been

looking for an easy way to learn it better Answer: The following article is for WP7 but describes the general concept of creating an about page in

XAML: http://kencenerelli.wordpress.com/2012/04/17/windows-phone-7-sample-about-page/

11:29:47 PDT Question: windows 10, one code base across all devices Answer: That's the vision!

11:30:36 PDT Question: Nick, can u tell me when MS buys Xamarin? Answer: I can tell you we just bought MINECRAFT!!! Cool, eh?

11:30:44 PDT Question: I have a trial/buy app that is making a little money. Would I be better off converting it to free with ads? Answer: Recently the most successful strategy for monetization is In App Purchases. But it all depends on your app

and what works best for you. No reason not to experiement

11:31:39 PDT Question: I have a trial/buy app that is making a little money. Would I be better off converting it to free with ads? Answer: It depends, if you fell users are actively engaged in your app for considerable amounts of time, you would

need to determine whether the ad experience would augment monetization while at the same time taking into considering any distaste that might be felt by users

11:32:34 PDT Question: dev.indows.com Answer: dev.windows.com: http://dev.windows.com

11:33:31 PDT Question: I'm unfamiliar with WPF and it's follow-up. Is there a new technology announced that will replace WPF for

desktops, or does Windows Runtime already do this? Answer: WPF is still one of the best ways to build desktop apps for Windows. Windows Store apps can also be

deployed internally for the enterprise

11:34:43 PDT Question: How flexible is the store when it comes to pricing/advertising/IAP? Can I make changes after I published

the app. Answer: Yes, you are in control of your pricing and you can publish updates to apps and IAP products, and their

pricing

11:35:32 PDT Question: That seems like more of a business model concern (paid vs free/ad), but getting more users on a free

model might also help build your brand for later purposes. Answer: The "freemium" model is probably the most successful approach, starting with a free app and adding

advertising and/or IAP

Page 18: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 18 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

11:35:56 PDT Question: Will this session be posted as a course later? Can someone list the courses that Jerry and Daren referring

to then? Answer: Yes, the course will be made available to watch on-demand in a few days

11:36:20 PDT Question: thank you nick... you are a hero... i can't wait to try this... manually creating an about page is going to be

really nice Answer: You're welcome

11:37:24 PDT Question: Hi, we have an app developed for android, logo is not flat... so is it fine to use that one or is it required to

make it flat? as windows design guidelines says logo must be flat... Answer: I would recommend flattening the logo for consistency, but if this is a well established brand, the store

certification should not reject it

11:39:13 PDT Question: can I use blend to make html5 pages? or is it truly geared towards appdev? Answer: Blend 2012, supports creating JS/HTML 5 Windows Apps and does not focus on website development

11:39:13 PDT Question: I'm really looking for best development practices! MVVM Light, I've had issues with. What are

recommended for practices or VM tools that are easy to learn? Answer: This course is full of best practices, just keep watching

11:40:11 PDT Question: Is there a Landscape Left and Landscape Right on Windows? Answer: No, but it can be worked around: http://stackoverflow.com/questions/13740443/device-orientation-in-

windows-phone-8

11:42:54 PDT Question: Can I set the standard zoom level of the editor from to 150% by default? So that it launches from the

beginning every window with 150%zoom level? Answer: You can with this VS extension: http://visualstudiogallery.msdn.microsoft.com/71870f0e-87bb-4a5f-8abd-

e8e5e0ccb900

11:43:46 PDT Question: Talking about the store. Is it ok to use chrome in the screenshots nowdays like the app BBM

does? http://www.windowsphone.com/en-us/store/app/bbm/fc09e558-44e5-489c-a1b2-dc96c1b761fa Answer: To my knowledge this acceptable, so long as it is integral to displaying the functionality of your app, testers

can vary though

11:44:40 PDT Question: I would like to do the prototyping with photoshop. how can i get the elements? Answer: Bing is your friend: http://blogs.claritycon.com/design/2012/01/windows-8-photoshop-templates/

11:49:11 PDT Question: i miss some part i need starting video Answer: I believe the session is being recorded and will be available after today's session

Page 19: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 19 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

11:51:05 PDT Question: I love blend.. makes building apps more fun when the code don't want to work right... just drag and drop... Answer: Interstingly enough, the UI Toolbox in VS 2013 allows you to do many of the same things within VS, still for

pure UI I always suggest Blend first

11:53:06 PDT Question: Do you have a link to the new ADA Guidelines for 2015 they referenced? Answer: You can visit the Microsoft Accessibility center here: http://www.microsoft.com/enable/

11:59:43 PDT Question: how do you share a local file storage between win8 and win8phone? can this be done without web

services? Answer: The local file storage works the same in Windows 8.1 as windows Phone 8.1. This is part of the Converged

set of APIs for Winrt

12:00:12 PDT Question: What is the best solution for Universal Apps: make your business logic in Azure services or make it in

different platforms by it own (or by Share project)? Answer: Personally, I love to get the majority of my business logic (as close to 100%) into my ViewModels and have

those ViewModels implemented in a PCL

12:00:50 PDT Question: When will the recordings be available? Thx; Answer: All sessions are being recorded and will be posted to MVA. We will send the URL to all attendees when

they're published in approximately 2 weeks.

12:01:50 PDT Question: that's great, so a user in my phone app can save a file and it will be available on their WinRT device same

app? Answer: Not automatically, you would need to use OneDrive or the roaming app data: http://msdn.microsoft.com/en-

us/library/windows/apps/hh464917.aspx

12:02:18 PDT Question: is there any way that we tell xaml in winrt that data is coming from async task .. like if you wana bind data

to a combo box? Answer: You could bind a property that could be set in the Async Task

12:02:45 PDT Question: Will this session be available for viewing before tomorrow session starts? Answer: Unfortunately, it likely will not be available for 2 weeks

12:03:31 PDT Question: yes paul... i would rock MVA gear all the time... like a polo shirt, some patches on my DVLUP backpack,

NFC tags, winter beanie, the t-shirts even a hat... . hehehe Answer: We usually have something going on, keep an eye on http://dvlup.com

12:04:57 PDT Question: is there any way to load photos which are not from pictures library , say from d drive ? Answer: Windows Apps allow you to draw from any local directory, network accessible directory, or OneDrive store

Page 20: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 20 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

12:17:01 PDT Question: Hi from Egypt Answer: Hi Fatimah!

12:18:04 PDT Question: is there any utility in which i give one icon and that generate all app icons for me automatically? Answer: There are actually quite a few apps in the Windows Marketplace

XPCK, http://aka.ms/xplatformcloudkit includes a program called IconMaker.exe : https://github.com/winappkits/XPlatformCloudKit/tree/master/Tools

12:19:33 PDT Question: this is shared project atm? not PCL right? Answer:

12:30:03 PDT Question: Hi, Are we reccording this video? Answer: Diego, yes it is being recorded and it will be available for on-demand viewing within a few days

12:30:21 PDT Question: How can show this sassion after it finish ? Answer: The session is being recorded and it will be available for on-demand viewing within a few days

12:35:14 PDT Question: On-Demand Viewing? Answer: The session is being recorded and it will be available for on-demand viewing within a few days

12:35:38 PDT Question: Have you a link? Answer: Diego, the on-demand video is not available yet

12:36:19 PDT Question: How does the auto-completion works if he only entered "StatusBar"? Answer: Lars, I think Jerry used a code snippet for this, they are quite useful

12:40:21 PDT Question: anyone knows link for jerry nixon's xaml snippets ? Answer: Jerry has a lot of samples on his blog at http://blog.jerrynixon.com/

12:51:29 PDT Question: But how can I find it after? Answer: Based on past courses, I guess it'll be advertised on the front page of MVA for a while, but I cannot make

promises. You might get an email too

12:56:46 PDT Question: is microsoft planning to provide calender and charts controls? Answer: We have not announced anything as such. We encourage our customers to explore the great UI controls

provided by our partners like Telerik, Infragistics, DevExpress and ComponentOne, to name a few

13:06:46 PDT Question: Rhode Island is not a road OR an island?!?!?!?! Mind = Blown Answer: and Java is to JavaScript what ham is to hamster

Page 21: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 21 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

13:09:43 PDT Question: Hello from pakistan Answer: Hello Waseem, welcome

13:09:58 PDT Question: Nick, you made my day!

Answer:

13:10:44 PDT Question: jerry! may i have link for your snippets? i looked into your blog but couldn't find anything ... Answer: You probably won't find his snippets as is, but you can learn a lot from his code in his samples

13:12:42 PDT Question: How can we use Facebook login to login in our apps? Answer: Azure Mobile Services handles this quite nicely =)

13:14:42 PDT Question: How can we use Facebook login to login in our apps? Answer: You can use Azure Mobile Services to authenticate mobile users against Microsoft Account, Facebook,

Twitter and Google ID: http://azure.microsoft.com/en-us/documentation/articles/mobile-services-dotnet-backend-windows-universal-dotnet-get-started-users/

13:14:47 PDT Question: Can anyone point me towards a MVA course that deals more with XAML for beginners? Answer: The guy teaching you XAML right now is arguably the best, he has intro XAML content

@ http://blogs.msdn.com/b/jerrynixon/archive/2013/05/10/ready-to-learn-xaml.aspx

13:15:53 PDT Question: y u use bing? Answer: Bing is awesome, I've been using it since before it was called Bing, going all the way to 2008

13:16:03 PDT Question: y u use bing? Answer: A few reasons, it gives comparable results to the next big search engine, encourages competition, and it

pays you!

13:17:05 PDT Question: any recommended IOC Container for winrt apps? Answer: I love the one that comes with MVVMCross but if you don't need everything it provides go with Simple IOC

13:18:16 PDT Question: Know of any MS partner that offers a video player to stream-in content from Azure Media Services, that

can be embedded in a Universal App? Answer: You can do this with Azure Media Services and create an app to consume your content (check out the

"Consume" resources): http://azure.microsoft.com/en-us/develop/media-services/resources/

13:18:45 PDT Question: hey all, i just joined so can anyone tell me what they are making now ? Answer: What is shaping up to be a beautiful universal app =)

Page 22: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 22 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

13:19:12 PDT Question: hey all, i just joined so can anyone tell me what they are making now ? Answer: This is a Universal app demo for Windows and Windows Phone, demonstrating how to create a UI that

spans multiple resolutions while maximizing code reuse

13:20:48 PDT Question: but sometimes client demands that we want only controls by microsoft not from third party... Answer: Agreed, that can happen, if that is the case, adjust accordingly =) Though for complex things, I like to leave

that to the pros (datagrid anyone?)

13:21:29 PDT Question: is there any sample project which can give us the implementation of signin dialog which takes the entire

screen like windows has one ? i did try callisto but that is deprecated i guess... Answer: This is exactly what happens if you use Azure Mobile Services for authentication =)

13:25:11 PDT Question: we are not using azure mobile services for authentication, that's why i was asking for a kind of controls or

guidelines so that i can make my own login dialog... Answer: First, let me HIGHLY suggest not reinventing the wheel on Auth, but it is as easy as creating a Modal Grid

Control in Xaml, you could also leverage the Web Auth Broker: http://code.msdn.microsoft.com/windowsapps/Web-Authentication-d0485122

13:25:34 PDT Question: Application "hub"? Answer: http://tonychampion.net/blog/index.php/2013/07/windows-8-1-the-hub-control/

13:27:20 PDT Question: Application "hub"? Answer: Datahook, the "Hub" control is new for Windows Universal Apps, for both Windows 8.1 and Windows Phone

8.1 platforms. The quickest way to see it in action is to select the Hub App : template: http://msdn.microsoft.com/en-us/library/windows/apps/dn609832.aspx

13:27:46 PDT Question: in AZURE you need to create an AD Answer: It actually creates one for you now =)

13:31:36 PDT Question: Folks if you want are interested in getting started with a Universal App template as well as tutorials,

guides, and an Azure connectivity lab, you can take a look at the XPCK Project @ http://aka.ms/xplatformcloudkit , many if not all of the topics being discussed today are employed and can help grasp a better understanding Answer: I've used the XPCK. It's great both as an app builder/accelerator and for learning the development

concepts. http://preview.msn.com/en-us/sports/more-sports/police-michael-phelps-arrested-for-suspicion-of-dui/ar-BB6BC49?ocid=ansspfox11

13:35:03 PDT Question: Can we connect to Web Api using Web Auth Broker? Answer: When using third party auth, you want to direct the user to the auth page of the third party service,

otherwise users don't typically trust entering into a custom control that could be sending data anywhere, the WebAuth broker does the former

13:35:51 PDT Question: Understood the rules of thumb except Daren's reference to "marshalling" ... was that the last one? Answer: http://en.wikipedia.org/wiki/Marshalling_(computer_science)

Page 23: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 23 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

13:42:25 PDT Question: Can't this #if programming be effectively replaced by programming against an interface? Answer: If the difference is subtle, which it usually can be, it can be easier to maintain with a simple #if

13:43:19 PDT Question: Can you have code in multiple partial methods? (shared + implementation) Answer: http://stackoverflow.com/questions/2088265/splitting-combining-partial-methods

13:44:38 PDT Question: inheritance can go in both ways, right? I mean the base class can be in the specific classes Answer: C# supports single inheritance so, one class can inherit from another

13:46:40 PDT Question: what is MainPageViewModel Answer: The ViewModel for MainPage.Xaml

13:47:22 PDT Question: wear r the views? Answer: In the Shared area

13:48:05 PDT Question: you mean when I create my package shared solution will be with it attached isn't right ? Answer: Think about it this way, the Shared Project creates a separate package for each platform

13:48:20 PDT Question: hi Answer: Hi Nathalie!

13:48:45 PDT Question: I was looking into Azure authentication services for in-app sign-in. I hope this answers my questions

towards authentication Answer: Which authentication scheme were you looking to use?

13:50:04 PDT Question: is there an easier way to add an about page or create it... I find I always have trouble with it Answer: Simple create a new page, add the necessary controls in XAML, and handle navigation to get there =)

13:53:44 PDT Question: Hi, does that mean that TFS online is free? Answer: It is free, but you may need to pay if you have long build times in your project

13:54:09 PDT Question: Why have the Interface-file for the ViewModel? Answer: To do platform-specific things =)

13:54:27 PDT Question: will this solution of MVA.UniversalApp with 7 projects will be available to look at? Answer: I imagine it will tweet @jerrynixon

13:55:46 PDT Question: Are there best practices to the organization of files? Answer: I always do this, name views X_View, viewmodels X_ViewModel where View is the same for Viewmodels

that belong to views =)

Page 24: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 24 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

13:56:25 PDT Question: On the interface comment it was also so they could have a design time view model that had data to use

when building the UI Answer: Ahh, yes and interchangeable DataContext for design time

13:57:48 PDT Question: we currently use mvvmlight within a Silverlight phone app - that app is now being ported to a universal app

and using shared projects will also target the android platform. Does Prism target the android platform , especially with regard to Messaging. Answer: That's a tough one, it might if you can get it to compile in a PCL and load via Xamarin

13:58:10 PDT Question: Hello guys! I have a question that I've been struggling with for some time... Do you know a way to display

an animated GIF image in a Windows Universal App? I have tried using a BitmapDecoder but the frames are messed up, and a WebView is not a sollution. Any help is appreciated! Thanks in advance Answer: Try the Nokia Imaging SDK available through nuget

14:00:56 PDT Question: I have trided Nokia SDK but as far as I've seen, it is used for creating GIF images, not for rendering

existing ones. Am I wrong? Answer: There is also a sample that shows how to render them, should work for existing ones too

14:03:18 PDT Question: Has anyone else noticed crashes in visual studio when writing/debugging when switching between startup

projects, configurations, adding new files, or switching the designer? Wrote a universal app in may and VS would crash often. Answer: It's certainly became more stable with Update 3

14:05:00 PDT Question: $19 for life is the licence.. can you provide me link to purchase licence for developer Answer: http://dev.windows.com

14:05:12 PDT Question: each time when I publish or only one time ? Answer: one time =)

14:07:13 PDT Question: Assuming I have charted a game where a part of content gets delivered to the user's phone when the

main character "recieves a message" in an augmented reality sort of way - can it be done via Unversal App design? Answer: Absolutely, using Windows notifications either through Azure or custom, here is a custom

example: http://www.sharpgis.net/post/2014/09/02/Running-a-NET-app-on-Galileo-using-Mono

14:07:54 PDT Question: That sample uses Windows Phone Silverlight, and I am using WinRT. Can you provide a link to the

solution you are thinking of? Answer: Check this page with sample code and documentation on the Nokia Imaging SDK, it covers Windows Store

apps too: http://developer.nokia.com/resources/library/Lumia/nokia-imaging-sdk/sample-projects/image-sequencer.html

14:07:59 PDT Ryan S. posted: one-time fee for developer license? Answer: Yep, one time only! Lasts forever!

Page 25: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 25 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

14:10:02 PDT Question: Win 8.1 has a search contract which works like a treat but this is missing in WP 8.1 What is the

recommended in-app search technique for WP 8.1? Answer: This has to be created custom, there is an example in XPCK

- https://github.com/winappkits/XPlatformCloudKit/search?utf8=%E2%9C%93&q=search

14:10:53 PDT Question: do you know of any good example regarding searching in a class implementing

ISupportIncrementalLoading attached to list or gridview? Answer: You would use custom search logic on the currently known list of items OR you could exhaust the source,

that's a tricky one

14:11:34 PDT Question: can you clarify what is Galactic Attack and Hyperboost? What is an app name and product name? How

they are different? Answer: App Name is the app itself, Product name could refer to an in-app purchase powerup

14:14:09 PDT Question: Someone needs to show Jerry how to use OneNote instead of Notepad.

Answer: Lol, great suggestion

14:17:23 PDT Question: I dont know whether some one mentioned this or not but I am just wondering, is the azure database for

this demo free? or I have subscribe to do it? Answer: It can be, http://azure.microsoft.com/en-us/pricing/calculator/ The Azure Pricing Calculator states you can

get up to 10 Mobile services with 20 MB databases for free, API limits apply

14:17:47 PDT Question: problem is that i can have thousands of records thats y i used ISupportIncrementalLoading ... which

means that it isnt necessary that i will be having all of items in the list view ... so how can i search if items are not in the list ? right now i am assigning new reference of class implementing ISupportIncrementalLoading to list view... is there any better way? Answer: Run the search server-side where all the items are contained?

14:19:30 PDT Question: My free trial expired Answer: If you are careful, you could reactivate the account, just be sure not to hit any spending limits

14:21:00 PDT Question: no i am loading items from local database using sqlite Answer: Even when doing search the old way, you would take the term and direct it to a page where it would be

acted on. So you could cause the search to navigate to a new page which does not use incremental loading and query the db directly displaying results either as they come or introducing a progress indicator

14:30:23 PDT Question: no we cant do that because search is on keyup event ... Answer:

Page 26: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 26 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

14:31:26 PDT Question: WCF behind azure provides capabilities that are not present in any other stack, especially when used with

service bus. See Montgomery's WCF is Dead! Long live WCF! video for some insight. WebAPI is for raw http, WCF is an extensibility framework, it is a modern stack that should not be overlooked simply because webAPI is popular at present Answer: Well said!

14:33:41 PDT Question: This ASP stuff cannot be developed with the VisualStudio Universal Apps Version, can it? Answer: Hmmm, good question, if not you can use the express edition for web, are you a student?

14:35:28 PDT Question: Is it possible to use WCF Services in universal apps? Answer: http://social.msdn.microsoft.com/Forums/windowsapps/en-US/9ab43a4c-499a-4f2e-81e5-

c1ab5acbe9bf/wcf-add-service-reference-not-supported-for-windows-phone-81-xaml-applications?forum=wpdevelop

14:37:07 PDT Question: Why did Jerry referenced 'Common' in the Windows App AND in the Windows Phone App and not just

only in the App1.Shared? Answer: You can not make references in the Shared folder

14:43:55 PDT Question: I can't find it at the events list in MVA... Could you provide a login / start link please? Answer: http://www.microsoftvirtualacademy.com/liveevents/developing-universal-windows-apps-c-xaml-jump-start

14:56:32 PDT Question: whats the Code to the voucher Answer: Follow these steps to be awarded 50 MVA Points! (1) Visit http://aka.ms/MVA-Voucher (2) Be sure you’re

signed in (new users will need to register) (3) Enter the following voucher code*: DevUnivWinAppsC1 *This offer expires on October 31, 2014

14:59:00 PDT Question: Paul, Didn't they say the code would get posted to XAML.codeplex.com like the previous MVA webcasts? Answer: I didn't catch that, but I would check after the session

14:59:31 PDT Question: posted on codeplex or mva? Answer: likely codeplex

15:04:51 PDT Question: source code exampe showed, will it be available for download tonight? Answer: it will arrive on xaml.codeplex.com after the session

15:15:04 PDT Question: Slide should say WPF instead of WFP Answer: Noted

16:00:14 PDT Question: Can you write the link to Solarizr source code ? Answer: xaml.codeplex.com

Page 27: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 27 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

16:00:46 PDT Question: why do I want onnavigatedto in my viewmodel? Answer: In this case it's but one way to do it

16:03:03 PDT Question: does prism support cross plattform like MVVMLight or MVVMCross? Answer: see: http://www.geekchamp.com/articles/portable-prism

16:03:45 PDT Question: what is wrong with the standard template from visual studio for apps? there I get navigation and

statemanagement too! Answer: It's a matter of preference, sometimes people don't want the extra weight that comes with the standard

template

16:04:27 PDT Question: Why do you have to make an interface? Answer: To resolve at runtime

16:05:01 PDT Question: Do dage.DataContext is a namespace used for the designer correct? Answer: any d: namespace is reserved for design view

16:05:24 PDT Question: Do I need to be on Windows 8 to be able to use the Universal Windows Apps (C#) and VS 2013, or can it

be used from a Win 7 machine? I cannot see it on my Win 7 machine! Answer: Yes it requires VS2013 on Win 8.1 with Update 3 =)

16:06:07 PDT Question: isn't there already version 2.0.0 of Prism.StoreApps available on nuget gallery (published in August)

instead of 1.1.0 (as stated on the slide)? Answer: Definitely possible, development moves too fast for slide decks =)

16:09:04 PDT Question: so far I encountered several ways to do designdata: d:designdata loading a xaml file from the constructor

of my viewmodels, the parameterlesse constructor gets executed from a separate instance as shown by jerry. Can you give considerations when to use one or another? Answer: I've always found it comes down to preference or what you are trying to do in the actual ViewModel, it

depends =)

16:09:27 PDT Question: are the Prism mvvm clases available for PCL? Answer: There is a portable prism project : http://www.geekchamp.com/articles/portable-prism

16:10:13 PDT Question: Hi, if we create a Windows store app that accompanies laboratory equipment we develop what are the

ways we can prevent non-customers from obtaining our software? Can we limit access through the store? How difficult is it to side-load? Answer: You could apply a price tag =) in any event, side-loading is not difficult at all

16:14:54 PDT Question: Does the Universal Package differ in format from a 'classically' created package, i.e. is the 'store' aware

how the package was created? Answer: I don't think so, the output of both the Phone and Win8 app in a Universal Project is an .appx

Page 28: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 28 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

16:15:22 PDT Question: Thanks, I'll look into the side loading. We want to limit spreading our binaries because of protecting our

analysis algorithms. Answer: http://ryanjoy.com/2013/01/sideloading-a-windows-8-app-onto-a-surface/

16:29:36 PDT Question: Paul, would that side loaded App only run for the 90 day life of the developer license? Answer: I do not believe so

16:30:52 PDT Question: Sorry, that was not exactly what I meant. The link requires installing a developer license. We'd like to

circumvent the store to do a regular installation at our customers location. Answer: Take a look @ http://msdn.microsoft.com/en-us/library/windows/apps/jj657971.aspx

16:47:25 PDT Question: q: why is there no key added to the design time data context? Answer: It's a design time property of the page itself, no key needed

16:50:22 PDT Question: What are the common examples of using Messaging? Answer:

16:51:18 PDT Question: A book Programming Xaml from Jerry and Daren Would be Great Answer: Totally agree!

16:53:27 PDT Question: Is there a dependency between the Prism and Unity frameworks or can you use either of them stand-

alone btw you get a Very Satisfied vote from me Answer: apparently you can: http://stackoverflow.com/questions/6878891/using-unityeventaggregator-only-from-

prism

16:53:49 PDT Question: q: how can you code and talk at the same time? impressive! Answer: These guys are gifted, what can I say =)

16:55:28 PDT Question: Thanks Paul Answer: Glad to help!

16:56:02 PDT Question: XAML is difficult to learn even though it has been around since such a long time. Which element can be

used inside which element, so and and all. Answer: So true, Jerry does a great job introducing it

here: http://blogs.msdn.com/b/jerrynixon/archive/2013/05/10/ready-to-learn-xaml.aspx

16:56:29 PDT Question: whats the skill level tomorrow? does it continue like it ended or will it be like it started today? Answer: I can't speak directly, but come on in and learn something new!

Page 29: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 29 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

16:56:45 PDT Question: q: how is the restoration of pages is working with prism - with the Navigation payload/Parameter? any

example? Answer: That's the magic of annotations!

17:04:30 PDT Question: What is the first course you would recommend me to take? For a real begginner. Answer: http://blogs.msdn.com/b/jerrynixon/archive/2013/05/10/ready-to-learn-xaml.aspx

17:05:00 PDT Question: q: I read recently that MS is going more towards HTML and JS in modern apps, will XAML be around in a

few years? Answer: With all the advancements coming out and the push for universal apps, I don't think it is going anywhere for

a long time

17:06:17 PDT Question: get example code handy as we go, not after... Answer: Good suggestion =)

09:09:13 PDT Question: Is this recorded? I am unable to watch all 8 hours for both days, at least uninterrupted. It'd be nice to go

back and see the material I missed. Answer: Yes, all sessions are being recorded and will be posted to MVA. We will send the URL to all attendees

when they're published in approximately 2 weeks. Day 2

08:37:53 PDT Question: Hello from Bulgaria Answer: Welcome Bulgaria

08:38:35 PDT Question: its 17:30pm here Good evening! Answer: Welcome Sebi and Good Evening to you! I am sure Daren and Jerry will keep you awake

08:39:05 PDT Question: Good morning from Kansas. Answer: Welcome back JMC form Kansas

08:39:49 PDT Question: Good evening from Germany! Answer: Good Evening Germany

08:40:11 PDT Question: Good morning folks - its 4:30 am here in New Zealand Answer: Good Morning New Zealand.

08:41:26 PDT Question: Hello from Slovenia Answer: Good evening to you Slovenia, Welcome we hope you enjoy the class

Page 30: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 30 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

08:42:12 PDT Question: Good morning and does anyone know when the previews for Win10 will be available? Thought that was

today. Would be nice to have a test machine set up to insure my new universal app will work on the next windows. Answer: The announcement said that there would be a program available today to signup for access to the preview.

I don't have any more details...

08:42:31 PDT Question: Good Morning everyone from Tucson,AZ Answer: Good Morning Tucson AZ

08:44:20 PDT Question: Good morning from Birmingham, AL. Answer: Good Afternoon Birmingham AL

08:45:12 PDT Question: Good Evening from Hamburg, Germany Answer: Welcome Germany

08:47:56 PDT Question: Good evening from Germany (again) Answer: Welcome back Germany - we hope you enjoy day 2

08:48:43 PDT Question: Good morning from Honduras Answer: Good Morning Honduras,

08:49:05 PDT Question: Buenos dias from Mexico Answer: Good Evening Mexico

08:50:32 PDT Question: Good day from Gainesville Florida Answer: Good Day to Florida

08:51:19 PDT Question: Hi from the uk Answer: Hello U.K

08:51:57 PDT Question: Day 2; Hello from uruguay Answer: Welcome Uruguay

08:52:11 PDT Question: Hello from Denmark Answer: Good Evening Denmark

08:53:16 PDT Question: Good afternoon from portugal Answer: Welcome Portugal

08:53:47 PDT Question: Hello everyone from Spain. Here we are again!!! Answer: Welcome back, enjoy the class

Page 31: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 31 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

08:55:34 PDT Question: Hello from Kenya! Answer: Welcome Kenya

08:55:54 PDT Question: Good Morning from Colorado Answer: Good morning Geoff

08:56:39 PDT Question: Hello from Romania! Answer: Good Evening Romania.

08:57:21 PDT Question: Hello from South Africa Answer: Welcome and Good Evening South Africa

09:01:11 PDT Question: What is the voucher code. It went by too fast to write it down? Answer: Hi Andy the voucher covers both days of the class: DevUnivWinAppsC1

09:06:21 PDT Question: Hello from poland! Answer: Welcome Poland

09:06:33 PDT Question: Hello from Amsterdam Answer: Welcome Amsterdam

09:06:42 PDT Question: Good morning from brazil! Answer: Good morning Brazil

09:09:30 PDT Question: what is that url and the code again? Answer: The link and voucher code are posted in the FAQ tab

09:10:36 PDT Question: what do the points get you Answer: Credibility, maybe something else??

09:10:48 PDT Question: Is the main project is avaiable on codeplex ? Answer: http://xaml.codeplex.com

09:10:51 PDT Question: Barry is my hero! Answer: Thanks Arkay!

09:11:14 PDT Question: I wonder how "app lifecycle management" would be in windows 10. Now that you can run multiple apps

side by side in windowed mode, would any of them get suspended? Answer: Assumption here, but perhaps they can still suspend on tablet devices

Page 32: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 32 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

09:11:51 PDT Question: I mean Solarrizr Answer: Solairrizr is supposed to be posted to xaml.codeplex.com later

09:12:41 PDT Question: How much of what we COVERED YESTERDAY is about to be OBSOLETED by Windows 10! Answer: None AFAIK, the same API model appears to exist in the current iterations and I ASSUME will stay that way

=)

09:14:27 PDT Question: Hi, I missed yesterday streaming, but my question is how you do handle/work with user input validation in

a universal app? idataerrorinfo and inotifydataerrorinfo didn't work when I tried to add them to my app. Answer: Input validation on Windows 8: http://www.geekchamp.com/news/input-validation-in-windows-8-store-apps

09:15:15 PDT Question: Hey Paul since you're so good at answering questions what's the answer to life? LOL Answer: 42

09:15:44 PDT Question: when WCF is going to be supported? Answer: It is currently supported in Windows 8.X apps, just not universal model due to incompatibility on the phone

FWIU

09:15:44 PDT Question: when WCF is going to be supported? Answer: It is currently supported in Windows 8.X apps, just not universal model due to incompatibility on the phone

FWIU

09:16:17 PDT Question: MVA needs more > 200 level courses. That was good stuff yesterday afternoon. Answer: We are constantly recording and adding more MVA courses of all levels. Please visit MVA on a regular

basis and you'll be pleasantly surprised by the selection and what is coming

09:16:47 PDT Question: Where are the other courses in this series? Answer: They will be released in about 2 weeks, after editing =)

09:16:54 PDT Question: Hi all, 11:15pm here, want to say 'Good night' Answer: God night to you too, thanks for joining us so late

09:17:50 PDT Question: How much would Azure Active Directory cost? Answer: You can find all the details on Azure Active Directory pricing here: http://azure.microsoft.com/en-

us/pricing/details/active-directory/

09:18:14 PDT Question: Hello.. From India, 9.47 pm here... Answer: Hi, thanks for joining us so late

Page 33: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 33 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

09:22:55 PDT Question: How much would Azure Active Directory cost? Answer: See the link I posted above, all Azure Active Directory pricing details can be found

here: http://azure.microsoft.com/en-us/pricing/details/active-directory/

09:23:55 PDT Question: Has anything been changed or added to universal apps since the build announcement? Answer: The Universal Apps model is still the same and is the path forward. There have been a number of new

announcements in Azure for Universal Apps however, and this class covers topics that have not been covered at BUILD

09:25:28 PDT Question: Yesterday there was a post to the other videos with XAML, but I switched PCs and don't have that link

anymore. Still looking for another starting point for windows store apps with C# XAML Answer: Could this be the one? http://blogs.msdn.com/b/jerrynixon/archive/2013/05/10/ready-to-learn-xaml.aspx

09:25:47 PDT Question: Yesterday there was a post to the other videos with XAML, but I switched PCs and don't have that link

anymore. Still looking for another starting point for windows store apps with C# XAML Answer: You can access the presentation slides in the FAQ tab, the info should be in there

09:25:50 PDT Question: Yesterday there was a post to the other videos with XAML, but I switched PCs and don't have that link

anymore. Still looking for another starting point for windows store apps with C# XAML Answer: Could this be the one? http://blogs.msdn.com/b/jerrynixon/archive/2013/05/10/ready-to-learn-xaml.aspx

09:26:20 PDT Question: SSO for SaaS Apps means? Answer: SSO = Single sign on. SaaS = Software as a Service

09:27:25 PDT Question: Hi...what is voucher code for this session Answer: The voucher code and link is listed in the FAQ tab

09:28:00 PDT Question: the yesterday presentation was recorded? Answer: Yes, it will be posted in a week or so. In the meantime you can download the slides from the FAQ tab

09:28:26 PDT Question: So basically we have to build the input validation. Answer: the WinRT XAML Toolkit provides some of these out of the box: http://winrtxamltoolkit.codeplex.com/

09:31:28 PDT Question: Does using AD in your App require that an administrator goes in and sets up the users in advance? Can

see how that might work for LoB Apps, but for internet Apps that doesn't seem to scale. I must be missing something. Answer: Your perception is pretty accurate, for consumer facing apps you might want to leverage a public auth

provider like Facebook, Twitter, Google, or LiveId via Azure Mobile Services, it's beautiful!

09:32:43 PDT Question: is it the same MVA voucher from yesterday or should it be a new one for Day 2?

Answer: Same voucher as yesterday, don't be greedy

Page 34: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 34 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

09:32:56 PDT Question: Good evening from Zimbabwe Answer: Hi, thanks for joining us

09:33:59 PDT Question: is the solarizr available? Answer: The sample code and the Solarizr app source code will be made available

at http://xaml.codeplex.com within a few days

09:34:59 PDT Question: So users can sign in via Active Directory and cross reference it with a table in a Mobile Service Answer: Actually yes, Azure Mobile Services Identity supports Azure Active Directory out of the box, couldn't be

easier =)

09:41:21 PDT Question: Hi, where can I get a copy of the code being demonstrated right now? Please advise. Thank-you!!! Answer: The sample code and the Solarizr app source code will be made available

at http://xaml.codeplex.com within a few days

09:42:17 PDT Question: Wow, this is incredibly fast paced. When will the recordings be available for download? Answer: This MVA course is being recorded and it will be posted and made available for on-demand watching in a

week or so. In the meantime you can download the slides from the FAQ tab

09:42:27 PDT Question: Wow, this is incredibly fast paced. When will the recordings be available for download? Answer: The recordings will be available in about two weeks.

09:42:48 PDT Question: Awesome, also there something on MVA that will show how to use a public auth provider in an app like

SimonY would want? Answer: You can find documentation and sample code on custom authentication at http://azure.microsoft.com/en-

us/documentation/articles/mobile-services-dotnet-backend-get-started-custom-authentication/

09:47:51 PDT Question: Please excuse the length of this post, but as I am currently working on the beta version of the store app I

plan to release in a month or two, the question is rather important to me. The app involves a connected HID-device and also requires quite a lot of screen real-estate to do its thing, so Phone support makes little sense. Given that I have chosen for the 'classic' Win 8.1 project type. After yesterdays informative sessions I am no longer convinced this is the way to go. Here are my questions: 1) Can I publish 'classic' now and change to 'uni' in a future release (keeping the same store app-id) 2) Are there any technical/architectural advantages/disadvantages that I should be aware of. Or maybe the questions are trivial because there is basically no difference between the bits generated by VS. Any insights/comments would be greatly appreciated. Answer: You can stick with a Windows Store 8.1 project today, and when you are ready to add Windows Phone you

can simply right-click the project and select "Add Windows Phone 8.1". In terms of app architecture, the best practices with MVVM are the same. You will however need to either tweak your UI or create a new UI just for the phone, but all non-UI code can easily be shared

Page 35: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 35 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

09:48:17 PDT Question: Please excuse the length of this post, but as I am currently working on the beta version of the store app I

plan to release in a month or two, the question is rather important to me. The app involves a connected HID-device and also requires quite a lot of screen real-estate to do its thing, so Phone support makes little sense. Given that I have chosen for the 'classic' Win 8.1 project type. After yesterdays informative sessions I am no longer convinced this is the way to go. Here are my questions: 1) Can I publish 'classic' now and change to 'uni' in a future release (keeping the same store app-id) 2) Are there any technical/architectural advantages/disadvantages that I should be aware of. Or maybe the questions are trivial because there is basically no difference between the bits generated by VS. Any insights/comments would be greatly appreciated. Answer: #1 Yes, you would just move your code over and fix any compilation errors that may arise, in theory going from 8.1 to Uni should be pretty seemless #2 The advantage of the Universal Model is it may extend to Xbox in the future =0

09:48:36 PDT Question: Is Solarizr code available? Answer: Supposed to land on xaml.codeplex.com later

09:48:52 PDT Question: XAML/C# is so much simpler to grep than HTML/JavaScript. Answer: To each his (or her) own. Some people have a Web background and prefer HTML and JS. Others, like you

and me, prefer XAML and C#. The beauty is there is no compromise and everyone can build a Universal app with their favorite language and framework

09:49:08 PDT Question: Just joined. Did I miss a lot? Answer: No worries, we're almost done with this current module and you can always catch what you missed in the

recording that will come out later

09:49:27 PDT Question: Yes, I will also be watching the re-runs...and doing a lot of pausing I suspect! As well as the slides and

videos will there by any Hands-On Labs so that we can work through the demos? Best way of learning is by doing and not just watching Answer: Agreed, this is why we record it and provide all the material

09:51:04 PDT Question: We got an Windows wpf app using adal and adfs on premise working with an webapi Service published

via web application proxy. We tried to migrate the wpf app to an universal app but it is not working. Were can i found an working example for using universal apps with adfs on premise? Answer: This is somewhat related: http://channel9.msdn.com/Shows/Cloud+Cover/Episode-109-Using-Windows-

Azure-Active-Directory-from-Windows-Store-apps

09:53:06 PDT Question: Can you sign out of the service without signing out of your account? Scenario -> My app uses your

Microsoft account to authenticate you. When you click logout, I want it to remove access to my app but keep you logged into whatever else you are logged into. Answer: When you sign out of apps on the phone or in Windows, it should only sign you out of the app, and not

affect other apps on your device. The web is a different story because the sign-in token is persisted in cookies.

09:53:14 PDT Question: Pain? Try doing this without Azure. Answer: hehe, 3 cheers for Azure!

Page 36: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 36 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

09:53:56 PDT Question: Thanks Nick, Paul, understood. But to be clear: I meant publish 'classic' now, update to 'Uni' in the next

release (again keeping the same store-id) Answer: Yes, you can do that, during the Store => Associate App with Store process, simply select the app you want

the new Uni app to replace

09:55:37 PDT Question: Agreed, Azure is the future coming true. How nice to live in the dawn of the computer age |=) Answer: You bet. Devs can be devs, and don't have to become system administrators

09:58:16 PDT Question: Be careful there Nick, admins today...devs tomorrow...

Answer: Very true

09:58:45 PDT Question: How can Jerry speak and write code at the same time that fast?

Answer: Jerry doesn't use a keyboard, he is plugged directly via USB into his computer

09:59:58 PDT Question: Azure is awesome. I've been waiting for the ability to publicly authenticate my internet of things. Are you

really my toaster? Prove it. Answer: For the Internet of Things, make sure to check out the Azure Intelligent Systems Service

at http://www.microsoft.com/windowsembedded/en-us/intelligent-systems-service.aspx

10:00:26 PDT Question: My question is about the controls, the Hub and the Pivot controls. Can you point me to the right solution?

Hub doesn't take itemsource and Pivot does, what can I do so that Hub accepts itemsource, as Pivot isn't recommended to use if the pivot pages exceeds number 4? Answer: HubSections allow you to set the content template which can contain an items control, HubControl is

Awesome IMO

10:00:32 PDT Question: some devs could handle system administrator skill set already Answer: Yes, and those skills still come in handy, especially when dealing with Azure VMs. You get a lot more

control

10:01:03 PDT Question: Q: how do i write a test to send Auth header for ACS federated with ADFS? Copying corporate creds in

tests is not a good option. Answer: In practice, I've seen IT provision test accounts for such scenarios

10:01:24 PDT Question: From what I understand C# and xaml has better performance than html and css. Right? Answer: Hi Ali, yes is can have better performance. Of course, each technology has it's advocates and usage

scenarios. My obvious preference is C# with XAML

10:01:30 PDT Question: When i can find information abaout adal framework ? Answer: Bing! http://www.bing.com/search?q=adal+active+directory

Page 37: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 37 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

10:01:52 PDT Question: this is a great pitch for Azure, but can this be done with LOB on premises AD? Answer: One possible way to do this using your on-prem AD is to tie the Azure AD to your on-prem. This was a step

that Jerry did not cover but was an option when you were setting up the Azure AD originally

10:03:56 PDT Question: Are Blackberry devices included in the universal app philosophy? Answer: No. Universal apps are for Windows and Windows Phone devices and computers. This does not include

other non-Microsoft platforms

10:04:32 PDT Question: Anybody now a handy way of opening a link automatically on your second monitor? All that hassle with

dragging with the mouse drives me crazy Answer: Sounds hard: http://stackoverflow.com/questions/1293777/opening-a-new-browser-page-on-the-second-

monitor

10:08:02 PDT Question: Can Universal Apps be used with Xamarin? Answer: Currently Xamarin does not directly support Universal apps. You can have a shared project that they can

use, but the new Xamarin.Forms only supports Silverlight projects. Of course they could be announcing support at Evolve, but we don't know anything about that yet.

10:08:58 PDT Question: @Datona because we assumed Solarizr was a field application, we used Azure AD. Implementing on-

prem while outside the firewall would be a silly-difficult approach. Use ADFS. However, authenticating internally with on-prem AD is not handled by the app but by the OS. Answer: THanks Jerry for a more detailed explaination.

10:11:09 PDT Question: How about windows embedded and micro? I realize you can't make any 'future' questions but is it the

general vision 'someday' or 'never'

Answer: Soon, in fact starting now link](http://dev.windows.com/en-us/featured/Windows-Developer-Program-for-

IoT)

10:16:05 PDT Question: Can we expect EF for Windows Store/Phone Apps any time soon? Answer: Universal apps are based on the Windows Runtime and not all .NET namespaces are available here. For

example, Entity Framework is built on top of ADO.NET and this isn't available on WinRT. Visual Studio is smart enough to hide such classes and components that aren't available on WinRT and this is why Entity Framework related classes can't be used in your Windows 8 Store App projects and Universal apps. In order to use Entity Framework, you'll need to create a RESTful Web API (for example using ASP.NET Web API) and access the data layer asynchronously over the wire. Otherwise, you'll need to use a local database storage like SQLite or XML, the former being covered here..

10:16:58 PDT Question: that link about IoT dev program don't so as clickable Answer: Try this link instead for Windows for IoT: https://dev.windows.com/en-us/featured/Windows-Developer-

Program-for-IoT

10:17:20 PDT Question: that iot program looks cool Answer: It is, I have Windows running on my Intel Galileo board and that is awesome!

Page 38: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 38 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

10:25:33 PDT Question: So that's a no then? Answer: For now it is not available, but I cannot comment on any potential future plans

10:26:32 PDT Question: Is there a new voucher for this day's JumPDTart? Answer: Yes, the voucher code and redemption link is posted in the FAQ tab

10:29:35 PDT Question: Does windows still only work on the Galileo for only specific boards distributed from Microsoft? Answer: Microsoft does not distribute boards. You can buy a Galileo on your own and download Windows for IoT

and install it yourself. All the details are posted at: https://dev.windows.com/en-us/featured/Windows-Developer-Program-for-IoT. We also support the SharkCove and the Minnowboard Max.

10:30:12 PDT Question: I ordered a galileo through Intel and could not find the windows image for the device. At the time running

windows on the galileo was only available through the IoT program. Answer: The details to setup Windows on your own Galileo are posted at https://ms-iot.github.io/content/

10:30:34 PDT Question: But voucher is for yesterdays: DevUnivWinAppsC1 Answer: The code is the same as yesterday, there is one code for the course

10:31:20 PDT Question: Microsoft gave a few Galileo boards for FREE. I was not lucky enough to get one. Answer: They are cheap enough to buy one, only $50 USD or so

10:32:02 PDT Question: Look up "Offline Sync for Mobile Services" if you are interested in combining a local SQLite db with an

Azure storage http://azure.microsoft.com/blog/2014/07/30/offline-sync-for-mobile-services Answer: Thanks for sharing

10:32:49 PDT Question: Hoow we get these local data to a grid in windows app or phone app? Answer: There is no Grid in Universal Apps, only in Windows Store apps since Grids don't make a lot of sense on

phones. We recommend using a ListView with a custom data template

10:33:59 PDT Question: Fair enough, though clearly a unified DAL strategy would be more than a little useful. Answer: Entity Framework makes more sense within enterprise apps when you have direct access to the database.

For device apps, it is better to go through a RESTful service as your DB should never be made accessible to the outside world.

10:34:42 PDT Question: So I cannot view this training from work at all, IT is blocking something. Will there be videos of the training

made available afterwards? Or will this training be made available in the near future? Answer: This MVA course is being recorded and it will be posted and made available for on-demand watching in a

week or so. In the meantime you can download the slides from the FAQ tab. The sample code and the Solarizr app source code will be made available at http://xaml.codeplex.com within a few days.

10:37:16 PDT Question: About the Grid good info there Nick. thanks for that Answer: You're welcome. I know that traditional Microsoft devs want to use grids for everything, but when dealing

with devices, there are much better UI paradigms available today.

Page 39: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 39 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

10:41:47 PDT Question: In Windows 10, for performing a silent login, will a field in class

Windows.Security.Credentials.PasswordCredential be a good place to store the token returned from Active Directory, Facebook,... authentification service? Answer: Let's please hold off on the Windows 10 talk and focus on Universal Apps in Windows 8.1 and Windows

Phone 8.1. Everything you learn here will all carry forward perfectly in Windows 10 as this is THE recommended app development model.

10:42:58 PDT Question: Why not convert timespan to milliseconds? Answer: precision!

10:44:19 PDT Question: Nick, clearly there is a bigger diff between the 'classic' and 'uni' types of development than I realized (silly

me). That answers my biggest question and the choice is now clear: My app will be an Universal app. many thanks Answer: Glad to hear it, happy to help

10:46:16 PDT Question: Well, silent login was a topic of this course. Answer: I know, you'll be able to download the source code soon to dive deeper on how they implemented it. Azure

supports authentication schemes via AD, Microsoft Account, Facebook, Twitter and Google ID

10:46:57 PDT Question: Perhaps we could also hold off on all the IoT talk, as it has nothing to do with todays MVA Answer: Agreed, moving on...

10:47:52 PDT Question: Without getting too off topic, I wonder why he couldn't serialize the timespan. The signature has the

[SerializableAttribute] Answer: More than one way to paint a fence =)

10:48:14 PDT Question: Are containers nestable? Answer: I just checked on my account and it seems that you cannot nest containers.

10:48:16 PDT Question: Do we receive record on this session(s) for Microsoft Virtual Academy or that we have viewed at least? Answer: Yes, you can! Follow these steps to be awarded 50 MVA Points! (1) Visit http://aka.ms/MVA-Voucher (2) Be

sure you’re signed in (new users will need to register) (3) Enter the following voucher code*:

10:48:17 PDT Question: Do we receive record on this session(s) for Microsoft Virtual Academy or that we have viewed at least? Answer: If you want to get your extra MVA points for this course, the voucher code and redemption link are posted in

the FAQ tab.

10:49:08 PDT Question: How about general Windows Store questions? I know I have some, close enough to todays topics. You tell

me Answer: Windows Store is part of universal apps, so fire away. We'll do our best to answer your questions.

Page 40: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 40 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

10:52:00 PDT Question: Seems there were "technical" difficulties and I've lost about 30 minutes, bummer . . . The "Jump" window

came up during "Security", but it never signal the presentation was running again until I manually refreshed. Answer: The recording should be up in about two weeks to see the things that you missed.

10:53:56 PDT Question: Is there any difference with the side loading experience between an windows store app you have created

with the Universal template and the standard store app by itself. I assume not but it will be important to me. Answer: Universal Apps still produce two deployment packages, one APPX for Windows, one APPX for Windows

Phone. There are still differences in the enterprise deployment model for side-loading on both platforms.

10:55:03 PDT Question: Great. Here is the first: How far in advance should start registering my app. Is there any problem if I start

registering bit by bit but publish maybe many months later. You know, the best laid plans... Answer: What do you mean by registering your app? Like reserving the name? You can do that at anytime, but try

not to squat on a name too long as another developer might contest it

10:55:42 PDT Question: Will windows phone 10 still run existing windows phone 8.1 apps that use Silverlight ? Answer: Historically we have allowed the previous version such as XNA apps in Windows Phone 8. So I would think

that it should support 8.1 Silverlight.

10:55:57 PDT Question: Do you have a link to the format of the APPX file and the tools used to make it? Answer: Visual Studio is the tool that creates the APPX package when you build. You also get a manifest file in your

project to customize properties of the package

11:01:18 PDT Question: Actually .pdf presentation files? Answer: For now, yes, but the PPTX files will be available with the on-demand course when it is posted in a week or

two.

11:02:25 PDT Question: If I am wanting to develop for iOS and Android would I be better to be developing apps initially in HTML5

rather than XAML so its easier to port over using tools such as Cordova? Answer: I use Xamarin tools for my ios and Android apps so it is all C# and now the new Xamarin.Forms are XAML

like as well.

11:02:49 PDT Question: If I am wanting to develop for iOS and Android would I be better to be developing apps initially in HTML5

rather than XAML so its easier to port over using tools such as Cordova? Answer: Cordova is one approach for full cross-platform development. There is also Xamarin which allows you to

use C#, but you won't be able to share the UI code with Universal Windows Apps or use shared projects. The best practice would be to use a Portable Class Library (PCL) for all your shared non-UI code across Windows, iOS and Android.

11:03:30 PDT Question: Thanks Nick, I understand I have about a year to hog a name. Answer: Sounds about right. I try not to sit on names for more than a month usually.

11:03:43 PDT Question: Can anyone tell me the voucher code for this event?? Answer: If you want to get your extra MVA points for this course, the voucher code and redemption link are posted in

the FAQ tab.

Page 41: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 41 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

11:04:02 PDT Question: why/when use Azure BLOB Storage / OneDrive / Roaming ? ie please explain what de/merits of each

[perhaps in context of Solarizr but best if general guidance. thanks Answer: One thing that is different about the various methods is readability from the user. If you use BLOB storage

the user can only get to that from your app. If you use OneDrive, the user could go up to their OneDrive and see your data files.

11:04:37 PDT Question: Hi Teresa, I have struggled with the same side-loading question. In short, the B2B side-loading scenario

requires the customer to run domain-joined enterprise version of Windows, otherwise you run into licensing issues. Several Keynotes alluded to the fact that MS is aware of the issue. Answer: Thanks for sharing Stephen

11:07:00 PDT Question: can we upload a large video size of nearly 100 MB to azure storage from windows phone ??? how to beat

request timeouts..in universal apps Answer: You would probably want to look at using the Azure Media Services for this. It has special calls and things

to handle issues like this.

11:07:14 PDT Question: Are there any examples of uploading SQLite db to Azure, performing upgrade, and downloading for

Windows Phone like Jerry discussed? Sounds great in theory, not sure how to pull it off though Answer: The sample code and the Solarizr app source code will be made available

at http://xaml.codeplex.com within a few days.

11:08:22 PDT Question: Are there ways to encrypt the data saved in OneDrive? I want to save a SQLite database on the user's

OneDrive as a backup option as well as a way to share data between a universal app (WP8.x/Win8.1). Answer: SQLite has an option to encrypt with a password when making the database

11:08:27 PDT Question: Do we get an email or something when the code gets posted? Answer: No, because it is posted on XAML.codeplex.com, but you can probably sign-up for updates there and

receive an email when new code is posted.

11:09:12 PDT Question: > Quoted question: Are there any examples of uploading SQLite db to Azure, performing upgrade, and downloading for Windows Phone like Jerry discussed? Sounds great in theory, > Quoted answer: The sample code and the Solarizr app source code will be made available

at http://xaml.codeplex.com within a few days. Answer: tbmills1 here is the link to the sample in azure with step by step instructions. http://azure.microsoft.com/en-

us/documentation/articles/mobile-services-windows-store-dotnet-get-started-offline-data/

11:15:34 PDT Question: good evening from Italy Answer: Hello and welcome

11:15:44 PDT Question: Hey the Monkey is on the other side

Answer: You cant keep a monkey in the same place long.

Page 42: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 42 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

11:17:11 PDT Question: Does SQLite have the encryption option built into it, or do we have to purchase an extension for it? Answer: I believe it is built in.

11:18:29 PDT Question: Q: Are toast notifications queued, so that when your time-out expires, they appear? Answer: No, if you hide notifications, anything sent during that time will not be received later

11:20:19 PDT Question: Notification which is in skype (with 3 buttons) is Toast or Push Notification? Answer: Sounds like a toast

11:20:46 PDT Question: Is this win 10? Answer: This is for Universal Apps for 8.1/Phone 8.1 but Universal apps are the recommended project to use for

Win10

11:20:50 PDT Question: What does arg mean? Answer: Typically short for argument, think parameter

11:21:45 PDT Question: How does SQLite work in combo with the database project type. Thank you Answer: Take a look @ http://www.nullskull.com/a/1410/get-started-with-sqlite-and-visual-studio.aspx

11:22:15 PDT Question: Please what does payload mean? Answer: The payload is the contents of the push notification tile, toast or raw message

11:22:22 PDT Question: Please what does payload mean? Answer: Payload is typically used to refer to a response see: http://en.wikipedia.org/wiki/Payload_(computing)

11:23:45 PDT Question: Hi ,excuse me , When the Offline edition of this session will Publish in MVA ? Answer: This MVA course is being recorded and it will be posted and made available for on-demand watching in a

week or two. In the meantime you can download the slides from the FAQ tab. The sample code and the Solarizr app source code will be made available at http://xaml.codeplex.com within a few days.

11:25:44 PDT Question: From what I understand C# and xaml has better performance than html and css. Right? Answer: HTML5/JS perform quite well as a Universal App as well, and the underlying APIs are the same for C# or

HTML5. So there might be some additional speed with XAML but it would be very similar to HTML5. It is really a preference on which you wan to use.

11:26:15 PDT Question: How can we send a toast notification that includes picture?? Answer: You simply need to pick a toast template that supports images. See the list at http://msdn.microsoft.com/en-

us/library/windows/apps/hh761494.aspx

Page 43: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 43 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

11:28:17 PDT Question: Another store question: Suppose I use say Bing Maps. That's a subscribed/paid service right? Does that

mean my costs varies with the number of users? Answer: Your cost will go up with more usage, yes that is correct.

11:30:05 PDT Question: Another store question: Suppose I use say Bing Maps. That's a subscribed/paid service right? Does that

mean my costs varies with the number of users? Answer: There is a free tier (within limits) to use Bing Maps and other Bing APIs. See this page for

details: http://www.microsoft.com/maps/Licensing/licensing.aspx

11:30:12 PDT Question: Can we use these capabilities for true Universal deployment or only Windows devices? Answer: Push notification can be used on any device. Toast is unique to Windows devices

11:30:41 PDT Question: Mobile Services can also tie into Notification Hub as well. It is the Advanced notification settings

Answer: Correct

11:31:41 PDT Question: Ah all those useful links. I love it!

Answer: Bing is your friend

11:32:15 PDT Question: How we will attach images with the toast xml schema Answer: There are many different toast templates to use that are tied to pictures. http://msdn.microsoft.com/en-

us/library/windows/apps/Hh761494.aspx

11:35:38 PDT Question: do u have to paid to get Notification in azure Answer: There is a free tier for notifications up to 1 million pushes. All the pricing details for notification hubs are

at http://azure.microsoft.com/en-us/pricing/details/notification-hubs/

11:36:21 PDT Question: How is this privacy if we can see this? Answer: This is normally your own private portal and you would normally not share these secrets with the public.

here you can see Jerry's portal for training purposes

11:39:09 PDT Question: That's so cool. Answer: Agreed, Azure notifications are awesome!

11:39:32 PDT Question: That's so cool. Answer: Yes, Azure Notification Hubs make push very easy, especially when you add other platforms

11:40:57 PDT Question: Microsoft developers using C++ I don't understand why teach C#? Answer: What do you mean? C# is one of the most popular programming languages in the world, alongside Java, C,

C++ and Python

Page 44: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 44 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

11:41:49 PDT Question: Wait it will work for all win os? Answer: Push notifications only work on Windows 8 and higher, including Windows 8.1, the upcoming Windows 10,

and also Windows Phone 8.1 and higher

11:42:11 PDT Question: Is Azure (active directory) only free to MSDN subscribers? Everything I have checked wants credit card

information. Answer: You can utilize Azure credits through an MSDN or BizSpark account and Azure is inherently free up to the

posted limitations on the Azure pricing calculator, however, it requires a credit card to validate that you are a human (don't want automators spinning up botnets)

11:42:32 PDT Question: They wrote developed with C#/XAML so is it for win 7/8/9/10? Answer: C# and XAML using the Windows Runtime - not .NET - which means only Windows 8 and higher

11:42:58 PDT Question: What about win 9? Answer: The next version of Windows is Windows 10.

11:43:04 PDT Question: VB RULZ! Answer: Unfortunately VB does not support Universal apps yet.

11:43:21 PDT Question: Nice pre-recorded video. But it was too fast Answer: This MVA course is being recorded and it will be posted and made available for on-demand watching in a

week or two. In the meantime you can download the slides from the FAQ tab. The sample code and the Solarizr app source code will be made available at http://xaml.codeplex.com within a few days.

11:43:59 PDT Question: What was Jerry saying about not registering notifications from the app itself, but rather through some sort

of broker? Answer: The NotificationHubManager

11:44:55 PDT Question: For enterprise apps, where for example different customers would be running the same app package but

be connecting to their own servers (via azure servicebus relay). Is it possible for the customers to setup their own notification hubs, using that same app package? Answer: I believe each app can attach to only one notification hub, but you could create logic on the hub to distribute

messages to only a certain user etc.

11:46:43 PDT Question: Will it sync with win and mobile or..? Answer: it can be consumed by either

11:46:47 PDT Question: My msdn subs over. Answer: if you're an independent developer or build apps on the side, you could qualify for a free MSDN Ultimate

Sub for 3 years via Microsoft BizSpark. See http://www.microsoft.com/bizspark/Register.aspx?SecurityCode=IR9JtnyTtL

Page 45: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 45 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

11:54:11 PDT Question: Why not to open the locals window? Answer: It is a preference for some developers to just use the popups to get the value. It also helps when doing

something like MVA training because the values are shown near the code.

11:56:09 PDT Question: What about buffer overflow? Answer: DanielC, I have not seen any buffer overflows in toast before. If you have more text than what is shown, that

is ok.

11:59:08 PDT Question: A follow-up on the Bing Map's question. I suppose the costs variation can be balanced with an Ads control

(the ratio would be an interesting fact to know). Is there a way to enforce the user to supply their own Bing subscription, and use that in the app? Answer: I have never seen an app like this ask you for your own map subscription. You could build that in, but maps

subscriptions are developer things and the general public would not know what that really is. If you were making an app for others, that would be something that you could require

12:01:15 PDT Question: can I ask here a question regarding to Windows Phone C# Silverlight app developing? cause I have no

idea where I can find a good answer and I'm new Answer: sure Alex

12:04:47 PDT Question: thank you. First of all, I'm working to an soundboard app. I've read everywhere that Windows Phone has

not multi-touch in the app you develop and you have to do it by yourself. I only need to press 2 buttons at once, or more Answer: The multitouch will partly be on the maker of the phone and how many they are going to support

12:08:08 PDT Question: I'm talking about Windows Phone 8/8.1 Answer: It seems that Phone might be abit more limited than Win8/8.1 but I think that my Lumia Icon can support up

to 5 points of touch

12:12:32 PDT Question: Perhaps I wasn't clear on my question above, the different customers are actually different enterprises

using the app to connect their own servers (Microsoft Dynamics AX in this case). It wouldn't make much sense for the an enterprise to be sharing the same notification hub as another enterprise all managed by the original developer in azure... Answer: I did not see your original question Phil, but this type of thing is common in the consulting world. You would

probably get the enterprise customers to setup their own Azure accounts and then possibly add the developer to the account to setup everything for them. I have seen this before.

12:14:42 PDT Question: umm, you misunderstand me. the phone basically support multi touch, out of the app I'm developing. in my

app, I can't press 2 buttons at once. I need a code or a command that will let me press 2 buttons or more, at once, in an xaml page Answer: You might have to code up the commands to then check the state of the other buttons to see if they are

pressed as well. This way the command would check all of the buttons and then perform the task using each one pressed. This is a little different than just a single command for a button, but should work for you

12:16:46 PDT Question: Where can I find books for C++ and DirectX? Thanks! Answer: What version of DirectX are you looking for DanielC?

Page 46: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 46 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

12:21:19 PDT Question: Thank you for your answer but I don't know how to do that... Answer: I can see about making a quick demo for you, just email or tweet me about it to remind me.

12:22:45 PDT Question: Hello Im Tash From India Answer: Welcome Tash.

12:23:07 PDT Question: After the live streaming finish , you will put a video of the session?! Answer: The recordings will be available in about two weeks

12:24:15 PDT Question: Thank You

i missed Day 1 Answer: There were some great sessions on Day 1. Jerry and Daren have done a great job on this MVA

12:25:31 PDT Question: I did, you have my email there, maybe I can show you the xaml.cs code, so it will be easier for you to help

me, when you have some free time of course. Answer: got it Alex. We can work on this together offline.

12:26:13 PDT Question: when i get That Video for Download? Answer: It will be available in about two weeks.

12:29:19 PDT Question: on which site? or through our mails? Answer: Yes, all sessions are being recorded and will be posted to MVA. We will send the URL to all attendees

when they're published in approximately 2 weeks.

12:29:26 PDT Question: Okay thank you , can you send me email when the videos become available!? Answer: Yes, all sessions are being recorded and will be posted to MVA. We will send the URL to all attendees

when they're published in approximately 2 weeks.

12:37:31 PDT Question: Just prepared my meal, because of crappy internet I missed the last bit of yesterday and the end is it ok to

ask questions regarding yesterday's content? Answer: We will help as much as we can

12:40:32 PDT Question: Hello MVA! Does anyone have a clue RE: the lonely question in the Help tab? Pleeease Answer: Matt, what browser are you using? I am going to see if we can get the MVA ppl to get more info for you as

well

12:42:03 PDT Question: Thanks, Nick. But I am retired and just learning VS 2013, so I don't qualify for BizSpark either (haven't

started a company) Answer: Dennis, just to let you know for BizSpark you do not have to be incorporated as a company. You can get it

without that at all. We give it to students looking to make an app/game into a product to sell and other things as well.

Page 47: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 47 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

12:44:43 PDT Question: Anybody know if the Galileo is available in Europe? Answer: It looks like the Acedemic program manager for the Galileo for Europe, middleeast, Africa and Russia is

making a course for it, so I would assume it should be available.

12:45:53 PDT Question: Hello everyone Answer: Hey Dave.... welcome

12:48:30 PDT Question: Steve, thanks for the information. I will see if I can get signed up for BizSpark. But, to clarify I am retired

and am not a student in the traditional sense. I am a self-learner. Answer: Anyone can get into BizSpark. It is not limited to students. You mainly need a website and a non-free email

address to use for it.

12:50:55 PDT Question: Re Nick's post: Remember to follow your friendly moderators on Twitter: @pjdecarlo @stevemaier3

@activenick. I admit that I am a complete twit......ter hater. Yet I find myself interested in the questions/answers posted there. Is there any way to follow said twit(s)terers without signing up. Answer: you can go directly to their page... for example https://twitter.com/stevemaier3

12:51:33 PDT Question: That's Steve, I can find a Galileo seller as yet. Oh well won't be long anyway Answer: I got mine off Amazon. You might be able to as well.

12:58:00 PDT Question: Isn't Bizspark for new businesses?? Answer: Yes it is for businesses less than 5 years old and making less than $1m in revenue

12:58:43 PDT Question: and Dreamspark for students Answer: Correct, dreakspark is for students, but students can also get into BizSpark if they are starting a business

up.

12:59:06 PDT Question: Yep found it there: Here's what it says: Shipping: This item is also available for shipping to select countries

outside the U.S. Answer: hopefully yours is one of them.

13:27:42 PDT Question: *Galileo Answer: Galileo is a hardware board from Intel for the Internet of Things. But that is off topic for today

13:29:01 PDT Question: if i saw correct the location service is event based. how does this relate to being Always on? Answer: It is event based in that it fires off events whenever the movement threshold is triggered, but the base

location service (and hardware) in the phone is always running if it is left on

13:29:46 PDT Question: Is there a way to get windows 10 technical preview for windows RT Answer: Let's please hold off on the Windows 10 talk and focus on Universal Apps in Windows 8.1 and Windows

Phone 8.1. Everything you learn here will all carry forward perfectly in Windows 10 as this is THE recommended app development model.

Page 48: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 48 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

13:32:30 PDT Question: So can I create an app using the surface RT does the program run? Answer: You need Windows 8.1 to run the Visual Studio 2013 Update 3 development environment, but the resulting

apps can target the Windows Store on ARM-based devices, yes, including Surface RT

13:34:08 PDT Question: Ok so I would not be able to? Answer: You cannot BUILD the apps on Windows RT, but you can RUN the apps on Windows RT

13:34:44 PDT Question:

> Quoted question: Ok so I would not be able to? > Quoted answer: You cannot BUILD the apps on Windows RT, but you can RUN the apps on Windows RT Answer: You could use Visual Studio Online or Azure-based virtual machines ona Windows RT device for

development however

13:35:12 PDT Question: Can I get the app-version number from the manifest(-servive)? I mean obviously not the current

implementation - but would it be a possibility? Answer: Yes, you can query your app's current version

13:35:30 PDT Question: what about LEG-based devices Answer: Can you clarify your question please?

13:36:31 PDT Question: Will there be a new version of Visual Studio to address the missing SortDescription or do we wait for

Windows X Answer: John, we're not discussing any future releases of the Windows Runtime, Visual Studio or Windows in this

course. Thanks.

13:43:01 PDT Question: Nick: just dropping a hint that it should be considered. Answer: You can also post feedback and vote for desired features in the Windows Dev Platform Uservoice site

at http://wpdev.uservoice.com/forums/110705-dev-platform

13:53:01 PDT Question: the maps on Phone are from nokia? a third kind of maps? Answer: We do not yet have full parity in maps on the phone vs Windows. The location services and geofencing

APIs are the same though. To learn more on how to work with maps in Universal Windows apps, check out this great article athttp://blogs.msdn.com/b/bingdevcenter/archive/2014/06/24/using-maps-in-universal-apps.aspx

13:54:06 PDT Question: Thank-you for mentioning OData. Concern is that many developers will invent own partial protocol. Answer: Do you have a blog? That sounds like a great idea for a blog post. Always share your wisdom!

13:54:28 PDT Question: moar win10 comments! how do you feel? Answer: Let's please hold off on the Windows 10 talk and focus on Universal Apps in Windows 8.1 and Windows

Phone 8.1. Everything you learn here will all carry forward perfectly in Windows 10 as this is THE recommended app development model.

Page 49: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 49 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

13:56:24 PDT Question: are nokia phones maps a third kind of map? or one of the two Jerry mentioned? Answer: All Windows Phones use the same maps control based on Nokia Maps. There used to be a Bing Maps

control on Windows Phone 7.x but it's been deprecated. Windows still uses its own Bing Maps control. The link I gave you helps bridge these worlds: http://blogs.msdn.com/b/bingdevcenter/archive/2014/06/24/using-maps-in-universal-apps.aspx

13:57:26 PDT Question: How the VS their using color the code tabs according to the project/context ? Is there an addon for that? Answer: Visual Studio has full color configuration support, and Universal app projects also gray out pieces of code

out of context. The Resharper plugin from JetBrains can also change code colors based on context

13:59:02 PDT Question: will carry forward, but won't be automatic? I mean we're just barely getting WP8.1 in the marketplace,

Verizon has said they won't update their phones until November... and now we've got to deal with Win10. Will we have this same issue where a new app will work on the current platform, but not old, are we going to end up with 3 versions of our "universal" apps for WP7 - WP8.1/Win8.1 - Win10? Answer: All the apps you build today will run on Windows 10 without changes. Just like all Windows Phone 7.x apps

did run on Windows Phone 8, and the same went with Windows 8.1 and Windows Phone 8.1. We have a virtually perfect track record of app compatibility with our store.

14:03:36 PDT Question: You say that but I can't use the current API set targeting 8.1 and get it to run on WP7 .. universal isn't

really universal... Answer: You're mixing the Windows Phone Silverlight model and the Windows Runtime. It's true the Windows Phone

7.x devices were not upgradeable to WP8, but all the apps carried forward. I did not talk about backward compatibility of devices. As a developer, you want your apps you build today to run on future releases, and that is what we give you

14:04:53 PDT Question: it's a backwards compatibility issue which means I can never really target 100% of the install base with a

CURRENT app. And we know the track record for people upgrading.. #Justsaying Answer: You can still create a Windows Phone 7.1 app today and it will run on all devices. But Universal apps are

based on the Windows Runtime, which requires the Windows 8.1 core. All WP8 devices are upgradeable to WP8.1

14:06:14 PDT Question: I inquired Yesterday and someone told that Nokia Maps could be fetched from Nuget... (Damn!). Last i

used this, it came at no extra cost, but I assume you stille need to buy a key, when using Bing maps? Answer: When using Bing Maps you need a key from the Bing Maps Portal. When using Nokia Maps (i.e. the default

maps on Windows Phone 8.x) you get your key from the Windows Phone Dashboard at submission time, it's part of the optional services you can request, and it's free.

14:07:03 PDT Question: How come the HTML guys gave out 3 x 50 MVA points for their version of this course? Is HTML three

times more valuable than XAML : ) Did they have a monkey? Answer: No, they just need more validation that they are doing a good job.

14:12:27 PDT Question: Hi Everyone. In my opinion Microsoft goes now in the best way. One operation system for all devices. This

is how it should be. Simple as that.

Answer: Glad you agree

Page 50: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 50 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

14:21:18 PDT Question: I was an Android developer for a good year. Now officially a Microsoft/C# convert, and quite happy about it

and Microsoft's direction. Totally agree with Kecso's comments. Answer: Welcome to the Microsoft world Sean. I do dabble in Android development from time to time and I agree

with you, the C# + XAML world in Visual Studio is the best!

14:31:18 PDT Question: can you localize pictures? Answer: Yes, you would need to have multiple versions of the picture and then load the right one based on the

culture you need to show

15:26:45 PDT Question: Long days maybe, but very useful. Thanks to you all for your informative answers. Please tell Jerry and

Daren from me that I think they have this presentation business down pat. Kudos Answer: We'll make sure to let them know, glad you enjoyed!

15:27:27 PDT Question: Q: Does "Cortana" work over WiFi, or just the cellular data link? Answer: Cortana can work over both Wi-Fi and cell. You can even do offline text-to-speech and speech recognition

with custom grammars and grammar lists in your apps

15:29:25 PDT Question: When Cortana in Spanish? Answer: Keep an eye on the Cortana site at http://www.windowsphone.com/en-us/how-to/wp8/cortana/meet-

cortana?src=ia&iaaid=50017000&ialnk=title for future announcements as we add more regions

15:30:21 PDT Question: How can I use speech recognition in apps for windows 8.1? Answer: I have a blog post at http://www.ageofmobility.com/2014/06/23/event-session-beyond-cortana-siri-using-

speech-recognition-speech-synthesis-for-the-next-generation-of-mobile-apps/ with a lot of reference info on how to get started with development with Speech, including Cortana, and I have links to samples too

15:32:42 PDT Question: The speech recognition should work without network access. Answer: Cortana in the operating system requires network access due to the sheer volume of things you can say,

and the inflections and accents you can use. But in your apps, you can do text-to-speech and speech recognition with custom grammars and phrase lists without any network access. See my blog at http://www.ageofmobility.com/2014/06/23/event-session-beyond-cortana-siri-using-speech-recognition-speech-synthesis-for-the-next-generation-of-mobile-apps/ for more info and resources on speech

15:33:12 PDT Question: Does Cortana works on Windows Surface Pro Tablets? Answer: Cortana is on Windows Phone 8.1 only for now

15:34:04 PDT Question: Is cortana the equivalent to Google TextToSpeach? Answer: Cortana is our virtual assistant, like Siri or Google Now Launcher, but she is much better!. The Speech SDK

on Windows Phone is also the most comprehensive compared to any other mobile platform, including text-to-speech, speech recognition and voice commands

Page 51: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 51 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

15:34:59 PDT Question: Waiting cortana to Finland and currently Google Now work with Finnish and not even Siri can't handle

Finnish yet Answer: We will be adding more regions to Cortana, keep an eye on her site at http://www.windowsphone.com/en-

us/how-to/wp8/cortana/meet-cortana?src=ia&iaaid=50017000&ialnk=title for future announcements and features

15:35:46 PDT Question: And what else can I use for speech recognition, which runs on Surface Pro Tablets with Win 8.1? Answer: You can do Speech Recognition in Windows 8.x apps using the Bing Speech Control. Check out our

Speech Dev Center at http://www.bing.com/dev/en-us/speech

15:36:19 PDT Question: Does Cortana work without turning on location service on windows phone? Answer: Cortana can work without location services, but some features will not work, such as "What is the weather

at my current location?"

15:37:27 PDT Question: But only with network access, right? Answer: The Bing Speech control requires network access as far as I know, yes. We are working hard to bring parity

between Windows and WIndows Phone, so you can expect to see more advances in Windows Speech to match Windows Phone in the future

15:38:20 PDT Question: when other geofences shapes will be supported? Answer: That has not been announced yet. This course is about features currently available to Universal app

developers on Windows 8.1today

15:39:10 PDT Question: Perhaps including Finnish to cortana help when xbox one kinect localization team can finish that work for

voice commands Answer: All of our teams are working together across different groups to provide the best experiences. Speech is

one of those areas that spans devices, laptops, desktops and XBOX

15:39:26 PDT Question: What kind of PCs are you guys using, they look comfortable. Available at the Microsoft Store? Answer: They are using laptops with giant touch displays

15:39:41 PDT Question: Please remind me MIME?

Answer: Bing is your friend

15:40:55 PDT Question: XamlRenderingBackgroundTask is only C++? Answer: Yes, C++ only for now. C++ has the advantage of being much more memory efficient for background tasks

since it doesn't require spinning up any runtime

15:45:00 PDT Question: Thanks Nick for handing me my towel Answer: Anytime!

Page 52: Developing Universal Windows Apps (C#/XAML) Jump …download.microsoft.com/download/4/9/B/49B3AF64-7D1B-42C7-8144... · Developing Universal Windows Apps (C#/XAML) Jump Start Q&A

Developing Universal Windows Apps (C#/XAML) Jump Start

Q&A Log

Live Event Date: September 30 – October 01, 2014 Page 52 of 52 DISCLAIMER: This information is provided to you for informational purposes only and is provided “as is.” Microsoft has not reviewed the information and it may contain inaccuracies. You bear the risk of using it. Microsoft makes no warranties, express or implied, as to the information.

15:49:59 PDT Question: Please tell me MSFT has plans to simplify windows universal app development Answer: How so? We already have the simplest model? But yes, we constantly listen to feedback and strive to make

things easier

15:50:49 PDT Question: I am looking into possibly using Xamarin to help spread my app to iOS and Android after being published

in the Windows Store. Is XAML still relevant/utilized with Xamarin to build iOS and Android UI? Answer: Xamarin just introduced their own XAML support in Xamarin.Forms within Xamarin 3, but they have their

own controls that work across platforms

15:55:09 PDT Question: Q: Regarding Universal Apps, and the approximate 90% code share between platforms. Will we be seeing

that small gap closing between platforms eventually, or will that be the closest we can get due to the differences in device characteristics? Answer: Sean, you can expect the gap to be narrowed with future releases, we will bring as much parity as possible

15:57:34 PDT Question: Nick, you still owe me an About page for my phone app! We met at VS live in Redmond last year. Answer: lol Rob, yes I do. And I'm still working on it, the project took a turn, I'm building a Universal app version now!

15:58:46 PDT Question: @Nick, so awesome Answer: Anytime jerry, awesome course, kudos to you and Daren!

15:59:38 PDT Question: What strategies do you recommend for dealing with occasionally connected applications (particularly

Windows Phone)? Does the approach change if the 'master data' is actually on the device rather than in the cloud? Does the advice change if the master data is in a database or a serialized blob? What gotcha's should we watch out for - such as the app being pulled out from under us mid-sync? Answer: Mobile services is great for that and supports full caching. See http://azure.microsoft.com/en-

us/documentation/services/mobile-services/

16:00:05 PDT Question: that's ok, I will look forward to the universal version. Will you be in Orlando this year? Answer: Yes, I'm speaking at VSLive DC and Orlando

16:01:10 PDT Question: Thanks Nick. Answer: You're welcome, thanks for coming. I hope it was educational. Now go build some apps!

16:01:16 PDT Question: Q - Was there a different voucher link for Day 2? Answer: No, same link for both days

16:02:05 PDT Question: Q: Is the MONKEY under contract at Microsoft, or is he available for freelance work?

Answer: You can't afford the monkey

16:03:45 PDT Question: awesome sessions thanks! looking forward for the solarizr code! Answer: The sample code and the Solarizr app source code will be made available

at http://xaml.codeplex.com within a few days.