Previous posts:
- Open XML SDK, Adventure Time
- .NET poster, Happy Birthday .NET with Jan Kotas, Skyworld
- Microsoft Build 2017, .NET Core 2.0 preview 1, For the King
On .NET: Brett Morrison
During the Build conference, I caught up with my friend Brett Morrison. Brett is an entrepreneur, executive, and hands-on developer, who has been using Microsoft products and .NET throughout his career. He founded startups, such as Onestop and ememories, and also worked for SpaceX.
Package of the week: DateTime Extensions
Date calculations can be tricky, but if you need to take holidays into accounts, things become really complicated. The DateTime Extensions project knows holidays for two dozen cultures, and can perform calculations taking them into account.
DateTimeCultureInfo pt_ci = new DateTimeCultureInfo("pt-PT");
DateTime startDate = new DateTime(2011, 4, 21);
//21-04-2011 - start
//22-04-2011 - holiday
//23-04-2011 - saturday
//24-04-2011 - sunday
//25-04-2011 - holiday
//26-04-2011 - end
DateTime endDate = startDate.AddWorkingDays( 1, pt_ci);
Assert.IsTrue(endDate == startDate.AddDays(5));
- DateTime Extensions Web site
- DateTime Extensions on GitHub
- DateTime Extensions on NuGet
- Sample web site
Meetup of the week: Donovan Brown – Zero to DevOps and Database DevOps in Cambridge
DevOps is about people, process and products. Getting it all right requires effort but the benefits to your organisation and customers can be huge. In this demo-heavy session, Donovan Brown will show you how to go from "zero to DevOps" like a pro. Starting from just a blank desktop, he will create a new team project and a complete pipeline. He will also deploy an ASP.NET MVC application into Azure all live and hands on.
This meetup is on Monday, June 12, in Cambridge. It’s hosted by the Cambridge .NET User Group.
.NET
- .NET Core and .NET Framework Working Together, Or: The Magic of .NET Standard by Jamie Taylor.
- Announcing Reactive Extensions for .NET 4.0 Preview 1! by Oren Novotny.
- The Coming .NET Renaissance by Aaron Stannard.
- Choice amongst cross-platform .NET IDEs – VS Code, Visual Studio for Mac, JetBrains Rider by Scott Hanselman.
- Array Pool by Christian Nagel.
- Creating a simple key-value logger for an object graph by Daniel Wertheim.
- The Fraternal Twins of Equals and GetHashCode by Tim Patrick.
- .NET Core Support in dotConnect Providers and LinqConnect! by Devart.
- Docker for .NET Developers (Part 1)An introduction to Docker for .NET developers by Steve Gordon.
- Docker for .NET Developers (Part 2) Taking a look at our first dockerfile and building an image for an ASP.NET Core API service by Steve Gordon.
- Using Roslyn refactorings with OmniSharp and Visual Studio Code by Filip W.
- Refactoring dependencies with Autofac Aggregate Services by Cecil Phillip.
- ClrMD Part 4 – What callbacks are called by my timers? by Nasarre Christophe and Kevin Gosse.
ASP.NET
- IdentityServer4: New & Improved for ASP.NET Core by Dominick Baier.
- Installing Asp.Net Core Docker For Windows by Sibeesh Passion.
- Getting Started with ASP.NET Core JavaScript Services by Jason Taylor.
- The Microsoft.AspNetCore.All metapackage is huge, and that’s awesome, thanks to the .NET Core runtime store by Andrew Lock.
- Using ImageSharp to resize images in ASP.NET Core – Part 4: saving to disk by Andrew Lock.
- ASP.NET Core – Logging by CodingBlast.
- The end of request validation by James Jardine.
- Post-Redirect-Get and TempData with ASP.NET Core by Gérald Barré.
- Conditional middleware based on request in ASP.NET Core by Paul Hiles.
- Bypassing IIS Error Messages in ASP.NET by Rick Strahl.
- Using VS Code and ASP.NET Core? by Shawn Wildermuth.
- Owin middleware in .NET Standard for Application Insights – part 2 by Piotr Stapp.
- ASP.NET Core Utils – nuget package available by Michal Dymel.
- Implementing a silent token renew in Angular for the OpenID Connect Implicit flow by Damien Bowden.
C#
- Practical C# – Select in LINQ by Andrea Angella.
- Practical C# – Aggregate in LINQ by Andrea Angella.
- Practical C# – Sum in LINQ by Andrea Angella.
- Practical C# – Where in LINQ by Andrea Angella.
- Strong Typing: a pattern for more robust and maintainable code by Jos Hickson.
F#
- Introducing Fable.Remoting: Automated Type-Safe Client-Server Communication for Fable Apps by Zaid Ajaj.
- (Nearly) Everything You Ever Wanted to Know About F# Active Patterns by Hakka Labs.
- F# Partiall-Applied Unions by Anthony Perez.
- Why you should use F# by Phillip Carter and Mads Torgersen.
- Using Polly with F# async workflows by Mark Seemann by Mark Seemann.
- Encapsulation – C# vs F# vs Haskell, equivalent result by Ramón Soto Mathiesen.
- Azure Functions tip: working locally with F# Scripts by Mathias Brandewinder.
There is more content available this week in F# Weekly. If you want to see more F# awesomeness, please check it out!
VB
- Simple .NET Core application using VB.NET by Gunnar Peipman.
Xamarin
- Xamarin Stable Release: 15.2.2 Xamarin.Android, Xamarin.VS Hotfix by Bri Brothers.
- Xamarin University To Host Free Webinars in June by Michael Domingo.
- New & Upcoming Xamarin Dev Days by Jayme Singleton.
- Xamarin Podcast: Previewing Xamarin.Forms 3.0 by Pierce Boggan.
- Introducing ELXF: A UI Framework for Concise, Maintainable & Fast Programmatic UI’s for Xamarin.Forms by Lee Richardson.
- Introduction to Rest Web Services in Xamarin by Asfend Yar.
- Shared Components In Xamarin Forms by Asfend Yar.
- View Sizing In Xamarin Forms by Asfend Yar.
- A simple page-indicator for your android view-pager by Diego Ponce de León.
- Xamarin.Tip – Adding Dynamic Elevation to Your Xamarin.Forms Buttons by Alex Dunn.
- Xamarin.Tip – Mvvm Light and Dependency Injection by Alex Dunn.
- Snack Pack 12: Getting Started with Visual Studio for Mac by James Montemagno.
- Text and Icons in Master/Detail Reveal Button on iOS by Matthew Soucoup.
- Things I Think Are Cool: Merge Conflict Podcast by Matthew Soucoup.
- Use Camera To Take Photo In Xamarin Forms by Adam Pedley.
- Xamarin Mobile Apps Continuous Integration and Delivery with Jenkins and HockeyApp by Junian Triajianto.
- Trying Out Xamarin Live Player by Bryan Anthony Garcia.
- Ambient Properties in Xamarin.Forms by Nick Randolph.
- Toolbar Navigation in Xamarin Forms by Jason Farrell.
Azure
- Solve production exceptions in no time with Application Insights Snapshots by Patrick van Kleef.
- Azure SQL Data Sync Refresh by Joshua Gnanayutham.
- Diagnose sudden changes in your app behavior with a click! by Sharon Nakibly.
- Streamlining Kubernetes development with Draft by Gabe Monroy.
- Azure via C# – Create Azure Blobs by Andrea Angella.
- Building a JAMstack site with Hugo and Azure Functions by Conduct of Code.
UWP
- UWP and the evolution of touch development by Windows Apps Team.
- Toolkits, Toolkits, Toolkits! by Windows Apps Team.
And this is it for this week!
Contribute to the week in .NET
As always, this weekly post couldn’t exist without community contributions, and I’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, the Xamarin section by Dan Rigby, and the Azure and UWP section by Michael Crump.
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?
We’d love to hear from you, and feature your contributions on future posts. Please add your posts, it takes only a second.
We pick the articles based on the following criteria: the posts must be about .NET, they must have been published this week, and they must be original contents. Publication in Week in .NET is not an endorsement from Microsoft or the authors of this post.
This week’s post (and future posts) also contains news I first read on The ASP.NET Community Standup, on Weekly Xamarin, on F# weekly, and on The Morning Brew.