Skip to main content

Posts

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, touch README.md git init git add README.md git commit -m "first commit" git remote add origin https://github.com/saravanandorai/GitURL.git 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 https://github.com/saravanandorai/GitURL.git git push -u origin master Additional Reference: See here

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.

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.

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.

Microsoft Open Technology

Glad that Microsoft announced that it pursues open source technology through https://msopentech.com. 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.

Copy databases using SQL Server SMO

The following steps are required to perform the Copying a Database using SQL Server objects exposed to the .Net Framework by Microsoft. Net 1. Add reference to the project with the following DLL files, Microsoft.SqlServer.ConnectionInfo.dll Microsoft.SqlServer.Smo.dll Microsoft.SqlServer.SmoExtended.dll Microsoft.SqlServer.Management.Sdk.Sfc.dll These dlls are found in the following folder C:\Program Files\Microsoft SQL Server\100\SDK\Assemblies 2. Define a source Db and then the target DB, the source db will be scanned and then its contents [structure & data] string sourceDB = "cs_notification_test"; string targetDB = "cs_notification_test1"; SqlConnectionStringBuilder connStringBuilder = new SqlConnectionStringBuilder(System.Configuration.ConfigurationManager.ConnectionStrings["ApplicationConnectionString"].ConnectionString); ServerConnection conn = new ServerConnection(connStringBuilder.DataSource, connStringBuilder.UserID, connStr

Celebrating 25 years of Web

Though this post has crossed the exact mark of the 25th Anniversary of Web evolution. I take this opportunity to thank every one who worked for weaving this beautiful web that links us today, esp. Tim Berners Lee. Thanks for weaving this web so gregariously and I am also proud to be on a node exploring its untamed beauty.

Software As A Service (SaaS)

A Short Note on SaaS [Software As A Service]. IMHO, I am building upon a short post on SAAS, this is not exhaustive, but I encourage the readers to share their valuable comments to improve this post. SaaS is an abbreviation of Software As A Service.AKA Software on Demand, where the vendors develop, host and operate on the software and make it available on the internet for its consumers / customers. SaaS is the most mature category of cloud service, since it evolved from the application-service-provider model of software hosting. With SaaS, software applications are rented from a provider as opposed to purchased for enterprise installation and deployment. SaaS is the most mature category of cloud service, since it evolved from the application-service-provider model of software hosting. With SaaS, software applications are rented from a provider as opposed to purchased for enterprise installation and deployment. Users Can range from small group to multitude SaaS Considerat