Category "c++sharp"

Error Unabled to add User controls to a form

I get these two error messages, when trying to add a User Control to a Form. Worked fine for long, no problems. Now the Design won't show the already added User

Load referenced data types from custom Identity UserManager

I have a custom IdentityUser called ApplicationUser: public class ApplicationUser : IdentityUser { public ICollection<Board> Boards { get; set; } } W

Attempting to INSERT values into a MySQL DB from C# code within a form, but getting "Column cannot be NULL

All - thanks in advance for your time. So, background info - I am trying to create a form for contact registration using C# to pass the information into my MyS

there`s an error in uploading image to firebase storage from Asp.net MVC the folder path isn`t shown(ex:super-market-7f7a3.appspot.com/)

theres an error in uploading image to firebase storage from Asp.net MVC the folder path isnt shown(ex:super-market-7f7a3.appspot.com/) controlerpage1 controlerp

Remove Model properties in WebAPI POST but keep for GET in Swagger

I have a few properties that capture timestamps when data is inserted or updated in the database. I don't want these properties visible in Swagger in POST reque

Entity Framework 6 unable to update related models

I have list of models that are attached to a product model, insert is working, but when updated Entity is only updating the product model and ignoring the relat

C# DBConnection.Open() Invalid Cast Exception

I am trying to connect to a database using the DBConnection class. Everything works fine on the development pc as well as some other computers, however there ar

"The instance of entity type cannot be tracked" error when adding detached entity tree

I am unable to add the Deal entity because Buyer and Seller are referencing the same city "City1". I work with detached entities here because I receive the whol

No suitable constructor found for entity type 'CoordinateSystem'

I'm trying to generate a migration file with a spatial column in it (Geometry) and I'm getting this error No suitable constructor found for entity type 'Coordi

Exceeded language worker restart retry count for runtime:node. Shutting down and proactively recycling the Functions Host to recover

I am currently trying to do the MS tutorial on Azure serverless webapps, but I am completely stuck. Whenever I try to start the sample, (be it by pressing F5 to

If not exist with Date SQL

i want to add the time, if there is free time as example im doing that with two textboxes where im entering the date Database 20.04.2020 - 20.05.2020 so there s

ExtentSparkReporter type or namespace cannot be found, why is this happening? C#

ExtentSprakReporter type or namespace not foundI'm trying to generate extent reports for my project and ExtentV3HtmlReporter is deprecated. The extent website s

Keeping camera & mouse movement speeds the same on Drag in Unity3D

this question is a bit long but please bare with me. I am working with Unity3D's newer input system, and I've been able to set up camera movement so when the u

Keeping camera & mouse movement speeds the same on Drag in Unity3D

this question is a bit long but please bare with me. I am working with Unity3D's newer input system, and I've been able to set up camera movement so when the u

How to start my Worker Service on the hour

I have this worker service kicking off jobs but hourly it checks for jobs. How can I get it to check on the hour rather at the run time hourly? public class Wor

Creating a KeyEventArgs field with the desired KeyCode value in C#

I wanna make an opportunity to rebind some buttons. I have "launchParametrs.txt" file so the KeyEventArgs field must get KeyCode from "Start: (bind button from

Searching for files in a Listbox

I am trying to have an application generate file names then search to see if the files exist. The current issue is, the loop only ever finds the last 2 files on

FromBody with a "empty" values return null Model (Guid and Enum)

I'm having a problem to validate certain types of values in my model (using fluent validation and FromBody). I have this model: public class PostAcess { pub

Get Dropdown item value while reading Excel file - C#

I'm reading an Excel spreadsheet using the microsoft.office.interop.excel library in C#. I need to first determine that a cell in the sheet contains a Dropdown

Build Deployment Location in WPF

How can I get in WPF the build deployment location for an app already installed on the machine and then display the info about deploy? Thanks for ur time!