It is simple really: var a = SqlGeography.STGeomFromText(new SqlChars("POINT(-122.34900 47.65100)"), 4326);` and then insert await _geoDb.Table.Value(x => x
I am trying to upgrade an app which belongs to a chat. If the app is not installed, below code successfully install it: await graph.Chats["19:[email protected]"]
I am only about 3 days into using MongoDb and C# driver so be gentle. ;-) I have a MongoDB query working with AsQueryable. I would like to use the collection.Fi
I have a list of object. class Student { int age; int height; int weight; int marksInMath; int marksInScience; . . . . . . int marksIn...; } List<Stude
When I use Postman to test my API with a PUT request, I get this error: "type": "https://tools.ietf.org/html/rfc7231#section-6.5.1", "title": "One or more valid
I'm trying to make a simple FPS movement script in Unity. I made a player called 'player' with a capsule collider, a rigidbody, and a camera. Everything worked
Recently(Maybe correlated to EIP-1559 upgrade) matic transactions that would previously work have stopped working for me, even basic ones like transferring nati
I have quite a number of C# Dlls that were made in .NET 4.6 Framework and need to get upgraded to .NET Core 6 - that part is relatively straightforward. However
I'm trying to obfuscate an .exe file obtained after compiling my .NET 6 project with the "Produce a single file" option, the problem is that no obfuscator works
I've been struggling with the Samsung Galaxy numeric keyboard decimal separator nightmare. I have an Entry on which I must only accept numeric values (including
I am trying to run the Dotnet version 6 app on macOS latest version I searched everywhere, it was always required to install the certificate although I had a va
I've written a C# class library for my company to use internally, and it uses DotNet UserSecrets to allow each developer to have their own credentials set witho
I'm trying to run a group of 12 unit tests. When I run the entire group, one test passes and the rest fail with the same error: Could not find default endpoint
I am attempting to decrypt a file using BouncyCastle in C# that has been encrypted with RSA via Kleopatra. Unfortunately, I am receiving an error that states "
I was trying to use Databinding in my Xamarin app. After implementing, just like the many instructions suggest, it just always crashes while loading the app. Wi
Like in the title, how to delete a certain part of text without deleting the whole text. The example how it should work. "Some text I put in t
I'm using the following code to decrypt some strings I reicive but I'm getting the following error: BlockSize must be 128 in this implementation. I would like t
I updated the title to be more relevant. I have two objects and wish to use EF Core to map them to a database using code first. I have shortened them a bit for
I'm trying to use two C# DataTables like below to meet my requirement. dtExcelData: This DataTable holds the data which is uploaded from Excel file. This data s
I am reading through the source code for Xamarin and came across these two dialogs: the TimePickerDialog and DatePickerDialog. When reading through these, I see