My Personal Notes from the ASP.NET Community Standup – June 14, 2016 – Damian Returns

As Jeff Fritz did for every community standup, I decided to write this post to share what I have learnt.

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 Core framework over the previous week. Within 30 minutes, Scott Hanselman, Damian Edwards, Jon 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.

Scott was in vacation and have a tons of emails to read. He feels overwelmed. Damian was NDC Oslo last week and he did a great talk with David Fowler.

This week’s meeting is below:

Links of the Week

dotnetConf is a virtual conference focused on one thing: showcasing the .NET Framework as a premier platform for developers focusing on desktop, mobile, web, and cloud-based applications. A Peek into .NET Open Source Contributions

Bobby shows how to build a static file server in ASP.NET Core RC2 with the CLI

Alexandre presents how to Implement a Markdown Engine for .NET

Maher (it's me :-)) is looking on the built-in Logging framework in ASP.NET Core so we can dig into that.

Rick gives us his fair attitude about ASP.NET Core and .NET Core Overview.

Michal Dymel approaches ASP.NET Core with a problem-solution style in his blog post : ASP.NET CORE – PROBLEMS AND FIXES.

Michal Ogluszka describes Microservice on ASP.NET Core RC2 on Ubuntu.

Kevin is writing about Https Redirect with Asp.Net Core RC2 And Kestrel on Windows.

Damien wrote Angular2WebpackVisualStudio.

Filip wrote Introducing Strathweb.TypedRouting for ASP.NET MVC Core.

Laurent wrote ASP.NET Core RC2, Docker and HipChat Connect add-on.

Vincent wrote Easy publishing to Docker with the .NET CLI.

Konstantin wrote about aspnet-starter-kit.

Muhammad wrote ASP.NET MVC Boilerplate.

Jerrie wrote Authenticating a user with LinkedIn in ASP.NET Core in which he shows how easy it is to authenticate a user with any OAuth2 service using the new generic OAuth middleware in ASP.NET Core. This post reminded Scott that Microsoft bought LinkedIn yesterday!

Bill wrote about Hybrid model binding in ASP.NET Core 1.0 RC2.

What's new?

Still 2 weeks for shipping RTM 1.0, the core asp.net team is focusing now fixing critical issues on the framework. But Damian presented a new feature about composability for the next version may be on Core 1.1 that will make easily TagHelper and HtmlHelper generic:
Razor Templating Improvements https://github.com/aspnet/Razor/issues/788

The idea existed in 2011 and was blogged here :
http://haacked.com/archive/2011/02/27/templated-razor-delegates.aspx

Below is a (gist) sample code — written in the airport by David Fowler who is the ASP.NET Core architect — illustrating the feature:

Q&A

This is the first time that the chat is driven by Gitter instead of Google Hangout Q&A. Personally, I find it cool!

Question: As a nightly build dev, I'm on the aspnetvnext feed. During stabilization for RC2-final, I had a good experience switching over to the ASP.NET CI release feed. Can I and should I go on the CI Release feed again while you are stabilizing packages for RTM? If so, when should I do that or how will I know when to switch to the CI Release feed?
— Not yet because the release branch still on RC2.

Question: What's the story for new project templates? Are we looking at going forward with yeoman, or will there be first-class templates using "dotnet new"?

— There are some small changes in "dotnet new" for RTM but it will be a large change for the future versions in order to make "dotnet new" more sophisticated with more choices of templates and options. Also, it will be even so faster than before!

Question: Is it possible to deploy ASP.NET 4.x on Docker? Maybe with Mono?

— It might be possible on Windows Server 2016.

Question: When would be able to reference .NET Core projects from classic .NET framework projects?

— That will happen after the RTM Build work.

Question: If I understand correctly, the goal is to create really small packages. I heard that this would probably be done through the linker, is that true? And if so, is there any information on this approach?

— There is no concrete announcement about linkers.

Question: Are MVC Core 1.0 RC2 Views debuggable? I mean is it possible to breakpoint in a view?

— It might be broken in RC2 but it will be fixed in RTM.

Question: Is everyone supposed to upgrade RC1 to RC2? I mean, RC1 is not longer to be maintained right? Because there are a lot of breaking changes between RC1 and RC2... I dont know what is going to be expected in RC3.

— If your upgrade to RC2 now, upgrade to RTM will be trivial.

Question: What is the best way to share Views between projects? I would like to use a shared header, footer and _layout.cshtml in multiple projects. I would prefer to use ViewComponents if possible.

— It's a something that we are looking at in the future.

Question: Have you fixed the document encoding in the VS'15 templates for Views? With RC2 they save with the wrong encoding so non-english characters show up wrong until you resave the document, explicitly forcing it to UTF-8. When you scaffold a new controller/view that is..

— No idea maybe you need to ask the tooling team on github repo.

Question: Are you planning to create sort of roadmap / tutorials or so, about new features/possibilites in asp development?

— Scott will look for them internally.

Question: Is it possible to target ASP.NET Core RC1 inside ASP.NET Core RC2 project?

—No, because ASP.NET Core RC1 relies on dnx.

Question: Is the talk on rc2 in a winforms app recorded and where can we see it? Love to know about the mechanics on that!

— Yes, you can see the Demos for NDC Oslo 2016 here : https://github.com/DamianEdwards/ndcoslo2016 and for the talk it will uploaded in a few days.

Question: Are you going to do released version branches for historic rollbacks, debugging or a github "release" item (e.g. v1.0.0, v1.1.0, v1.2.0) etc so you can pull the release at that version, rather than hunting for the right commit at the right time?

— We don't have a great way of building from old source the code as it was at that point.

Question: Any collaboration with Oracle for coreclr support? How about others like DB2?

— No idea about Oracle and DB2.

Question: How can we initialize brand new request and send it to pipeline, from something like a service or program.cs main?

— Have a look on this code https://github.com/DamianEdwards/ndcoslo2016

Question: Another docker (inspired) question: will there be (or is there) a dotnet restore option with --no-cache on packages so the docker-image-size could be a smaller?

— it's a matter of http cache...

Question: What's the story of roslyn analyzers and first class support for dotnet-cli? Currently only one or two work and the only alternatives are static analysis tools.

— Roslyn analysers are delivered by packages and the tooling experience is in vsix. But, we don't have roslyn analyzers and first class support for dotnet-cli and .NET Core projects systems. It's a result of MSBuild work.

Question: how can I make dotnet core console app build as .exe?

— You don't!

Question: Is Mono still supported with RC2, some people have mentioned you have to now set environment variables so the referenced assemblies can be found?

— It was never supported.

Question: How do we turn on error checking on server-side code in Razor views in RC2?

— We don't have a precompiled views at the moment.

Question: Will I be able to reference .NET Core packages in .NET Full apps?

— It depends what you reference in .NET Core. The .NET Core is running side by side with .NET Full Framework. Both are running on the top of .NET Standard.

Question: Is there a way to exclude files or folders from being published? (eg wwwroot/less)

— Yes, you set the non-published folders in the project.json.

Question: Is there any tutorial or blog post on how i can build a standalone with net core?

— It is documented in the docs.

Question: any word on those blog posts going into more detail about the project system changes?

— For new features, changes and announcement they will be published in the blogs but when things are shipped and done all the documentation should be in the docs.

This time the chat worked well : a lot of questions and answered quickly!
And at the end of every community standup there is an awesome dramatic zoom out ;-)

Maher Jendoubi

Speaker, Microsoft MVP, Blogger, Pluralsight Paris Study Group Leader.

Subscribe to Hi! I'm Maher.

Get the latest posts delivered right to your inbox.

or subscribe via RSS with Feedly!
Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.