Development

Write the elements of an array in JSX React block with a comma spacer between and a dot in the end

We have an array of strings in React Application. Let’s call it ‘selectedParticipants’. And for the summary page we need to write all the members of array in one line with comma ‘,’ between elements and dot ‘.’ in the end in JSX block. Here is a small snippet. Read more»

TypeScipt / Javascript

How to show reference count in Visual Studio Code

CodeLens in VS code

While the developing, especially while the code cleaning, you often want to know if your method is used or not. It’s usually when you make some temporary methods to determine the optimal one. Visual Studio shows the reference count by default, but Visual Studio Code doesn’t do that. But it’s very useful. Here is how […] Read more»

TypeScipt / Javascript

Fix System.UnauthorizedAccessException with C# code for SharePoint on premise service

SharePoint 2016 Logo

I developed a service for SharePoint 2019 (on premise) and this service should move files from document library to an external storage. The client part is made with SPFX solution – command set. It added buttons to the interface of the document library. Read more»

SharePoint

Get the host of the URL with JavaScript or TypeScript

Javascript logo

We have a string with an URL. And we want to get the host URL. I don’t know about the built-in functions for this and I don’t think that you should find external libraries for this. Although, it’s a good idea to create your own personal class. Read more»

TypeScipt / Javascript

Simple implementation of ‘env.IsDevelopment’ for a console Net Core application

If you work with Net Core WebApi project, it already contains the packages for DI, Environment variables. But if you make a console application from the template, it doesn’t contain the packages for environment variables. And if you want to use different configs for Debug and Release, there are 2 ways: Read more»

.Net & C#

ID numbers dramatically increased with MS SQL in Docker

I work with a WebApi project in Net.Core and MS SQL Database. MS SQL server is executed in Docker container. Suddenly I found out, that ID field value with autoincrement has increased from 2 to 1001. Read more»

SQL and databases

How to make workbench.aspx for a full width solution in SharePoint online and SharePoint 2019 OnPrem

SharePoint 2016 Logo

When you are developing SPFX application for SharePoint online, you use a page https://{sharepoint_url}/sites/{some_subsite}/_layouts/15/workbench.aspx. For non-fullwidth webparts it fits normally, but if you need to create a wide or full-width webpart, it’s not very comfortable. Read more»

SharePoint

Popular Posts