Category Archives: Programming

JavaScript closure inside loops – simple practical example

https://stackoverflow.com/q/750486/4964569 Well, the problem is that the variable i, within each of your anonymous functions, is bound to the same variable outside of the function. Classic solution: Closures What you want to do is bind the variable within each function to … Continue reading

Posted in Education and Training, Problem solving, Programming, Uncategorized | Leave a comment

Angular 7 – JWT Authentication Example & Tutorial

From https://jasonwatmore.com/post/2018/11/16/angular-7-jwt-authentication-example-tutorial   Angular 7 Tutorial Project Structure The project and code structure of the tutorial mostly follows the best practice recommendations in the official Angular Style Guide, with a few of my own tweaks here and there. Each feature has … Continue reading

Posted in Knowledge, Problem solving, Programming, Uncategorized | Leave a comment

What are Micro Frontends?

From: https://micro-frontends.org/ The term Micro Frontends first came up in ThoughtWorks Technology Radar at the end of 2016. It extends the concepts of micro services to the frontend world. The current trend is to build a feature-rich and powerful browser application, aka single page … Continue reading

Posted in Education and Training, Integration, Knowledge, Problem solving, Programming, Uncategorized | Leave a comment

IoT Asset Management Using Graph Database Modeling

The Challenge Power grid systems are considered an integral part of modern society. Their robustness and efficiency not only impact our daily lives, but also influence economy, politics, and the global environment. Power grids continually evolve over time to accommodate … Continue reading

Posted in ASP.NET MVC, Business Metrics, Business Model, Problem solving, Programming, Software architecture, Uncategorized | Leave a comment

How to start using Entity Framework 6 with MySQL databases

To start using Entity Framework 6 and Visual Studio 2013 is necessary to install MySQL for Visual Studio 1.1.1 Beta and MySQL Connector/Net 6.8.1 Beta MySQL for Visual Studio 1.1.1 Beta can be downloaded with the following link: https://cdn.mysql.com/Downloads/MySQLInstaller/mysql-visualstudio-plugin-1.1.1.msi MySQL … Continue reading

Posted in ASP.NET MVC, C#, Problem solving, Programming, Uncategorized | Leave a comment

How to resolve “Cannot create JDBC driver of class ‘com.mysql.jdbc.Driver’ for connect URL”

Firstly I want to say that i checked all answers at stackoverflow, and i can’t fix this bug! Help me please! I spend a lot of time, but no result. I’m trying to create connection pool using Tomcat8. I have … Continue reading

Posted in Education and Training, Java, Knowledge, Problem solving, Programming, Uncategorized | Leave a comment

Build query string for System.Net.HttpClient get

From https://stackoverflow.com/questions/17096201/build-query-string-for-system-net-httpclient-get var query = HttpUtility.ParseQueryString(string.Empty); query[“foo”] = “bar<>&-baz”; query[“bar”] = “bazinga”; string queryString = query.ToString(); will give you the expected result: foo=bar%3c%3e%26-baz&bar=bazinga You might also find the UriBuilder class useful: var builder = new UriBuilder(“http://example.com&#8221;); builder.Port = -1; var query = … Continue reading

Posted in ASP.NET MVC, C#, Problem solving, Programming, Uncategorized | Leave a comment