11,580 questions

Sort by: Updated
1 answer

Microsoft Graph - Not able to assign manager to a user

Hi, Im having issues when trying to assign a user as a manger to a another user. Here is my solution: private async Task<GraphResponse> UpdateUserWithManagerAsync(GraphServiceClient client, AdUser user, AdUser manager) { …

Microsoft Security | Microsoft Graph
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,580 questions
asked 2022-07-06T05:55:28.387+00:00
Dennis Wetterlund 11 Reputation points
edited an answer 2026-11-13T05:07:45.61+00:00
Dennis Wetterlund 11 Reputation points
0 answers

Working with Dotnet and Sql edge on M1 mac nuget packages

Hello, Im new to mac, I have an M1 mac mini, Im using Visual Studio for M1 mac as well Recently I have Installed docker with sql edge container in it. In order to make my Web API projects more efficient, I couldn't figure it out if I need some…

SQL Server on Azure Virtual Machines
Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,106 questions
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,580 questions
Developer technologies | ASP.NET Core | ASP.NET API
asked 2022-04-25T21:04:30.397+00:00
Moshiko_Az 21 Reputation points
0 answers

Connect .Net project to a website

Hi everyone, I want to login to a website (any website with a login screen) but instead of typing my credentials into a website's login text fields, I want my C# code to do it for me automatically. The issue is that I don't know how to connect my…

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,580 questions
asked 2022-04-12T00:16:28.663+00:00
Nicholas Nguyen 1 Reputation point
0 answers

How to implement data validation in wpf by clicking submit button in a mvvm pattern

Hi I would like to get some thoughts on how to get the button in the wpf to show message when the textbox is empty . How do I go about doing it, theoretical advice would be good, I plan to code myself. I just am getting confused with should I use…

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,580 questions
asked 2022-03-11T08:55:02.43+00:00
Kalpana 271 Reputation points
0 answers

Getting bearer token via Refit

Hi I have an API that takes a username and password and then returns a bearer token. The curl code is below at the end. How can I make the call to get the token via Refit? Many thanks Regards curl -X 'POST' \ …

Windows development | Windows API - Win32
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,580 questions
asked 2022-02-01T15:16:18.513+00:00
-- -- 937 Reputation points
5 answers

Authorization - WSDL File, Proxy class in C#

Hello, I have received a WSDL file from a customer. With this I have created a proxy class via WSDL. --> IO The server must be connected via Authorization. I don't see anything there. How can I make the connection via Authorization? The proxy…

Windows development | Internet Information Services
Windows for business | Windows Server | User experience | Other
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,580 questions
Developer technologies | ASP.NET Core | Other
asked 2022-01-17T10:01:04.123+00:00
Markus Freitag 3,796 Reputation points
edited an answer 2026-11-13T04:45:22.7033333+00:00
Markus Freitag 3,796 Reputation points
1 answer

Populating objectListView's cells with SQL Server data

Dear All, How can I populate objectListView's cells with SQL Server data? TIA

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,580 questions
asked 2021-09-08T14:12:17.043+00:00
Ben Tam 216 Reputation points
edited an answer 2026-11-13T04:35:56.43+00:00
Ben Tam 216 Reputation points
0 answers

Search Files with Graph SDK

Hello, I would like to search for a file with the Graph SDK(ASP.Net Core and C#), with Postman this also works as desired. https://graph.microsoft.com/v1.0/users/{user-id}/drive/root/search(q='Filename') But I just can't get it to work with the SDK…

Microsoft Security | Microsoft Graph
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,580 questions
Developer technologies | ASP.NET Core | Other
asked 2021-08-13T18:50:35.887+00:00
APIPointNewbie 146 Reputation points
0 answers

Hiding FlyoutItem based on user roles

Hi there, I recently watched a David Ortinau's video on youtube about hiding flyout/tabs using IsVisible property. I tried to modify the code, which is using tabs, to flyoutitem. However, for some reason I couldn't manage to trigger the IsVisible…

Developer technologies | .NET | Xamarin
Developer technologies | .NET | Xamarin

A Microsoft framework for building cross-platform mobile apps using .NET and C# with native performance and user interfaces.

5,342 questions
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,580 questions
asked 2021-07-13T18:35:35.407+00:00
ymq049740 1 Reputation point
0 answers

create a sharepoint online page based on custom template c#

Hi I have created a page template on SharePoint using this article https://petri.com/sharepoint-page-templates-have-finally-arrived-heres-how-to-use-them Now I want to use it my c# code but I don't know-how THANK YOU using (var ctx =…

Microsoft 365 and Office | SharePoint Server | Development
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,580 questions
asked 2021-02-19T18:30:14.1+00:00
nellie 126 Reputation points
1 answer

Excel displays "Valid partial signature" when using C# to sign Excel 2016 xlsx doc

I am using .net 5 to digitally sign Excel documents with my digital signature certificate. I followed the example from …

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,580 questions
asked 2021-02-04T23:31:40.803+00:00
Brian Tabone 26 Reputation points
edited an answer 2026-11-13T04:23:22.48+00:00
Brian Tabone 26 Reputation points
2 answers

C# sending Facebook message to myself with FBClient_Simple library not received.

After running I check my Facebook account, under my profile, no message received, even though program says: "FB Message sent with ID:..". I attached 2 files, my code and FBClient_Simple.cs library. CS_code_sample.txt fbClient_Simple.cs.txt Get…

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,580 questions
asked 2026-11-12T03:36:37.68+00:00
Gennady Gurin 251 Reputation points
edited a comment 2026-11-13T04:12:30.4266667+00:00
Harry Nguyen (WICLOUD CORPORATION) 690 Reputation points Microsoft External Staff Moderator
0 answers

How to fix code throwing exception : Microsoft.Data.SqlClient.SqlException: 'Login failed for user '

Hi All, I'm encountering an issue while trying to connect to an Azure SQL Database using Microsoft Entra Authentication (formerly Azure AD). I am using DefaultAzureCredential in my .NET application to authenticate and retrieve the access token, but…

Azure SQL Database
Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

10,018 questions
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,660 questions
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,580 questions
asked 2025-01-03T00:29:43.2+00:00
Krishna Basavaraj K S 20 Reputation points
0 answers

After updating to Azure.Identity from 1.10 to 1.11, I can no longer authenticate console application.

I have a small LOB console application that needs to authenticate against Entra ID. The console app uses an IPublicClientApplication for acquiring the token interactively (since I need an MFA claim). Doing it this way, would trigger a pop-up window to…

Microsoft Security | Microsoft Entra | Microsoft Entra ID
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,580 questions
Developer technologies | ASP.NET Core | Other
asked 2024-06-24T17:08:01.3666667+00:00
Doug Mendenhall 25 Reputation points
0 answers

What is the best way to sending mail from gridview check box checked row

I am using gridview and it contains checkboxes. when i click submit button, i am sending mail to the customer for every checking record. if i save record without mail, data will be saving more accurate and fast. But, when i send mail for every records…

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,580 questions
Developer technologies | ASP.NET Core | Other
asked 2024-06-18T08:37:52.73+00:00
BeUnique 2,332 Reputation points
2 answers

ResetPassword in .net core web api

Hi, I'm currently working on a .NET core web API project and writing ResetPassword. The user wrote the email and front-end sent it to my ForgotPassword Endpoint, I checked the database and send the url with email and token in it to the user's email. This…

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,580 questions
Developer technologies | ASP.NET Core | Other
Developer technologies | ASP.NET Core | ASP.NET API
asked 2024-05-31T18:45:26.5333333+00:00
Atilla Rüstəmli 40 Reputation points
edited an answer 2026-11-13T04:01:16.44+00:00
Atilla Rüstəmli 40 Reputation points
0 answers

How to create backend application using Asp.net C# Web API Core

How to create backend application using web api core application followed by standards using desing pattern, Depedency injection and solid principle I am new to web api core how to start following things JWT token authentical and authorization simple…

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,580 questions
Developer technologies | ASP.NET Core | Other
asked 2024-05-17T06:22:52.4166667+00:00
coder rock 396 Reputation points
1 answer

How to add a vectorizer for a search index in C#

Hiya I'm currently working on a project that indexes a certain amount of data. This goes flawlessly when I create the index, with vectors, inside the portal. Whenever I create such index with a C# program, it succeeds, but without the vectorizer.…

Azure AI Search
Azure AI Search

An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.

1,549 questions
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,580 questions
asked 2024-03-07T14:26:30.9433333+00:00
Thibault Verlinde 100 Reputation points
edited an answer 2026-11-13T03:56:42.7033333+00:00
Thibault Verlinde 100 Reputation points
0 answers

How to create bot avatar in bot framework c#

I have created a chatbot using Microsoft Bot Framework v4 in C#, I am looking for ways to add avatar to the bot. I am not able to find any documentation online to do so in c#. i do see documentation for this in node js (Web Chat). is it even possible…

Azure AI Bot Service
Azure AI Bot Service

An Azure service that provides an integrated environment for bot development.

1,142 questions
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,580 questions
Developer technologies | ASP.NET Core | Other
asked 2023-10-30T20:32:26.8933333+00:00
Kumar, Nitesh 20 Reputation points
2 answers

How Can I get all the users who has a certain role in Azure AD App Registration Using Dotnet/Blazor?

I have an app which uses Azure AD App registration for user and roles management (Access controlled based on Roles assigned). I want to list down all the users who has a certain role in this enterprise application registration. Can anyone help me with…

Developer technologies | .NET | Blazor
Developer technologies | .NET | Blazor

A free and open-source web framework that enables developers to create web apps using C# and HTML, developed by Microsoft.

1,663 questions
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,580 questions
asked 2023-08-23T15:48:52.19+00:00
Mohammed Waseem 0 Reputation points
edited an answer 2026-11-13T03:47:48.68+00:00
Mohammed Waseem 0 Reputation points