Monday, September 30, 2019

It's finally here the new Windows Virtual Desktop

Here we go Virtual Desktop General Availability as of Sept. 30, 2019

"Today, we’re excited to announce that Windows Virtual Desktop (WVD) is now generally available worldwide." Windows Virtual Desktop is the only service that delivers simplified management, a multi-session Windows 10 experience hosted in Azure. This means many users can log into to same Windows 10 machine.  Moreover, WVD optimizations for Office 365 ProPlus ( a popular enterprise request) and you can connect to using standard Windows Server Remote Desktop Services (RDS) desktops and apps. 

With Windows Virtual Desktop, you can deploy and scale your Windows desktops and apps on Azure in minutes.

Get the low-down on WVD see videos below;
 




Source: https://www.microsoft.com/en-us/microsoft-365/blog/2019/09/30/windows-virtual-desktop-generally-available-worldwide/

Tuesday, September 24, 2019

How to create a single self-contained exe using dotNET core 3.0


Once you converted your project into new .csproj format you can copy these lines into your Visual Studio project file. This exe is total self contained. 

Published trim, new feature trims out all assemblies from .Net Core to shrink the exe. But this is still experimental feature, it can trim to much out. 


1
2
3
4
5
<PropertyGroup>
 <PublishSingleFile>true</PublishSingleFile>
 <RuntimeIdentifier>win-x64<RuntimeIdentifier>
 <PublishTrimmed>true</PublishTrimmed>
<PropertyGroup>

Here's the .NET Conf 2019 (Sept 23, 2019) talking point about single exe feature

Thursday, September 19, 2019

Microsoft Visual Studio Team just opened sourced the C++ Standard Library (aka STL)

What is the C++ STL ?

The STL (Standard Template Library) was developed separately, and then submitted to the C++ standard committee for consideration, giving them the option of adopting it into the language. But it was not developed as part of the C++ standard, and for this reason, it is designed in a style that is very different from the rest of the C++ standard library. 

The STL at it's code provides the most fundamental functionality you expect of a standard library: The ability to store sequences of data, and the ability to process these sequences.

Every other language has a Collections/Containers part of its standard library, containing implementations of dynamic arrays (known as arraylists in Java, List in C#, and vectors in C++), linked lists, dictionaries and other common data structures.
They also typically provide some mechanims for traversing these structures. (Enumerators or iterators, for example)
The STL provides the same functionality in C++, but does it in a unusually elegant way, and with some interesting abstractions.
Press Release

Today (Sept 16, 2019) at 
CppCon 2019, we (the MSVC team) announced that we’re releasing our implementation of the C++ Standard Library (also known as the STL) as open source.
https://github.com/microsoft/STL is our new repository, containing all of our product source code, a new CMake build system, and a README with more information.
Sources: