{"id":6745,"date":"2016-09-27T10:19:53","date_gmt":"2016-09-27T17:19:53","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/dotnet\/?p=6745"},"modified":"2021-09-30T11:50:47","modified_gmt":"2021-09-30T18:50:47","slug":"the-week-in-net-on-net-on-orchard-2-mocking-on-core-storyteller-armello","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/the-week-in-net-on-net-on-orchard-2-mocking-on-core-storyteller-armello\/","title":{"rendered":"The week in .NET: On .NET on Orchard 2 &#8211; Mocking on Core &#8211; StoryTeller &#8211; Armello"},"content":{"rendered":"<p>To read last week&#8217;s post, see <a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/the-week-in-net-on-net-with-steeltoe-c-functional-extensions-firewatch\/\">The week in .NET: On .NET with Steeltoe \u2013 C# Functional Extensions \u2013 Firewatch<\/a>.<\/p>\n<h2>On .NET<\/h2>\n<p>Last week, S\u00e9bastien Ros was on the show to talk about <a href=\"https:\/\/github.com\/orchardcms\/orchard2\">Orchard 2<\/a>:<\/p>\n<p style=\"text-align: center;\"><iframe width=\"560\" height=\"315\" src=\"https:\/\/channel9.msdn.com\/Shows\/On-NET\/Sbastien-Ros-Orchard-2\/player\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>This week, we&#8217;ll speak with <a href=\"https:\/\/github.com\/jbevain\">JB Evain<\/a> about his work on the <a href=\"https:\/\/visualstudiogallery.msdn.microsoft.com\/8d26236e-4a64-4d64-8486-7df95156aba9\">Visual Studio 2015 Tools<\/a> for <a href=\"https:\/\/unity3d.com\/\">Unity<\/a>, and maybe also <a href=\"https:\/\/github.com\/jbevain\/cecil\">Cecil<\/a>. The show begins at 12PM Pacific Time (note that&#8217;s 2 hours later than usual) <a href=\"https:\/\/channel9.msdn.com\/Shows\/On-NET\">on Channel 9<\/a>. We&#8217;ll take questions on Gitter, on <a href=\"https:\/\/gitter.im\/dotnet\/home\">the dotnet\/home channel<\/a>. Please use the <code>#onnet<\/code> tag. It&#8217;s OK to start sending us questions in advance if you can&#8217;t do it live during the show.<\/p>\n<h2>Mocking on .NET Core<\/h2>\n<p>Three major .NET mocking frameworks now have official pre-releases with .NET Standard support:<\/p>\n<ul>\n<li><a href=\"https:\/\/ci.appveyor.com\/nuget\/FakeItEasy\">FakeItEasy<\/a> (nuget feed from AppVeyor CI builds).<\/li>\n<li><a href=\"https:\/\/www.nuget.org\/packages\/Moq\/4.6.38-alpha\">Moq<\/a>: Note that there is another &#8220;moq.netcore&#8221; package from the ASP.NET team&#8217;s MyGet feed. It is an obsolete private fork meant to unblock testing in the early days before Moq had releases that support .NET Standard. Consumers of the &#8220;moq.netcore&#8221; package should switch to use the latest official Moq package.<\/li>\n<li><a href=\"https:\/\/www.nuget.org\/packages\/NSubstitute\/2.0.0-rc\">NSubstitute<\/a>.<\/li>\n<\/ul>\n<h2>Package of the week: Storyteller<\/h2>\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Behavior-driven_development\">BDD<\/a> enables you to focus on the functional behavior your code should have. Its products are runnable code expressed in plain English, and are thus easy to validate by non-technical stakeholders, converging specification and testing. The natural language used in BDD also opens some really interesting scenarios, such as documentation that lives on with the code.<\/p>\n<p><a href=\"http:\/\/storyteller.github.io\/\">StoryTeller<\/a> is such a BDD package for .NET (soon on .NET Core), that is perfect for integration testing, executable specifications, and living documentation. <a href=\"https:\/\/jeremydmiller.com\/2016\/09\/19\/storyteller-3-0-official-release-and-on-to-4-0\/\">StoryTeller 3.0<\/a> was just released, and it&#8217;s used by <a href=\"http:\/\/structuremap.github.io\/\">StructureMap<\/a>, <a href=\"http:\/\/jasperfx.github.io\/marten\">Marten<\/a>, and of course StoryTeller itself.<\/p>\n<p><a href=\"http:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2016\/09\/StoryTeller.png\"><img decoding=\"async\" style=\"border: 0px currentcolor;\" title=\"StoryTeller\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2016\/09\/StoryTeller_thumb.png\" alt=\"StoryTeller\" width=\"583\" height=\"201\" border=\"0\" \/><\/a><\/p>\n<p><script src=\"https:\/\/gist.github.com\/bleroy\/60fcabd216a1303c6c24ecd3b3645519.js\"><\/script><\/p>\n<h2>Game of the Week: Armello<\/h2>\n<p><a href=\"http:\/\/armello.com\/\">Armello<\/a> is a visually stunning digital board game that combines tactical card game elements with tabletop strategy and roleplaying. When entering the world of Armello, you become one of eight heroes, each of which has their own set of unique traits. Explore, quest, scheme and vanquish monsters while you attempt to overthrow the current ruler and take your rightful place on the throne. Armello features both single player and multiplayer games, dynamically generated levels, and over 120 beautifully animated cards.<\/p>\n<p><a href=\"https:\/\/cloud.githubusercontent.com\/assets\/4108756\/18880446\/b105c2e2-848c-11e6-846f-df565393b9ee.jpg\"><img decoding=\"async\" style=\"width: 800px; max-width: 100%;\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2016\/09\/b105c2e2-848c-11e6-846f-df565393b9ee.jpg\" alt=\"Armello\" \/><\/a><\/p>\n<p><a href=\"http:\/\/armello.com\/\">Armello<\/a> was created by <a href=\"http:\/\/leagueofgeeks.com\/\">League of Geeks<\/a> using <a href=\"https:\/\/unity3d.com\/\">Unity<\/a> and <a href=\"https:\/\/channel9.msdn.com\/Series\/C-Sharp-Fundamentals-Development-for-Absolute-Beginners\">C#<\/a>. It is available on Xbox One, PlayStation 4 and Steam for Windows, Mac and Linux.<\/p>\n<h2>Blogger of the week: Muhammad Rehan Saeed<\/h2>\n<p><a href=\"http:\/\/rehansaeed.com\/\">Muhammad Rehan Saeed<\/a> appears in Week in .NET almost weekly, with long-form, detailed posts that are absolutely outstanding. We are featuring two of his posts this week. Check them out!<\/p>\n<h2>User group meeting of the week: Deep Dive to Azure IoT Hub in Edmondton, Alberta<\/h2>\n<p>On Wednesday, September 28, in Edmonton, Alberta, Canada, Sergii Baidachnyi is taking you on <a href=\"http:\/\/www.meetup.com\/Edmonton-NET-User-Group\/events\/234182774\/\">a deep dive into Azure&#8217;s IoT hub<\/a> with the <a href=\"http:\/\/www.meetup.com\/Edmonton-NET-User-Group\/\">Edmonton .NET User Group<\/a>.<\/p>\n<h2>.NET<\/h2>\n<ul>\n<li><a href=\"https:\/\/blogs.msdn.microsoft.com\/dotnet\/2016\/09\/26\/introducing-net-standard\/\">Introducing .NET Standard<\/a> by Immo Landwerth.<\/li>\n<li><a href=\"https:\/\/channel9.msdn.com\/Blogs\/dotnet\/Get-started-with-VS-Code-using-CSharp-and-NET-Core\">Get started with VS Code using C# and .NET Core<\/a> by Kendra Havens.<\/li>\n<li><a href=\"https:\/\/blogs.msdn.microsoft.com\/maoni\/2016\/09\/19\/556\/\">GLAD is available<\/a> by Maoni Stephens.<\/li>\n<li><a href=\"https:\/\/blogs.msdn.microsoft.com\/webdev\/2016\/09\/20\/announcing-the-dotnetcompilerplatform-1-0-2-release\/\">Announcing the DotNetCompilerPlatform 1.0.2 release<\/a> by Matt FJH.<\/li>\n<li><a href=\"http:\/\/cakebuild.net\/blog\/2016\/09\/cake-v0-16-0-released\">Cake v0.16.0 released<\/a> by Patrik Svensson.<\/li>\n<li><a href=\"http:\/\/www.productiverage.com\/when-a-disk-cache-performs-better-than-an-inmemory-cache-befriending-the-net-gc\">When a disk cache performs better than an in-memory cache (befriending the .net GC)<\/a> by Productive Rage.<\/li>\n<li><a href=\"http:\/\/rehansaeed.com\/the-dotnet-watch-tool\/\">The Dotnet Watch Tool<\/a> by Muhammad Rehan Saeed.<\/li>\n<li><a href=\"https:\/\/buildplease.com\/pages\/ilweaving\/\">Deal with Swallowed Exceptions Magically with IL Weaving<\/a> by Nick Chamberlain.<\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/teamblog\/september-docs-update\/\">September Update to docs.microsoft.com<\/a> by Jeff Sandquist.<\/li>\n<\/ul>\n<h2>ASP.NET<\/h2>\n<ul>\n<li><a href=\"https:\/\/blogs.msdn.microsoft.com\/dotnet\/2016\/09\/21\/reusing-configuration-files-in-asp-net-core\/\">Reusing Configuration Files in ASP.NET Core<\/a> by Connie Yau.<\/li>\n<li><a href=\"https:\/\/blogs.msdn.microsoft.com\/webdev\/2016\/09\/19\/introducing-identityserver4-for-authentication-and-access-control-in-asp-net-core\/\">Introducing IdentityServer4 for authentication and access control in ASP.NET Core<\/a> by Jeffrey T. Fritz.<\/li>\n<li><a href=\"https:\/\/leastprivilege.com\/2016\/09\/06\/identityserver4-rc1\/\">IdentityServer4 RC1<\/a> by Dominick Baier.<\/li>\n<li><a href=\"http:\/\/rehansaeed.com\/nginx-asp-net-core-depth\/\">NGINX for ASP.NET Core In-Depth<\/a> by Muhammad Rehan Saeed.<\/li>\n<li><a href=\"https:\/\/medium.com\/@ThisisZone\/to-do-write-to-do-app-with-asp-net-core-c02bc3ca9fa1#.6s0c2rjx1\">To do: write &#8220;to do&#8221; app with ASP.Net Core<\/a> by Andy Butland.<\/li>\n<li><a href=\"http:\/\/www.talkingdotnet.com\/use-nancyfx-in-asp-net-core\/\">Use NancyFx in ASP.NET Core<\/a> by Talking Dotnet.<\/li>\n<li><a href=\"https:\/\/carlos.mendible.com\/2016\/09\/26\/step-by-step-asp-net-core-on-docker\/\">Step by step: ASP.NET Core on Docker<\/a> by Carlos Mendible.<\/li>\n<li><a href=\"https:\/\/andrewlock.net\/adding-localisation-to-an-asp-net-core-application\/\">Adding Localisation to an ASP.NET Core application<\/a> and <a href=\"https:\/\/andrewlock.net\/how-to-use-machine-specific-configuration-with-asp-net-core\/\">How to use machine-specific configuration with ASP.NET Core<\/a> by Andrew Lock.<\/li>\n<li><a href=\"http:\/\/www.codeproject.com\/Tips\/1130593\/Troubleshooting-High-CPU-Usage-of-a-NET-Web-Applic\">Troubleshooting High CPU Usage of a .NET Web Application<\/a> by Paulo Henrique S.S.<\/li>\n<\/ul>\n<h2>F#<\/h2>\n<ul>\n<li><a href=\"https:\/\/tech.jet.com\/blog\/2016\/09-14-xunit-jet-open-sourced\/\">xUnit-Jet \u2013 Open Sourced<\/a> by Rand Davis.<\/li>\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=zYi4ev6ll0Y\">F# and ASP.NET Core (video)<\/a>, by Enrico Sada via Community for F#.<\/li>\n<li><a href=\"https:\/\/vimeo.com\/183301783\">F# in the Real World (video)<\/a>, by Yan Cui<\/li>\n<li><a href=\"http:\/\/alxandr.me\/2016\/09\/19\/xando-pt-1\">Xando: Down the rabbit hole of CQRS and Event Sourcing<\/a>, by alxandr<\/li>\n<li><a href=\"https:\/\/kimsereyblog.blogspot.com.by\/2016\/09\/absolute-layout-and-relative-layout.html\">Absolute layout and relative layout Xamarin Forms<\/a>, by Kimserey Lam<\/li>\n<li><a href=\"http:\/\/www.jeremybellows.com\/blog\/Using-Fsharp-and-Canopy-for-UI-Testing\">Using F# and Canopy for UI Testing<\/a>, by Jeremy Bellows<\/li>\n<li><a href=\"https:\/\/github.com\/joeaudette\/playground\/blob\/master\/spa-stack\/README.md\">Learning F#, ASP.NET Core, and Polymer<\/a> by Joe Audette.<\/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<h2>Xamarin<\/h2>\n<ul>\n<li><a href=\"https:\/\/blog.xamarin.com\/scaling-from-side-project-to-200000-downloads-with-xamarin-and-microsoft-azure\/\">Scaling from Side Project to 200,000+ Downloads with Xamarin and Microsoft Azure<\/a> by Courtney Witmer.<\/li>\n<li><a href=\"https:\/\/blog.xamarin.com\/start-building-azure-connected-apps-with-the-xamarin-shopping-demo-app\/\">Start Building Azure-Connected Apps with the Xamarin Shopping Demo App<\/a> by Mike James.<\/li>\n<li><a href=\"https:\/\/blog.xamarin.com\/xamarin-around-the-world-with-xamarin-dev-days\/\">Xamarin Around the World with Xamarin Dev Days<\/a> by Jayme Singleton.<\/li>\n<li><a href=\"https:\/\/blog.xamarin.com\/new-ios-10-privacy-permission-settings\/\">New iOS 10 Privacy Permission Settings<\/a>, <a href=\"https:\/\/channel9.msdn.com\/Shows\/XamarinShow\/Continuous-Integration-with-Simina-Pasat\">The Xamarin Show 2 &#8211; Continuous Integration with Simina Pasat<\/a>, and <a href=\"https:\/\/channel9.msdn.com\/Shows\/XamarinShow\/Snack-Pack-1-Android-Emulators\">The Xamarin Show &#8211; Snack Pack 1: Android Emulators<\/a> by James Montemagno.<\/li>\n<li><a href=\"https:\/\/releases.xamarin.com\/preview-ios-simulator-for-windows-update-4\/\">Preview: iOS Simulator (for Windows) Update 4<\/a> by Adrian Murphy.<\/li>\n<li><a href=\"http:\/\/lastexitcode.com\/blog\/2016\/09\/17\/NuGetSupportInXamarinStudio6-1\/\">NuGet Support in Xamarin Studio 6.1<\/a> by Matt Ward.<\/li>\n<li><a href=\"https:\/\/xamarinhelp.com\/xamarin-forms-triggers-behaviors-effects\/\">Xamarin Forms Triggers vs Behaviors vs Effects<\/a> by Adam Pedley.<\/li>\n<li><a href=\"http:\/\/blog.lordinaire.fr\/2016\/09\/xamarin-build-hololens-apps-with-urhosharp-part-1\/\">Hololens app with UrhoSharp : Introduction \u2013 Part 1<\/a> by Maxime Frappat.<\/li>\n<li><a href=\"https:\/\/elbruno.com\/2016\/09\/19\/hololens-xamarin-urho-and-an-spatial-mapping-sample-with-2-more-lines-of-code-it-became-a-shooting-game\/\">Hololens \u2013 Xamarin, URHO and an Spatial Mapping sample (with 2 more lines of code it became a Shooting Game)<\/a> by Bruno Capuano.<\/li>\n<li><a href=\"https:\/\/www.smashingmagazine.com\/2016\/09\/the-thumb-zone-designing-for-mobile-users\">The Thumb Zone: Designing For Mobile Users<\/a> by Samantha Ingram.<\/li>\n<li><a href=\"http:\/\/www.xradapp.com\/fix-for-uitest-crashing-after-xamarin-studio-update-to-6-1-build-5441-fails-with-setup-system-invalidoperationexception\/\">Fix for UITest crashing after Xamarin Studio update to 6.1 (build 5441) fails with SetUp : System.InvalidOperationException<\/a> by Mark J Radacz.<\/li>\n<li><a href=\"http:\/\/jesseliberty.com\/2016\/09\/19\/yet-another-podcast-164-azure-mobile-apps-with-chris-risner\/\">Yet Another Podcast #164 \u2013 Azure Mobile Apps with Chris Risner<\/a> by Jesse Liberty.<\/li>\n<\/ul>\n<h2>Azure<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.troyhunt.com\/azure-functions-in-practice\/\">Azure Functions in practice<\/a> by Troy Hunt.<\/li>\n<li><a href=\"https:\/\/stormpath.com\/blog\/dotnet-core-azure-lets-encrypt-authentication\">Tutorial: Launch Your ASP.NET Core WebApp on Azure with TLS &amp; Authentication<\/a> by Laura Rodriguez.<\/li>\n<\/ul>\n<h2>Games<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=xz8Ga9er3_8&amp;feature=youtu.be\">Unity 5 Tutorial: How to make Snake Movement in Unity<\/a> by Gamad<\/li>\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=B5-zf6BEJ8s&amp;feature=youtu.be\">Let&#8217;s Learn Unity: Unity Interface Tips and Tricks<\/a> by Wuzseen<\/li>\n<li><a href=\"https:\/\/publicstringnotes.wordpress.com\/2016\/09\/24\/understanding-interfaces\/\">Understanding Interfaces<\/a> by clawsgamedev<\/li>\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=Rr4sE_A_E-Q\">Unity 2D Movement (Part 1) &#8211; Forwards &amp; Backwards<\/a> by Pixel Make<\/li>\n<li><a href=\"https:\/\/kylewbanks.com\/blog\/unity-2d-checking-if-a-character-or-object-is-on-the-ground-using-raycasts\">Unity 2D: Checking if a Character or Object is on the Ground using Raycasts<\/a> by Kyle Banks.<\/li>\n<\/ul>\n<p>And this is it for this week!<\/p>\n<h2>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. The F# section is provided by Phillip Carter, the gaming section by Stacey Haffner, and the Xamarin section by Dan Rigby.<\/p>\n<p>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? Did you make or play a great game built on .NET?\nWe&#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\/dab191a0bfc1909b777aed2b3fdb7f09\">comment on this gist<\/a><\/li>\n<li>Leave us a pointer in the comments section below.<\/li>\n<li><a href=\"https:\/\/twitter.com\/yecats131\">Send Stacey (@yecats131) tips on Twitter about .NET games<\/a>.<\/li>\n<\/ul>\n<p>This week&#8217;s post (and future posts) also contains news I first read on <a href=\"https:\/\/blogs.msdn.microsoft.com\/webdev\/tag\/communitystandup\/\">The ASP.NET Community Standup<\/a>, on <a href=\"http:\/\/weeklyxamarin.com\/\">Weekly Xamarin<\/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>, 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: On .NET with Steeltoe \u2013 C# Functional Extensions \u2013 Firewatch. On .NET Last week, S\u00e9bastien Ros was on the show to talk about Orchard 2: This week, we&#8217;ll speak with JB Evain about his work on the Visual Studio 2015 Tools for Unity, and maybe [&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-6745","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: On .NET with Steeltoe \u2013 C# Functional Extensions \u2013 Firewatch. On .NET Last week, S\u00e9bastien Ros was on the show to talk about Orchard 2: This week, we&#8217;ll speak with JB Evain about his work on the Visual Studio 2015 Tools for Unity, and maybe [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/6745","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=6745"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/6745\/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=6745"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=6745"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=6745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}