UWP Windows 10 App, TitleBar and Status bar customization

“Hello World”! Customize the title bar of your Universal App for Windows 10 is quite easy, but you need to write different code for PC and Mobile.  The class that allows you to customize the title bar: when running on a PC is called TitleBar when running on a Mobile is called StatusBar Before to…

12

Azure, Usage of CDN API to Load and Purge content

c”Hello World”! Azure CDN is a great and powerful feature that is straightforward to setup and configure, but the management of the CDN content can be performed only via the Azure Portal or directly invoking the CDN APIs. There are no CDN PowerShell cmdlets at the moment. The API to load or purge specific content…

6

UWP Windows 10 App, Windows startup size and full screen

“Hello World”! In some scenarios you might want to launch your brand new Windows 10 app with a specific size and/or you might want to set a minimum size in order to properly code the adaptive UI layer. To launch your view with a specific size you first need to change the default startup mode: ApplicationView.PreferredLaunchWindowingMode…

2

Service Fabric Reverse Proxy Port discovery

Hello World! The reverse proxy is a feature of Service Fabric that allows to expose internal endpoints, taking care of naming resolution, discovery and maintenance. Basically each service can be reached using an URI like: http://cluster-fqdn:PORT/[ApplicationName]/[ServiceName] In this Uri PORT is the Reverse Proxy port, ApplicationName is the name of the deployed application (root of…

2

IIS Remote Administration APIs and DCOM ID 10028 Error

“Hello World”! Today I want to blog about an odd behavior you might see if you do remote administration of an Internet Information Server (IIS) from a Windows Server 2008 R2 or later OS. Let’s say that you have a script or a tool that allows you to remotely manage IIS, and this tool is based on .NET Framework. You might notice that…

0

Access an Azure AD secured Api with Asp.Net Core 2.0

Basic AzureAD scenario
Basic AzureAD scenario

tl;dr Register a new Web App in AAD for the Api Register a new Web App in AAD for the FronEnd Add the permissions to access the Api app Configure the Web apps code with the authentication details as usual (ClientID, Client Secret, Audience Uri..etc..). In Azure portal edit the FrontEnd manifest enabling the implicit…

0

Create a Service Fabric Application on demand

“Hello World”! You probably already know that the Service Fabric SDK allows a developer to fully manage the cluster, the nodes, and the deployed applications by code. One of the features I like most of the Service Fabric programming is the ability to dynamically create and deploy new services. Or more in general the ability…

0

Experimenting with Azure Managed Applications

“Hello World”! Today I’m playing with the new service “Azure Managed Applications” (Service Catalog) and would like to write down some key points I learned, and can be hopefully useful for new comers: when you create a managed application this is nothing else than a standard ARM template, you need to create also other two…

0

Azure AD Delegation scenario

tl;dr Register a new Web App in AAD for the Api Add the required “delegated” permissions to the external resource (i.e: Microsoft Graph) Register a new Web App in AAD for the FrontEnd Add the permissions to access the Api app Configure the Web apps code with the authentication details as usual (ClientID, Client Secret,…

0

WCF ETW Tracing

“Hello World”! Today I would like to share a quick way to enable and collect WCF tracing, machine wide, without any configuration change! We are all used to enable WCF diagnostic tracing using the application/web configuration file (leveraging our friend System.Diagnostics.XmlWriterTraceListener). But WCF uses also ETW for tracing, so we have a second option! The…

0