Explore

c# ×
  • screenshot

    Requesting Token with ClientID of User-Assigned Managed Identity as scope

    I want to request a token using the clientID of a user-assigned managed identity as the...

  • screenshot

    How to get last third character out from string without knowing it's length?

    I have a string in format of 123*7?8 Where, the symbol ? means it can have...

  • screenshot

    ASP .NET Backend authorization middleware does not work when started with VS-Code, but works when started with "dotnet run"

    Some prerequisite information: dotnet version: 7.0.36 Now to my problem: I was working on my project...

  • screenshot

    Failed to resolve assembly: 'System.Data.Common, Version=0.0.0.0, Culture=neutral, ...'

    I am getting the below error in jenkins. In my c# solution, i have 2 projects......

  • screenshot

    Loop over items in a List<> without knowing the type?

    I'm trying to write a serializer for my classes, so that any properties are mapped to...

  • screenshot

    HttpRequest fails on some computers, but not other - response ended prematurely

    We have a .NET 6 application which makes requests to a third party API. About a...

  • screenshot

    I try to figure out the meaning of code, but I cannot understand this line of C# code

    private (string Message, CMCBPostingResult Result) PostData(string postUrl, string cookie, GlTranClass data) { } Can anyone explain,...

  • screenshot

    How to get the value of a specific column? I'm executing a SQL query in linq using C#

    I am trying to get the value of my column authID so I can authenticate the...

  • screenshot

    What is wrong with my stacking algorithm?

    My algorithm private void UpdateInventory() { List<byte> indexes = new(); for (int x = 0; x...

  • screenshot

    ConcurrentDictionary after some time shows incorrect values

    I have some WebSocketHandler which periodically sends changes. Each time when I send a notification, I...

  • screenshot

    Why does my bot get stuck "thinking when i try this?

    I'm in the process of writing a Discord bot using C# with Dsharpplus. At the moment...

  • screenshot

    How to request many files to servers? (sync, async, another way)

    I have an application in which I will request some files from some servers. I Have...

  • screenshot

    How to find a Unicode font that includes Urdu characters?

    I have an Unity Project, In that Project, i need to Type Urdu Texts in Text...

  • screenshot

    How to use virtual ICollection in ASP.NET Core

    I'm working on comment on the product details page. I want to display all the comments...

  • screenshot

    Visual Studio run into an unexpected problem, and may affect some project system functions. (Open log file)

    I've bumped into such kind of issue and don't know how to solve it. here is...

  • screenshot

    Automapper gives a null object?

    Getting a null object from Automapper [09:25:23 ERR] System.NullReferenceException: Object reference not set to an instance...

  • screenshot

    C# Secure Messaging decryption method

    I'm trying to implement this decryption method from java to c#: https://github.com/ecsec/open-ecard/blob/f66ae48e7bbb2bb27a524e12d3febabf162c17c7/ifd/ifd-protocols/pace/src/main/java/org/openecard/ifd/protocol/pace/SecureMessaging.java#L198C3-L198C90 /** * Decrypt the...

  • screenshot

    I need an idea to build a dynamic application on the fly

    I want to build an application where a user will be able to create his/her own...

  • screenshot

    TabbedPage adding children content not shown

    I wanted to dynamically show and hide a tab in a TabbedPage. When the app starts,...

  • screenshot

    Error Consuming WEB API with ASP.NET Core

    I'm making a web app that consumes an API with ASP.NET Core. I'm new to this...

  • screenshot

    menu item in plugin for outlook using c# VSTO

    I am trying to create a plugin for outlook using c# VSTO. When I click the...

  • screenshot

    .NET Core Include Method in Dependency Injection

    I'm not sure if I am asking this question correctly, so please bear with me as...

  • screenshot

    Why is the Blazor value not immediately being rendered after changing it?

    Using a BlazorWebView control (introduction) inside a WinForms .NET 8 form, I do have this "Counter.razor"...

  • screenshot

    How to decode this jwt token from base64?

    In my webapplication I generate a token like this public string GenerateJSONWebToken(int userID, string key, string...