Monday, May 26, 2014

Push code from local machine to github in windows

To Create a new Repository in Github from the gitbash command line interface, follow the steps below,
git init
git add
git commit -m "first commit"
git remote add origin
git push -u origin master
To push existing code to a Repository in Github from the gitbash command line interface, follow the steps below
git remote add origin
git push -u origin master

Additional Reference:
See here

Monday, May 19, 2014

Difference between the pfx and cer / cert

May be this post is kind of well known to many. I have encountered this couple of days back, while working with a custom authorization server. Hence posted here.

There are two types of digital certificate,
1. .pfx, an archive kind of certificate which contains a public key, private key and other public keys like the CA(certifying authority) public keys.
2. .cer, which contains only the public keys.

Pfx certificates are meant to be only on the server, whereas the car or cert files are meant to be shared with the client's that will talk to the server.

In authorization server, the server uses pfx files and the clients use the .cer or the .cert files.

Monday, April 28, 2014

Debugging application running in IIS Express

In order to debug the application that is run in IIS Express in visual studio, following are the steps

1. Run the application /s in IIS express configured in visual studio
2. In the system tray or task bar near by the system clock, IIS express icon will be shown. Click on it and click on "show all application"
3. All the application hosted in IIS express will be shown along with the corresponding process ids.
4. In visual studio, go to Tools > Attach to process > in the processes, order by the process I'd and choose the correct process I'd to debug the application.
5. If the process is not listed there, pick on the "show process from all user account" check box in the bottom left corner of the window.
6. Leave a break point in the source and that's it.

Hope this helps.

Saturday, April 26, 2014

Internals of Active Directory Federation Services [ADFS]

The following is an image that illustrates the working internals of Active Directory Federation Services [ADFS].

This image was created out of reading lengthy text contents from various web pages.

Thursday, April 17, 2014

Microsoft Open Technology

Glad that Microsoft announced that it pursues open source technology through

Lot of projects are developed here which enables to serve as a bridge between Microsoft and non-microsoft technology.

Looking forward for some very interesting proceedings in msopentech.