{"id":5041,"date":"2016-01-12T09:36:17","date_gmt":"2016-01-12T09:36:17","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/dotnet\/2016\/01\/12\/the-week-in-net-1122016\/"},"modified":"2021-09-30T13:58:38","modified_gmt":"2021-09-30T20:58:38","slug":"the-week-in-net-1122016","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/the-week-in-net-1122016\/","title":{"rendered":"The week in .NET &#8211; 1\/12\/2016"},"content":{"rendered":"<p>To read last week&#8217;s post, see <a href=\"http:\/\/blogs.msdn.com\/b\/dotnet\/archive\/2016\/01\/05\/the-week-in-net-1-5-2015.aspx\">The week in .NET &#8211; 1\/5\/2016<\/a>.<\/p>\n<h2><a id=\"user-content-onnet\" class=\"anchor\" href=\"#onnet\"><\/a>On.NET<\/h2>\n<p>Last week, we had <a href=\"https:\/\/www.youtube.com\/watch?v=pwdxfY2Y2Ow\">Mads Torgersen on the show<\/a> to talk about language design in general, and C# in particular. This week, we&#8217;ll talk to Jonathan Chambers from the <a href=\"http:\/\/unity3d.com\/\">Unity 3D<\/a> team about game engines, and using .NET to target iOS, Android, or even the Web. Please send me your questions ahead of time, or attend the show and ask them on the chat. Tune in on <a href=\"https:\/\/www.youtube.com\/watch?v=B0yWmVL8hF0\">Thursday, at 10:00AM PST<\/a> to view the show live!<\/p>\n<h2><a id=\"user-content-package-of-the-week-1-jsonnet-8\" class=\"anchor\" href=\"#package-of-the-week-1-jsonnet-8\"><\/a>Package of the week #1: JSON.NET 8<\/h2>\n<p><a href=\"https:\/\/github.com\/JamesNK\/Newtonsoft.Json\">JSON.NET<\/a> needs no introduction, as it is the recommended library to serialize and deserialize JSON in .NET. James Newton-King <a href=\"http:\/\/james.newtonking.com\/archive\/2015\/12\/20\/json-net-8-0-release-1-allocations-and-bug-fixes\">just released version 8.0<\/a> with lots of bug fixes, and great performance improvements. To improve perf on an already very fast library, James introduced new ways in which a JSON.NET user can avoid memory allocations. Instead of allocating new buffers as needed, the new code uses pools of buffers:<\/p>\n<p><script src=\"https:\/\/gist.github.com\/bleroy\/784f9c6d439fca8b3812.js\"><\/script><\/p>\n<p>The new feature is still somewhat experimental, and for now, you&#8217;ll need to provide your own implementation of <code>IArrayPool<\/code> (a sample is provided on <a href=\"http:\/\/james.newtonking.com\/archive\/2015\/12\/20\/json-net-8-0-release-1-allocations-and-bug-fixes\">the announcement post<\/a>). In future versions, there will be a built-in implementation.<\/p>\n<h2><a id=\"user-content-package-of-the-week-2-colorfulconsole\" class=\"anchor\" href=\"#package-of-the-week-2-colorfulconsole\"><\/a>Package of the week #2: Colorful.Console<\/h2>\n<p>Console applications are cool, but they can be even cooler with some added color. <a href=\"http:\/\/colorfulconsole.com\/\">Colorful.Console<\/a> is a drop-in replacement for <code>System.Console<\/code> that adds some new APIs that make it super-simple to write in color. But that&#8217;s not all: it also contains a super-cool API that can transform text into ASCII art:<\/p>\n<p><script src=\"https:\/\/gist.github.com\/bleroy\/4f09cf8dc7419cda5ba5.js\"><\/script><\/p>\n<p><a href=\"https:\/\/camo.githubusercontent.com\/ac939db6a00a5639d3c257298dcb87432d83ecff\/687474703a2f2f636f6c6f7266756c636f6e736f6c652e636f6d2f696d616765732f61736369695f78322e706e67\" target=\"_blank\" rel=\"noopener noreferrer\"><img style=\"max-width: 100%; padding-top: 0px; padding-left: 0px; padding-right: 0px; border-width: 0px;\" alt=\"Belvedere ice cream formatted as ASCII art\" border=\"0\" \/><\/a><\/p>\n<h2><a id=\"user-content-user-group-of-the-week-adelaide-net-user-group\" class=\"anchor\" href=\"#user-group-of-the-week-adelaide-net-user-group\"><\/a>User group of the week: Adelaide .NET User Group<\/h2>\n<p>On <a href=\"http:\/\/www.meetup.com\/Adelaide-dotNET\/events\/227689829\/\">Wednesday, January 13 in Adelaide<\/a> (yep, in Australia), David Gardiner will present on IntelliTest and other .NET unit testing tools.<\/p>\n<h2><a id=\"user-content-net\" class=\"anchor\" href=\"#net\"><\/a>.NET<\/h2>\n<ul>\n<li>In <a href=\"https:\/\/stackoverflow.com\/questions\/34611919\/how-to-package-a-portable-net-library-targeting-net-core\">a great series of questions and answers<\/a>, Sander shows <a href=\"https:\/\/stackoverflow.com\/questions\/34611919\/how-to-package-a-portable-net-library-targeting-net-core\">how to package a .NET library using various compilation targets, including .NET Core<\/a><\/li>\n<li><a href=\"https:\/\/www.simple-talk.com\/dotnet\/visual-studio\/debugging-and-profiling-in-visual-studio-2015\/\">Debugging and Profiling in Visual Studio 2015<\/a> by Manuel Meyer.<\/li>\n<li>Tony Sneed recounts his journey to open source in <a href=\"http:\/\/blog.tonysneed.com\/2015\/12\/19\/how-open-source-changed-my-life\/\">How open source changed my life<\/a>.<\/li>\n<li><a href=\"http:\/\/codeblog.jonskeet.uk\/2016\/01\/08\/to-base-or-not-to-base-that-is-the-question\/\">To base(), or not to base(), that is the question<\/a> by Jon Skeet.<\/li>\n<li><a href=\"http:\/\/www.kunal-chowdhury.com\/2016\/01\/csharp-basics.html\">Evolution of C#<\/a> by Kunal Chowdhury.<\/li>\n<li><a href=\"http:\/\/www.dotnetrocks.com\/default.aspx?ShowNum=1240\">Functional Microservices<\/a>, the .NET Rocks show with Rachel Reese.<\/li>\n<\/ul>\n<h2><a id=\"user-content-aspnet\" class=\"anchor\" href=\"#aspnet\"><\/a>ASP.NET<\/h2>\n<ul>\n<li><a href=\"http:\/\/www.davepaquette.com\/archive\/2016\/01\/02\/goodbye-child-actions-hello-view-components.aspx\">Goodbye child actions, hello view components<\/a> by Dave Paquette.<\/li>\n<li><a href=\"http:\/\/www.hanselman.com\/blog\/BestPracticesForPrivateConfigDataAndConnectionStringsInConfigurationInASPNETAndAzure.aspx\">Best practices for private config data and connection strings in configuration in ASP.NET and Azure<\/a> by Scott Hanselman.<\/li>\n<li><a href=\"https:\/\/www.twilio.com\/blog\/2015\/12\/hola-ip-messaging-real-time-translated-chat-with-asp-net-microsoft-translator-and-ip-messaging.html\">Real time translated chat with ASP.NET, Microsoft Translator and IP Messaging<\/a> by Devin Rader.<\/li>\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=vqcAVic4Ej0\">Building APIs with MVC 6 and OAuth (video)<\/a> by Filip Ekberg.<\/li>\n<li><a href=\"https:\/\/www.simple-talk.com\/dotnet\/asp.net\/how-to-take-an-asp.net-mvc-web-site-down-for-maintenance\/\">How to take an ASP.NET MVC web site down for maintenance<\/a> by Jon smith.<\/li>\n<li><a href=\"http:\/\/damienbod.com\/2016\/01\/07\/experiments-with-entity-framework-7-and-asp-net-5-mvc-6\/\">Experiments with Entity Framework 7 and ASp.NET MVC 6<\/a> by Damien Bod.<\/li>\n<\/ul>\n<h2><a id=\"user-content-f\" class=\"anchor\" href=\"#f\"><\/a>F#<\/h2>\n<p>Great progress has been made to add .NET Core support to the Visual F# compiler. The compiler and F# Interactive now run on CoreCLR on Windows, OS X, and Linux, but there&#8217;s still plenty of work left. To track the progress of the project and find ways to contribute, check out <a href=\"https:\/\/github.com\/Microsoft\/visualfsharp\/wiki\/F%23-for-CoreCLR---Status\">the status page on Github<\/a>.<\/p>\n<ul>\n<li><a href=\"https:\/\/vimeo.com\/album\/3452190\/video\/131189623#t=2m04s\">Lean and Functional Programming<\/a>, by Bryan Hunter.<\/li>\n<li><a href=\"http:\/\/www.pirrmann.net\/visualizing-f-advent-calendar-contributors\/\">Visualizing F# Advent Calendar Contributors<\/a>, by Pierre Irrmann.<\/li>\n<li><a href=\"https:\/\/eiriktsarpalis.wordpress.com\/2015\/12\/27\/reconciling-stacktraces-with-computation-expressions\/\">Reconciling Stack Traces with Computation Expressions<\/a>, by Eirik Tsarpalis<\/li>\n<li><a href=\"http:\/\/blogs.teamb.com\/craigstuntz\/2015\/11\/09\/38883\/\">F# Presentations from CodeMash 2016<\/a>, by Craig Stuntz<\/li>\n<\/ul>\n<p>Check out <a href=\"https:\/\/sergeytihon.wordpress.com\/category\/f-weekly\/\">F# Weekly<\/a> for more great content from the F# community.<\/p>\n<p>And this is it for this week!<\/p>\n<h2><a id=\"user-content-contribute-to-the-week-in-net\" class=\"anchor\" href=\"#contribute-to-the-week-in-net\"><\/a>Contribute to the week in .NET<\/h2>\n<p>As always, this weekly post couldn&#8217;t exist without community contributions, and I&#8217;d like to thank all those who sent links and tips. You can participate too. Did you write a great blog post, or just read one? Do you want everyone to know about an amazing new contribution or a useful library? We&#8217;d love to hear from you, and feature your contributions on future posts:<\/p>\n<ul>\n<li>Send an email to beleroy at Microsoft,<\/li>\n<li><a href=\"https:\/\/gist.github.com\/bleroy\/8935596f8518e41281d2\">comment on this gist<\/a><\/li>\n<li>Leave us a pointer in the comments section below.<\/li>\n<\/ul>\n<p>This week&#8217;s post (and future posts) also contains news I first read on <a href=\"http:\/\/www.asp.net\/\">ASP.NET&#8217;s community spotlight<\/a>, on <a href=\"https:\/\/sergeytihon.wordpress.com\/category\/f-weekly\/\">F# weekly<\/a>, on <a href=\"http:\/\/www.aspnetweekly.com\/\">ASP.NET Weekly<\/a>, on <a href=\"http:\/\/www.dirkstrauss.com\/the-daily-six-pack\/\">Dirk Strauss&#8217; The Daily Six Pack<\/a>, and on <a href=\"http:\/\/themorningbrew.net\/\">Chris Alcock&#8217;s The Morning Brew<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To read last week&#8217;s post, see The week in .NET &#8211; 1\/5\/2016. On.NET Last week, we had Mads Torgersen on the show to talk about language design in general, and C# in particular. This week, we&#8217;ll talk to Jonathan Chambers from the Unity 3D team about game engines, and using .NET to target iOS, Android, [&hellip;]<\/p>\n","protected":false},"author":347,"featured_media":58792,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[685],"tags":[4,51,153],"class_list":["post-5041","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dotnet","tag-net","tag-community","tag-week-in-net"],"acf":[],"blog_post_summary":"<p>To read last week&#8217;s post, see The week in .NET &#8211; 1\/5\/2016. On.NET Last week, we had Mads Torgersen on the show to talk about language design in general, and C# in particular. This week, we&#8217;ll talk to Jonathan Chambers from the Unity 3D team about game engines, and using .NET to target iOS, Android, [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/5041","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\/347"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=5041"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/5041\/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=5041"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=5041"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=5041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}