Two months ago, I presented to you Tabbed Command Prompt that it was in beta for Windows 10. Finally, Microsoft released the new version. Now, I can say Windows Terminal is here!
Uno Platform now lets you develop for macOS, Windows, and more using the same code
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…
Adding Swagger UI to Azure Function APIs
You can set up Swagger UI in your Azure Function API to allow for providing documentation for your serverless API pretty easily
Azure Functions with Configuration and Dependency Injection
How to implement dependency injection in Azure Functions and read the configuration from a local file or from the Azure Environment
Introducing Web Vitals: essential metrics for a healthy site
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…
Inkscape 1.0 is free Windows 10, Linux, macOS
The Inkscape project’s version 1.0 of the free and open-source vector graphics editor is packed with new features
Multiple output in Azure Functions with C#
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…
Microsoft: new free Python programming language courses are for novice AI developers
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…
The reduce Function in F#
In this blog I have some posts about F# because this language seems to be interesting and is becoming popular in some companies. In this post I want to show you the reduce Function in F#.
How To Live Stream From Xbox 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…
Digital transformation scenario with Azure, Visual Studio and Git
In a company prospective, what digital transformation is about? In this post I explain my point of view
Create Azure Function in C# Script and Service Bus
How to create an Azure Function in C# Script using as input and output a message from and to Service Bus Queue step by step
Creating Azure Function in F#
Installing these templates will add a bunch of new options to dotnet new for both C# and F#
Create a project for Azure Function in F# and Visual Studio 2019
How to create a solution and a project for Azure Functions in F# with Visual Studio 2019
Adapting to Enterprise and B2E Xamarin Forms App Development
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…
Xamarin Forms Dependency Injection
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…
How to take a screenshot or record a video of iOS Simulator
Take a screenshot of iOS Simulator or record a video by using the Terminal. Add some troubleshooting for your convinience
Working with CarouselView in Xamarin Forms
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…
Use Azure Resource Groups: A Simple Explanation
A simple explanation how to use Azure Resource Group
Create a console application in F# interactive
We’ll develop an application for drawing pie charts. The application loads data from a comma-separated value (CSV) file and performs pre-processing in order to calculate the percentage of every item in the data source.
Using functions as values in F#
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,…
Using immutable data structures in F#
An immutable data structure (or object) is a structure whose value doesn’t change after it’s created. When you declare a data structure that contains some values, you store these values in slots, such as a field or value declaration.
Nested Function Declarations in F#
Implement a nested function in F#. The function prints squares of the last two arguments using the first argument to format the output
Configuring Push Notifications For Xamarin Forms
How to configure in your Xamarin Forms project the push notification for iOS and Android
GitHub accounts stolen in ongoing phishing attacks
GitHub users are currently being targeted by a phishing campaign specifically designed to collect and steal their credentials