Sunday, October 14, 2018

Setting up a cluster of JHipster registry and cluster microservice

 
Today I'm going to demonstrate on setting up a cluster of JHipster registry and cluster microservice.
At the beginning, we need to install JHipster. So, follow the below instructions.
1. Install java 8 from Oracle
2. Install Git 
3. Install Node.js
4. Install Yarn using the Yarn installation instructions
5. Install install Yeoman by running below 

yarn global add yo

Friday, June 29, 2018

Server to Server communication with Okta authorization server, Spring Boot & OAuth 2.0

When you need to integrate two servers with authentication, you can use Client Credentials Flow in Okta along with Spring Boot and OAuth 2.0. This Client Credential Flow has been recommended for machine to machine authentication. The application that being build is need to securely store its ClientID and Secret with Okta pass in exhange for an access token. Actually, the authentication flow has only two steps, the application needs to pass client credentials to the Okta Authorization server and then if the credentials are true, Okta will responds with an access token.

Saturday, February 21, 2015

How to add a CheckBox into DataGridView

In this post, I'm going to explain to add a CheckBox into a DataGridViews' Column.  Here, I create a DataGridViewCheckBoxColumn object and add it to the table column.

Fill ComboBox from SQL Server in C#

In this article, I will discuss on filling ComboBox values retrieving from SQL Server Database. I'm using my test Database for retrieving data.

Friday, February 20, 2015

How to run cmd command in c#

Today I'm going to discuss on how to Execute cmd commands in C#. This way, you can easily run cmd commands.Here I used COPY H:\\nbb.txt F:  this command to copy a file (nbb.txt) from H: drive to F: drive.

How to add a ComboBox into DataGridView

In this post, I'm going to explain to add a ComboBox into a DataGridViews' Column.  Here, I create a DataGridViewComboBoxColumn object and add it to the table column. Also I'm using my test Database to fill the ComboBox. You can see the below screenshot of the ComboBox which is inside the DataGridView.

Thursday, February 19, 2015

Filtering DataGridView by Textbox change in C#



In this article, I will show you how to filter a DataGridView when typing in Textbox. One column value should be used to check the word pattern when filtering. Here, I used first_name column values to apply the filtering process. When you type word pattern in Textbox, it will only show the rows which has same pattern with the entered word.