martes, 20 de junio de 2017
Fijaos en un código como el siguiente, que seguro que habéis escrito cientos de veces, donde utilizamos el constructor de una clase para recibir sus dependencias y almacenarlas en miembros de la instancia:
public class MyService: IMyService { private readonly IDependency _first; private readonly IAnotherDependency _second; public MyService(IDependency first, IAnotherDependency second) { if (first==null) throw new ArgumentNullException("first"); if (second == null) // O mejor, usando el operador nameof throw new ArgumentNullException(nameof(second)); _first = first; _second = second; } ... }
lunes, 19 de junio de 2017
.NET/.NET Core
- The week in .NET – On .NET with Mattias Karlsson on Cake, Topshelf
Bertrand Le Roy - How to reference a .NET Core library in WinForms - Or, .NET Standard Explained
Scott Hanselman - How the .NET Runtime loads a Type
Matt Warren - Creating your first shared library in .NET Core
Paul Hiles - My Favorite C# 7 Feature: More expression-bodied members
James Montemagno - The TDLR; on easily managing .NET concurrent asynchronous threads
Michael Ballhaus - Hangfire: Task Scheduler for .NET
Ilya Chumakov - C# 7.x and 8.0: Uncertainty and Awesomeness
Erik Heemskerk - Calling Web Services with HttpWebRequest, WebClient and HttpClient
Peter Vogel - Automate Testing and Running Apps with dotnet watch
Steve Smith - Viva, Visual Basic! Or, Does VB Have a Future?
Michael Domingo - Visual Basic and Cross-Platform: Mobile Apps with VB, Xamarin, and .NET Standard!
Klaus Löffelmann - Microsoft .NET Framework 4.7 is available on Windows Update, WSUS, and MU Catalog
Jamshed Damkewala - How to build / publish self contained .NET Core binaries for Windows, Linux and OSX
Christophe Diericx - AutoMapper 6.1.0 released
Jimmy Bogard
martes, 13 de junio de 2017
En esta ocasión nos centraremos en la vuelta de tuerca que se ha dado a las tuplas a nivel de lenguaje, reforzándolas como first-class citizens para los desarrolladores C#.
lunes, 12 de junio de 2017
.NET/.NET Core
- The week in .NET – On .NET with Brett Morrison, DateTime Extensions
- Bertrand Le Roy
- Performance Improvements in .NET Core
Stephen Toub - Top .NET Software Errors: 50 Common Mistakes and How to Fix Them
Angela Stringfellow - Building the Ultimate RestSharp Client in ASP.NET and C#
Matthew Jones - An Early Look at C# 7.1: Part 1
Jonathan Allen - C# 7.1 and Beyond: Polishing Usability
Erik Heemskerk - Retaining (and altering) key functions when using Console.ReadKey()
Jasper Lammers - Iterators in C#: yield, IEnumerable & IEnumerator
Alan Zucconi - C# 7 Series, Part 3: Default Literals
Mark Zhou - Trying .NET Core on Linux with just a tarball (without apt-get)
Scott Hanselman - C# 7.2 and 8.0 Roadmap
Jonathan Allen
martes, 6 de junio de 2017
Esto hace que los navegadores, por supuesto siempre con el ánimo de preservar nuestra privacidad, sospechen del sitio web y muestren alertas como la siguiente, donde se nos informa de que el certificado es inválido y que alguien podría estar intentando robarnos información:
lunes, 5 de junio de 2017
.NET/.NET Core
- The week in .NET – Open XML SDK, Adventure Time
Bertrand Le Roy - .NET Core - Cross-Platform Code Generation with Roslyn and .NET Core
Alessandro Del Sole - C# 7 Series, Part 2: Async Main
Mark Zhou - The Fraternal Twins of Equals and GetHashCode
Tim Patrick .NET Standard, una librería para dominarlos a todos
Diego Bersano- Array Pool
Christian Nagel - The Coming .NET Renaissance
Aaron Stannard - Integration testing with .NET Core
Dmitriy Litichevskiy