Azure Governance: Custom Role

Azure provides lot of services for governance of its usage including Azure monitor, Azure Cost Management, and so on. For our subscription, we have observed very high usage in previous month and planned to implement some control over the Azure resource usage to reduce the cost.

One of the steps taken is to restrict the provisioning of Azure resources. Earlier, we used to provision new resource groups and provide owner and contributor access to the team to provision required resources. We have started the implementation by defining a custom role based on existing role – Reader.

Please refer my LinkedIn article for more details about our custom role @

Posted in Uncategorized | Leave a comment

Angular 7 with Bootstrap

Angular is a modern UI framework following Agile based development practice. When we architect or design an Angular application, we approach it in two ways.

  • Low level component development
  • Composite component development

Low level component development will be used for organizations, where we plan to reuse all base controls across multiple applications or the current application is very big. In regular application development, we go with Composite component development based on frameworks supporting the low level components. Main low level component frameworks are Material and Bootstrap.

Please refer the following article to understand how to use Bootstrap with Angular 7

Posted in UI | Tagged | Leave a comment

System Tray Icon for .NET Core Console App

Notification icon or tray icon is supported for .NET Core 3.0 onwards only. Install .NET Core 3.0 Preview from to add the tray icon for a console or windows application.

Once installed, create a new console application using .NET Core in Visual Studio

Add references to System.Windows.Forms and System.Drawing.Common from .NET Core 3.0 library, which will be located at C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\3.0.0-preview3-27504-2.

Also, add your tray icon. Here, I have used the cat.ico for the tray icon.

In your program, use the NotifyIcon from System.Windows.Forms namespace to create a tray icon and add the notification message to it.

Sample code:

Console.WriteLine(“Hello Kitten!”);
NotifyIcon icon = new NotifyIcon();
icon.Icon = new System.Drawing.Icon(“./cat.ico”);
icon.Visible = true;
icon.BalloonTipText = “Hello from My Kitten”;
icon.BalloonTipTitle = “Cat Talk”;
icon.BalloonTipIcon = ToolTipIcon.Info;

Ensure that the cat.ico will be copied to your output directory

Run the application and observe the tray icon and notification appearing near the task bar.


Posted in .NET Core | Tagged , | 3 Comments

Azure Notebooks – Great tool

Great tool from Microsoft.

Read the book and practice directly from your browser. No setup hurdles, no download issues, and so on. Many books related to Python, R and Data Science are available now. Add new skills to your expertise quickly.

Screen shot from my Python basics; edit the samples and run.

Posted in Azure, Book | Tagged , | 2 Comments

Enabling SQL Express User

Visual Studio(VS) lovers! Yes, we want to work on everything from within the VS. Yes, of course, our VS have required features to support us to perform various development and ALM operations. Database is one of the main parts of any application development. Instead of working on the database objects using SQL Server Management Studio, we prefer to use VS. Access the database directly from VS using the SQL Server Object Explorer. Moreover, we would like to work with the SQL express instead of connecting to a centralized database server for small project or at the starting of a project.




Posted in SQL, Visual Studio | Tagged | Leave a comment