Git username for repositories

You would have gone through a phase where in you have been committing your code as someone else from your system, use these steps to make sure you don’t have that headache anymore. Set a Git username: git config –global “Hemanth Bidare” Confirm the setting is right git config –global

Docker Commands

To get the ip address of the container docker inspect -f “{{ .NetworkSettings.Networks.nat.IPAddress }}”¬†[Container Name] To build application for docker file within the code path docker build -t [Application image name] . Run an image into container by assigning port and container name docker run -d -p 80:80 –name¬†[container name] [image name] To stop running … More Docker Commands

ERROR 404.3 Not Found for JSON file

This is because your IIS doesn’t have json MIME Type. Open IIS Manager -> Mime types -> Add a new mime type like below   Extension: .json MIME Type: application/json OR Insert mimeMap like below in web.config. <system.webServer> <staticContent> <mimeMap fileExtension=”.json” mimeType=”application/json” /> </staticContent> </system.webServer>