55,679 questions

Sort by: Updated
2 answers

.NET 10 documentation for SerializeToUtf8Bytes

Could you point me to an official reference that establishes what applies to .NET 10 for the System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<TValue>(TValue, JsonSerializerOptions) overload? The specific statement I’d like to verify is that…

Developer technologies | .NET | .NET Runtime
Developer technologies | .NET | .NET Runtime

.NET: Microsoft Technologies based on the .NET software framework. Runtime: An environment required to run apps that aren't compiled to machine language.

1,329 questions
asked 2026-11-12T18:20:52.41+00:00
Manica Moscon Advogados 5 Reputation points
answered 2026-11-13T09:20:39.6066667+00:00
Nguyen Dam (WICLOUD CORPORATION) 1,420 Reputation points Microsoft External Staff Moderator
2 answers

How to use DateTime in LINQ when it's NULL

create table mytable (Birth datetime null) public class myModel { public Datetime Birth { get; set; } } var query = from aa in mydb.mytable select new cmyModel { Birth = aa.Birth } I get a message: Nullable object must have a value; If I make the data…

Developer technologies | .NET | Entity Framework Core
asked 2026-11-13T02:27:18.8333333+00:00
Corey Fleig 595 Reputation points
edited an answer 2026-11-13T09:19:00.82+00:00
Nguyen Dam (WICLOUD CORPORATION) 1,420 Reputation points Microsoft External Staff Moderator
2 answers

Learning courses or books for "building .NET MAUI Blazor Hybirdand web app"

I want to create a new project using this visual studio template:- but i am having troubles finding online courses, books or online documentation targeting this specific template? any advice and help in my learning journey ? Thanks

Developer technologies | .NET | .NET Multi-platform App UI
asked 2026-11-12T23:41:33.6966667+00:00
john john Pter 1,590 Reputation points
edited an answer 2026-11-13T08:47:01.51+00:00
Harry Nguyen (WICLOUD CORPORATION) 690 Reputation points Microsoft External Staff Moderator
1 answer

Visual Studio Build Tools 2022 17.14.45: VisualStudio.vsman size and SHA-256 mismatch

Product: Visual Studio Build Tools 2022 Version: 17.14.45 (build 17.14.37906.3) Channel: Current Affected catalog: VisualStudio.vsman I am attempting to independently verify the integrity of the official Microsoft distribution before installation. The…

Developer technologies | Visual Studio | Setup
asked 2026-11-13T07:09:12.5033333+00:00
Abi Rahmoo 0 Reputation points
answered 2026-11-13T08:11:25.38+00:00
Brian Pham (WICLOUD CORPORATION) 1,425 Reputation points Microsoft External Staff Moderator
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
2 answers

Login failed for User

I get "Login failed for User" error in visual basic connection to sql-server. This error occurs when I move my database from one PC to another. I solve this problem by using same "PC-name" & "User-Name" of my old PC…

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,913 questions
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,660 questions
asked 2022-06-27T17:45:45.307+00:00
Habib ur Rehman 41 Reputation points
edited an answer 2026-11-13T05:06:57.2033333+00:00
Habib ur Rehman 41 Reputation points
0 answers

Combo box does not update

Hello I am building a wpf app, using MVVM (I already imported MVVM.Helpers) I am trying to fill a list with 5000 numbers, and put in in a commbo box, and for some reason is not working my app: https://github.com/eduardoagr/RsidentsManager …

Developer technologies | Windows Presentation Foundation
Developer technologies | XAML
Developer technologies | XAML

A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.

879 questions
asked 2022-06-22T19:30:58.93+00:00
Eduardo Gomez 4,316 Reputation points
2 answers

Does Dotnet Net 6 Arm64 work on M1 Silicon ?

When I tried using Scaffold Dbcontext, it show there is no such a word as " scaffold dbcontext". Then I uninstalled Net 6 and installed Arm64 version on m y M1 silicon. Guess what ? It didn't work because when checked botnet version, it…

Developer technologies | .NET | .NET Runtime
Developer technologies | .NET | .NET Runtime

.NET: Microsoft Technologies based on the .NET software framework. Runtime: An environment required to run apps that aren't compiled to machine language.

1,329 questions
Developer technologies | ASP.NET Core | Other
asked 2022-05-21T23:29:15.087+00:00
Ozzy Ozmen Celik 21 Reputation points
edited an answer 2026-11-13T05:03:24.11+00:00
Ozzy Ozmen Celik 21 Reputation points
1 answer

JWT Token Expiration and Authorization

I am working with a JWT in .Net Core 6.0 Web Api. I am struggling with JWT expiration time...not sure if it is being set correctly with the UTC being different from my loacl time. But I also am having an issue with not being able to run an API Method…

Developer technologies | .NET | Entity Framework Core
Microsoft Security | Microsoft Identity Manager
Developer technologies | ASP.NET Core | Other
asked 2022-05-11T17:15:23.547+00:00
Ronald Rex 1,651 Reputation points
edited an answer 2026-11-13T05:02:34.64+00:00
Ronald Rex 1,651 Reputation points
2 answers

How do I convert a UWP application to use Azure Maps?

I maintain a large UWP application that uses MapControl (from Windows.UI.Xaml.Controls.Maps). I didn't know that Bing map tokens were being retired until I started seeing a "MapServiceToken not specified" warning in my map views a few days…

Developer technologies | Universal Windows Platform (UWP)
asked 2025-07-09T20:59:00.2433333+00:00
Frank LaRosa 21 Reputation points
edited an answer 2026-11-13T05:00:06.69+00:00
Frank LaRosa 21 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

WebApi - ApiKey plus JWT

I completed a couple of projects that are implemented in C# .Net 6.0 MVC, and now I'm trying to do my first web API project. This WebApi is implemented in .Net 6.0, with JWT authorization. Everything is working smoothly so far, the token is generated…

Developer technologies | ASP.NET Core | Other
Developer technologies | ASP.NET Core | ASP.NET API
asked 2022-04-24T23:18:04.233+00:00
Maryan 26 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 21 Reputation points
3 answers

Use of IS_MEMBER function with multiple databases

Hi, I'm having the following problem cenario: 1 -StoreProcedure A in database A calls Function B from Database B 2- Function B: Return IS_MEMBER('ROLE') 3- the current user is a member of 'ROLE' on database B and not a member on Database A …

Developer technologies | Transact-SQL
Developer technologies | Transact-SQL

A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.

4,702 questions
asked 2022-04-06T13:05:48.13+00:00
Luciano Pinto 21 Reputation points
edited an answer 2026-11-13T04:57:40.79+00:00
Luciano Pinto 21 Reputation points
1 answer

How do I create a view using existing tables from another database just like using dblinks?

Hi experts, Would like to kindly ask for help with creating a view using a query that selects from tables from another database in the same server. Thanks!

Developer technologies | Transact-SQL
Developer technologies | Transact-SQL

A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.

4,702 questions
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,660 questions
asked 2022-03-25T06:54:08.513+00:00
SomebodyHelpMePlease 26 Reputation points
edited an answer 2026-11-13T04:54:27.07+00:00
SomebodyHelpMePlease 26 Reputation points
0 answers

Insert button Code and Mysql data to be save and display in grdiview

I am very new and using visual studio community 2000 and mysql work bench 8.0, I am having 3 textbox names like textbox1,2,3 and 1 insert button and 1 data gridview for saving data in mysql database, i need code for insert button.. This is mysql…

Azure Database for MySQL
Azure Database for MySQL

An Azure managed MySQL database service for app development and deployment.

1,249 questions
Developer technologies | ASP.NET Core | Other
asked 2022-03-17T11:49:08.293+00:00
Mohamed Rafi N 106 Reputation points
0 answers

MySQL to C# Connection Error

Developer technologies | Windows Forms
Azure Database for MySQL
Azure Database for MySQL

An Azure managed MySQL database service for app development and deployment.

1,249 questions
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,660 questions
asked 2022-03-19T04:18:03.63+00:00
Mohamed Rafi N 106 Reputation points
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
1 answer

Starting/stopping windows service from ASP.NET web application problem

Hi, There is a windows service on server that can be started or stopped from asp.net web application and it worked fine since it ran under the local user account (name it AA) which is not AD account (also an application pool identity). Web app is…

Developer technologies | ASP.NET Core | Other
asked 2022-02-21T14:11:03.433+00:00
Pacoss 1 Reputation point
edited an answer 2026-11-13T04:48:52.8166667+00:00
Pacoss 1 Reputation point
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