{"id":36867,"date":"2016-11-22T10:29:46","date_gmt":"2016-11-22T17:29:46","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/webdev\/?p=8115"},"modified":"2021-11-01T04:23:29","modified_gmt":"2021-11-01T11:23:29","slug":"notes-from-the-asp-net-community-standup-november-1-2016","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/notes-from-the-asp-net-community-standup-november-1-2016\/","title":{"rendered":"Notes from the ASP.NET Community Standup \u2013 November 1, 2016"},"content":{"rendered":"<p>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. Join <a href=\"https:\/\/twitter.com\/shanselman\">Scott Hanselman<\/a>,\u00a0<a href=\"https:\/\/twitter.com\/damianedwards\">Damian Edwards<\/a>,\u00a0<a href=\"https:\/\/twitter.com\/jongalloway\">Jon Galloway<\/a>\u00a0and an occasional guest or two discuss new features and ask for feedback on important decisions being made by the ASP.NET development teams.<\/p>\n<p>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\u2019s schedule is posted and hosted.<\/p>\n<p><!--more-->\n<strong>ASP.NET Community Standup 11\/01\/2016<\/strong><\/p>\n<p style=\"text-align: center;\">\n  <iframe width=\"540\" height=\"320\" src=\"https:\/\/www.youtube.com\/embed\/qB2XYjkCN_s\" allowfullscreen><\/iframe>\n<\/p>\n<h2>Community Links<\/h2>\n<p><a href=\"https:\/\/www.pumascan.com\/\">Puma Scan <\/a>is a software security Visual Studio analyzer extension that is built on top of Roslyn.<strong>\n<\/strong><\/p>\n<p><a href=\"http:\/\/www.hishambinateya.com\/plug-asp.net-core-middlware-in-mvc-filters-pipeline\">Plug ASP.NET Core Middleware in MVC Filters Pipeline\u00a0<\/a><\/p>\n<p><a href=\"http:\/\/blog.nandotech.com\/post\/2016-10-25-nancyfx-webapi-dapper\/\">Building An API with NancyFX 2.0 + Dapper<\/a><\/p>\n<p><a href=\"https:\/\/github.com\/dasMulli\/dotnet-win32-service\">.NET Standard based Windows Service support for .NET\u00a0<\/a><\/p>\n<p><a href=\"https:\/\/pfelix.wordpress.com\/2016\/11\/01\/accessing-the-http-context-on-asp-net-core\/\">Accessing the HTTP Context on ASP.NET Core<\/a><\/p>\n<p><a href=\"http:\/\/andrewlock.net\/accessing-services-when-configuring-mvcoptions-in-asp-net-core\/\">Accessing services when configuring MvcOptions in ASP.NET Core\u00a0<\/a><\/p>\n<p><a href=\"http:\/\/andrewlock.net\/adding-cache-control-headers-to-static-files-in-asp-net-core\/\">Adding Cache-Control headers to Static Files in ASP.NET Core\u00a0<\/a><\/p>\n<p><a href=\"https:\/\/rimdev.io\/building-net-core-on-travis-ci\/\">Building .Net Core On Travis CI<\/a><\/p>\n<p><a href=\"http:\/\/shazwazza.com\/post\/umbraco-cli-running-on-aspnet-core\/\">Umbraco CLI running on ASP.NET Core<\/a><\/p>\n<p><a href=\"http:\/\/wildermuth.com\/2016\/10\/26\/Testing-SSL-In-ASP-NET-Core\">Testing SSL in ASP.NET Core<\/a><\/p>\n<p><a href=\"https:\/\/github.com\/Microsoft\/aspnet-api-versioning\/blob\/master\/README.md\">ASP.NET API Versioning\u00a0<\/a><\/p>\n<p><a href=\"https:\/\/jonhilton.net\/2016\/10\/19\/creating-a-new-net-core-web-application-what-are-your-options\/\">Creating a new .NET Core web application, what are your options?<\/a><\/p>\n<p><a href=\"http:\/\/qappdesign.com\/using-mongodb-with-net-core-webapi\/\">Using MongoDB .NET Driver with .NET Core WebAPI<\/a><\/p>\n<p><a href=\"https:\/\/www.billbogaiv.com\/posts\/aspnet-core-project-targeting-net-451-running-on-raspberry-pi\">ASP.NET Core project targeting .NET 4.5.1 running on Raspberry Pi<\/a><\/p>\n<p><a href=\"http:\/\/www.hanselman.com\/blog\/FreeASPNETCore10TrainingOnMicrosoftVirtualAcademy.aspx\">Free ASP.NET Core 1.0 Training on Microsoft Virtual Academy<\/a><\/p>\n<p><a href=\"http:\/\/www.hanselman.com\/blog\/UsingDotnetWatchTestForContinuousTestingWithNETCoreAndXUnitnet.aspx\">Using dotnet watch test for continuous testing with .NET Core and XUnit.net\u00a0<\/a><\/p>\n<p><a href=\"https:\/\/github.com\/ealsur\/loganalytics-extensions-logging\/blob\/master\/README.md\">Azure Log Analytics ASP.NET Core Logging extension<\/a><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/aspnet\/bearer-token-authentication-in-asp-net-core\/\">Bearer Token Authentication in ASP.NET Core<\/a><\/p>\n<p><a href=\"https:\/\/github.com\/aspnet\/AspNetCoreModule\">ASP.NET Core Module<\/a><strong>\n<\/strong><a href=\"https:\/\/github.com\/aspnet\/Announcements\/issues\/205\">Removal of dnvm scripts for the aspnet\/home repo<\/a><\/p>\n<h2>Demos<\/h2>\n<p>ASP.NET Core 1.1 \u00a0Preview 1 \u00a0added a\u00a0couple of \u00a0<a href=\"https:\/\/devblogs.microsoft.com\/aspnet\/announcing-asp-net-core-1-1-preview-1\/\">new features<\/a>\u00a0around\u00a0Azure integration, performance and more. In this Community Standup Damian walks us through how he easily upgraded live.asp.net site to ASP.NET Core 1.1, as well as, how to add View Compilation and \u00a0Azure App Services.<\/p>\n<p><strong>Upgrading Existing Projects<\/strong><\/p>\n<p>Before you start using any of the ASP.NET Core 1.1 \u00a0Preview 1 features makes sued to update the<a href=\"https:\/\/blogs.msdn.microsoft.com\/dotnet\/2016\/10\/25\/announcing-net-core-1-1-preview-1\/\"> following<\/a>:<\/p>\n<ul>\n<li>Install .NET Core 1.1 Preview 1 SDK<\/li>\n<li>Upgrade existing project \u00a0from .NET Core 1.0 to .NET Core 1.1 Preview 1. Make sure to also updated your ASP.NET Core packages to their latest versions 1.1.0-preview1.<\/li>\n<li>Update the netcoreapp1.0 target framework to netcoreapp1.1.<\/li>\n<\/ul>\n<h2>View compilation<\/h2>\n<p>Damian went over how he added View compilation to <a href=\"https:\/\/live.asp.net\/\">live.asp.net<\/a>. Typically your razor pages get complied the first time someone visits the site. The advantage of \u00a0View\u00a0compilation is,\u00a0you can now precompile the razor views that your application references and deploy them. This features allow for faster startup times in your application since your views are ready to go.<\/p>\n<p>To start using \u00a0precompiled\u00a0views in your application follow the following steps.<\/p>\n<ul>\n<li>Add\u00a0\u00a0View compilation package<\/li>\n<\/ul>\n<pre>            \"Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Design\": {\r\n                \"version\": \"1.1.0-preview4-final\",\r\n                \"type\": \"build\"\r\n             }<\/pre>\n<ul>\n<li>Add View compilation tool<\/li>\n<\/ul>\n<pre>             \"Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tools\": {\r\n                 \"version\": \"1.1.0-preview4-final\"\r\n               }\r\n<\/pre>\n<ul>\n<li>Include the post publish script to evoke pre-compilation<\/li>\n<\/ul>\n<p>Now, that live.asp.net is configured\u00a0to use view compilation, it will pre-compile the razor\u00a0views.\u00a0Once you&#8217;ve published your application, you will notice that your PublishOutput folders no longer contains a view folder. Instead, you will see appname.PrecompileViews.dll.<\/p>\n<h2>Azure App Service logging Provider<\/h2>\n<p>Damian also configured\u00a0 <a href=\"https:\/\/live.asp.net\/\">live.asp.net<\/a>\u00a0to use Azure App services. \u00a0By adding \u00a0Microsoft.AspNetCore.AzureAppServicesIntegration package , and\u00a0calling the UseAzureAppservices method in Program.cs Diagnostic logs are now turned on in Azure.(<em>see image below<\/em>).<\/p>\n<p><a href=\"http:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2016\/11\/AppServices-Logging-150.png\"><img decoding=\"async\" class=\" wp-image-8135 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2016\/11\/AppServices-Logging-150-1.png\" alt=\"appservices-logging-150\" width=\"656\" height=\"679\" \/><\/a>\nWith Application Logging turned on,<strong>\u00a0<\/strong>you can choose the log level you want and see them in Kudu console, or Visual Studio. (<em>see image below)<\/em><\/p>\n<p><figure id=\"attachment_8145\" aria-labelledby=\"figcaption_attachment_8145\" class=\"wp-caption aligncenter\" ><a href=\"http:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2016\/11\/AppServices-ViewLoggingInKuduConsole-150-1.png\"><img decoding=\"async\" class=\"wp-image-8145 size-large\" src=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2016\/11\/AppServices-ViewLoggingInKuduConsole-150-1-1024x576-1.png\" alt=\"appservices-viewlogginginkuduconsole-150\" width=\"879\" height=\"494\" \/><\/a><figcaption id=\"figcaption_attachment_8145\" class=\"wp-caption-text\"><em>Application Logs in Kudu<\/em><\/figcaption><\/figure><\/p>\n<p>This week Damian went over how to use some of the new features in ASP.NET Core 1.1 \u00a0Preview 1. For more details on ASP.NET Core 1.1 please check out the <a href=\"https:\/\/devblogs.microsoft.com\/aspnet\/announcing-asp-net-core-1-1-preview-1\/\">announcement<\/a> from last month. Thanks for watching.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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. [&hellip;]<\/p>\n","protected":false},"author":3344,"featured_media":58792,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197,7253],"tags":[7501],"class_list":["post-36867","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aspnet","category-communitystandup","tag-communitystandup"],"acf":[],"blog_post_summary":"<p>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. [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/36867","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/3344"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=36867"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/36867\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/58792"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=36867"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=36867"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=36867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}