Uno Platform now lets you develop for macOS, Windows, and more using the same code

Uno platform wallpaper

Uno Platform announced today that it now supports macOS as a target platform. This new support means that developers can use a single code base to create apps on Windows, iOS, Android, the web, and macOS. According to Uno Platform, this makes it the first and only cross-platform solution to allow the same codebase to run on all these platforms. Uno Platform allows developers to use C# and XAML code to create native apps on several platforms. Rather than running through Electron or emulation, apps that utilize Uno Platform can…

Read More

Introducing Web Vitals: essential metrics for a healthy site

Chromium wallpaper

Optimizing for quality of user experience is key to the long-term success of any site on the web. Through our ongoing engagement and collaboration with millions of web developers and site owners, we’ve developed many helpful metrics and tools across Google to help business owners, marketers, and developers alike identify opportunities to improve user experiences. However, abundance of metrics and tools creates its own set of prioritization, clarity, and consistency challenges for many.  Today we are introducing a new program, Web Vitals, an initiative by Google to provide unified guidance…

Read More

Multiple output in Azure Functions with C#

Azure Functions Featured Image

In this post I like to analyse how to return multiple output in Azure Functions with C# and Service Bus. If you want more info, in the last week or so, I published some posts about Azure Function in C# or F# like “Create Azure Function in C# Script and Service Bus” or “Creating Azure Function in F#“. You have a platform on Azure and two different services are triggered by a message from Service Bus. At some point, you have an Azure Function doing a procedure that has to…

Read More

Microsoft: new free Python programming language courses are for novice AI developers

Python programming language

Aspiring data-science and machine-learning developers now have more Microsoft-made free video tutorials to learn how to build software in Python, one of today’s most popular and versatile programming languages.  The new More Python for Beginners series consists of 20 videos that run between two minutes and 15 minutes each. It covers working with files, lambdas or ‘anonymous functions’, and object-oriented programming, and each tutorial is followed by a short demo video. The tutors also introduce some newer functionality to support asynchronous development through async/await. The new series are once again presented by Christopher…

Read More

How To Live Stream From Xbox To YouTube Or Twitch

How To Live Stream From Xbox One To YouTube Or Twitch

A post about gaming it is quite unusual for PureSourceCode but we can’t work all the time. When the quarantine started, I bought an Xbox and for the first time in my life, I started to play games! So, I want to share my frustration 🙂 with you. I found a way to do live stream from my Xbox One to YouTube and Twitch. I explain here how. What do you need? An Xbox One, A Mixer Account Linked to Your Microsoft Account, an account on the service you want…

Read More

Adapting to Enterprise and B2E Xamarin Forms App Development

microsoft xamarin heros c# iOS Android UWP

Enterprise or Business to Employee (B2E) mobile apps can be quite different from their B2C counterparts. B2C apps, tend to focus on a small number of screens or feed for their main usage, and additional screens are not as frequently used, but there to serve ancillary functionality as needed. B2E apps, are focused on function, normally recording or accessing data for their day to day job. Many of them are replacing hand written recordings, for digital records, that are automatically synchronized to the main database. The fact that these users…

Read More

Xamarin Forms Dependency Injection

microsoft xamarin heros c# iOS Android UWP

Calling native platform code in your portable class library (PCL) is achievable via Dependency Injection. It’s a common question for people starting out, who are using a PCL or .NET Standard Library for developing their Xamarin apps. Dependency Injection involves creating an interface that can be commonly applied across all native platforms, then coding the actual implementation, or the native platform code, on each platform. This interface and instance is then given to a container. The PCL or .NET Standard Library, then goes to the container with only the interface…

Read More

Working with CarouselView in Xamarin Forms

microsoft xamarin heros c# iOS Android UWP

Xamarin.Forms code runs on multiple platforms – each of which has its own filesystem. This means that reading and writing files is most easily done using the native file APIs on each platform. Alternatively, embedded resources are a simpler solution to distribute data files with an app. CarouselView CarouselView is available in Xamarin.Forms 4.3. However, it is currently experimental and can only be used by adding the following line of code to your AppDelegate class on iOS, or to your MainActivity class on Android, before calling Forms.Init: Prerequisites Visual Studio…

Read More

Using functions as values in F#

Microsoft F# Fsharp

In my previous post, we discussed about immutable data structure. Now, imagine that we want to write a method similar to SumList but that multiplies the numbers rather than adding them. Making this change looks quite easy: we can copy the SumList method and tinker with it. There are only two changes in the modified method: The first change is that we’re using multiplication instead of addition in the branch that does the recursive call ❷. The second change is that the value returned for an empty list is now 1 instead of 0 ❶. This solution works,…

Read More