Save with Encoding in Visual Studio

Hi, This post shows how you can save files while retaining their encoding and line endings format. For example, if you’re writing a shell script that will be run on a UNIX operating system, the script is supposed to have line endings as (LF) while Windows’ line endings usually follow¬†(CR)(LF) convention. So to save a […]

Enable TLS1.1 and TLS 1.2 in Fiddler

Hi, This post will explain how you can enable TLS 1.1 and TLS 1.2 in fiddler so you can test your Web Apis with TLS 1.1 or 1.2. In order to do this, navigate to Tools –> Options –> HTTPS You will see the below screen If Decrypt HTTPS traffic is not enabled, enable it […]

CSS Browser Compatibility settings in Resharper

Hi, This post will show you how we can enable/disable browser compatibility settings for CSS in Resharper. This setting is very useful which shows us clearly whether a particular css selector or other css features are compatible with specific versions of browsers or not. See the example below. We can see here that resharper points […]

Resolving Azure Data Lake Authorization Issue

Hi, While trying to access Azure Data Lake Store from my application, I encountered the below exception. The client ‘guid’ with object id ‘guid’ does not have authorization to perform action ‘Microsoft.Authorization/permissions/read’ over scope ‘/subscriptions/guid…. Resolution : I realized that I had not given permission to the Active directory application in the Data Explorer tab […]

Resolving IContainer in Constructor when using Autofac

Hi, While using Unity as an Inversion of Control and Dependency Injection container, there is an option to directly inject the container into a class’s constructor by placing the IUnityContainer interface as a constructor parameter. This container can then be used by the class members for further resolution. This option is not directly available in […]

Resolving “Value does not fall within the expected range” ArgumentException while reporting custom health events in Azure service fabric

Hi, If you’re working with Azure Service Fabric, there are chances you might be using the cluster Health Management APIs provided by SF SDK. And if you’re using those, then you would obviously be posting some custom health events at either your service level, application level or instance level with a source Id, health property […]