11,602 questions with Developer technologies | C# tags

Sort by: Updated
0 answers

Microsoft Graph API – OnlineMeeting: Organizer cannot be added as attendee

Hello, I’m using the Microsoft Graph API (v1.0) in C# to create Teams meetings using the onlineMeeting resource. I need a scenario where the organizer of the meeting is also explicitly listed in the attendees collection. However, when I include the…

Developer technologies | C#
asked 2025-08-11T14:55:40.3466667+00:00
Sébastien B 0 Reputation points
edited the question 2025-08-12T08:55:07.52+00:00
Sébastien B 0 Reputation points
1 answer

i can't execute program in visual studio without administrator account after changing the assembly name

Hi, after windows updates, I can't execute program on visual studio (Debug/Release) without administrator account after changing assembly name. changing version name of assembly name is able to execute program without administrator account. ex) Device…

Developer technologies | C#
asked 2025-06-17T01:28:27.9066667+00:00
광효 이 0 Reputation points
commented 2025-08-12T05:52:33.55+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 245 Reputation points Microsoft External Staff
2 answers

Possible to use VS

Hi, Is it valid to use VS version on Oracle Linux OS? Which VS version is fine for that?

Developer technologies | C#
asked 2025-08-04T07:50:51.8633333+00:00
Peter_1985 2,786 Reputation points
commented 2025-08-12T02:21:49.2133333+00:00
Peter_1985 2,786 Reputation points
1 answer One of the answers was accepted by the question author.

How to import an externally-generated AES key into a TPM2 using TSS.NET

Using TSS.NET on Windows 11 with .Net Core 8.0, I've been trying to import an externally-generated (via System.Security.Cryptography) AES key into the TPM on my system. Devices in this system will use this same TPM-protected AES key to encrypt &…

Developer technologies | C#
asked 2025-07-31T23:42:03.2433333+00:00
Ballentine, Casey 0 Reputation points
accepted 2025-08-11T14:39:26.1366667+00:00
Ballentine, Casey 0 Reputation points
0 answers

Please fix the following issues to continue: We encountered an unexpected error. Please try again later. If this issue continues, please contact site support.

i am getting this error when working with this forum post : https://learn.microsoft.com/en-us/answers/questions/1471083/the-type-or-namespace-name-linq-does-not-exist-in thanks for any help

Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Other
Developer technologies | C#
asked 2023-12-30T15:47:35.7+00:00
iqworks Information Quality Works 331 Reputation points
commented 2025-08-11T14:23:56.17+00:00
Kai 0 Reputation points
1 answer

C#, .NET, How can I make a code generator download when my NuGet package is installed?

csproj, Engine: <Project Sdk="Microsoft.NET.Sdk"> …

Developer technologies | C#
asked 2025-06-14T19:13:45.1366667+00:00
Haziel Melchor 0 Reputation points
answered 2025-08-11T12:04:02.9833333+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 245 Reputation points Microsoft External Staff
3 answers

I can't find the Blazor Web Assembly option, I only see two options the Blazor Web App and the standalone Web Assembly application but none of them give me the ASP .NET Core Hosted option, why?

I do have a question related to this topic because I want to start a project with the Blazor WebAssembly App template but it is no longer only those two that you mention. according to a video it should look like this: I would like to know if the way I…

Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor
Developer technologies | C#
asked 2025-01-20T17:12:21.9833333+00:00
Carlos Enrique Canales L�pez 0 Reputation points
commented 2025-08-11T11:04:00.9866667+00:00
Raymond Huynh (WICLOUD CORPORATION) 620 Reputation points Microsoft External Staff
0 answers

Updating Layout When Navigating to Fragment

When navigating to a Fragment using the SupportFragmentManager in .NET for Android using code similar to the following: this.SupportFragmentManager.BeginTransaction().DisallowAddToBackStack().Replace(Resource.Id.fcvMain, new…

Developer technologies | C#
asked 2025-07-13T21:19:48.4566667+00:00
Nathan Sokalski 4,111 Reputation points
commented 2025-08-11T10:04:59.0966667+00:00
Adiba Khan 245 Reputation points Microsoft External Staff
2 answers

PowerBIClient: 403 Forbidden error unless preferClientRouting=true is used

PowerBIClient: 403 Forbidden error unless preferClientRouting=true is used - Request #422710  R. Aaron La Mar ​Omari Holtz​ Description We are experiencing an issue when making API calls with PowerBIClient in C#. In some cases, the request fails with: …

Developer technologies | C#
asked 2025-08-08T18:28:02.8333333+00:00
Omari Holtz 0 Reputation points
answered 2025-08-11T09:53:23.95+00:00
Adiba Khan 245 Reputation points Microsoft External Staff
1 answer

How to obtain access to 'HumanPresenceSettings. SetingsChanged'

The "HumanPresenceSettings" instance I returned through this method, 'humanPresenceSettings=await HumanPresenceSettings. GetCurrentSettings Asynchronous ()', can read the relevant settings. However, when I subscribe to 'HumanPresenceSettings.…

Developer technologies | Universal Windows Platform (UWP)
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | C#
asked 2025-02-17T07:55:28.4633333+00:00
charles yu 1 Reputation point
commented 2025-08-11T03:50:04.9133333+00:00
Harry Vo (WICLOUD CORPORATION) 405 Reputation points Microsoft External Staff
2 answers

In Azure Web PubSub, How to receive messages in backend microservice for processing

Requirement: My clients are using simple WebSocket connection to send messages. I want to receive these messages inside my backend .NET 8 web api and process them further to send fine-tuned data to some distributed cache services. From documentation, I…

Azure Web PubSub
Azure Web PubSub
An Azure service that provides real-time messaging for web applications using WebSockets and the publish-subscribe pattern.
99 questions
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | C#
asked 2025-01-10T05:55:02.9966667+00:00
Dheeraj Awale 21 Reputation points
commented 2025-08-08T10:36:26.0966667+00:00
Raymond Huynh (WICLOUD CORPORATION) 620 Reputation points Microsoft External Staff
2 answers

i have created an app which i used C# But every time i want to run it on domain its doesnt open the form but in task manager its showing

Application: DcmFolderScan.exe CoreCLR Version: 8.0.1825.31117 .NET Version: 8.0.18 Description: The process was terminated due to an unhandled exception. Exception Info: System.Windows.Markup.XamlParseException: The invocation of the constructor on type…

Developer technologies | C#
asked 2025-07-30T07:20:31.9566667+00:00
Isaac Mhango 0 Reputation points
commented 2025-08-08T10:07:55.47+00:00
Adiba Khan 245 Reputation points Microsoft External Staff
2 answers

C# - CS0103 : The name 'Brushes' does not exist in current context

Hi I'm new to C# and trying to plot a graph in IX developer, got the following code of the web, all compiles fine except for the pens and brushes colors which gives a CS0103: Error saying they don't exist in the current context, can anyone guide me as…

Developer technologies | C#
asked 2025-08-07T16:50:43.21+00:00
Jacques Prinsloo 0 Reputation points
answered 2025-08-08T10:05:37.13+00:00
Adiba Khan 245 Reputation points Microsoft External Staff
0 answers

DismAddDriverApi lets you add Unsigned Driver?

HRESULT WINAPI DismAddDriver( In DismSession Session, In PCWSTR DriverPath, In BOOL ForceUnsigned ) I am using the above function to add driver to os offline os image with ForceUnsigned set to false but still i am able to add unsigned drivers why?

Developer technologies | C#
asked 2025-08-07T13:08:23.96+00:00
Ranveer Singh 0 Reputation points
commented 2025-08-08T08:10:26.05+00:00
Starry Night 30 Reputation points
1 answer

Using Microsoft.Windows.Vision in a WinUI App on Non-Copilot+PC: Is It Possible?

I'm developing a WinUI Blank App using Microsoft.Windows.Vision, but the namespace ( Microsoft.Windows.Vision) is not recognized in my project. Consider that i added experimental version 1.8.250410001-experimental1 (or 2) I have done these steps but it…

Developer technologies | C#
asked 2025-06-07T13:35:38.7633333+00:00
lsb safari 0 Reputation points
answered 2025-08-08T05:07:24.9166667+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 245 Reputation points Microsoft External Staff
3 answers One of the answers was accepted by the question author.

Api redirect sending Post values

Hi everybody. How can I do to redirect sending post values? If I use RedirectPermanent it doesn't have parameters to send an object. I can only redirect a url using get but I don't know how to send post parameters. [HttpPost] public…

Developer technologies | C#
asked 2022-01-14T19:36:28.017+00:00
diego gutierrez 161 Reputation points
answered 2025-08-07T23:19:48.8566667+00:00
James Foley 0 Reputation points
0 answers

Finance and Operations

Iam facing an error while making the product receipt automic code in D365 F&O these is the error An error occurred: Cannot select a record in Transit document tax information relation (TransitDocumentTransTaxInfoRelation_IN). The SQL database has…

Developer technologies | C#
asked 2025-08-07T10:51:18.6366667+00:00
thomas shelby 0 Reputation points
0 answers

Missing photos Description in Photos after Graph Request

My App is a C# .NET App For many years, I have been retrieving a list of photos stored in a published OneDrive folder for my Photo Dia app via Graph Request. The request URL: https://graph.microsoft.com/beta/me/drive/items/IDItemFolder/children I…

Developer technologies | C#
asked 2025-08-07T09:25:06.5333333+00:00
P. Karsten 0 Reputation points
3 answers

Validate file content type for txt, log, JSON file in C#

public static bool IsFileValid(IFormFile file) { using (var reader = new BinaryReader(file.OpenReadStream())) { var signatures = _fileSignatures.Values.SelectMany(x => x).ToList(); // flatten all signatures to single list var headerBytes =…

Developer technologies | ASP.NET | ASP.NET Core
Microsoft 365 and Office | Development | Office JavaScript API
Developer technologies | .NET | Other
Developer technologies | ASP.NET | Other
Developer technologies | C#
asked 2025-01-08T17:16:17.0733333+00:00
Surajit Kumar Shah 0 Reputation points
commented 2025-08-07T02:48:24.16+00:00
Danny Nguyen (WICLOUD CORPORATION) 725 Reputation points Microsoft External Staff
2 answers

.net maui Passing Multiple Parameters

Using Visual Studio Community 17.14.9 .Net9 Maui App I have an app using MVVM with 8 pages and wish to pass 2 objects (ObsLocation class) and (string) from my ProjectSelectionPageViewModel to my LocationPageViewModel using the following code. location =…

Developer technologies | C#
asked 2025-07-17T06:29:11.5733333+00:00
John Rutherford 21 Reputation points
commented 2025-08-05T04:48:28.31+00:00
Gade Harika (INFOSYS LIMITED) 330 Reputation points Microsoft External Staff