Awarded – Microsoft MVP 2nd time in a row

Gladly sharing that I’m awarded Microsoft MVP 2nd time in a row. Thank you Microsoft for the recognition again. I want to extend my thanks to all my friends and whosoever has¬†supported me along the way! Thank you. Microsoft¬†Most Valuable Professional (MVP) award is given to “exceptional, independent community leaders who share their passion, technical … Read more

[Powershell] Azure Automation – Delete all Azure Logic Apps in a Resource Group

In one of my recent projects I had a requirement to delete all the Logic Apps from a resource group on Azure. In this quick blog I’m sharing how to¬†delete all the logic apps in one go inside a resource group using the following Powershell script: Prerequisites: Service Principal Account Credentials (ClientId / Secret) SubscriptionId … Read more

[Powershell] Export Self-Signed Certificate

  $cert = New-SelfSignedCertificate -DnsName yourdomain.cloudapp.net -CertStoreLocation “cert:\LocalMachine\My” $password = ConvertTo-SecureString -String “Password@1234” -Force -AsPlainText #Generate¬†.pfx Export-PfxCertificate -Cert $cert -FilePath “.\my-cert-file.pfx” -Password $password #Export to .cer format Export-Certificate -Type CERT -Cert $cert -FilePath .\my-cert-file.cer

How to: Generate Free SSL Certificate for a domain and upload on Azure Website?

Today ¬†I spent nearly 2 hours browsing through the Web for ways to create an SSL Certificate for Free from Let’s Encrypt. I explored letsencrypt.org ¬†and various other websites, and landed up on one with the easiest steps. While trying others I got stuck many times in the middle as many of them have a … Read more

TypeScript Fundamentals – Session Recap

Today I participated in one of the events hosted by C# Corner, held at “C# Corner – Delhi Chapter”. ¬†I spoke on Fundamentals of TypeScript.¬†Below are few glimpses from the session. I also got few licenses of¬†OzCode – A magical debugging tool for Visual Studio to distribute.¬†We did a raffle to¬†select the winners. Below are … Read more

How to manage IIS Server online

Hey folks, now it’s possible to manage your IIS (Internet Information Services) Server right from the browser. I’m here going to share the steps I was required to perform before it started running. It was simple though. Right now the service is in “Preview” mode, hope to see this launched very soon!

“To start, head over to https://manage.iis.net and download IIS Administration Setup.

3-download-iis-administration-setup

As soon the download starts, it shows you another screen waiting for the service to be installed and run, and let you proceed further.

4-wait-for-the-installation

 

The installation failed twice. It asked me to install “Microsoft Visual C++ 2015 Redistributable (x64)” first and then asked to install “Microsoft .Net Core 1.0.1 Windows Server Hosting”. I had no other trouble during the installation. My machine config at the time is Windows 10 Enterprise (x64) / i5 / 12 GB.

I did an IIS reset and the waiting window started receiving signals ūüôā The first screen prompted me with a default port (PORT# 55539) on localhost address and asked me to supply an “Access Token”.

6-connection-manager

The link below the input box lets you generate or refresh the access token. In the background, it installed “Microsoft IIS Administration Service” exposing a web service on port 55539. I’m yet to figure out if the port it configurable.

Generate an access token and supply to the IIS Management form and you’re done. It also allows you to set¬†how soon the access token¬†should be expired.

7-create-access-key

8-create-access-key_2

9-access-key-generated

10-connect-to-iis-administration

 

IIS Administration Setup needs to be installed on the machine running IIS Server. To manage any IIS server online you just need this Access Token.

So, the steps are as follow:

1. Install IIS Administration Setup and its dependencies on the IIS Server machine. (It will install and start “Microsoft IIS Administration” Service)

2. Generate Access Token on that machine

3. Use that token anywhere in the world to access IIS Server which belongs to the token. Make sure the port 55539 is allowed from the network you’re trying to access the IIS Server over the web.

Note: you can refresh the key anytime you want to (or an access token has been compromised).

Server and Website Administration is very smooth with the web console. All options from IIS Manager is available online and is very user friendly. You can do pretty much everything from the web console that comes available with IIS Manager on Windows.

Exploring websites:

11-iis-connected

Creating a website:

12-create-web-site

13-select-from-available-pools

Managing IIS Server:

15-server-specific-settings 14-administer-any-website

I’ll leave the rest of the exploration for you. Hope you enjoyed it. Thanks for reading!

Happy Learning ūüôā