View
4
Download
0
Category
Preview:
Citation preview
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 1 of 84 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.
07:36:19 PST
Question: good morning sirs
Andrea [Event Support] replied publicly: Good morning! thanks for joining
07:37:33 PST
Question: is this session still on? Andrea [Event Support] replied publicly: The session will start in approx. 25 minutes.
07:38:00 PST
Question: GOOD MORNING Andrea [Event Support] replied publicly: Good morning Adil!
07:38:16 PST
Question: Good morning Andrea [Event Support] replied publicly: Good morning Thomas! Thanks for joining!
07:38:24 PST
Question: hi all Answer: Welcome Andrea!
07:38:43 PST
Question: Thanks to Scott Hanselman and Jon Galloway. This is going to be a great session! Answer: Agreed... Sound checks just getting started! This will be awesome!
07:39:28 PST
Question: Good Afternon, Im from Portugal Andrea [Event Support] replied publicly: Good Afternoon! Thanks for joining! You need lots of coffee to stay till the
end
07:39:45 PST
Question: Very early morning here in Australia Andrea [Event Support] replied publicly: We are happy you joined! Good morning!
07:40:03 PST
Question: Good Afternon, Im from Portugal Answer: Great to see you!
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 2 of 84 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.
07:40:12 PST
Question: Hello Andrea I,m Zeeshan from Italy. Answer: Wonderful to have you!
07:40:15 PST
Question: Hello Andrea I,m Zeeshan from Italy. Andrea [Event Support] replied publicly: Welcome zEEBUTT!
07:40:39 PST
Question: Hopefully Scott is feeling better! Answer: Scott is feeling much better. Thank you! His voice isn't perfect yet, but he should be great today!
07:40:41 PST
Question: Good Morning! Andrea [Event Support] replied publicly: Good morning Shayan!
07:40:56 PST
Question: Supppp! This is my very first event . Andrea [Event Support] replied publicly: We hope you will enjoy it!
07:40:56 PST
Question: Thank you for having this! Answer: Thank you so much for coming!
07:41:18 PST
Question: Good morning everyone Andrea [Event Support] replied publicly: Good morning Randy!
07:41:43 PST
Question: Afternoon! (morning) Andrea [Event Support] replied publicly: Welcome Scottwhite!
07:42:18 PST
Question: When the session will start? Answer: We'll be starting at 8am PST. About 18 minutes!
07:42:19 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 3 of 84 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.
Question: When the session will start? Andrea [Event Support] replied publicly: The session will start in approx. 20 minutes.
07:42:29 PST
Question: Good morning everybody! Answer: Good morning! Welcome back, Portugal!
07:42:43 PST
Question: Good morning. Should there be any sound heard? Andrea [Event Support] replied publicly: No sound yet but the stream will start very soon.
07:43:38 PST
Question: Hi... Good morning everyone. =) Andrea [Event Support] replied publicly: Good morning Andre!
07:44:03 PST
Question: Good evening from Germany!
Andrea [Event Support] replied publicly: Guten Abend
07:48:54 PST
Question: Good Morning !! This is from Dallas, TX Answer: Howdy!
07:49:04 PST
Question: Good evening...from INDIA........ Answer: So great to have you! Thanks for joining!
07:49:12 PST
Question: Good Morning Everyone. Answer: Good morning!
07:49:31 PST
Question: Good Morning from Tucson, Arizona Answer: Good mornin'!
07:49:46 PST
Question: Good afternoon from Brazil! Answer: Bienvenido!
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 4 of 84 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.
07:49:54 PST
Question: Another from Dallas Texas Here. Answer: Howdy +1.
07:50:07 PST
Question: hi, its good evening in dubai Answer: Wonderful to have you! Thanks for joining!
07:50:15 PST
Question: Good night from India
Answer: Thanks for joining!
07:50:20 PST
Question: Good Morning, from Vancouver Answer: Welcome!
07:50:28 PST
Question: Hi Guys I cannot wait
Andrea [Event Support] replied publicly: Hi Behtash! We are starting soon
07:50:36 PST
Question: Hey Tucson! Phoenix here Answer: Nice! Go Dbacks!
07:50:46 PST
Question: Good Morning from Georgia. Answer: Welcome! Thanks for joining!
07:50:53 PST
Question: +1 from Macedonia Answer: Great to have you!
07:51:08 PST
Question: Good morning from Banja Luka, Republika Srpska to all you guys in USA. Answer: Good afternoon to you! Thanks for joining!
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 5 of 84 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.
07:51:29 PST
Question: Indian we eagerly waiting! Answer: Nice! Will be starting in about nine minutes!
07:51:30 PST
Question: Good Evening from India Andrea [Event Support] replied publicly: Good evening Sachin!
07:51:34 PST
Question: bonjour Answer: bonjour!
07:51:42 PST
Question: Hello, from Japan Answer: Great to have you!
07:51:53 PST
Question: Good morning from Hamilton, Alabama! Answer: Fantastic! Thanks for joining!
07:51:58 PST
Question: Go Dbacks & University of Arizona!
Answer:
07:52:10 PST
Question: +1 from Croatia Answer: Welcome! Glad you're here!
07:52:23 PST
Question: Hope i can stay awake until 2am.. but with Scott and Jon that shouldn't be a problem Answer: Exactly! This should be a blast!
07:54:46 PST
Question: Hi To all MICROSOFT Fans Answer: Welcome! Thanks for joining us!
07:54:54 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 6 of 84 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.
Question: good morning, nice to meet you all Answer: Welcome!
07:55:04 PST
Question: Looking forward to this Answer: So are we!
07:55:28 PST
Question: Good evening from Ukraine Answer: Thanks for joining!
07:55:39 PST
Question: hello Again... cloud is live ... Answer: Hey Houssem! Welcome back!
07:55:48 PST
Question: I hope scott had a good recovery. Answer: He feels much better, thank you!
07:56:15 PST
Question: Late night here in India Answer: Thanks so much for joining!
07:56:23 PST
Question: 2:39 AM in Sydney Answer: So glad you're here!
07:56:32 PST
Question: Hi temmates, i'm from Turkey. Answer: Hello! Nice to have you!
08:01:20 PST
Question: Hi all from Hungary Answer: Thanks so much for joining!
08:01:28 PST
Question: Hearty Welcome to Scott Hanselman and Jon Galloway Answer: Thank you!
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 7 of 84 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:01:54 PST
Question: Good Day ... from India ...! Answer: Thanks so much for joining!
08:01:59 PST
Question: Olá Sequeira, bem-vindo. Answer: Sharing!
08:02:13 PST
Question: Good morning from Canada! Answer: Good morning!
08:02:21 PST
Question: Good Afternoon from Bosnia to all! Answer: Thanks so much for joining!
08:02:30 PST
Question: Im jayirvinh from Washington state usa Answer: Great to see you!
08:02:37 PST
Question: Hello from Macedonia! Answer: Welcome!
08:03:31 PST
Question: Hi people, I'm from Venezuela Answer: Bienvenido!
08:03:44 PST
Question: Hi Team, Thanks for having this session.. Eagerly waiting for Scott online session ... Answer: Thanks Siv. We're excited to see you!
08:03:50 PST
Question: Evening! I'm from Nigeria and this will be an all night interesting session for me. Answer: Welcome!
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 8 of 84 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:05:21 PST
Question: good morning from Michigan, USA Answer: Thanks so much for joining!
08:05:48 PST
Question: good morning all, night in indonesia Answer: Welcome back, Joti!
08:06:04 PST
Question: Good Morning everyone from Perth, Australia Answer: Welcome! Thanks for hanging out with us so late!
08:06:54 PST
Question: Hello, Good morning. Thanks for the event. What is the bandwidth requirement for High quality stream? Answer: We push a 1Mb stream... Standard quality is about half that.
08:07:07 PST
Question: good day to everyone! Answer: Brady Gaster is in the house!
08:09:21 PST
Question: Thanks =) I'm in Montreal, Canada but I'm from Rio de Janeiro, Brazil Answer: Nice! Glad you're joining us!
08:09:36 PST
Question: Anyone From India..? Answer: Lots of folks from India! Welcome to all of you!
08:09:57 PST
Question: I believe these jump starts being publicly available and free is how IT technicals should be in touch all the
time, opening opportunity and taking the community to the next level. Answer: Thanks for the comments. We think you'll love MVA, too.
08:10:23 PST
Question: Rod B? Ya there? Answer: Sharing.....
08:10:32 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 9 of 84 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.
Question: Bhupendra: happy to be here Answer: Happy to have you!
08:10:37 PST
Question: Hello from Montreal Canada (too) Answer: Nice!
08:10:48 PST
Question: hi to all from palermo sicily Answer: Welcome! Glad to have you!
08:10:53 PST
Question: Anyone from Kyiv, Ukraine? Answer: Sharing...
08:10:58 PST
Question:
> Quoted question: Hello from Montreal Canada (too) > Quoted answer: Nice! Answer: Welcome!
08:11:14 PST
Question: Will there be a recording of this to access later? Answer: yes there will be a recording available later
08:12:20 PST
Question: Did entity framework get dropped from this session? Answer: EF will be covered in a few of the demos
08:13:40 PST
Question: Hi. I installed 2012.2 multiple times on my Visual Studio 2012 Web Express and I have not yet been able
to see the SignalR templates. I was able to get signalR running through NuGet but, I still don't see the Templates. Any idea what I'm doing wrong? Answer: Damian will definitely have some thoughts on that. did you try creating a web forms project and not see
those? how about an MVC project? do they ever appear?
08:14:04 PST
Question: hello, anyone Answer: welcome!
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 10 of 84 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:14:50 PST
Question: i can't see or hear anything Answer: hit refresh. I had the same issue and that helped
08:15:20 PST
Question: Wow Web Forms Model Binding Nice! Answer: glad you like it. it's rad, no?
08:15:26 PST
Question: is it a live session? Answer: hey Naveed. yes, we're live from the MSL Studio in Redmond, WA.... Welcome
08:15:49 PST
Question: Hey there! This-is-awesome! Answer: hey good buddy! welcome!
08:16:03 PST
Question: Hey there! This-is-awesome! Answer: So glad you're enjoying it! LOTS of great content coming!
08:16:22 PST
Question: The questions are only at the end of the event? Answer: no you can ask throughout and we'll do our best to help you during the day
08:16:31 PST
Question: Yes RAD
Answer:
08:17:27 PST
Question: Does this feature protect against SQL Injection attacks? Answer: you mean does friendly URL's block SQL Injection or does EF protect against it?
08:18:20 PST
Question: > Quoted question: Does this feature protect against SQL Injection attacks? > Quoted answer: you mean does friendly URL's block SQL Injection or does EF protect against it? I think the question was regarding Model Binding. The answer is it depends on your data-access tech. Things like EF do SQL parameterization for you so you're avoiding a huge class of issues right htere Answer:
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 11 of 84 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:18:38 PST
Question: The data binding features Answer: it depends on your server-side code. it's still advised that you use caution in your db-access code, but you
shouldn't have any issues. what Damian said.
08:19:03 PST
Question: will there be a session on Signalr? Answer: Yes, this afternoon
08:19:07 PST
Question: What is the best method in Entity Framework - Database First, Code First? Answer: it depends on your preference. I usually go with code-first or model-first, but that's not the ONLY option. just
depends on your situation.
08:19:22 PST
Question: Frank I just want to make sure we are still waiting for the streaming are we? Answer: No, we're LIVE... Please press [Ctrl]+[F5] to refresh!
08:20:57 PST
Question: Can I migrate Database first to Code First in Entity Framework Answer: you can generate your models, etc, from the database.
08:21:30 PST
Question: hi frank ) Answer: Hey Gilang! Welcome back!
08:21:49 PST
Question: Can we say that MVVM is for Desktop and Phone apps and MVC is for Web Apps? Answer: not really. knockout, for instance, does MVVM via JavaScript. John Papa has a term he uses - "MV*" to
reflect all those approaches.
08:22:02 PST
Question: Does Strong data typed types like the one shown in demo - what would happen if there are no data
available. empty ? Answer: you can return null from those methods and the controls will render their empty data template
08:22:36 PST
Question: Good Evening from India Answer: So glad you're here!
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 12 of 84 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:22:36 PST
Question: Is it possible to pass parameters directly to the SelectMethod (e.g. from an outer Item in nested
Repeaters)? Answer: Yes, you can annotate the params with [Control] to get the value from another control on the page
08:22:55 PST
Question: what MVC stands for again? Answer: model view controller
08:22:58 PST
Question: what MVC stands for again? Answer: Model View Controller
08:23:52 PST
Question: Hi all Good Evening...this is my first event in microsofy Answer: So glad you're here!
08:24:27 PST
Question: reference to repository pattern, any web links? Answer: http://msdn.microsoft.com/en-us/library/ff649690.aspx
08:24:41 PST
Question: reference to repository pattern, any web links? Answer: It's a "standard" data access pattern, just search for "repository pattern"
08:24:43 PST
Question: i'm so excited..
Answer:
08:24:51 PST
Question: You guys running a JabbR room ? Answer: similar, yes!
08:24:59 PST
Question: Good afternoon from The Netherlands. This will be my first live session Answer: So glad you're here! Hope you enjoy MVA and the Jump Start series!
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 13 of 84 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:25:17 PST
Question: Is there any tool from microsoft for testing bundling and performance optimisation of a website Answer: yes. the framework has that built in, and web essentials has some features as well
08:25:18 PST
Question: Is there any tool from microsoft for testing bundling and performance optimisation of a website Answer: we recommend YSlow & PageSpeed
08:25:36 PST
Question: when we minify and combine - which one we have to refer in our aspx /master page - .css or .min.css / .js
or .min.js Answer: you refer to the bundle URL, which you configure
08:25:42 PST
Question: Does the bundeling en minification also obfuscate? Answer: no, but it does minify.
08:26:00 PST
Question: Does the bundeling en minification also obfuscate? Answer: not by default, it does minify which makes it hard to read, but the pipeline is pluggable, so you can make it
do whatever you like
08:26:27 PST
Question: how does one pass multiple params in the url and simialr data types, so a coule of ids Answer: you would decorate the parameters with individual parameter attributes that are then read from the route
08:26:35 PST
Question: hi everyone from Istanbul Answer: Welcome!
08:26:44 PST
Question: Hi from London Answer: Glad you're here!
08:26:48 PST
Question: Bundle = put files together Minify = make files as short as possible Answer: it does both!
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 14 of 84 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:27:08 PST
Question: Hi all, This academy takes over me life I LOVE IT Answer: That's so nice to hear!
08:27:10 PST
Question: obfuscation is different from minification in JS? i thought minification already made it very very difficult to
read Answer: it isn't for provision of readability but to improve download speed
08:27:25 PST
Question: How do you configure your web forms project to use friendly URLs other than organizing the folder
structure? It is very similar to MVC but I missed something Answer: the Friendly URLs feature just strips off the .aspx extension essentially, you can organize however you like.
You can use normal Routing for full control.
08:27:26 PST
Question: anyone from canada? Answer: Several from Canada for sure.
08:27:32 PST
Question: I cant wait to learn, I heart ruby!
Answer:
08:27:38 PST
Question: How do you configure your web forms project to use friendly URLs other than organizing the folder
structure? It is very similar to MVC but I missed something Answer: you would use parameter attributes on the methods that are called on the server side.
08:27:56 PST
Question: Hello from New Zealand! Answer: Thanks for hanging out with us so late!
08:28:35 PST
Question: What front-end framework are you using with asp.net mvc 4? (ex bootstrap)! The Internet template uses
HTML5 and CSS3? Answer: it uses jquery and knockout is included. you're free to customize. yes, it's HTML5 and CSS3
08:28:39 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 15 of 84 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.
Question: What front-end framework are you using with asp.net mvc 4? (ex bootstrap)! The Internet template uses
HTML5 and CSS3? Answer: no framework today. We're looking at bootstrap for vNext
08:28:44 PST
Question: that's really powerful. So I only need to use [FriendlyURLSegments] Answer: correct!
08:29:24 PST
Question: Is there anyway to output url like styles-number.css instead of styles.css?t=number Answer: yes, you can opt to put the version hash in the path instead
08:29:57 PST
Question: can we add bundling to old projects? via package manager or whatever? is it 4.5 specific? Answer: yes you can, requires 4.0, but the ScriptManager in Web Forms only supports the bundling system in 4.5
08:30:05 PST
Question: Hi Brady Abhishek this side ,is there a direct link to Github where we get the source and fork it to use
it(and modify it) for asp.net webapps? Answer: most of the code and demos are from the web camps content, which you can find at devcamps,ms
08:30:59 PST
Question: Thanks Frank. I am really excited about locating all of the past events through the virtual academy. Can't
wait to catch up! Answer: We can't wait for you to enjoy all the great content we're adding to MVA! Hope you enjoy it!
08:31:00 PST
Question: Ok Thanks a Lot Answer: my pleasure!
08:32:38 PST
Question: How does the {version} wildcard in bundling work? Does it match everything or just numbers and dots? Answer: everything, you can use {ver} to just match version strings
08:32:57 PST
Question: Hello from Italy! Thanks for this event! =) Answer: Welcome! So glad you're here!
08:33:06 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 16 of 84 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.
Question: This is really cool!! Answer: We agree!
08:33:50 PST
Question: Has the session started? Answer: Absolutely! Please press [Ctrl]+[F5] to refresh!
08:34:28 PST
Question: HELLO FRANK,THANKS FOR THIS OPPORTUNITY. AM JUST COMING IN. EMMANUEL FROM
NIGERIA Answer: Hey Emmanuel! So glad you're here! Enjoy the course1
08:35:14 PST
Question: Awesome. Can i ask a simple question? What are they coding? I don't have time to write anything... Answer: some JS, come CSS, some C#
08:35:21 PST
Question: does result of bundle Process that does the compile get cached or is there a way to make sure that does
not happen on all requests? Answer: it's cached for the life of your application
08:35:26 PST
Question: Hello All - from Kansas City - glad this snow did not claim my power or internet. Answer: We're glad, too! Enjoy the course!
08:36:11 PST
Question: Hello guys regards from Macedonia Answer: Welcome! Glad you're here!
08:36:18 PST
Question: Greetings from the Philippines! Midnight here. Answer: Nice! Enjoy the course!
08:36:50 PST
Question: Will sample code be made available? Answer: yes. you can also get some of the code they'll be showing in the web camps training kit from devcamps.ms
08:37:05 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 17 of 84 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.
Question: I am from Pakistan Answer: Welcome Khalid!
08:37:09 PST
Question: When start? Answer: it has started. try hitting ctrl-f5
08:37:23 PST
Question: from Nepal , its late evening
Answer: Welcome!
08:37:31 PST
Question: Good night from India Answer: So glad you're here!
08:37:37 PST
Question: Can I have a tutorial for making a project from scratch with all these helps which are being covered at
every step. Answer: yes, if you go to devcamps.ms, then look for the "Web Camps" section, there's a web camps training kit
download with a lot of these examples
08:38:21 PST
Question: Scott mentioned we can follow along. Are these demo files available for download? Answer: yes, if you go to devcamps.ms, then look for the "Web Camps" section, there's a web camps training kit
download with a lot of these examples
08:39:14 PST
Question: Hi from UK. Hope all enjoy this session Answer: So do we! Thanks for joining!
08:39:42 PST
Question: so the compiling, bundling and minifying of script will happen at run time? Answer: Yes, they're working on adding build-time support for the next version
08:40:14 PST
Question: Hanselman is my hero! To made this session for us being a little sick its amazing. You are great Scott!! Answer: Love this!
08:40:24 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 18 of 84 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.
Question: Hello from Kuwait! This one is going to be an all-nighter!!! Answer: So glad you're here!
08:40:47 PST
Question: Poor Scott, I feel guilty making him go ahead with this Answer: He's a trooper!
08:41:28 PST
Question: Scott needs Riccola! Answer: now i'll be saying RIIIII-COOO-LAAA all day.
08:41:48 PST
Question: Is less just a folder or asp.net folder? Answer: just a folder.
08:42:43 PST
Question: Thank you for holding this session. It sounds very useful Answer: Yes, we think all of you will learn a ton today!
08:42:47 PST
Question: can you explain the 10 FREE websites pls ? is this only part of your Azure TRIAL or is in free indefinite
(apologies to Simpsons!) ? Answer: it is indefinite, not just during preview
08:43:06 PST
Question: Scott almost sounds like Vin Diesel Answer: Nice! Funny1
08:43:08 PST
Question: > Quoted question: can you explain the 10 FREE websites pls ? is this only part of your Azure TRIAL or is in free indefinite (apologies to Simpsons!) ? > Quoted answer: it is indefinite, not just during preview Answer: your 90day trial includes OTHER WAZ things, but once the 90 days are over you get to keep the free sites.
08:43:21 PST
Question: Not necessarily an ASP.net question but any idea what those Lenovo's they are using are? Answer: W520
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 19 of 84 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:23 PST
Question: What type of project is this? Answer: a web forms project
08:43:41 PST
Question: So is the LESS editor available right now or as part of Web Essentials / Mindscape Web Workbench only? Answer: it is available as part of webessentials
08:44:07 PST
Question: what version of visual studio are they using Answer: vs2012
08:44:17 PST
Question: Does the Page Inspector also work for MVC apps? Answer: yes, VERY well! it's a lifesaver
08:44:20 PST
Question: Does the Page Inspector also work for MVC apps? Answer: Yes
08:44:25 PST
Question: Scott, you're a trooper Answer: Sharing!
08:45:03 PST
Question: Scott is funny !! Answer: Very funny!
08:45:08 PST
Question: Will this automaticly opening of files when I hover over an item (inspecting) cause problems when I have
many files open at the same time ? Answer: It uses the new preview pane feature of VS2012 so it doesn't open every single file
08:45:09 PST
Question: The 10 free websites, that doesn't include any SQL DBs are storage right? Just basically allows you to
deploy like an MVC site? Answer: it does include a MySQL or SQL Server 20MB database. if you're in your trial you can use storage. after 90
days you'd have to pay for storage. by "storage" I mean WAZ storage
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 20 of 84 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:45:25 PST
Question: I've had experience with such "find-the-page" bugs... page Inspector will surely help.. Will this work with
Custom Controls too??? Answer: Yes
08:45:26 PST
Question: Hello from Spain. Answer: Welcome back, Jose!
08:46:05 PST
Question: Is the Page Inspector the future Html Visual editor for Visual Studio? Answer: That's a good way to think about it
08:46:50 PST
Question: Can we choose to use compact sql so we dont use SQL Server for every app? Answer: yes
08:47:01 PST
Question: Can we choose to use compact sql so we dont use SQL Server for every app? Answer: yes you can. do you mean on Web Sites or just locally?
08:47:41 PST
Question: In the Live Updates, is it possible to have the "preview" window render as other browsers (i.e. Chrome or
Firefox)? Answer: not today, but we're looking at that
08:47:55 PST
Question: The internet template in the asp.net mvc 4 is Responsive? Answer: yes, Web Forms too
08:48:03 PST
Question: sorry to clog chat but are they using vs2012 express or pro/premium/ultimate? Answer: probably ultimate but the experience is quite similar throughout
08:48:09 PST
Question: Is the less editor/compiler support only in Web Essentials? I thought I'd read it was included with the
2012.2 update. Answer: LESS is in the update I believe
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 21 of 84 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:24 PST
Question: For Web API, to support async do we also just return a Task<HttpResponseMessage<TWhatever>> like
their showing in MVC? Answer: yes
08:49:07 PST
Question: This looks great! it this VS2012-2? a update I can Download? Answer: ASP.NET & Web Tools 2012.2 Update, download at http://www.asp.net/vnext
08:49:23 PST
Question: Good evening from Poland.... "Poland? Where it is"? ;D Answer: So glad you're here! We're streaming live from the MSL Studios in Redmond, WA.
08:49:29 PST
Question: Any plans to support SASS? Answer: yes
08:49:34 PST
Question: Any plans to support SASS? Answer: not that I've heard yet. uservoice votes would be helpful if that's a feature-need
08:50:14 PST
Question: If we're using AJAX with Web API, does async matter? What are the benefits? Answer: the benefits are saved memory utilization server-side. it'll still work via ajax for sure
08:50:24 PST
Question: Hi Robert and Nate - I'm from Tucson as well. Looking forward to the course. Answer: Sharing!
08:50:30 PST
Question: A very Good day to you Hamilton, greeting from Nigeria Answer: Welcome! Thanks for joining!
08:51:26 PST
Question: Can you choose which browser is used to render HTML in the Page Inspector? Or is it always IE? Answer: right now it's IE, but we're looking at how to support other browsers in the future
08:51:32 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 22 of 84 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.
Question: Can you choose which browser is used to render HTML in the Page Inspector? Or is it always IE? Answer: no, you can choose any of your browsers or page inspector from the debug menu. you can't tell page
inspector to "run as chrome or run as firefox" but that's a neat idea.
08:52:51 PST
Question: I'm not very good with the creative part of webdesign, C# and c++ here ): . Do you know any tool or
framework with components or structures (html5 css3) that can re-use? Answer: you mean like, a templating engine like bootstrap, or a series of controls that come pre-designed?
08:53:33 PST
Question: What's the difference between DownloadStringAsync and DownloadStringTaskAsync ? I saw that in the
intellisense on the live stream. Answer: the first is the EAP pattern, the second is the Task based TAP
08:53:34 PST
Question: Hello Everyone. I am from Brazil and moving to canada nex April Answer: Nice! Glad you're here!
08:53:42 PST
Question: Shane Hanselman is my hero Answer: Sharing!
08:54:11 PST
Question: Are there options on the DownloadStringTaskAsync to pass in a cancellation token? Answer: not sure about a cancellation token (Damian?) but you can also use methods like ContinueWith and Wait to
handle when exceptions happen or to continue execution to a next step
08:54:27 PST
Question: Take a look at Twitter Bootstrap. I'm not much of a designer either, and it's a great front-end framework. Answer: agreed!
08:54:30 PST
Question: Are there options on the DownloadStringTaskAsync to pass in a cancellation token? Answer: Not on WebClient, HttpClient has that support
08:55:11 PST
Question: Does the async stuff work with mvc as well? Answer: absolutely!
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 23 of 84 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:56:11 PST
Question: What is some recommended reading on Async and Await? Answer: The TPL team blog http://blogs.msdn.com/b/pfxteam/
08:56:29 PST
Question: EAP == Entity Async Pattern? Answer: Event Async Pattern
08:56:41 PST
Question: is this the only exception where a keyword is only a keyword if some condition is met? I mean. await is
only marked as a keyword when the method is marked as async.. It feels a bit as a stepout. Answer: correct
08:56:47 PST
Question: Welcome Scott anf Jon Answer: Sharing!
08:57:03 PST
Question: This is awesome! Answer: Thanks! So glad you're enjoying it!
08:57:25 PST
Andrea [Event Support] posted:
> Quoted question: Hi! All Niaz, from Riyadh,Saudia Arabia. Andrea [Event Support] replied privately: thanks for joining! Answer: welcome from my home state!
08:57:46 PST
Question: One question on this topic. The code that comes next of the async calls is not executed until the previous
tasks are being completed right? Answer: if you await the task result, correct
08:58:14 PST
Question: jazz hands Answer: LOL
08:58:30 PST
Question: can you show the async example for mvc? Answer: in MVC you simply return Task<whatever> from your action methods
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 24 of 84 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:58:53 PST
Question: What if one of the services takes forever to come back asynchronously. Is there a timeout with
Task.WhenAll? Answer: yes, there are timeout options available
09:03:05 PST
Question: I suspect one needs to be careful with overusing the async features, or you could risk exhausting the
threadpool for your application? Answer: only if you're creating your own tasks. just using async APIs is fine
09:04:11 PST
Question: Didn't catch the gain in the load time when using async, how much was it? Answer: ~ 1.3 seconds, the point there was they were done in parallel, and also async
09:05:02 PST
Question: Interesting. Did that link you posted have some more code snippets on async to inspect? Answer: there are a series of async demos in the web camps training kit so you should have enough to get started.
09:05:37 PST
Question: Are tools for debugging Javascript included ; wil it be covered today? Answer: yes, the VS editor can debug JS so you should be cool.
09:06:48 PST
Question: can debug js only in internet explorer Answer: you could use the developer tools in chrome to debug JS too. lots of options.
09:07:20 PST
Question: Q: The Azure 10 free website mentioned, is there any faq link to that for details? Is that general for
everyone or msdn or vs subscribers? Answer: that's in general, for all customers. one second for link...
09:07:47 PST
Question: > Quoted question: Q: The Azure 10 free website mentioned, is there any faq link to that for details? Is that general for everyone or msdn or vs subscribers? > Quoted answer: that's in general, for all customers. one second for link... Answer: here's the link: http://www.windowsazure.com/en-us/develop/net/aspnet/?WT.mc_id=A5A71FF5F
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 25 of 84 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:08:16 PST
Question: Bob Kerr are you on? Answer: Sharing.
09:08:21 PST
Question: I was wondering. I have am trying for some time now to get this to work. var task = new
Task<List<Section>>( * what do i put in here? t => ?? * { return t }); Answer: t => { doSomethingWith(t); }
09:08:27 PST
Question: So when was the Task actually started? At the WhenAll call? Or before? Answer: depends on the underlying API, but usually immediately
09:08:48 PST
Question: I have Web Tools 2012.2 installed in Dec, 2012. Do I need to uninstall it in order to install the newly
release? Are they the same installation? Answer: yes, the new 2012.2 release has newer stuff.
09:09:09 PST
Question: scoot uhehuehuehue!!!
Answer:
09:09:13 PST
Question:
> Quoted question: I was wondering. I have am trying for some time now to get this to work. var task = new Task<List<Section>>( * what do i put in here? t => ?? * { return t }); > Quoted answer: t => { doSomethingWith(t); } Answer: generally speaking, you should never be manually creating a Task using its constructor. Call Task returning
APIs or use the Task.Factory methods
09:09:14 PST
Question: SCOTT!!!!
Answer:
09:09:21 PST
Question: Hi Scott, sounds like you are still struggling with your voice. Thanks for making the efforts to present. Answer: Sharing.
09:09:34 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 26 of 84 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.
Question: WOW cool, I didn't knew there was a free option of websites for Azure. Thanks Answer: absolutely!
09:10:20 PST
Question: What's the MVA voucher code again? Answer: ASPWebAppsJS
09:10:22 PST
Question: Based on the page lifecycle (preinit,page_ load etc) is it possible to asynchronously load large amounts of
content such as tables or would something like SignalR need to be used to pass the content as it appears? Answer: I'm not sure I understand that question
09:10:36 PST
Question: Based on the page lifecycle (preinit,page_ load etc) is it possible to asynchronously load large amounts of
content such as tables or would something like SignalR need to be used to pass the content as it appears? Answer: yes you could do that in a background or async task, then pull that over using SignalR
09:10:52 PST
Question: Guys, couldyou please update the links for presentation slides? Answer: Please refresh your browser then check the FAQ tab.... Link to slides should be good.
09:11:04 PST
Question: Is the free Azure website's 20MB SQL server free forever? Answer: that is my understanding. if you exceed that, though, you'll need to pay for the additional space you use in
SQL
09:12:11 PST
Question: I am new to MVC Answer: this should clear up some stuff for you.
09:13:03 PST
Question: Does Microsoft see Entity Framework as being the future? It seems like there is a lot of training for it but i
don't see it in demand in the job market? Answer: we hear of a lot of customers using it. especially on windows azure web sites, as the database-scaffolding components make life very easy.
09:13:24 PST
Question: Long live ASP .Net Answer: Nice!
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 27 of 84 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:14:46 PST
Question: So the Asynch feature with ASP.Net is similar to how Node.js provide? The thread can serve new request
while Page_Load is executing asynchronously? Answer: it is similar in the sense that async and node.js are both non-blocking methods of coding your "stuff" but
syntactically they're variant.
09:15:42 PST
Question: Love Page Inspector Answer: Sharing.
09:16:07 PST
Question: @Frank, Can you show us the updated poll results?? Answer: Just shared results. If you haven't voted, please do so now.
09:16:22 PST
Question: That's awesome! Love the changes in CSS Answer: Sharing.
09:16:44 PST
Question: Page Inspector is amazingly cool Answer: Sharing.
09:16:57 PST
Question: That is a fabulous feature. Wow. Just wow. Answer: Sharing.
09:17:44 PST
Question: Shouldn't Async be intrinsically connected to Parallel? As in, shouldn't everything Async ran in a different
thread? Answer: async simply means it doesn't block the caller. The actual work going on may be on another thread, or
waiting for the result of a network call, in which case there is no thread being used until it comes back
09:18:10 PST
Question: how much have i missed so far? Answer: just the introduction session
09:18:18 PST
Question: In Intranet Application, do we manage users using AD? Answer: correct
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 28 of 84 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:19:40 PST
Question: how does this work when you dont have an internet connection and adding the template? Answer: it doesn't go out to NuGet at that point, the packages are pre-installed on your HDD
09:20:09 PST
Question: thanks always love to see training material by scott Answer: Sharing.
09:20:10 PST
Question: What is the extension that provides the box and color picker in for colors in .css files? I've installed 2012.2
but still don't have that awesome feature. Answer: it's in VS2012, be sure to type '#' after the CSS property name to invoke the picker
09:20:38 PST
Question: Are there any plans in the works to add Conditional Dataannotations to MVC, such as RequiredIf? Answer: interesting idea, would love to see a fuller example. Log it at uservoice? You could write one yourself right
now
09:20:45 PST
Question: hey Brady should've known you'd be in here.. hehe Answer: Sharing...
09:21:39 PST
Question: I cant find Internet application in Express Edition. Is it not available there? Answer: it certainly should be there, once you've selected MVC Application
09:22:23 PST
Question: Damian do you have a link? Answer: http://aspnet.uservoice.com/forums/41199-general-asp-net
09:22:50 PST
Question: When I download a template that has nuget dependencies will it also download the nuget dependencies
on my machine ? Answer: it all depends on how the template is authored. The ones we ship in VS do pre-install the nuget packages
they depend on
09:23:04 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 29 of 84 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.
Question: Is the source code available like with the html5 jumpstart? (codeshow) Answer: Much of it is available on DevCamps.... Try this http://www.devcamps.ms/
09:23:07 PST
Question: how can a new beginner get to learn about mvc and asp.net Answer: http://www.asp.net/mvc
09:23:39 PST
Question: what is viewbag ???? Answer: it's a dynamic bag for sending data from the controller to the view without a strongly typed model
09:23:42 PST
Question: Batman uses SignalR to stop crime. he interfaces with the city of Gotham to get realtime updates and
beats police to the crime scene to stop baddies Answer: Think Damian will love this.
09:23:52 PST
Question: Nope. I have VS2012 with the .2 update. Colors in my .css files do not have the small preview color box to
the left of the color code like the demos just showed. Answer: ahh the preview, sorry, that's in Web Essentials
09:24:47 PST
Question: Is there any url parameter to Entity, converter? let's say ClassID=1.... find Class.Id==1 and return the
entity Answer: not that I've seen, that code usually would go in your action method which accepts the entity ID as a
parameter
09:25:34 PST
Question: is there any improvments for browser compatiblity? like i see your using google chrome, but do we still
have to test and modify HTML to work with other browsers such is IE, Mozilla etc? Answer: The templates out of the box work cross browser. After that, cross-browser concerns will be dependent on
the HTML/CSS that you add yourself
09:25:40 PST
Question: Will we get the code projects along with the recordings? Answer: Please check here: http://www.devcamps.ms/
09:25:50 PST
Question: The Web Essentials was on NuGet, correct? Answer: It's in the Visual Studio Extension Gallery
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 30 of 84 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:26:44 PST
Question: Will the examples used available as well? Answer: Try this http://www.devcamps.ms/
09:27:19 PST
Question: if it looks for an .aspx file first, it this how to easily integrate some legacy web forms application pages? Answer: no, not really. Existing Web Forms pages will not render correctly when inside the ASPX MVC view engine
09:28:05 PST
Question: When you use Model Binding in WebForms does this reduce any ViewState? Answer: no, they're not really related to each other. We recommend turning off view state using the ViewStateMode
property and then only re-enabling it on controls that you determine require it to function
09:29:18 PST
Question: This is probably too much but would be nice have some kind of a template thats a website and coverts to
work for mobile app, does Microsoft has any plans on implmenting such technique? Answer: the default templates display well on mobile devices now, and we have optional packages to help building
mobile specific pages/apps using jQuery Mobile
09:29:34 PST
Question: Wow cool. So then Model Binding in webforms doesn't need Viewstate? Answer: on its own, no. It's the controls that use ViewState
09:30:03 PST
Question: will it help in preparation for 070-480 exam Answer: This course is more related to exam 70-486 (but not really mapped to those objectives because Scott and
Jon are covering features that are newer than what's on that exam). Check out this Jump Start on MVA (http://www.microsoftvirtualacademy.com/tracks/developing-html5-apps-jump-start) for preparation for 70-480.
09:30:10 PST
Question: sounds like VS is using T4 for scafolding. Does this mean I can add new ones as well ? Answer: it's possible, but not easy today. We're working on a new Scaffolding system that will make this much
easier. Preview was released on Monday this week.
09:30:31 PST
Question: does the model = data ? Answer: generally speaking, yes
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 31 of 84 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:30:44 PST
Question: how does it know that id is primary key? Answer: convention by default, but you can specify it manually too
09:31:18 PST
Question: \hello from Kurdistan Answer: Welcome!
09:31:27 PST
Question: Scott makes things simple to understand.... Answer: Agreed!
09:31:34 PST
Question: how can i get started with ASP.NET Answer: http://www.asp.net/get-started
09:31:56 PST
Question: Thank you Damian for your answer, i think what im asking is like take a webform and figures out what in
there and convert it to compatible to work for mobile app, i dont have do re-write my existing application to work for mobile app., not sure if im explaining it correctly but i hope you got the idea Answer: ah I see. No we don't have any auto-conversion tools like that.
09:32:18 PST
Question: So how does one remove aspx/ascx from the view search? Did they go over that? Answer: you have to remove it from the view engines list via code during app start
09:32:46 PST
Question: Long LIVE MVC, I LOVE IT!
Answer:
09:34:11 PST
Question: How to start learn WebForms for 4.5 (not MVC) for friendly urls? Answer: there isn't a lot of documentation for Friendly URLs right now as we only released it this week, but there are
some blog posts about it, just search
09:34:41 PST
Question: does web essential compatible with earlier vs? Answer: No, VS2012 only
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 32 of 84 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:36:21 PST
Question: So it is best recommended to have View Models instead of just the model classes by itself?
Answer: many would say "yes", I'm not going to tell you that you have to though Best to know it's an option and
what the advantages are
09:37:10 PST
Question: Very cool chat module Answer: Thanks!
09:37:11 PST
Question: can i bind the model also to dynamic object? either IEnumerable<dynamic> or the dynamic object itself
being IEnumerable. I guess i will loose intellisense? Answer: you can do that, yes. But of course you'll lose IntelliSense on anything dynamic
09:37:51 PST
Question: Do you recommend the approach View and ViewModel layer? With AutoMapper and dataannotations for
example! Answer: there are certainly advantages to that approach, but we tend not to force that model on people, do what
makes you happy
09:38:46 PST
Question: can one mix webforms and mvc in one application? Answer: Yes, absolutely. Today, it's not particularly easy from a tooling perspective, but we're working to make it
simpler. Hanselman has some posts on that you can look at.
09:43:00 PST
Question: Where do we get the code for this? Is it available here?http://www.devcamps.ms/web/downloads Answer: You bet.
09:45:10 PST
Question: When using the ViewModel approach, do you put DataAnnotations on your ViewModel for unobtrusive
validation or on your Model? For example: [Required] Answer: the validation features will require the attributes on your view model in that case
09:47:01 PST
Question: Good stuff, this is awesome Answer: Glad you love it.
09:51:11 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 33 of 84 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.
Question: Thanks to Scott for cowboying up! He's obviously having issues with his voice. I hope doing this session
doesn't cause him further health issues. His effort is much appreciated. Answer: Sharing....
09:52:29 PST
Question: Hitting azurewebsites.com takes me to Bing results. Are we sure that's the right domain/url? Answer: the root domain doesn't have a website, only sub-domains that customers have created
09:52:49 PST
Question: This is awesome.. I'm new to MVC and now I'm thinking of developing some of my projects in MVC. This
is great.. Answer: Thanks for sharing!
09:53:30 PST
Question: learning a lot from the links posted here in chat Answer: Glad to hear it! Damian and Brady are fantastic.
09:54:05 PST
Question: bless u Mr scott Answer: Nice.
09:55:20 PST
Question: Can you assign a domain name to a free windows azure website rather than the *.azurewebsites.net? Answer: No, you need to pay if you'd like to configure a custom domain
09:55:25 PST
Question: nvm found answer in FAQ Answer: Nice!
09:55:51 PST
Question: http://pleasescottdontdie.azurewebsites.net/
Answer:
09:55:56 PST
Question: http://pleasescottdontdie.azurewebsites.net/
Answer:
09:56:19 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 34 of 84 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.
Question: I am VERY new to ASP.Net but still I am getting a lot from this. Thank you. Answer: Thanks for saying so!
09:57:58 PST
Question: haha.. scott's look was funny :p Answer: Agreed!
09:59:38 PST
Question: it's Alive!!!! pleasedatabasepleaseexist.azurewebsites.net
Answer:
10:14:07 PST
Question: i'm back! Answer: Hey, Brady!
10:14:46 PST
Question: Name of the game please! Answer: contrejour.ie
10:15:02 PST
Question: Name of the game please! Answer: Contre Jour http://www.contrejour.ie/
10:16:57 PST
Question: Hey please teach us some guidance of how to make a responsive design easy and fast! Answer: the CSS that's in the template is a GREAT place to get started. search for the @media string and you'll see
some awesome examples.
10:17:18 PST
Question: Jon Galloway, no need to defend yourself, your presentation was simply awesome. A big congrat! Answer: his presos usually are dag-gum awesome
10:19:10 PST
Question: I think the cough medicine is getting to Scott Answer: who says he's taking cough medicine?
10:21:22 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 35 of 84 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.
Question: Jon Galloway grew a beard????? Answer: he did miss a few shaving sessions this week during MVP summit but I THINK that's Damian you're seeing
up there now.
10:22:17 PST
Question: Is there also a css query to check if the browser is set in full screen ? Answer: Remco, Sort of. I only know of one that works on iOS. It looks like this: @media only screen and (height :
320px) and (orientation : landscape)
10:22:50 PST
Question: Jon, question about migrations in EF: is it ever to late to "turn on" migrations? I've got my model with code
first developed with changes over time without having migrations "turned on", such that it's almost to its final state now Answer: You can turn them on later, but your first migration is based on the point they were turned on - so it's the
furthest you can roll back to.
10:26:29 PST
Question: HTML5.1 is already on its way Spec updated
today: http://www.w3.org/html/wg/drafts/html/master/Overview.html Answer: Great info! Thanks for sharing, Tim!
10:26:37 PST
Question: Found a nice article about using the Fullscreen JavaScript API. http://johndyer.name/native-fullscreen-
javascript-api-plus-jquery-plugin/ It will give me some way to progromaticly set the css using javascript.. for iOS nice awnser Scott.. thx Answer: Ah, yeah. Using the window.fullscreen API? Yup. Glad I could help.
10:27:46 PST
Question: I'm taking the 70-480 cert exam tomorrow. Stoked about this discussion on HTML5. Answer: Nice! Best of luck! Check out the HTML5 Jump Start recording on MVA, too!
10:28:30 PST
Question: Is there a migration coded up somewhere that has the Simple Membership stuff? It would be nice to have
a from scratch migration to build up membership as well without the magic of the 'web app just creates those'. Answer: I don't know, that's a great question. I'll ask.
10:29:16 PST
Question: does modernizr support canvas for ie6 ? Answer: No, but you can use modernizr to show another element or use a shim.
10:29:39 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 36 of 84 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.
Question: what laptop scott is using? Model thx Answer: he has been a long-time fan of the Lenovo 520. I think he just adopted a new ultrabook. he's blogged about
it quite a bit recently.
10:29:52 PST
Question: > Quoted question: Is there a migration coded up somewhere that has the Simple Membership stuff? It would be nice to have a from scratch migration to build up membership as well without the magic of the 'web app just creates those'. > Quoted answer: I don't know, that's a great question. I'll ask. Answer: Something like this? http://blog.spontaneouspublicity.com/including-asp-net-simple-membership-tables-as-
part-of-your-entity-framework-model
10:30:01 PST
Question: Is it possible to specify that a specific property should be created as char(4) in the database instead of
nvarchar(4) when using the EF Code First approach? Answer: yes, you can customize any of the column constraints in your migration code
10:30:25 PST
Question: > Quoted question: what laptop scott is using? > Quoted answer: he has been a long-time fan of the Lenovo 520. I think he just adopted a new ultrabook. he's
blogged about it quite a bit recently. Answer: I've got a Lenovo W520 too. Scott just ordered a Carbon X1.
10:30:33 PST
Question: If I design my website with HTML5 what will happen to the users using old browsers? Answer: the traditional guidance is that you should mix in modernizr to support older browsers
10:30:34 PST
Question: Hmmm, Where's Jon?
Answer: He's sitting right next to me... He'll be back next hour.
10:30:38 PST
Question: > Quoted question: what laptop scott is using? > Quoted answer: he has been a long-time fan of the Lenovo 520. I think he just adopted a new ultrabook. he's blogged about it quite a bit recently. Answer: ScottHa ordered the Lenovo X1 Carbon yesterday.
10:31:28 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 37 of 84 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.
Question: > Quoted question: OMG was Jon Galloway fired!?!? Frank Gartland replied privately: LOL
Answer: Well, it was a good run...
10:32:44 PST
Question: @Brady Gaster: Can it be done using DataAnnotations? Answer: negative (to my knowledge). DataAnnotations are more for validation than scaffolding
10:33:24 PST
Question: what happens to custom tags if you have a Class attribute on them and you use jQuery to go against tags
with that class?will jquery catch it even if the browser doesn't understand the tag? Answer: I've not tried that in some time, but when I DID, jQuery caught the custom elements.
10:33:28 PST
Question: I'm planning to take 70-480 soon. Answer: be sure to check out the HTML5 courses on MVA. Great prep for 70-480 and 70-481!
10:33:43 PST
Question: what happens to custom tags if you have a Class attribute on them and you use jQuery to go against tags
with that class?will jquery catch it even if the browser doesn't understand the tag? Answer: Great question Michael, my initial thought is it will not.
10:33:56 PST
Question: Big thanks to @Brady Gaster and @Scott Koon for helping out in chat! Ladies and gentlemen, don't forget
to tip your servers. Answer: anything for you, homie. well not ANYTHING but you know... anything LEGAL/Ethical
10:35:52 PST
Question: Scott is always fun to watch Answer: agreed!
10:35:52 PST
Question: Can you modernize IE7 successfully? Answer: Typically I use the Modernizr library. Check it out here http://modernizr.com/
10:36:22 PST
Question: > Quoted question: what happens to custom tags if you have a Class attribute on them and you use jQuery to go against tags with that class?will jquery catch it even if the browser doesn't understand the tag?
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 38 of 84 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.
> Quoted answer: Great question Michael, my initial thought is it will not. Answer: But it did work when I tried it in Chrome using the latest jQuery. http://jsbin.com/ehojoj/1/
10:37:20 PST
Question: is jquer y is advaced version of JavaScript? Answer: jquery is a JS library that drastically simplifies everything in javascript. it's used on something crazy like 45%
of the sites on the net
10:38:12 PST
Question: I do not know a lot of HTML5 where can i master it in MVA? Answer: The HTML5 Rocks site is a great resource. http://www.html5rocks.com/
10:38:13 PST
Question: only 45%? Answer: that number was from years ago. no telling how big it is now. BIG. jquery == good.
10:38:54 PST
Question: will be able to download this later, and when? Answer: Yes, it's all being recorded.
10:39:00 PST
Question: Is it difficult to make a web site responsive?? For example resize images,resize text,hide elements? Or a
more easier solution like Skeleton or Foundation could help us on this? Answer: you can do most of the responsive stuff using CSS. take a look at the @media queries stuff resident in the
default CSS that loads up with MVC and Web Forms projects.
10:39:59 PST
Question: > Quoted question: only 45%? > Quoted answer: that number was from years ago. no telling how big it is now. BIG. jquery == good. Answer: This survey from last June shows it being used on 54% of the top 10,000
sites. http://royal.pingdom.com/2012/06/20/jquery-numbers/
10:40:01 PST
Question: any website to learn jquery Answer: http://docs.jquery.com
10:40:08 PST
Question: any website to learn jquery Answer: api.jquery.com
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 39 of 84 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:20 PST
Question: Don't forget that JQuery will be dropping support for older browsers shortly. Answer: more reason to use modernizr
10:40:22 PST
Question: Is it difficult to make a web site responsive?? For example resize images,resize text,hide elements? Or a
more easier solution like Skeleton or Foundation could help us on this? Answer: A few frameworks to help include http://twitter.github.com/bootstrap/ and http://foundation.zurb.com/
10:41:13 PST
Question: People to follow if you're interested in responsive design: Tim Kadlec, Brad Frost, Ethan Marcott, Matt
Marquis Answer: sharing
10:41:23 PST
Question: I hope there's room here to mention knockout.js for more advanced/responsive interfaces, not a lot of
people know about it, and it's incredible to work with in conjunction with jquery Answer: 100% agree
10:43:47 PST
Question: There is a lot of good stuff in the Q&As - will a transcript be available after the event?
Answer: In the FAQ, it states YES!
10:43:57 PST
Question: How would one use JQuery with Grdiviews and Server controls with webforms Answer: do you want to emulate a datagrid with a jQuery plugin, or rather, use jQuery to "do things" to the rows in a
datagrid-generated HTML island?
10:44:51 PST
Question: Is there anything on publishing the data from the db in an mvc app from your local machine to azure? Answer: that's one of the best features out there. if you're using EF to scaffold your DB, it'll run the scaffolding and
migration stuff to create/modify your database when you publish to Web Sites directly from within VS2010/12
10:45:04 PST
Question: How would one use JQuery with Grdiviews and Server controls with webforms Answer: That's tricky because they rely on ViewState. But you can easily use jQuery to hook up events to the HTML
generated by the GridView or style the GridView.
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 40 of 84 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:45:45 PST
Question: Intellisense!!! is best piece of software ever written
Answer: don't let it make you lazy, though. it does make life a LOT easier!
10:46:06 PST
Question: Jon has Nice Accent Suddenly Answer: nice!
10:46:38 PST
Question: Instedof javaScript can I use Jquery in my VisualStidios Answer: it's not an either/or thing. jQuery IS javascript.
10:46:47 PST
Question: > Quoted question: Is there anything on publishing the data from the db in an mvc app from your local machine to azure? > Quoted answer: that's one of the best features out there. if you're using EF to scaffold your DB, it'll run the scaffolding and migration stuff to create/modify your database when you publish to Web Sites directly from within VS2010/12 Answer: Yep! I like this tutorial: http://www.windowsazure.com/en-us/develop/net/tutorials/web-site-with-sql-
database/
10:47:35 PST
Question: What's the URL for prior Jump Start recordings? Answer: you can find them all at bottom of this page on MVA: http:\link\liveevents.aspx
10:47:43 PST
Question: I'm jumping ahead. When using ODATA with an ASP.NET web.api, at what point in the ODATA syntax
executed to filter, etc… the data? On the DB server, webserver? I hope you understand what I’m asking. Answer: on the web server. we just recorded 2 web camps TV episodes about Web API and
OData. http://channel9.msdn.com/Shows/Web+Camps+TV/ASPNET-Web-API-Queryable-with-OData andhttp://channel9.msdn.com/Shows/Web+Camps+TV/Second-Lap-Around-ASPNET-Web-API-and-OData
10:48:31 PST
Question: what do you recommend to replace a gridview with that uses an updatepanel and a timer to refresh on a
webform? some jquery table that uses the webapi? Answer: yes, OR a jQuery datagrid plugin with SignalR updating the GUI in real-time. either would be
awesomesauce.
10:49:35 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 41 of 84 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.
Question: Well thanks! Simply amazing stuff! Cant wait top watch the rest but when will it be available? I have to go
to work
Answer: work, shmork. call in sick and stay with us.
10:49:58 PST
Question:
> Quoted question: what do you recommend to replace a gridview with that uses an updatepanel and a timer to refresh on a webform? some jquery table that uses the webapi? > Quoted answer: yes, OR a jQuery datagrid plugin with SignalR updating the GUI in real-time. either would be awesomesauce. Answer: I've used SlickGrid with a lot of success. Just pass in the JSON returned by WebAPI to
SlickGrid. https://github.com/mleibman/SlickGrid
10:51:10 PST
Question: Why is the jquery bundle not in the html head by default? Answer: in the templates, jQuery IS in the master page by default, but not jQuery UI
10:52:09 PST
Question: sorry to post again, I don't know if it worked. My question is about XSLT. is it supported in MVC... and is it
suggested? Answer: .NET supports XSLT, so yes, it is supported in MVC. there's no "XsltXmlResult" class per se', but that's not
to say it couldn't be created as a custom ActionResult type.
10:53:00 PST
Question: 70 years old and retired after 47 years of DB and software development. Still learning - Thanks for the
session. Answer: This is just awesome. Love hearing this -- thanks for sharing!
10:53:09 PST
Question: you wouldnt want to load jQueryUI by default defeating the purpose of bundles? Answer: that'd be an assumption we'd make that some wouldn't like. not everyone uses jQuery UI. there's a good
amount of JS/CSS that's required by it, so we don't bring that in by default (people would end up needing to remove it, so we assume least common denominator)
10:53:49 PST
Question: Awsome! Hats off to you guys.How long does it take to prepare for this kind of presentation?
Answer: it depends on how many meetings we have prior to putting on said presentation. sometimes half an
hour, sometimes a month.
10:53:54 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 42 of 84 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.
Question: javascript, since it is downloaded synchronously, belongs at the bottom of the page for performance
reasons. Answer: Great Point Jeffery, or it can be loaded dynamically or using the async or deferred attribute in HTML5
10:54:24 PST
Question: Should personal blog be a single page application? Answer: it could be. may be difficult to do with all the various admin pieces. but it would be awesome. translation - go
build it!
10:55:09 PST
Question: Where from can I get the bundle code Answer: look in App_Start/BundleConfig.cs. it has a list of all the bundles. you can then bring those bundles in the
same way we do by default with the jQuery bundle.
10:55:37 PST
Question: Do you know if datepicker (Html5) support date-range ? Answer: I don't believe that it does. it's "just" a date.
10:55:58 PST
Question: SEO concerns with content being pure SPA? Answer: Without a doubt. There are techniques to get around it, like page indexing (phantomjs, etc..)
10:56:30 PST
Question: As a general rule of thumb what kind of apps would be good as an SPA? Answer: there's no hard-and-fast "rule" with it, but usually the idea is, if you want the site to be uber-fast and have a
few views OR you can compartmentalize those views, SPA would be a good approach
10:56:36 PST
Question: HTML5 -- Does anyone know where we're at on getting at the camera from HTML5/web app on a phone?
Really, really wanting that. Answer: PhoneGap provides access to the camera for building a WebView application for mobile
phones http://docs.phonegap.com/en/2.4.0/cordova_camera_camera.md.html#Camera
10:57:21 PST
Question: how would you do the datepicker like Opera has in the other browsers? One that breaks out the time. Answer: Use <input type='time'/>
10:59:05 PST
Question: is bundle code applicable other than mvc projects Answer: yes, bundling works across the stack
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 43 of 84 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:59:41 PST
Question: For SPA, is there a rule of thumb regarding the size of the applications. Are there best practice
recommendations when used within large LOB applications? Answer: that is a strong use-case for SPA, but it's not a hard-and-fast rule.
10:59:42 PST
Question: How to bookmark page navigated deep inside a SPA that doesn't change URL?
Answer: In the past, we've changed the hash in the URL to provide deep navigation in single page
apps. http://stackoverflow.com/questions/9252770/how-to-implement-a-hash-key-navigation
11:00:05 PST
Question: Subhabrata Bose posted: > Quoted answer: yes, bundling works across the stack Answer: This is a good blog post about how to do bundling in
WebForms http://blogs.msdn.com/b/rickandy/archive/2012/08/14/adding-bundling-and-minification-to-web-forms.aspx
11:00:35 PST
Question: how to find this bundle code in case of website project? Answer: This is a good blog post about using bundling in
WebForms http://blogs.msdn.com/b/rickandy/archive/2012/08/14/adding-bundling-and-minification-to-web-forms.aspx
11:00:52 PST
Question: > Quoted question: How to bookmark page navigated deep inside a SPA that doesn't change URL? > Quoted answer: In the past, we've changed the hash in the URL to provide deep navigation in single page
apps. http://stackoverflow.com/questions/9252770/how-to-implement-a-hash-key-navigation
Answer: That should read hash "#" not show a little sun there.
11:03:15 PST
Question: Oooh man those are a lot of frameworks and technologies to learn today with web development.Is there
any simplre guidance on creating a coool wen development these days with ASP.NET? Answer: At the risk of sounding like a cheerleader, the asp.net - Getting Started site provides a great jumping off
point. http://www.asp.net/get-started
11:04:41 PST
Question: are we in the break now? Answer: yes, we'll be back in 9mins
11:07:18 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 44 of 84 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.
Question: What was the name of that website that you could use to test with different browsers that
ScotBrowserStack t just showed? Answer: BrowserStack http://www.browserstack.com/
11:08:22 PST
Question: when they are going to cover SignalR Answer: VERY soon (yet not soon enough for those of us who are addicted)
11:08:45 PST
Question: windows needs a good front-end framework like yeoman. or we wait till yeoman works easily forwindows Answer: Yeoman is nice, but it's just bundling up different Node packages. Most of the workflow is just scripts that tie
things together & provide the Rails experience.
11:12:55 PST
Question: When is Visual Studio 2012.2 being released? Answer: Do you mean Update 2 Mark? I believe it was released last week?
11:13:35 PST
Question: > Quoted question: When is Visual Studio 2012.2 being released? > Quoted answer: Do you mean Update 2 Mark? I believe it was released last week? Answer: Here is the link announcing it. http://blogs.msdn.com/b/bharry/archive/2013/01/30/announcing-visual-studio-
2012-update-2-vs2012-2.aspx
11:15:18 PST
Question: in VS 2012, will there be intellisense for html annotations such as <div data-role=""> ?? Answer: For Knockout.JS and Angular and such? I think the authors can add in their specific data- attributes to VS
intellisense.
11:15:35 PST
Question: @Scott thanks for keeping it going eventhough you might not be feeling your best Answer: Sharing! Thanks Scott!
11:15:38 PST
Question: I actually now ASP.NET MVC but the thing is that when I will start a new ASP.NET MVC proyect,how can
I make a decision of what Javascript Front End frameworks to use,should I use LESS? Should I use Bootstrap? SignalR? HTML5? CoffeeScript? How do I know if that technologies will help me on my development if they are almost new? Answer: jQuery isn't "very" new. each provides a different piece of the puzzle. if you don't need real-time, you
probably don't need signalr. etc...
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 45 of 84 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:15:46 PST
Question: Awesome people getting announced in the show, congrats Answer: Thanks Ramon!
11:15:51 PST
Question: Cool!
Answer:
11:16:04 PST
Question: Where is this going to be downloadable after it's all over? Answer: Late next week on MVA.
11:18:11 PST
Question: @Scott thanks for keeping it going eventhough you might not be feeling your best Answer: Sharing!
11:18:18 PST
Question: Is Web API a replacement for WCF? Answer: no, it's designed specifically for building HTTP-based services, WCF is everything WS-*
11:19:05 PST
Question: regarding teh data-role="" , I meant when using jQueryMobile -- how can I add the annotations for that or
are there some already available to add to intellisense? Answer: there is currently no intellisense specific to jQuery Mobile, so you'd need to know those attributes or have a
reference for them handy.
11:19:06 PST
Question: Will there be any greater performance improvements for asp.net webforms with visual studio 2012? Answer: what type of performance are you referring to?
11:19:23 PST
Question: What were those great HTML clases he listed? Answer: Two GREAT courses on HTML5 are available for free on MVA. They are recorded Jump Starts that prepare
for exams 70-480 and 70-481, respectively. Check them out here: http://www.microsoftvirtualacademy.com/Studies/SearchResult.aspx?q=html5
11:19:41 PST
Question: What are the advantages of HTTP-based services over WCF? Answer: portability would be the main one. basically everyone speaks HTTP, but WCF can run on other protocols.
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 46 of 84 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:19:58 PST
Question: <script>alert('Scott is great person');</script> Answer: Nice!
11:20:50 PST
Question: Is it best to use Web Apis on the service layer instead of WCF? Answer: it just depends on the clients you're targeting.
11:21:17 PST
Question: is there build-in support for json in wep api Answer: yes it's baked right in.
11:21:17 PST
Question: is there build-in support for json in wep api Answer: Yes, it uses JSON.NET library
11:21:42 PST
Question: How do we define a web GET api which takes a complex object such as search criteria? Answer: Model Binding works similarly to MVC
11:21:58 PST
Question: Is ODATA part of WebApi? Will they discuss diffs? If not, good article? Answer: here are two videos from Channel 9 on Web API and
OData: http://channel9.msdn.com/Shows/Web+Camps+TV/Second-Lap-Around-ASPNET-Web-API-and-OData http://channel9.msdn.com/Shows/Web+Camps+TV/ASPNET-Web-API-Queryable-with-OData
11:22:13 PST
Question: How would I use WEB API using non crud operations? Or in other words, GetRecordByName(string
value) or GetRecordByEmail(string value) and so on… Answer: you can use Web API for that RPC style of services, but it really shines when you re-think your API service
according to REST-like principles, where things are resources that you make requests to
11:22:17 PST
Question: Does this mean that we can use web api on an already existing mvc application Answer: yes, that's correct. it's part of the stack so it's right there for you.
11:22:21 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 47 of 84 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.
Question: Does this mean that we can use web api on an already existing mvc application Answer: yes
11:22:49 PST
Question: i mean, add api to mvc Answer: Yes, although the use different dependency resolvers.
11:23:12 PST
Question: What are security concerns/considerations with web_api? Answer: the same as any HTTP exposed service or page. It's answering HTTP requests so the fundamentals don't
change
11:23:28 PST
Question: What are security concerns/considerations with web_api? Answer: what exactly are your concerns? you can run it atop SSL. it also supports all of the typical ASPX
authentication/authorization paradigms
11:23:58 PST
Question: Is web.api simply a cut down mvc template? Cause could you not achieve the same with MVC controllers? Answer: it's a completely new framework built from the ground up. You can do HTTP services with MVC, but it's not
optimized for it.
11:24:12 PST
Question: Is web.api simply a cut down mvc template? Cause could you not achieve the same with MVC controllers? Answer: Not, but down. But yes. WebAPI includes content negotiation and some other features thought.
11:24:21 PST
Question: Is web.api simply a cut down mvc template? Cause could you not achieve the same with MVC controllers? Answer: not exactly. you could return a JSONResult using "normal" MVC, but that'd require a route be there. Web
API has methods like Get, Post, and Put, that correspond directly to HTTP methods, giving it a more RESTful syntax and flavor
11:24:53 PST
Question: Whats the easiest tool for testing Web API? Answer: I'd recommend either Fiddler or Chrome/FireFox/IE dev tools.
11:24:58 PST
Question: Can you frontend WorkFlows with web api? Answer: yes
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 48 of 84 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:25:29 PST
Question: Hi, can you post the Q&A Link of this? Answer: We will send the Q&A Log to everyone in the thank you email.....
11:25:49 PST
Question: Work help pages also in self hosted ASP.NET Web API projects? Answer: As far as I know, yes. With a little work. http://blogs.msdn.com/b/yaohuang1/archive/2012/12/20/making-
asp-net-web-api-help-page-work-on-self-hosted-services.aspx
11:26:08 PST
Question: Is WebAPI faster in performance then restful WCF Services when builing restful web services? Answer: not necessarily, but that's not an argument for/against either.
11:26:41 PST
Question: where can I find samples that mixes webform(ASPX), mvc (Razor views), webapi, SPA, etc all in a
project? Answer: take a look at the NuGet package John Papa put out called HotTowel. it is a great starting point
11:27:48 PST
Question: WebAPI = Rest? Answer: Web API makes RESTful coding somewhat easier, and borrows from some of the REST ideas.
11:28:44 PST
Question: > Quoted question: I was already familiar with some of the concepts of Web API but this is giving me a much better understanding and loving it. Scott Koon replied privately: It took me 3 days to get a WCF service up and running, it took me 7 minutes to get WebAPI up and running. Answer: +1. it took me days to get JSON-outputting WCF services set up. milliseconds to do it with Web API.
11:29:01 PST
Question: For a brand new MVC project, then would you recommend completely using WebAPI as the "database
layer"? Is that the recommended approach? Answer: It depends on your needs. I wouldn't unless I needed to consume the WebAPI from different clients (e.g.
non-web)
11:29:21 PST
Question: any resources for multi-spa app development?. for example SPA 'page' for Customer management,
another SPA 'page' for Orders, etc... Answer: take a look at the HotTowel NuGet package. might give you some ideas.
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 49 of 84 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:29:24 PST
Question: You guys @MS Jon, Scott, Damian type fairly fast are you guys using dvorak layout? or you guys just la
crème-de-la-crème typist at MS
Answer: standard layout, I learnt to type using IRC in my teens
11:30:02 PST
Question: How do i get the browser to show the Web services results or the way jon just did it ?, Answer: F12, click the network tab, enable monitoring, hit f5, and you'll be able to click each request to see the raw
request/response streams.
11:30:35 PST
Question:
> Quoted question: You guys @MS Jon, Scott, Damian type fairly fast are you guys using dvorak layout? or you guys just la crème-de-la-crème > Quoted answer: standard layout, I learnt to type using IRC in my teens Answer: Damian is a beast. he's the only guy I've met who can talk and code at top speed without erroring on either
front.
11:30:59 PST
Question:
> Quoted question: Ramon > Quoted question: You guys @MS Jon, Scott, Damian type fairly fast are you guys using dvorak layout? or you guys just la crème-de-la-crème > Quoted answer: standard layout, > Quoted answer: Damian is a beast. he's the only guy I've met who can talk and code at top speed without erroring on either front. Answer: Him and Steve Sanderson.
11:31:30 PST
Question: How can we accommodate SEO while using knockout and webapi? Since everything is loaded via
javascript won't that be really bad for search engine crawlers? Answer: You wouldn't need to apply SEO conventions on an API. since there's no (or very little) semantic HTML in
an API, it's sort of apples and oranges.
11:31:34 PST
Question: chrome/Firefox u can use Firebug https://addons.mozilla.org/fr/firefox/addon/firebug/ Answer: Yup, Chrome dev tools are my current choice.
11:31:43 PST
Question: How does a jQuery ajax calls a web API(Get) which requires a complex object parameter? Is it doable? Answer: Yes, just send up JSON, Web API will try to turn it into the object type
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 50 of 84 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:32:04 PST
Question: How does a jQuery ajax calls a web API(Get) which requires a complex object parameter? Is it doable? Answer: Yes, just serialize a JavaScript object to JSON and send it to the controller Action.
11:32:08 PST
Question: what is odata Answer: an open standard of presenting data in a queryable manner. see here: http://www.odata.org/
11:32:33 PST
Question: How does ASP.NET MVC + WebAPI compare to, say... ASP Web + AJAX + WCF REST Service? Answer: the former has a much shorter development and configuration story.
11:32:47 PST
Question: How does ASP.NET MVC + WebAPI compare to, say... ASP Web + AJAX + WCF REST Service? Answer: Both still require the Ajax component. It really depends on the requirements for the service.
11:33:06 PST
Question: Ferry: I'm having challenges testing POST and PUT methods on Web API, any suggestions on how to do
that without writing my own web client? (new to fiddler) Answer: fiddler is the best thing for that. you'd have to manually enter in a JSON representation of the serialized
object you want to post up to the server.
11:34:09 PST
Question: > Quoted question: if I recall well I heard the Hack guy Phill on stage with Scott saying like let me switch to dvorak Scott Koon replied privately: Yes, but Phil is a strange man. Answer: HA!
11:34:51 PST
Question: how can one get the odata params in the action? Answer: here is a pair of shows on Web Camps TV that might clarify some stuff for
you: http://channel9.msdn.com/Shows/Web+Camps+TV/ASPNET-Web-API-Queryable-with-OData and http://channel9.msdn.com/Shows/Web+Camps+TV/Second-Lap-Around-ASPNET-Web-API-and-OData
11:35:26 PST
Question: love this site http://scottwillpullthrough.azurewebsites.net/ Answer: oh my!
11:36:08 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 51 of 84 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.
Question: Hi there, I'm Eric. my question is what relation between web api and web services? Answer: generally speaking, web services were about exposing RPC style methods over HTTP for interoperability
using agreed standards like WS-*. Web API is about creating APIs using the built in semantics of HTTP
11:36:40 PST
Question: Thumbs up for the Microsoft coffe cups, you should do some durable and reusable one's just for the sake
of supporting geek's "geek swag" arround the world !
Answer:
11:37:27 PST
Question: For intuitive routing, you can install AttributeRouting https://github.com/mccalltd/AttributeRouting -
especially useful for nested, 'restful' Web API routes! Answer: Sharing....
11:37:35 PST
Question: @scott koon -- I listen to every Herding Code episode. You guys do a good job.. Answer: Thanks! We've got some coming up that we recorded while Jon & K. Scott were in Redmond.
11:37:38 PST
Question: Brady, can't view the video now, but can i get the params? if i can't, this will just work with EF Answer: it'll work with EF. most of the demos in those videos use EF, in fact.
11:38:53 PST
Question: yes, i said it will work with ef but just ef Answer: no, not just EF. I have friends using Web API/OData with NHibernate (and have done so myself)
11:39:34 PST
Question: > Quoted question: yes, > Quoted answer: no, not just EF. I have friends using Web API/OData with NHibernate (and have done so myself) Answer: Our internal services using WebAPI are based on NHibernate.
11:40:32 PST
Question: is Contact class defined in the win8 project or webapi project? Answer: probably in the Web API project, but the client project could have one too and you could use
Newtonsoft.JSON attribtues to map the serialization process
11:41:05 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 52 of 84 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.
Question: ok, and what about no-orm solutions? Answer: You can return standard IEnumerable or POCO from WebAPI Controller Actions. Completely separate from
the DAL.
11:41:06 PST
Question: if authentication and authorization are the key concerns, would WCF be more effective than Web API? Answer: not necessarily.
11:41:47 PST
Question: Hi, if i whanthello if I want to expose data to be consumed by applications for android, ios, web, windows 8
and windows phone should I use WebAPI or WCF Services? Answer: Web API would be simpler and require less configuration and "glue"
11:42:22 PST
Question: I guess in Enterprise world WCF makes more sense than using Web API...right...? Answer: not really. it doesn't have to be an either/or thing.
11:42:24 PST
Question: how about authentication in web api? Answer: Personally, I've only used Windows Auth with WebAPI for Service -> Service and Service -> Application
communication. Worked fine.
11:42:45 PST
Question: I guess in Enterprise world WCF makes more sense than using Web API...right...? Answer: potentially, WCF can be great for "behind the firewall" examples, where you need to support different
transport mechanisms, like binary, named pipes, msmq, etc.
11:43:03 PST
Question: In the Win8 store app demo; do you have to Add Web Reference, which then builds a Contact proxy
class? Answer: no, since Web API doesn't require that level of proxying.
11:43:07 PST
Question: How webAPI fits in...I'm just trying to get a grasp of "where and when" with data. So, is the best approach
for the "database layer" to go EF for the data-layer, and web API for external clients? Answer: That's one option you could take
11:43:52 PST
Question: Scott is always happy he inspires happiness and promotes it as good as he can Answer: Nice comment, thanks Ramon!
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 53 of 84 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:43:56 PST
Question: > Quoted question: What are the benefits in using Web APis instead of Web Services? Frank Gartland replied privately: hey Rene... I think Damian answered this for you already, right? Answer: WCF is more for low-level services. WebAPI provides a better abstraction over HTTP services IMO.
11:43:57 PST
Question: is there a way to authenticate request using web-api? Answer: absolutely, it's just HTTP afterall, the team is working on providing better support and guidance for various
auth mechanisms with Web API
11:44:43 PST
Question: Which options are valid to host an ASP.NET Web API? Does it require IIS? Answer: Web API itself doesn't depend on IIS or even ASP.NET (System.Web) You can host it in a custom EXE or
Windows service for example
11:44:56 PST
Question: Which options are valid to host an ASP.NET Web API? Does it require IIS? Answer: No you can self-host it too. http://www.asp.net/web-api/overview/hosting-aspnet-web-api/self-host-a-web-
api
11:45:55 PST
Question: I like John Papa's web API course on Pluralsight... Answer: Sharing...
11:46:03 PST
Question: Ooohh man those little times that scott hanselman talks are pure wisdom!
Answer:
11:46:29 PST
Question: have a good one, "buen provecho" --in Spanish! Answer: Sharing...
11:46:35 PST
Question: hhhhh it's a amazing scott and funy Answer: Thanks!
11:46:40 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 54 of 84 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.
Question: thanks for the clarification on WCF and WebApi guys... Answer: You bet!
11:47:09 PST
Question: Does anyone know what music is in the background? Answer: This music is custom tunes by our Studio Manager, Jeff Koch, using Digital Juice.
11:47:40 PST
Question: what about cross domain - web api ok? Answer: Yes, you can enable that if you add the appropriate CORS headers
12:02:00 PST
Question: excellent music Answer: Thanks!
12:02:15 PST
Question: Can we have this type of shows weekly? can you imagine @shanselman at full strength, thank you for
your effort sir we appreciated
Answer: Love that idea!
12:02:27 PST
Question: good link for more Scott & Jon and all good things asp.net during the
break... http://channel9.msdn.com/Events/Build/2012/3-028 Answer: Sharing...
12:03:48 PST
Question: you guys are a blessing!! true God sends!!! thanks-a-million!!! Answer: Very nice of you to say so! Glad you're enjoying the content!
12:04:28 PST
Question: where can I download the powerpoint? Answer: FAQ tab.
12:05:00 PST
Question: Nigeria says Hello to everyone attending this training. Answer: Thanks Emmanuel!
12:05:20 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 55 of 84 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.
Question: The presentation still does nothing! Answer: We're on a quick meal break. Starting up again in about 40 mins!
12:12:54 PST
Question: ok, Catch you after break.Have a good Lunch. but at my side its dinner time
Answer:
12:39:38 PST
Question: I forgot all about this - I'm here in the UK - so going by Pacific Standard Time - still another 4 hours to go -
woo-hoo - I think I will go and make a pot o tea Answer: That sounds great!
12:40:10 PST
Question: im exited about the next subject Answer: Lots of GREAT content coming this afternoon. You'll be happy if you stick around!
12:40:26 PST
Question: Scott Hanselman rocks!!!!!!!!!!!!!!!!!!!!!!!!!!
Answer:
12:40:42 PST
Question: earl grey to the resque @tigerhawk Answer: Sharing...
12:40:48 PST
Question: is scott still goggling with tea or having lunch Answer: LOL.
12:41:54 PST
Question: Dinner done, cant wait for the rest of the modules, especially signalR, well done to everyone who
organised this event. A fortnightly session like this would be very useful to stay up to date new tech from MS Answer: We're so blessed to have Damian here for the SignalR session -- I'm thinking you will be blown away with
how cool this afternoon is going to be!
12:43:09 PST
Question: Thanks for Great Show guys Thanks for your jokes Scott and for teaching it even when you are sick Good
night (or noon/morning elsewhere :p ) Answer: Thanks for the feedback! Hope you're able to stay tuned for the second half!
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 56 of 84 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:47:19 PST
Question: i'm lovin it Answer: So glad to hear it!
12:49:13 PST
Question: Scott should wrap scarf around his neck. Will feel immediate relief. Answer: We will share this with him now.
12:59:19 PST
Question: If I am going to implement something like a real-time status update service, then, is using Web-api and
SignalR the best way to go? Answer: SignalR for the real-time piece
13:00:06 PST
Question: Does the Web API suffer from the Single Origin Policy issues or can you actually make calls to separate
domains in a mashup scenario. Answer: you still need to configure you're Web API to play well in a CORS scenario, it doesn't solve anything in that
regard
13:01:27 PST
Question: after I installed the web tool 2012.2, I don't see those new solutions templates in MVC4 selection. Answer: Some of the templates are community provided and must be downloaded separately
from http://www.asp.net/single-page-application/overview/templates
13:02:00 PST
Question: Would you recommend SignalR for actual production sites? Seems to be going through a lot of breaking
changes in the latest versions. Answer: That was all before we released 1.0.0, the others were pre-releases, hence the breaking changes. From
now on, breaking changes should be very minimal
13:03:12 PST
Question: i want to see the jump start about w8 too! great content! Answer: check these out on MVA: http://www.microsoftvirtualacademy.com/Studies/SearchResult.aspx?q=html5
13:05:10 PST
Question: Creating properties for user controls. What the best practice is? Store values in View State or in Control
State? Answer: of those two options, probably control state would be best.
13:07:34 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 57 of 84 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.
Question: What version(s) of Office does the Office Apps that Jon is showing work with? Answer: 2013
13:07:50 PST
Question: ty that's the view I'm seeing but do not see a field where I can apply ASPWebAppsJS.
Answer: Check the FAQ... You need to visit http://aka.ms/MVA-Voucher
13:07:50 PST
Question: he is coding HTML4? Answer: Office Apps are HTML5 and JS
13:08:04 PST
Question: Whoa this is totally new for me and I knew about everything before this. Awesome. Answer: Nice!
13:08:42 PST
Question: Does this work with Office 2010? Answer: no it is only 2013
13:10:05 PST
Question: this is office automation via web? Answer: that's precisely what it is. just not the COM stuff you've grown up with. this is all HTML/JS
13:10:26 PST
Question: Apsolutely amazing! Answer: I love that. it should be a word.
13:10:34 PST
Question: Yeah, Office 2013 & SharePoint 2013 Apps make appdev so much easier for those environments Answer: Agreed!
13:11:53 PST
Question: awesome.... mind blowing with office
Answer:
13:12:01 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 58 of 84 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.
Question: HAHA..mouse...we don't need a stinking mouse.. Answer: Nice!
13:12:17 PST
Question: This is blowing my mind.
Answer:
13:13:10 PST
Question: Really ... how do you keep pace with this ... I didnt know about this either !!! Answer: Nice! Glad you're enjoying it.
13:13:16 PST
Question: when is there going to be a jump start for developing apps for Sharepoint 2013 with vs 2012 ? Answer: there are quite a few samples on devcamps.ms - we have a series of demos in the office camps section
13:13:33 PST
Question: Office 2013 ONLY WINRT buddy! Answer: nope. i'm running it on my desktop now. not just winrt
13:13:57 PST
Question: May have missed it - but how are these apps deployed? Answer: you can deploy them into the Office Apps store, OR you can self-host them and load them from your own
server or from Windows Azure Web Sites.
13:14:39 PST
Question: How did you put web page in excel? Answer: the office 2013 developer tools
13:15:08 PST
Question: What happens if the user is offline, like in an airplane? How would this typically be handled? Answer: if you can't reach the server the app won't work.
13:16:03 PST
Question: Is it possible to develop against office web apps in 365 Answer: absolutely!
13:16:21 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 59 of 84 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.
Question: so the app will not load at all? Will the user get an error messsage? Answer: no access to server, no access to app.
13:16:33 PST
Question: Wow - I can see sooooo many uses for this Answer: ditto! good stuff, no?
13:18:23 PST
Question: Re: Tim McCarthy's question - can you query for server availability before rendering HTML portion? Answer: the hosted pane does that. it just won't be able to reach the app and will display a friendly message to the
user
13:18:51 PST
Question: Does Microsoft go through some security concerns when a developer deploy to the Store? Or is it up to
you when using an app from the Store? Answer: yes, we will, but you can also self-host them, so one would need to be careful. they're also SSL-required so
that's good.
13:19:48 PST
Question: There are Office 2013 and SharePoint 2013 DevCamps out...one in Chicago around the end of may!
Already registered for that one Answer: Sharing!
13:21:12 PST
Question: Is there any online documentation for what he just demo'd with office/excel? Answer: yes quite a bit - dev.office.com and the office camps site has tons: http://www.devcamps.ms/office
13:21:28 PST
Question: So, these apps can be hosted in Azure, and sold in the Office App store, and Office 2013 users will now
be using your own app within their version of Excel, Word, etc? Answer: that is exactly correct.
13:21:43 PST
Question: Just curious, what is the number of users on Office 2013 now?
Answer: not quite a billion, but the ticker is escalating.
13:22:25 PST
Question: Wow, that's a slick low $$ entry point for a business opportunity for developers Answer: dingdingding
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 60 of 84 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:22:55 PST
Question: These apps only work on Office 2013, correct?
Answer: correct (I fear you're setting me up)
13:23:17 PST
Question: Do the Office apps work with Office 2013 web edition? Answer: a lot of the functionality works there, AND in Outlook Web Access.
13:24:08 PST
Question: Brady whats ur twitter handle? Thanks Answer: bradygaster
13:29:35 PST
Question: Jon: where can we get your MS Office PPT deck? Answer: from here: http://www.devcamps.ms/web/downloads
13:29:43 PST
Question: I still remember microsoft passport. dejavu ? Answer: me too!
13:33:41 PST
Question: Is Scott using ZoomIt? Answer: probably, yes. most of us use it. great utility.
13:35:26 PST
Question: Frank please tell me more about the Voucher thing,i just redeem mine
Answer: Please look in the FAQ... Answers are all there!
13:35:44 PST
Question: I just wish I could hit PAUSE like a DVR when they are going through their code samples! I like following
along.
Answer: Next week, you'll be able to do that on MVA!
13:37:02 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 61 of 84 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.
Question: this is why the .Net world alwasy admire Scott Hansleman... Great commitment & dedication even though
not well .. Answer: Sharing.
13:38:19 PST
Question: Isn't localhost being by twitter apps? Answer: twitter (or fb or anything else) can't get you back to localhost
13:39:55 PST
Question: http://www.tonyamoyal.com/2009/08/17/how-to-quickly-set-up-a-test-for-twitter-oauth-authentication-from-
your-local-machine/
Answer: good show! I stand corrected.
13:40:08 PST
Question: Jon Galloway makes me laugh. Answer: Me, too! He's extremely funny!
13:42:45 PST
Question: I love it when demos fail a bit, we actually learn a lot more on how to solve real world problems. I find that
greatly valuable! Answer: I completely agree! Blown demos are the best part of training when you have great instructors like these
guys.
13:42:58 PST
Question: is anyone getting my messages? Answer: They don't see them onscreen
13:43:04 PST
Question: "Definition of insanity" taken from Mix Conference MVC 101 while deleting the simbols on IE9.Funny You
are the man Scott! Answer: Sharing.
13:43:50 PST
Question: Demo failing means this is LIVE!!!! Answer: you got that right!
13:46:05 PST
Question: It feels me comfortable watching a demo that fails... that makes me feel that I am not the only one who
fails... !! Answer: everyone fails at some point. code happens.
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 62 of 84 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:46:29 PST
Question: Wow, learned like a half dozen tips just in this failed demo!
Answer: pain creates gain, right?
13:49:33 PST
Question: I Love this, its not easy. Kudos guys
Answer:
13:51:05 PST
Question: I wish i could just do it perfectly myself,Thanks for sharing this knowledge Answer: Thanks for the feedback!
13:52:32 PST
Question: Any Jump Start Dev Win8 Apps with C#+XAML? Answer: Absolutely! See this http://www.microsoftvirtualacademy.com/tracks/building-apps-for-windows-phone-8-
jump-start for a Jump Start on Windows Phone app development. Also, we're doing a GREAT new Jump Start on March 13 you should check out: http://aka.ms/C-Jump!
13:53:52 PST
Question: Fiddler, one of those hidden gems. Answer: Agreed!
13:54:28 PST
Question: Thanks, registering for that now, i've already booked the 70-483 exam for the end of march Answer: Perfect timing! We'll also have 484, 485 Jump Starts the first week of April.
13:54:41 PST
Question: can you send us a link with tutorial for implementing custom oauth helpers? Answer: Connecting to an OAuth provider or creating your own? Here's how to integrate with an OAuth
provider: http://www.asp.net/mvc/overview/getting-started/using-oauth-providers-with-mvc
13:56:45 PST
Question: Outstanding work you guys from MVA are doing! Is this Advanced Jump Start going to get a C# version? Answer: Next week's Jump Start (http://aka.ms/W8App482-JS) covers HTML5 and prepares for exam 70-482. On
March 13, we have a "Programming in C#" Jump Start that preps for exam 70-483 -- register for that here: http://aka.ms/C-Jump
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 63 of 84 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:03:09 PST
Question: great job debugging guys!
Answer: That was fun wasn't it?
14:04:46 PST
Question: Is something about SharePoint 2013 coming too? Answer: Glad you asked! We have a Jump Start on March 19 coming: "Tuning SQL Server for SharePoint 2013"
with MCM Bill Baer and Brian Alderman. Register here: http://aka.ms/SQL4SP
14:05:18 PST
Question: Loved it some much that just ordered office 2013!!! Answer: We just love hearing that! Thanks for the feedback!
14:07:38 PST
Question: What do you do to get the Facebook Application to show up in new project templates? Answer: you should get them when you install the 2012.2 update
14:07:51 PST
Question: When MVC is using OAuth features, is those features then part of WIF? Or MVC? Answer: MVC
14:08:32 PST
Question: wheres Jonh? Answer: you don't like Damian?
14:09:11 PST
Question: Just skip everything else and go straight to SignalR....bring Damian Edwards and David Fowler. Answer: we have to build up to the climax, right?
14:09:33 PST
Question: sure, jusk asking. not comming?
Answer: jon and Damian are giving one another breaks. the sick guy gets none.
14:09:34 PST
Question: > Quoted question: wheres Jonh? > Quoted answer: you don't like Damian?
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 64 of 84 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.
Answer: Damian was available today too, so we decided to swap him in for some, especially since SignalR is on
after this.
14:11:01 PST
Question: Love the goofing. Answer: So do we!
14:11:11 PST
Question: Best class eva Answer: Thanks for saying so....
14:12:59 PST
Question: Do you have any upcoming sessions to help prepare for WindowsPhone or App Development? Answer: Hey Richard - check this course out on MVA. I think you'll love
it. http://www.microsoftvirtualacademy.com/tracks/building-apps-for-windows-phone-8-jump-start...
14:12:59 PST
Question: Are my questions being blocked or something!??! Answer: no, we're just answering a LOT of them. re-ask please and i'll jump on it
14:13:40 PST
Question: excellent presentation, i love the live ones, lets you see things from a new angle Answer: Agreed. Glad you're enjoying it!
14:15:14 PST
Question: you should really do this more often Answer: Another Jump Start next week and three in March1
14:15:36 PST
Question: POLL Option Require: I was blown away earlier... nice refresher...
Answer: Please click #1 in the poll!
14:15:42 PST
Question: already voted .) Answer: Thanks Siv!
14:15:56 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 65 of 84 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.
Question: Question: I think I missed something... where can we add the RegisterAuth class and page/sample? Answer: in the App_Start folder there's a few *config.cs files. its in one of those.
14:16:50 PST
Question: Where do we get the Facebook template in Visual Studio? Answer: They have templates in the Visual
Studio gallery. http://visualstudiogallery.msdn.microsoft.com/site/search?f%5B0%5D.Type=RootCategory&f%5B0%5D.Value=templates&f%5B0%5D.Text=Templates
14:17:56 PST
Question: @Frank Garland : i registered on all of them already Answer: Hey Radu! Nice! Looking forward to seeing you online!
14:18:34 PST
Question: > Quoted question: Where do we get the Facebook template in Visual Studio? > Quoted answer: They have templates in the Visual Studio
gallery. http://visualstudiogallery.msdn.microsoft.com/site/search?f%5B0%5D.Type=RootCategory&f%5B0%5D.Value=templates&f%5B0%5D.Text=Templates Answer: Also, when you install the new ASP.NET and Web Tools 2012.2 release you'll get the Facebook app
template: http://www.asp.net/vnext
14:19:20 PST
Question: Your current poll needs another choice "E) Perception did not change -- I'd already been blown away."
Answer: I hear you! If you're blown away, please click #1.
14:20:40 PST
Question: Remco Reitsma: native mobile apps can take adventage of GPS/camera/sensors/touchscreen. Is this
possible with html5/ecmascript 5 ? Answer: a lot of those features exist in PhoneGap if they're not supported by the native OS/browser.
14:21:29 PST
Question: Is there a jump start tutorial for creating a Facebook app in C#? Answer: This one is slightly out of date - was for the Dec RC - but is pretty
good: http://www.asp.net/vnext/overview/fall-2012-update/facebook-application-template-tutorial
14:22:37 PST
Question: <meta name="viewport" works only in html5 or 4 as well? Answer: It's a meta tag so it's valid in HTML4, but has better support in newer mobile browsers.
14:22:50 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 66 of 84 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.
Question: Question: Are there any upcoming sessions to help prepare for WindowsPhone or App Development
exams? Answer: Thanks Richard... Check out this recorded Jump Start covering Windows Phone on MVA
(http://www.microsoftvirtualacademy.com/tracks/building-apps-for-windows-phone-8-jump-start). Also, these two Jump Starts (http://www.microsoftvirtualacademy.com/Studies/SearchResult.aspx?q=phone) to prepare for exams 70-480 and 70-481. Also, you can register for next week's Jump Start (http://aka.ms/W8App482-JS) to prepare for exam 70-482. If you're more interested in C#, check out the Jump Start on March 13 (aka.ms/C-Jump), which
prepares for exam 70-483. Enjoy!
14:23:50 PST
Question: Follow-up Question (re: MVA WindowsPhone and apps): I only see HTML5/JavaScript/CSS. Is there a
C#/XAML one to register for? Answer: Check out http://aka.ms/C-Jump
14:24:08 PST
Question: Don't lie to me button lol - that was nice! Answer: LOL
14:26:03 PST
Question: I just love how Scott makes time to show what he is trying to achieve. This is a great session! Thanks! Answer: We agree! So glad you're enjoying it!
14:26:36 PST
Question: When will the recording be available? Real life called... Answer: Check the FAQ... We'll send a link via email late next week.
14:27:35 PST
Question: Are most of these "web projects" or "web sites"? Meaning in Visual studio, when these applications were
first created, did you click on a "New Project" or "New Web Site"? Does it really matter, which one you choose? Answer: Miguel, I believe these are all web projects.
14:28:06 PST
Question: What is the best way to develop SPA mobile? Answer: twitter bootstrap is a nice starting point. it degrades to mobile pretty well
14:30:02 PST
Question: Thanks Frank, But I men Windows 8 Apps using C# & XAML Answer: Check out the Jump Start coming on March 13: http://aka.ms/C-Jump.
14:30:08 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 67 of 84 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.
Question: > Quoted question: What is the best way to develop SPA mobile? > Quoted answer: twitter bootstrap is a nice starting point. it degrades to mobile pretty well Answer: jQuery Mobile can work pretty well for that, too.
14:30:36 PST
Question: Missed beginning of mobile - What is telling the app to use the mobile layout vs desktop? Is that using
device detection or media queries? Answer: some code in the global that knows how to redirect to the mobile view. it does that if it sees the client is
mobile, but you can force variants via the global per-device
14:30:41 PST
Question: This is my first full day Jump Start, and these are awesome. I know it's a lot of work, but you guys are 1)
showing amazing stuff, and 2) supporting us users very nicely. Answer: Thanks so much for the feedback, David! We're so glad you're enjoying the course!
14:34:44 PST
Question: polls result? Answer: There you go
14:34:57 PST
Question: so if we rename file with .Mobile all mobile devices will render mobile version of page? Answer: Yes, e.g. copy Index.cshtml and rename to Index.mobile.cshtml - if you rename Index.cshtml you wouldn't
have a view to display to desktop users
14:35:18 PST
Question: LOL.. Scott is good actor
Answer:
14:35:51 PST
Question: Any progress with a Metro/WinPhone8 theme for jQuery Mobile? Answer: that's a great idea. I've not heard of one but will look around.
14:36:23 PST
Question:
> Quoted question: Any progress with a Metro/WinPhone8 theme for jQuery Mobile? > Quoted answer: that's a great idea. I've not heard of one but will look around. Answer: This one might work. http://sgrebnov.github.com/jqmobile-metro-theme/
14:36:29 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 68 of 84 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.
Question: @Frank Garland: thanks
Answer: You bet! Trying to get more folks to vote. Thanks for reminding me to share the results.
14:38:58 PST
Question: Any other frameworks recommending? Answer: jQuery mobile is good. Sencha Touch gives you a wider variety of controls. Zepto is good if you know you
will be only targetting WebKit browsers.
14:40:32 PST
Question: Hey is always be a correspondant Mobile Page with a normal Web Page.We have to split multiple mobile
views in some cases right? Answer: If you want to re-use your controller actions yes. I've seen some controllers that have mobile specific
actions. I don't think there is a "Best practice", it depends on the situation.
14:41:07 PST
Question: "Thats how the div people talk" Haha nice! Answer: That was funny!
14:41:41 PST
Question: There goes the div-hugger, Scott Koon...
Answer:
14:41:52 PST
Question: @Frank Garland: I think some people are so mind blown, so that they forgot to vote the poll Answer: LOL... I hope you're right! hey everyone - If you're enjoying the course and appreciate the content, please
take a second and click the BEST answer below!
14:42:08 PST
Question: He should have used a div. Answer: I almost rushed the stage and flipped the table. The actual physical table.
14:45:32 PST
Question: Can we use this Jquery Mobile example to PhoneGap and deployed on multiple vendors? Answer: Yes, there are some gotcha's listed on the jQuery Mobile
site. http://jquerymobile.com/demos/1.1.0/docs/pages/phonegap.html
14:47:28 PST
Question: Which is the currently recommended Microsoft Certification for asp.net developer? Answer: I would vote for an MCSD
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 69 of 84 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:48:44 PST
Question: Re async reading material, the Microsoft docs are unusually good: intro here
(http://msdn.microsoft.com/en-us/library/vstudio/hh191443.aspx), next step here (http://msdn.microsoft.com/en-us/library/hh873175.aspx), and FAQ here (http://blogs.msdn.com/b/pfxteam/archive/2012/04/12/async-await-faq.aspx). Answer: Sharing...
14:49:27 PST
Question: How did you get iphone tester I missed that part Answer: I'm not sure which one Scott is using, but this one I've heard
about. http://www.electricplum.com/simulator.aspx
14:51:27 PST
Question: i missed the Facebook mobile App training Answer: all of the demos and talks are recorded and will be posted after the event so you can catch them.
14:52:06 PST
Question: I saw the Sublime Text 2 icon in the task bar. I wonder in what instances Scott uses it...? Answer: MANY of us use it. it's a nice way to open individual code files (or to take notes during meetings)
14:53:17 PST
Question: I want this awesome demo !!!!!! Answer: It will all be on MVA next week!
14:53:24 PST
Question: @Brady Gaster will it be via email or...??? Answer: I think that's in the FAQ, but i'll defer to Frank for confirmation
14:54:59 PST
Question: Thanks Brady Answer: NO PROBLEM!
14:57:01 PST
Question: @Brady Though its not on the FAQ but will wait for confirmation from Frank
Answer: ah. sorry about that. I admit to not having read the faq for fear that i'd miss a question.
14:57:43 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 70 of 84 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.
Question: whats the link of his blog? Answer: Hanselman? Hanselman.com. if it's another blog i'd not be sure.
15:02:16 PST
Question: "Scott Koon: BTW, don't use for loops. Use LINQ and ForEach folks. " Why ForEach? Don't they waste
memory compared to a For loop? (C# game dev background) Answer: Yeah, but it makes the code a little bit easier to read. Given the size and type of data manipulation we are
doing in these types of loops it's usually a good trade off.
15:02:25 PST
Question: is there a SPA part on this jumpstart ? Answer: yes, we covered SPA during the Web API section. it's been recorded and will be available after the
session's over
15:02:37 PST
Question: > Quoted question: "Scott Koon: BTW, don't use for loops. Use LINQ and ForEach folks. " Why ForEach? Don't they
waste memory compared to a For loop? (C# game dev background) > Quoted answer: Yeah, but it makes the code a little bit easier to read. Given the size and type of data manipulation we are doing in these types of loops it's usually a good trade off.
Answer: That's all In my opinion of course.
15:03:41 PST
Question: Has Visual Studio 2012 Update 2 actually been released or is it still at CTP3? Answer: it's been released
15:05:48 PST
Question: @Brady-not according to VS Blog - web essentials update 2 is live, not VS 2012 update 2 Answer: see this page: http://www.asp.net/vnext
15:06:02 PST
Question: Can you provide a link for VS 2012 Update 2? I have automatic updates turned on, but VS 2012 is still at
Update 1 for some reason. Answer: http://www.asp.net/vnext
15:06:29 PST
Question: Can't wait for the SignalR part. Tested it already, exciting stuff! Answer: YES! Will be such a GREAT session!
15:07:47 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 71 of 84 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.
Question: > Quoted question: Can't wait for the SignalR part. Tested it already, exciting stuff! > Quoted answer: YES! Will be such a GREAT session! Answer: We've been using it in an internal application since just prior to the RC. Works very well. I hand delivered a
beer to Damian and David yesterday as a thanks.
15:08:21 PST
Question: OK. Thanks. I thought Scott was referring to a Visual Studio 2012 update, but I think he was actually
referring to ASP .NET and Web Tools update 2012.2. Answer: Yeah, the VS2012 update 2 is a CTP As far as I
know. http://blogs.msdn.com/b/bharry/archive/2013/01/30/announcing-visual-studio-2012-update-2-vs2012-2.aspx
15:09:36 PST
Question: Definitely looking forward to the SignalR portion. Such a fantastic piece of technology. I like to call it "black
magic voodoo" because it scares me how easy it is. Answer: Seriously, we implemented notifications between our Windows service and MVC app in literally 20 lines of
code. That include brances and class declaration
15:10:03 PST
Question: @LazyCoder, you a softie now? Answer: HA, NOOO!! Was over there for the MVP summit.
15:11:09 PST
Question: Can you ask Scott what Emulator he was using for the iphone emulator? Answer: the Electric Plum simulator. http://www.electricplum.com/
15:12:15 PST
Question: What is reason for MS to push both Webforms and MVC Togther? Answer: I don't think they have yet. The MVC framework does have a WebForms view engine, which uses the same
kind of aligator brackets that traditional WebForms does. <% %>.
15:15:06 PST
Question: > Quoted question: Definitely looking forward to the SignalR portion. Such a fantastic piece of technology. I like to call it "black magic voodoo" because it scares me how easy it is. > Quoted answer: Seriously, we implemented notifications between our Windows service and MVC app in literally 20
lines of code. That include brances and class declaration Answer: "any sufficiently advanced technology is indistinguishable from magic" - Arthur c clarke
15:15:40 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 72 of 84 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.
Question: Thanks Scott, so future belong to WebForms or MVC I mean code behind or controllers for business apps
to CMS to social networking apps Answer: I don't know about everyones future, but I know I don't plan on creating any new WebForms projects in the
near or far future.
15:17:36 PST
Question: Are the smartphone simulators they're using included with VS 2012? WHERE? Is there a simulator for the
Windows 8 mobile browser, or just the iPad? Answer: ElectricPlum - http://www.electricplum.com/
15:19:10 PST
Question: Make a new POLL: Who would like to see Damian Edwards Move to ASP.NET MVC Team?
Answer: You'll pry WebForms out of Damian's cold, dead hands.
15:19:26 PST
Question: Who's ready for SignalR.....?!?!? Answer: i'm always ready for some signalr
15:19:34 PST
Question: So there's no equivalent for a W8 smartphone? Answer: The WP8 SDK comes with a simulator I think.
15:20:20 PST
Question: Will you be sharing code shown in the session? I love the one you are showing! Answer: Check out http://www.devcamps.ms/web/downloads
15:20:26 PST
Question: hey guys, I have to leave work (it's now 6:20pm) ... can I sign back into the session when I get home or
will I lose out? Answer: yes indeed!
15:21:08 PST
Question: Now I know that I don't know nothing Great work guys
Answer: that's a double negative, so you must know everything.
15:21:37 PST
Question: I don't understand, WHAT hair is Jon or Damian fixing? Are they doing Scott's hair? Answer: you must have missed jon's comment earlier. he said he had to fix his hair.
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 73 of 84 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:21:54 PST
Question: does yes indeed mean I CAN sign back in? How many seats are available?
Answer: you can sign back in. THAT yes.
15:22:09 PST
Question: Damian, probably facial, Jon, I don't want to know
Answer:
15:22:34 PST
Question: come on guys....this is precious SignalR Time.... Answer: they're building up the tension on purpose
15:22:53 PST
Question: I left to get a cookie...needed some sugar. Did I miss anything after the mobile piece? Answer: Did you bring enough for everyone?
15:23:03 PST
Question: Is the simulator in WP8 SDK free to use ? or does it have a license fee like the electric plum ? Answer: the WP7/WP8 sim is free. electric plum is free for a limited time, then you need to pay but it's well worth it
15:24:27 PST
Question: I like that Scott Hanselman is promoting Herding Code. Even if inadvertently. Answer: #winning
15:24:30 PST
Question: one of my questions about the jQuery Mobile nuget package didn't get answered .... how does it change
anything I've already done based on previous MVC tutorials with respect to Mobile? ie. changes to Global.asax Answer: jQuery is GREAT about making sure backwards-compatibility is good so you should be okay in most cases.
15:25:12 PST
Question: Please dont skimp on signalR time. If you cut time, cut it from azure deploy since it's so easy! Answer: Seriously, it's so easy. They are going to be hard pressed to fill the time.
15:25:19 PST
Question: Please dont skimp on signalR time. If you cut time, cut it from azure deploy since it's so easy! Answer: We already told Damian - take your time...
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 74 of 84 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:26:14 PST
Question: > Quoted question: i want to sleep now goodnight Frank Gartland replied privately: You may not want to miss this section! Answer: here here! raises glass
15:26:57 PST
Question: How good is web sockets coverage already? Answer: quite good. signalr abstracts the need for websockets specificity and it downgrades eloquently for old
browsers and servers
15:28:38 PST
Question: Is SignalR a Microsoft pruduct? Answer: it is an open-source project that we've brought into the asp.net stack
15:32:16 PST
Question: > Quoted question: Is SignalR a Microsoft pruduct? > Quoted answer: it is an open-source project that we've brought into the asp.net stack Answer: But - it's now officially supported by the ASP.NET team, it comes with the same support, legal status, etc.,
that ASP.NET Web API has.
15:32:45 PST
Question: Do you have a link for SignalR Answer: http://signalr.net/
15:32:49 PST
Question: where can we follow the new events like this ? Answer: http://www.microsoftvirtualacademy.com/LiveEvents.aspx.... Also follow @MSVirtAcademy on Twitter!
15:32:55 PST
Question: Can I use the Web API HttpSelfHostServer to host Web API and SignalR? Answer: Yes
15:33:14 PST
Question: john27 posted:
> Quoted answer: http://signalr.net/ Answer: And on the ASP.NET site: http://www.asp.net/signalr
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 75 of 84 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:33:17 PST
Question: Can I use the Web API HttpSelfHostServer to host Web API and SignalR? Answer: you can also use the OWIN hosting packages for SignalR
15:34:01 PST
Question: > Quoted question: Can I use the Web API HttpSelfHostServer to host Web API and SignalR? > Quoted answer: Yes Answer: No, not yet. SignalR comes with it's own self-hosting mechanism. Sorry
15:34:43 PST
Question: > Quoted question: Marcel > Quoted question: Can I use the Web API HttpSelfHostServer to host Web API and SignalR? > Quoted answer: > Quoted answer: No, not yet. SignalR comes with it's own self-hosting mechanism. Sorry Answer: here's one of the NuGets for self-hosting using
OWIN: http://nuget.org/packages/Microsoft.AspNet.SignalR.Owin/
15:36:11 PST
Question: I don't like dynamics =( Answer: you like JavaScript? it's a great example of dynamic languages. for what it's worth I wasn't a fan of
dynamics UNTIL I grokked signalr. hopefully this demo will change your mind, too.
15:37:20 PST
Question: Can I use SignalR in combination with Windows Azure and Windows 8 apps? Answer: absolutely! there's linguistic parity between JS and C#. you learn it in one language you literally ONLY have
to change capitalization to use it in the other.
15:38:36 PST
Question: So it sounds like SignalR is the .net answer to Node.js...?
Answer: signalr is like Socket.IO on Node.js. Node is much bigger than just Socket.IO. but yes.
15:38:55 PST
Question: So it sounds like SignalR is the .net answer to Node.js...? Answer: Nope, Node.js is an abstraction over I/O. SignalR is for communication.
15:42:08 PST
Question: @Brady Show them shootr that's brain explode... guess Damian will bring it up... Answer: he usually does but just in case here's a link: http://shootr.signalr.net/
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 76 of 84 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:42:37 PST
Question: Wow. Crazy fast on localhost. I wonder how much network latency will matter with this?
Answer: short answer: don't worry about it.
15:42:59 PST
Question: Wow. Crazy fast on localhost. I wonder how much network latency will matter with this? Answer: Try out Jabbr.net, it's running on the SignalR bits that Damian is showing now.
15:43:22 PST
Question: Damian Edwards is a Coding Beast!! A Machine from the Future!! Answer: AYE!!!
15:43:35 PST
Question: Can you do this using Azure websites? Answer: I do that every day. it's my peanut butter and chocolate
15:45:20 PST
Question: So, if I understand correctly, from a "I want to protect my code" perspective, dev's can use SignalR to hide
some important parts of their application in the server, with the server performance (server doing client work) tradeoff ? Answer: kinda, yeah
15:45:27 PST
Question:
> Quoted question: Can you do this using Azure websites? > Quoted answer: I do that every day. it's my peanut butter and chocolate Answer: Here's a fun example running on Windows Azure Web Sites using SignalR and HTML5
canvas: http://firework.cloudapp.net/
15:45:56 PST
Question: Why so mean Brady? look at this guy: http://haacked.com/images/haacked_com/Windows-Live-
Writer/ALT.NET-Seattle-Day-One_A157/scott-why-so-mean_2.jpg Answer: confused...
15:46:23 PST
Question: What forms of authentication does signalr support? Answer: If it's hosted on IIS it supports all the usual auth that IIS handles. You can set the NetworkCredentials on the
clients and use Windows auth too.
15:46:38 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 77 of 84 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.
Question: is there a sample of hosting singler with azure? Answer: Many, see http://jabbr.net and http://firework.cloudapp.net/
15:46:50 PST
Question: is there a sample of hosting singler with azure? Answer: here's one I wrote for a demo in dallas: https://github.com/bradygaster/DDoDN2013-SignalR-
Demos/tree/master/Source/Demo04-Hosting-End
15:47:40 PST
Question: Thanks Brady. Answer: no sweat!
15:48:02 PST
Question: > Quoted question: What forms of authentication does signalr support? > Quoted answer: If it's hosted on IIS it supports all the usual auth that IIS handles. You can set the NetworkCredentials on the clients and use Windows auth too. Answer: Here is an example using the .NET client with Windows auth.
_HubConnection = new HubConnection(environmentService.HubUri); _HubConnection.Credentials = CredentialCache.DefaultNetworkCredentials;
15:48:18 PST
Question: Does SignalR works with Azure Websites? Answer: absolutely!
15:48:34 PST
Question: thanks for the fast answer Answer: NP!
15:48:54 PST
Question: there a link for this project (web/desktop clients)? Answer: yup - https://github.com/bradygaster/DDoDN2013-SignalR-Demos/tree/master/Source/Demo03-
NativeClient-End
15:49:26 PST
Question: SignalR vs node.js? Answer: not Node.js - the equivalent in Nodelandia for SignalR is the Socket.IO NPM module
15:49:52 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 78 of 84 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.
Question: Is he really going to do SignalR with a WPF app and a browser app? Answer: It's easy. Here is the QuickStart for web and .NET
clients. https://github.com/SignalR/SignalR/wiki/QuickStart-Hubs
15:50:49 PST
Question: How that work if the page is with an outputcache ? SignalR can update the data ? Answer: not really update the data in the cache, but it can send "new data" down to the client
15:50:59 PST
Question: Pardon me, I have to pick up the bits of my brain from my office because I think my head just exploded. Answer: it happens
15:51:13 PST
Question: Crap, I was going to continue watching on my win phone or surface rt, but the video is in Silverlight Answer: All videos are recorded and will be up on Channel9, support HTML5 and other standard formats.
15:54:06 PST
Question: Is there any security concerns regarding SignalR? Is that dangerous to call client/server methods from
each other? Answer: The team has literally pounded it from a security perspective and it's been seriously hardened so you
shouldn't worry.
15:54:13 PST
Question: Does this play nice with SSL? Answer: yes indeed.
15:56:27 PST
Question: Is it possible to call a method on a signalr hub from a mvc or webapi controller? Or can only clients call
hub methods? Answer: you can call hubs using native C#, so yes. you can also use the GetHubContext<HubType>() method and
hit'em directly.
15:57:10 PST
Question: Are we thinking games, here, with SignalR? Assuming casual (AngryBirds, Cut the Rope), not hardcore
(shooter, etc.). Answer: games are a GREAT place for SignalR
15:57:42 PST
Question: Are they working on cleaning up the SignalR implementation for WPF/Desktop? Seems rather... cluttered. Answer: how so, you think? the signature between the JS and C# clients are virtually identical (sans capitalization)
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 79 of 84 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:58:05 PST
Question: I believe Node.js can also do this. Is that right? Answer: socket.io NPM module can, yes. Node is bigger than just Socket.IO, though.
15:58:26 PST
Question: what about shared document editing (google docs does this)
Answer: yep. you can do that. imagine using the Office Apps stuff you saw earlier WITH SignalR.
15:58:37 PST
Question: could signalR be used to report what web page people are on, send marketing messages, etc.?
Answer: GREAT IDEA. go build it.
15:59:53 PST
Question: @Brady: Well, there seemed to be a lot more code for implementation in the WPF app than there was in
the MVC app. I'm a big fan of aesthetically pleasing code is all. Answer: the actual SIGNALR part of that code is identical. the XAML stuff is more heavy because of the
Dispatcher.RunAsync stuff - you have to do that since the hubs will return potentially on a different thread than the
GUI thread. so you have to do that to make sure you dont' cross the streams.
16:00:25 PST
Question: ElmahR is going to be my next search topic then Answer: here it is: https://bitbucket.org/wasp/elmahr/wiki/Home
16:00:58 PST
Question: Does Scott feels well? Answer: negative. he's quite sick. #dedication
16:01:01 PST
Question: As someone that used Unix TCP sockets and .NET Remoting a lot -> SignalR make me warm and fuzzy.
Great stuff!!! Answer: Thanks Russ!
16:02:46 PST
Question: You better not see my face I had very hard day and started to watch this from office while tried to make
last friday's fixes =) Answer: Nice!
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 80 of 84 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:02:54 PST
Question: This is how training should be, I seen before but still very cool ! Answer: Thanks for the feedback!
16:03:01 PST
Question: does it support IE8 Answer: indeed!
16:03:01 PST
Question: That is absolutely wonderful... Answer: Thanks!
16:03:17 PST
Question: this is some serious stuff here !!!!!!
Answer:
16:03:17 PST
Question: Looking forward to Office Web Apps with SignalR, multi-user web apps version of Visio please.
Answer: Brady and I got ShootR going in an Excel app, but got in a bit of trouble for it.
16:03:23 PST
Question: i'm changing my poll vote. Answer: Thank you!
16:03:35 PST
Question:
> Quoted question: Looking forward to Office Web Apps with SignalR, multi-user web apps version of Visio please. > Quoted answer: Brady and I got ShootR going in an Excel app, but got in a bit of trouble for it.
Answer: you HAD to bring that up.
16:05:03 PST
Question: Lovely... addictive game . But, SignalR is even more addictive Answer: Nice!
16:06:10 PST
Question: Scott is way below his animated .gif quota
Answer:
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 81 of 84 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:06:40 PST
Question: I'm having buffering troubles, what was the SignalR/ Sockets analogy ? Answer: SignalR rides atop Sockets OR degrades to "other stuff" if sockets aren't available
16:08:52 PST
Question: what with integrating mvc application with signalR? Answer: Yup, it just works.
16:08:59 PST
Question: what with integrating mvc application with signalR? Answer: you could use the JS side stuff or you could do it from the server using the native client. just drop it into your
app and party.
16:10:20 PST
Question: What about Win8 apps done with JS? is this supported ? Answer: you can do that.
16:13:11 PST
Question: Where I can see example of game in space? Answer: http://shootr.signalr.net
16:15:41 PST
Question: Wow, these demos are great! I'm running out of trousers. Need SignalR to handle swapping out fresh pair
while viewing. Answer: on Monday we have a new Web Camps TV episode coming out that may show you some neat ideas on
that. auth + signalR stuff.
16:25:15 PST
Question: No new poll? Answer: Sure... new poll on its way....!
16:28:41 PST
Question: Hey, could someone shoot me the links to yesterdays presentations (not the recordings), neglected to
download them from the FAQ and can't seem to find them - thanks! Answer: Here are the decks from yesterday's Jump Start with Ben Riga: Building Apps for Both Windows 8 and
Windows Phone 8. The recordings will also be posted to MVA next week. Module 1 http://mslcc-admin.mscareerconference.com/Uploads/Downloadables/01_Comparing_WP8_Win8_447d9ec3fcb1403fbc714755f611a0ac_0414ca01a1fc46729f61bc7b693713a3.pdf; Module 2 http://mslcc-admin.mscareerconference.com/Uploads/Downloadables/02_XAML_Data_Binding_Basics_b4993119f93a41b18d0a
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 82 of 84 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.
8d542a669079_3bd6b1928ad84baaabc20a10070ed896.pdf; Module 3 http://mslcc-admin.mscareerconference.com/Uploads/Downloadables/03_MVVM_6f6d2d8ee28e4927a3245af13dba7045_0405ee613e374dbcb4666bbaba2c5406.pdf; Module 4 http://mslcc-admin.mscareerconference.com/Uploads/Downloadables/04_Sharing_Code_265b0711421142a68c581492dac7d562_f548de7984024a85876f06ddb7b3416b.pdf
16:29:43 PST
Question: When a server has become a SignalR hub for several clients, I am imagining that one of the clients could
take over the hub role - probably by spin up a webserver with node.js. Does that sound possible? Answer: it could be. one of the MVPs here this week has a neat convergence idea that sounds like that.
16:30:35 PST
Question: Thanks, what a great show guys- really excited with what I saw... but my bed calls. Much kudos for Scott
hanging in there all day. Hope he has a good weekend to recover! Answer: Thanks so much for your feedback and for spending the day with us!
16:33:31 PST
Question: is it possible to use sql ce on windows azure web sites? Answer: I've seen usage of CE on it
16:34:01 PST
Question: Really great event, guys. Thanks so much. Would love to see more in-depth events, especially on MVC
and SignalR! Answer: keep tabs on devcamps.ms - we have webcamps scheduled all over the world that would help with deeper
knowledge
16:34:17 PST
Question: Note: people have perception that even after sign up pricing/cost on azure is high. I've got a lot of "Yeah,
Azure is cool & capable, but it's expensive" Answer: but web sites are QUITE inexpensive
16:34:30 PST
Question: what app is he in? Answer: he's using the official github windows client
16:34:46 PST
Question: windows 8 git client? Answer: indeed
16:35:47 PST
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 83 of 84 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.
Question: Nice presentation today - most excited I've been about MS offerings in quite a while. Answer: Great to hear this! Thank you!
16:46:05 PST
Question: I had a bill for a demo project running idle with 2 instances and the bill was $600.00 per month. Answer: did you email support about it? they're quite forgiving with oversights in a lot of cases.
16:47:47 PST
Question: Re: @Brady Gaster. Really!?!? That's good news. We felt screwed but didn't pursue it because the
implication seemed like we messed up. Answer: no promises! the portal will warn you when you delete, saying "you have to totally kill it or you'll be billed," so
there's that. but it's worth a shot. again, no promises!
16:48:14 PST
Question: After 90 days is there a fee to just access Azure if I am using free sites? Answer: no. if you are using web sites after 90, they will remain and stay free.
16:49:33 PST
Question: 100% of this day was useful. Wow. Nice job guys!!! Answer: Thanks Mike!
16:49:35 PST
Question: I've had a couple of bad experiences with SQL Azure, moving old asp.net applications using Linq2Sql to
an Azure VM and moving a sql server 2008 DB to SQL Azure. The application seemed to work fine but the performace of data access ranged from acceptable right the way to causing timeouts with a resulting page error. It was very intermittent and impossible to replicate reliably. A page could give a timeout and a refresh of the same page would run the query without a problem a few seconds later. Have any of these issues been addressed or is a diffrent appoach recommended for migrating on premise DBs to the cloud? Answer: the SQL team has done a TON of work to achieve a better product offering. I would recommend taking a
second glance. there's not 100% parity so you may have to tweak a few things to optimize WASD, but it's way closer than it was in the past
16:50:42 PST
Question: Guys: this was a FANTASTIC training session. Really felt the love; and the quality was incredible. I used
High Quality video right up until the last few minutes. Thanks for being incredible! I'll be checking out more of these in the very near future. Answer: Thanks so much Richard! We had such a great time today!
16:50:54 PST
Question: I really enjoyed todays training, I really appreciate Scott, Jon, Damian and all the moderators in the QA.
Thanks much!!! Answer: Thank you Rod!
Building Web Apps with ASP.NET Jump Start
Q&A Log
Live Event Date: February 22, 2013 Page 84 of 84 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:52:02 PST
Question: did that already Answer: Thanks Radu! Everyone - please vote!
18:31:50 PST
Question: Thank you all and specially Scott who braved this long session despite illness. Get well soon. Answer: No kidding... He was a real trooper. I think everyone enjoyed Scott, Jon and Damian for sure today!
18:32:11 PST
Question: is it possible to download this video? Answer: You'll get an email with a link to the recording next week.
18:32:36 PST
Question: Its been a wonderful session. Though I got confused at some point but hope to get the full understanding
when the videos are posted on the MVA's site or at tech-net. Thanks a lot for this wonderful works and for your time and effort. Hoping forward for another exiting editions in the future. /- Fred Gaius, Milan, Italy. (fredgaius@hotmail.com) Answer: Thank you so much for your time and feedback!
18:32:47 PST
Question: Great job by everyone covering different topics in short amount time. It was all very insightful. I will be
watching this again when the recorded session becomes available. Answer: Thanks Silvio!
18:33:36 PST
Question: Wow. That was brilliant!! I need to build something. Not sure what, yet, but I want to use SignalR, Azure,
MVC & Web API. Fantastic session guys! Answer: Love this comment! Thank you!
18:34:50 PST
Question: Excellent, absolutely excellent. Educational and entertaining! Answer: That's exactly our goal during Jump Starts: Edutainment!
Recommended