background preloader

.NET / C#

Facebook Twitter

C# 7.0 and Beyond with Mads Torgersen – Jakub Chodounsky – Medium. New Zealand and Wellington especially are not exactly big so when the program manager of C# language comes into town for a meetup it would be a shame to stay at home.

C# 7.0 and Beyond with Mads Torgersen – Jakub Chodounsky – Medium

This Wednesday the amazing WelliDotNet meetup hosted Mads Torgersen; a guy responsible for the C# language design (and TypeScript and Visual Basic in the past); and he talked about the new features of C# 7.0 and where the next versions are heading. Mads started with the results of Stack Overflow Developer Survey 2017 results where C# is 4th most used programming language. And it also made it to the top 10 most loved programming languages. He thinks the reasons behind that are C# now runs on every platform (not just Windows),Roslyn is an open compiler,you can use your favourite editor, not just Visual Studio andeverything is open source.

Q: How hard was it to get more open? .NET Framework Development Guide. This section explains how to create, configure, debug, secure, and deploy your .NET Framework apps.

.NET Framework Development Guide

The section also provides information about technology areas such as dynamic programming, interoperability, extensibility, memory management, and threading. Multi-Targeting .NET Standard Class Libraries. The .NET family has grown quite a bit, and to be honest, it’s a bit of a confusing mess.

Multi-Targeting .NET Standard Class Libraries

As I already explained in “Migrating Dandago.Finance to .NET Core“, there are now several different types of class library you can choose from (including different kinds of portable class libraries), different ideas of cross-platform (.NET Core vs Universal Windows Platform), different frameworks, and .NET Standard. Let’s consider the following image, which shows three different .NET-based frameworks in relation to .NET Standard: Image credit: .NET Core, .NET Framework, Xamarin – The “WHAT and WHEN to use it” Your applications will typically be built for one of the frameworks on top (e.g. .NET Framework).

.NET Architecture. Top 10 Unity best practices: Naming Conventions : gamedev. Share code between WPF and Universal Apps with PRISM. This will be a series of blog posts that deals with sharing code and XAML between WPF and Universal Apps.

Share code between WPF and Universal Apps with PRISM

This first part is about the basic project set-up and sharing ViewModels. In following parts we will take a look at sharing XAML (with a preprocessor) and unifying concepts such as navigation. Intro We have so many platforms to code for these days: windows desktop, tablets, phones, the web, even xbox. One of the issues stemming from this abundance is that there are a ton of SDKs that have quite similar APIs, but also some subtle and not-so subtle differences that make cross-platform development a real pain. Having said that, it is worth noting that the new “Universal Apps” are a huge step in the right direction.

With Silverlight going away focus is coming back to WPF with great force. Traditional desktop apps are substantially more different than apps for phones/tablets but there is nothing wrong with trying to share code, especially if you are targeting both platforms. The Basics. How to implement a bindable progress indicator (loading dots) for MVVM Windows (8.1) Universal apps : csharp. Building a Mobile Cross-Platform App from a Shared C# Code Base with UI for Xamarin. Async/Await - Under the sheets. What Great .NET Developers Ought To Know (More .NET Interview Questions) De la bonne utilisation de Async/Await en C# Read this article in your language IT | EN | DE | ES [new:30:06/2014]Async et Await simplifient l’écriture des applications qui doivent rester fluides et réactives.

De la bonne utilisation de Async/Await en C#

Mais cela suffit-il à rendre les applications multitâches ? Pas si simple… C’est ce que nous allons voir… Async et Await Pour ceux qui éventuellement auraient loupé un épisode important des aventures de C#, sa vie, son œuvre en 5 tomes, voici un bref résumé de ce que sont les mots clés Async et Await et ce à quoi ils servent. C’est une question de méthode… De nombreuses méthodes ne retournent pas immédiatement le trait, elles peuvent effectuer des tâches assez longues, comme accéder à des ressources extérieures (Web, réseau, appareil de mesure externe ou interne tel le compas, le GPS, l’accéléromètre…). Toute méthode exécutée sur le thread principal bloque logiquement ce dernier or il est utilisé par l’OS pour gérer l’interface.

Les threads ne sont pas des tâches De fait, les threads ne sont pas des tasks… Cours. What Great .NET Developers Ought To Know (More .NET Interview Questions) MVVM : Gérer les données de Design de façon propre. Read this article in your language IT | EN | DE | ES De Silverlight à WinRT en passant les Smartphones, sous Windows ou d’autres OS, les patterns de type MVVM sont devenues indispensables.

MVVM : Gérer les données de Design de façon propre

Toutefois gérer des données de Design pour faciliter la création des UI est souvent mal géré ou oublié. Cela est aussi essentiel pourtant... MVVM “Générique” Il existe de nombreux frameworks pour gérer la séparation UI/Code, qu’ils soient basés sur MVVM, MVC ou d’autres patterns. C’est à la fois attirer votre attention sur le principe de fournir des données de design qui m’intéresse ici et la mise en œuvre de moyens simples réutilisables dans une multitude de contextes (quitte à les adapter). Silverlight L’exemple pourrait être fait avec WinRT, WPF, WP7 ou WP8 ou même d’autres technologies, cela n’a pas grande importance. What Great .NET Developers Ought To Know (More .NET Interview Questions)