useEffect and load async data in React
I spent a lot of time to understand how to get async data from web-services and to set it to vars in React I need to try to change ‘fetch’ to ‘axios’ Read more»
I spent a lot of time to understand how to get async data from web-services and to set it to vars in React I need to try to change ‘fetch’ to ‘axios’ Read more»
It’s not for production, but for developer environments Add the block below to Program.cs. I talk about Net Core 5 or Net Core 6 application. Read more»
To exclude folders, files or file extensions in scanning by Windows Defender, you can use PowerShell. It’s recommended to use by administrators. With this PowerShell script (command) you can easily set exclusion for the Windows Defender. It is useful sometime and help to improve the performance. Read more»
There are 5 buttons on a page. If you click 1, 3 or 4 there must be one action, for 2 and 4 another one. You don’t have to write the same action for each control, like this: Read more»
The task is to build a tree in a table with parentID from bottom to top. It’s useful for generating hierarchy strings, lists or any other types. You can also create a storage procedure of this and it will make it easy to use in queries. Read more»
After installation of MS SQL Server 2012 on Windows Server 2012, I had gotten these errors in Event Viewer on execution server:The server was unable to initialize encryption because of a problem with a security library. The security library may be missing. Verify that security.dll exists on the system.TDSSNIClient initialization failed with error 0x139f, status […] Read more»
Recently I started to learn ReactJS. I could manually install the environment in NodeJS for ReactJS – WebPack, ReactJS, Babel and others. But to make solutions easier, I decided to use Create-react-app. Unfortunately, I got the error “create react app npm ERR! Maximum call stack size exceeded”. Read more»
The method to expand all the events in Calendar View on load using Content Editor WebPart. You should add this code. You should copy and paste it to html file, save this file to document library and set its path into the settings of CEWP. Read more»
If you use SharePoint and get data from lists with JavaScript, once you will receive SharePoint lookup value which looks like ’34;#Item title’. There is a way to parse this data with Regular expression and to convert it to an object. I have created a small method to make it easier. In my case I […] Read more»
When I tried to execute http-server from nodejs (with command ‘http-server –o’), I had got the error. The solution requires to update execution policy. Read more»