Posts

Sample Code for jstree Ajax Call and Search

Image
Completed guide for setup jstree ajax ,search by ajax, Lazy Loading on jstree when heavy node on your tree. Server Side Script public   class   TreeState    {             public   bool  loaded {  set ;  get ; }         public   bool  opened {  set ;  get ; }         public   bool  selected {  set ;  get ; }         public   bool  disbled {  set ;  get ; }    } public   class   TreeNode    {         public  TreeNode()        {        }         public  TreeNode( string  text) ...

Key Value pair html UI with select 2 integration

Image
Key value pair editor jquery Key value pair editor for HTML. Using jquery and javascript. Alternative of Agular key value pair editor.  Feature Add/Delete/Update on key value pair. Require : jquery, bootstrap4, select2 and fontawson  <link rel= "stylesheet" href= "https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity= "sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin= "anonymous" > < link rel = " stylesheet " href = " https://use.fontawesome.com/releases/v5.6.1/css/all.css " integrity = " sha384-gfdkjb5BdAXd+lj+gudLWI+BXq4IuLW5IT+brZEZsLFm++aCMlF1V92rMkPaX4PP " crossorigin = " anonymous " > < link href = "https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/css/select2.min.css" rel = "stylesheet" /> <script src= "https://code.jquery.com/jquery-3.3.1.slim.m...

Create Self Signed Certificate Using OpenSSL

Source Code Create Own Self signed Certificate from root certificate using OpenSSL wrapper. C# Programmatically Create the ppk, cert, csr using C#. Full Source code Required  Install-Package ManagedOpenSsl64 -Version 0.6.1.3 using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Windows.Forms; using OpenSSL.Core; using OpenSSL.Crypto; using OpenSSL.X509; using System.Dynamic; namespace CertificateGenerator { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { ISequenceNumber sn = new SimpleSerialNumber(); CryptoKey key = Helper.CreateNewRsaKey(4096); X509Name subject = new X509Name(); subject.Common = "Gyyone1"; subject.Country = "MY"; subject.Organization = "Gyyone...