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 moreAwarded – Microsoft MVP 2nd time in a row

[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] Azure Automation – Delete all Azure Logic Apps in a Resource Group

[Powershell] Export Self-Signed Certificate

  $cert = New-SelfSignedCertificate -DnsName yourdomain.cloudapp.net -CertStoreLocation “cert:\LocalMachine\My” $password = ConvertTo-SecureString -String “[email protected]” -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

[Software Review] – Stellar Phoenix Windows Data Recovery

Data plays a very crucial role for each individual whether it is Home user or Enterprises where as  damage to your computer can  make your data unreadable and that’s where you need a good data recovery software to get you out of trouble, by recovering your valuable data. It has happened to me and I … Read more[Software Review] – Stellar Phoenix Windows Data Recovery

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 moreHow to: Generate Free SSL Certificate for a domain and upload on Azure Website?

[Quick Tip]: Use Windows Explorer address bar for “commands”

Even though you’re a Windows OS user for a very long time I’m sure you would love to know this! Here’s a quick tip that you might unaware of so far.   You can use Windows Explorer’s Address Bar just like you use Run Command: Under any window while browsing files on your computer just point your … Read more[Quick Tip]: Use Windows Explorer address bar for “commands”

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 moreTypeScript Fundamentals – Session Recap

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 Administation 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 IIS Server machine. (It will install and start “Microsoft IIS Admistration” Service)

2. Generate Access Token on that machine

3. Use that token any where 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 rest of the exploration for you. Hope you enjoyed it. Thanks for reading!

Happy Learning 🙂

Presented on Javascript Best Practices

Today we organized a user group meet at C# Corner – Delhi Chapter with sessions based on  MVC, Azure, JavaScript and AngularJS. I spoke on JavaScript Best Practices. Much appreciate the learning spirit of the attendees as they made it out even in the rain. Hats off to you guys! We discussion the DOs and DONTs of common … Read morePresented on Javascript Best Practices