What is the current .NET version on an Azure App Service

I have an App Service here (currentdotnetversion) that shows the output of the current (when I wrote this article) .NET version using C# code.  Here is a partial code snippet: I took the code from here and I got the Microsoft.Win32 assembly via a NuGet package, see Figure 1. Figure 1, where to get the…


21 февраля вебинар. Шахматный клиент-сервер на C#

Добрый день, друзья! 21 февраля 2018 года состоится первый вебинар ITVDN по проекту «Шахматный клиент-сервер на C#» от партнера Microsoft. В проекте используются такие технологии: C#, ASP.NET, MS-SQL, EF, Unity. В результате мы создадим сервер, через который клиенты смогут играть друг с другом в шахматы со смартфона. Весь проект состоит из 4 частей: Алгоритм. Программирование…


Accessing a .NET bot’s state via dependency injection

When using the .NET BotBuilder SDK’s dialog system, you can access the bot state using the dialog context, but what if you don’t have the dialog context handy? You have two options Pass the context around all the time Use the already built in IoC container to get the bot state. With v3 of the…


Top secret .NET handles – Part 1 – Dependent handles

.NET publicly has documented 4 kind of handles: Weak (also called Short Weak) – Don’t keep target object alive and will return null when object is gone. The target will become null when the object enters for finalization. WeakTrackResurrection (also called Long Weak) – Don’t keep target object alive and will return null when object is gone….


Kerberos Configuration Manager for IIS Server

Many of us find troubleshooting Kerberos configured for a website on IIS Server quite a tedious task since it involves multiple levels of troubleshooting. This blog is meant to demystify the art of troubleshooting Kerberos on IIS Server. Why is Kerberos painful at times? First, understanding Kerberos is quite tricky. Configuration takes a lot of…

4

Store different derived classes in collections in C++ and C#: CoVariance, shared_ptr, unique_ptr

I wanted to create a collection container that would hold objects of various types, all derived from a common interface/base class.In C# and VB, this is easy. Just create a new List<MyBase>() and add elements to it, including various MyBase derived typesAdding elements that are more derived is Covariance (not to be confused with covariance…


TLS on Azure App Services

I wrote this article some time ago “How to disable TLS 1.0 on an Azure App Service Web App” that explains some of the reasons TLS was not configurable on the Azure App Service platform.  There were many customers who wanted to disable TLS 1.0 so they could remain or become PCI compliant and at…

1

What Root Certificates exist on an Azure App Service, CA Root

As you may already know SSL/TLS is offloaded on the Front Ends (*) and this is where certificate root chains are validated (AFAIK).  There is no way for you to access those machines to dump out what CAs are there.  The next, or closest thing I can think of is to dump them out via…


CMake Support in Visual Studio – Test Explorer Integration, CMake 3.10

点这里看中文版 We are excited to announce new CMake features in Visual Studio 2017 version 15.6 Preview 2.  In the latest preview, we have improved CTest’s integration with the IDE, including rich support for the Google and Boost unit testing frameworks. If you are new to CMake in Visual Studio, check out how to get started….


IntelliSense Enhancements for C++ Open Folder and CMake

Today’s preview of Visual Studio 2017 version 15.6 Preview 2 includes two IntelliSense improvements to streamline code editing for C++ Open Folder and CMake. We added a new type of IntelliSense squiggle to C++ Open Folder and CMake to streamline cross-platform development.  We also now support a new heuristic and wildcard syntax to the include…