Category "c++sharp"

How to position the image at the side edges of the screen?

I want to place the image at the edges of the page so that it perfectly touches the left and right sides with the edges. that's what it looks like now: https://

How to position the image at the side edges of the screen?

I want to place the image at the edges of the page so that it perfectly touches the left and right sides with the edges. that's what it looks like now: https://

How to position the image at the side edges of the screen?

I want to place the image at the edges of the page so that it perfectly touches the left and right sides with the edges. that's what it looks like now: https://

How to position the image at the side edges of the screen?

I want to place the image at the edges of the page so that it perfectly touches the left and right sides with the edges. that's what it looks like now: https://

Using NTLM/Kerberos on RestSharp since v107

Since some time it seems the NtlmAuthenticator of RestSharp is deprecated. The somewhere mentioned method of setting setting.UseDefaultCredentials = true; isn't

TypeLoadException Method 'IsValid' in type in Pomelo.EntityFrameworkCore.MySql.Update does not have an implementation

When I use Pomelo.EntityFrameworkCore.MySql in combination with Microsoft.AspNetCore.Identity I am getting that error. Are my dependencies wrong ? Similar issue

HTTP Post request method does not execute. How to use HttpClient?

I'm trying to make a post request using HttpClient. The expected json which I'm trying to post is stored in var result and looks like : { "ID": 142, "Statio

save map bookmark for each user login using .net and javascript

I want to create Bookmark widget, and I want each user can save his own bookmarks. and when login to the application can see only his bookmarks. for this I have

What thread runs the code after the `await` keyword?

Let me just post a simple example: private void MyMethod() { Task task = MyAsyncMethod(); task.Wait(); } private async Task My

How to apply filter in child tables using Linq

Net application. I have one entity with child entities. I have to filter based on child entity values. For example in the below query, var sourceProposal = pro

C#; How to Loop Through/Wrap Enumerations when Incremented?

Say you have a byte value equal to its max value, so byte aByte = 255;. When you increment a value past its max value, it usually wraps around to its minimum va

Claims added from Profile service not included in asp.net core 6 Identity with Duende Identity Server

I have below config public static IEnumerable<IdentityResource> GetIdentityResources=> new List<IdentityResource> { new

Creating an installation with template on Azure NotificationHub generates 2 registrations

I'm creating an API to register a device (mobile app - push notification) into the Azure Notification Hubs using Installations, but every time that I create a n

The type 'T' must be a reference type in order to use it as parameter 'T' in the generic type or method 'TableClient.QueryAsync<T> [duplicate]

I'm using 12.0.0-beta.6 of the Azure.Data.Tables nuget package. When I try to invoke TableClient.GetQueryAsync it gives me the error: "The typ

BsonSerializationException: Creator map for class has 2 arguments, but none are configured

I have a TextSearchJob object to store on MongoDB. I am rather new with the database and I don't know why I have this error with the IDictionary version (on the

In C#, when a variable passes through a function/method, will the original variable change?

I am confused by how a function can change a variable passed through it. For example, if I created a variable t = 1, and pass a function by adding 2 to it, insi

JetBrains rider IDE => Hosting Environment

enter image description hereI am trying to move from Visual Studio 2022 to JetBrains rider with my .NET full-stack project. I am using Webpack for my front-end

The XAML Designer has exited unexpectedly. (Exit code: e0434352)

Xaml Designer keeps crashing, more info: Error The XAML Designer has exited unexpectedly. (Exit code: e0434352) Visual Studio Specs: Microsoft Visual Studio Pr

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