Skip to main content

Architect, CTO, consultant, author, editor, and industry/web standards expert that still enjoys writing code.
Opinions are mine alone.

www.linkedin.com/in/jevdemon

keybase.io/jevdemon

mastodon.technology/@jevdemon

 

Try out the new Windows Command Line!

2 min read

Requirement: You must be on Windows 10 version 10.0.18362.0 or higher.  Please make sure you run Windows Update and verify your version before attempting to install.  At the time this was posted version 10.0.18362.0 was only available as a Release Preview on the Windows Insider program (which you can join here).

There is a new tabbed Command Prompt coming to Windows soon.  The code is on GitHub if you’d like to build and deploy it yourself.  Building and deploying this thing is not easy (I did it last night). 

 I’ve got a build here that you can deploy on your machine if you’d like to try it out. 

To install:

  1. Copy the Terminal folder to your machine
  2. Install the cert (*.cer) as a TrustedPublisher
  3. Right-click on the .ps1 file and select Run As Powershell

Once it’s installed check your Windows menu for Windows Terminal (Preview).  Clicking this should open the new shell (it looks a lot like the old shell).

Hit CTRL+T to show the tabbed interface.  You can open several tabs and use CTRL+Tab to move between them.

The new command shell is very customizable. 

Pick the Settings option to edit the configuration file in Visual Studio.  If you don't have Visual Studio installed you can manually open the JSON settings file using Notepad from C:\Users\<your-profile>\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\RoamingState\profiles.json. If you use Notepad you may find it easier to copy and paste the contents of the JSON file into an online editor.  Make sure you save a copy of the original file in case you break something.

I've included a copy of my settings file in the zip as an example.  I modified the settings to also launch Ubuntu, Visual Studio command lines, and the Azure Cloud Shell.

Enjoy!

 
 

Azure SQL Connector Limits

1 min read

Parking this here for possible future reference....

There is a 10MB limit on the connector when reading from a SQL Azure DB over an on-premises data gateway. 

Here is the official documentation on this topic: https://docs.microsoft.com/en-us/connectors/sql/

 

 

Service Bus best practice: 2 queues in 2 different (paired) regions in “active” mode. You'll need to handle duplicates but you should be designing idempotent services anyway. https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-outages-disasters#protectin...

 

Rough day for Azure

Apparently a bad DNS entry made many services inaccessible for an hour or two.. 

 

Create automated workflows with Visual Studio - Azure Logic Apps

 

ASP.NET Blog | .NET Core Workers in Azure Container Instances

 
 

Azure AzCopy now supports copying data from an Amazon Web Services S3 bucket. https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10

 
 

Change Feed – Unsung Hero of Azure Cosmos DB

Note that Change Feed isn't enabled for DELETEs.

 

Using TLA+ to specify Cosmos DB consistency guarantees precisely.
https://github.com/Azure/azure-cosmos-tla/blob/master/README.md

 
 
 
 

Cosmic Clone is a tool to clone\backup\restore and anonymize data in an azure Cosmos Collection
https://github.com/Microsoft/CosmicClone

 

Interesting maps of Azure capabilities:
Azure Services Map: https://aka.ms/azure-services-map
Azure Heat Map: https://azureheatmap.azurewebsites.net/?vm=lmi

 
 
 

Containers on Azure: What To Use When

2 min read

•       "Kubernetes as a Service“ – best for Linux containers

•       pay for VMs, instances, storage and networking consumed by your Kubernetes cluster

•       Container orchestration only – no process orchestration

•       “Containers as a Service” – Azure manages containers for you (“serverless”)

•        Fastest/simplest way to run a container in Azure  - pay only for container duration

•        Best for bursty/occasional workloads (per-second billing)

•       Not a container orchestrator (use ACI Connector for K8S)

•       “Docker as a Service” – use existing containers

•       pay only for App plan used by your service

•       Suitable for long-term Linux-based workloads

•       Windows is support is available but isn't GA yet.

  • Service Fabric

•       Hosting/orchestrating Windows-based services or containers

•       Programming model for stateful/stateless actors

•       Costs based on underlying VMs and storage used – SF service itself is free

•       WebApps

•       Pure PaaS

•       “Sandboxed” – can’t access or install anything on the underlying servers.

•       Won’t work with Xpert Agents (ETW Traces)

 

 
 
 
 
 

Event Hubs for Kafka provides a Kafka endpoint. This means any Kafka client can publish/subscribe events to/from Azure Event Hubs.
https://azure.microsoft.com/en-us/blog/announcing-the-general-availability-of-azure-event-hubs-for-a...