Quantcast
Channel: General – Amogh Natu's Blog
Browsing latest articles
Browse All 75 View Live

Image may be NSFW.
Clik here to view.

[Resolved] – Multiple connections to a server or shared resource by the same...

Hi, So I was working on two laptops today and had to copy few files from one laptop to the other. As I always do, I tried to access the second laptop using the Run command \\hostname\shared_folder. It...

View Article



Image may be NSFW.
Clik here to view.

2014 in review

The WordPress.com stats helper monkeys prepared a 2014 annual report for this blog. Here’s an excerpt: The concert hall at the Sydney Opera House holds 2,700 people. This blog was viewed about 23,000...

View Article

Image may be NSFW.
Clik here to view.

New year, new resolutions, new hopes. Happy New Year!!

Dear readers, Firstly, I would like to thank you for visiting my blog and encouraging me to write more posts. However, I’ve been very busy lately and have not been able to post much from the past few...

View Article

Image may be NSFW.
Clik here to view.

Installing Windows Identity Foundation Runtime. Resolving Windows Identity...

Hi, I had to install Windows Identity Foundation SDK in a Windows 2012 R2 server for setting up Claims-based authentication. So I downloaded the SDK and started the installation. Immediately I was...

View Article

Image may be NSFW.
Clik here to view.

Get password for IIS Application Pool account

Use the appcmd.exe in cmd prompt to retrieve password of the app pool. Continue reading →

View Article


Image may be NSFW.
Clik here to view.

Show ADFS login page instead of windows authentication pop up

Hi, I recently setup an ADFS website on a server and required the site to display the forms authentication page asking for log in credentials whenever the AD was accessed. But every time, I ended up...

View Article

Image may be NSFW.
Clik here to view.

Recreate azure cloud service package with correct instance size from a...

Hi, Consider a scenario where you’re given azure cloud service packages for deployment and you don’t have access to the code base used to create that package. And in case one of the package’s...

View Article

Image may be NSFW.
Clik here to view.

Resolving “Mapper not initialized. Call Initialize with appropriate...

Hi, In case you’re using AutoMapper to map entity objects; something like below line of code Mapper.Map<User, UserEntity>(user); and if you get the exception, “Mapper not initialized. Call...

View Article


Image may be NSFW.
Clik here to view.

Cannot access a disposed object. ‘System.Net.Http.StringContent’ While having...

Hi, I faced this scenario today when I was trying to make an HttpPost call using a retry logic wherein I was getting an ObjectDisposedException while trying to retry for the first time. Exception...

View Article


Image may be NSFW.
Clik here to view.

Check if service bus topic/subscription/queue exists with SAS key not having...

Hi, Consider a scenario where you’ve developed an application health monitoring type system which validates your application at application startup/periodically. Now as part of that if your application...

View Article

Image may be NSFW.
Clik here to view.

Resolving “Value does not fall within the expected range” ArgumentException...

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

Entity Framework not saving data to database on context.SaveAsync() while...

Hi, Recently I was using Entity Framework with a DB first approach in an application and using the Repository pattern with Unit of Work to have easy management of DB operations. So my repository...

View Article

Image may be NSFW.
Clik here to view.

Add file header to new class/other items automatically on creation in Visual...

Hi, This post shows how we can make little changes to the Class template in visual studio so that we can add a file header to a newly created class. It’s generally a good practice to add a file header...

View Article


Image may be NSFW.
Clik here to view.

Fixing issue of not being able to add view to Database First Entity Framework...

Hi, If you’re using Database First entity framework (EF) model, you might require to use views. Now to add views to the EF model, the process is straight forward, just the same way we add Tables....

View Article

Image may be NSFW.
Clik here to view.

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...

View Article


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...

View Article

Shell script with 10+ parameters? Remember this….

Hi, This post is mainly aimed towards shell script newbies like myself and the goal is that they don’t end up wasting time on this as I had to. So, if you are creating a new shell script that requires...

View Article

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...

View Article
Browsing latest articles
Browse All 75 View Live




Latest Images