Notes from the ASP.NET Community Standup – March 1, 2016

This is the next in a series of blog posts that will cover the topics discussed in the ASP.NET Community Standup.  The community standup is a short video-based discussion with some of the leaders of the ASP.NET development teams covering the accomplishments of the team on the new ASP.NET 5 framework over the previous week.  Within 30 minutes, Scott HanselmanDamian EdwardsJon Galloway and an occasional guest or two discuss new features and ask for feedback on important decisions being made by the ASP.NET development teams.

Each week the standup is hosted live on Google Hangouts and the team publishes the recorded video of their discussion to YouTube for later reference. The guys answer your questions LIVE and unfiltered.  This is your chance to ask about the why and what of ASP.NET!  Join them each Tuesday on live.asp.net where the meeting’s schedule is posted and hosted.

This week’s meeting is below:

This week, Damian was not able to make the meetup and in his place Eilon Lipton and Maria Naggaga sat in.  Eilon is the development manager for ASP.NET and Entity Framework and has been on the ASP.NET project for many years, worked on the original MVC implementation, and invented the ASP.NET UpdatePanel.  Maria Naggaga joins Scott Hanselman’s team for developer outreach and has been with Microsoft for 3.5 years, right out of college.  She works primarily with university students and early-stage startups to get them up and running with Microsoft technologies.

Community Links

James Chambers wrote up the notes from an previous discussion on how to optimize Visual Studio for speed.

Check out the Client-Side Library Installer extension for Visual Studio 2015 that our colleague Mads Kristensen has been working on

Steve Lasker published his notes about integrating docker throughout your development process.

An update has been released for Ben Foster’s SaasKit for building software as a service applications using ASP.NET Core

Mike Brind wrote an article about Encryption and Decryption in ASP.NET Core

The is a proxy library available in the ASP.NET organization on GitHub

TechEmpower, who manages the benchmarks ASP.NET’s Kestrel is comparing against, featured a post about the Kestrel performance benchmarks.

The ASP.NET Monsters podcast shared a screencast about Loading Settings from a Database in ASP.NET Core

Hisham published a post on Code Project about Localization Extensibility with ASP.NET Core

There’s a good series on getting started with ASP.NET Core and Angular from Fiyaz Hasan

Arvind Gehlot wrote a post about improving performance of ASP.NET MVC 5 (not ASP.NET Core)

There’s a new article from Eric Anderson about how to send emails with MailGun from ASP.NET Core

Norm Johanson wrote an article about ASP.NET Core deployment on Amazon Web Services

Rachel Weil published a video on Channel 9 about how to get started with Visual Studio Code

Questions and Answers

Question: What is the status of SignalR for Mac and Linux?

— SignalR is scheduled for delivery after the initial RTM of ASP.NET Core

Question:  What is being done to correct the system corruption created by ASP.NET 5 RC1 Update 1?

— The team has seen the issue report and will work to track this down

Question:  Is there a way to override a controller’s authorize on an action level?

— The hosts were not sure of the answer to this one, but recommend you ask this question on the issues list for MVC and refer to using filters and attributes.  Another good location to ask this question would be on StackOverflow.  Scott also recommends taking a look at the source code to see what is possible.

Question: What is your recommendation of having basic websocket functionality in ASP.NET Core application (one-way communication, no transport fallbacks)? Middleware or opening a channel in a MVC controller? With MVC we already have easy routing. Any downsides?

— Official support will not be available in RTM, but there is a preview version that is available. Its not completely at the quality level Microsoft wants to deliver of a fully-supported library.

Question:  Do we have an RC2 release date?

— Don’t have any yet, they will be posted on GitHub as soon as we know. The big things moving are the dnx -> .NET CLI change over. The next big thing is the change to the new .NET Standard target framework monikers.

Question:  Really excited about the docker post – I’ve got a PR for the ASP.NET docker image, any tips to help get that PR merged?

— We’re following up with the repo manager to check status

Question:  About the page rendering strategy: My understanding of ASP.NET MVC is, that the general procedure is to start rendering from a leafe (bottom, page) and going up until the root (top, layout), why is it not the other way around?

— The initial view rendered in MVC dictates which layout to reference and passes view data to that layout.  Someone could build a view engine that renders in a different order.  This isn’t a razor specific question, but rather the view engine.

Question:  I noticed Publish with precompilation still leaves razor pages as plaintext files. Will there be option to precompile/embed them in the near future?

— Precompilation of razor was cut from v1. Embedded razor views can be placed in a DLL and the EmbeddedFilesProvider can be used to deliver that content.

Question: What is the status of getting XML documentation compile options into project.json?

— This is not turned on by default, but the project.json file for any of the ASP.NET repositories on GitHub have this option activated by default in the compilationOptions element.  Eilon also recommends disabling the compiler warning with the nowarn property demonstrated in those project.json files.

Wrap Up

Maria will be presenting in Hong Kong at the Microsoft Cloud Roadshow on March 10 and 11.  We encourage our friends in Hong Kong to come out and say hello to Maria at the Roadshow.  Tune in on March 8th to learn more from the team.