Here is the link to java conceptual diagram. This illustrates the components of Oracle's Java Platform Products. Refer to this often to refresh the knowledge of java and it's tools.
In the load balancer setup for windows Internet Information Services (IIS) if shared folder is used for files to upload and download create virtual directory under application folder with alias as Upload(whatever you prefer) and physical path as \\sharedfilefolder\files$\AppFiles\ where files is the shared folder on sharedfilefolder and AppFiles is subfolder in the files folder Have the same setup on each server and the application works fine with upload and download of files from load balancer URL.
Angular Bootstrap Modal is one of the best angular component available for angular 5. Though it's simple sometimes possible to miss reading the API documentation properly. Set backdrop to "static" to avoid closing on click. Example: const modalRef = this . modalService . open ( ItemModalContentComponent , { size: 'lg' , backdrop: 'static' }); Properties backdrop Whether a backdrop element should be created for a given modal (true by default). Alternatively, specify 'static' for a backdrop which doesn't close the modal on click. Type: boolean | "static"
One of the solution in C# that generates unique string. class UniqueString { private static readonly Random random = new Random(); private static readonly object syncLock = new object(); // Map to store 62 possible characters private static readonly char[] charMap = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".ToCharArray(); /// <summary> /// Generates unique string /// </summary> /// <param name="strLen">Length of the string.</param> /// <returns>Unique string of specified length.</returns> public static string GenerateUniqueString(int strLen) { if (strLen <= 0) { return null; } StringBuilder sb = new StringBuilder(); for (int i = 0; i < strLen; i++) { lock (syncLock) // synchronize { _ = sb.Append(charMap[random.Next(62)]); } } return sb.ToString(); } public static void Main() { // generate 10 character string Console...