Categories
Mastering Development

How to apply an enumeration algorithm into a problem?

I am new to stackoverflow and I wonder if there is a suitable method/algorithm to solve my example problems in order to generate a desired solution that respect some conditions of the problems. Here is my json file(example1.json) as you can find from here: https://gitlab.com/Schrodinger168/practice/-/blob/master/example1.json I will explain the csv file and what I want […]

Categories
Mastering Development

globalCompositeOperation in React Native?

I have written a Javascript program to generate random images from shapes, gradients and colors. I have tried to make the idea work in React Native but I cannot find an analogue to what canvas allows you to do in this regard, especially when it comes to the use of globalCompositeOperation (https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation). The react native […]

Categories
ASP.NET Development MVC

I have an error on mapping data using dapper in asp.net C# MVC

This is the Error: CS1061 C# does not contain a definition for ‘Query’ and no accessible extension method ‘Query’ accepting a first argument of type could be found (are you missing a using directive or an assembly reference?) Here are my models public class TourPackage { public int p_id { get; set; } public string […]