Microsoft Q&A

.NET

20,027 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,027 questions with .NET-related tags

Sort by: Updated
0 answers

Invoke GET Mehod in Dialog modal doesn't work with Radzen Blazor

Hi, I tried to invoke get method in modal dialog that doesn't work. I have implemented many-to-many, it's ok I put the button in each line of the datalist the method in controller it's ok. <EditForm Model="@dev"…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,064 questions
asked 2023-08-18T11:09:11.9+00:00
sblb 1,041 Reputation points
commented 2023-08-19T15:28:23.1733333+00:00
sblb 1,041 Reputation points
0 answers

Why "Choose toolbox items" window fail to load items and makes Visual Studio 2022.7.1 restart

I recently updated my Visual Studio 2022 to version 17.7.1. The problem is that when I right-click the Toolbox to select 'Choose Toolbox items' window appears for a moment, then Visual Studio just restarts without indicating anything. I am using windows…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,588 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,579 questions
C#
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.
8,724 questions
asked 2023-08-19T15:04:26.2066667+00:00
Khaled Boudia 0 Reputation points
0 answers

No compatible code running on the thread

I hit F5 and receive error "No compatible code running on the thread" https://github.com/proficad/MauiApp2.App

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,706 questions
asked 2023-08-19T14:49:38.8+00:00
Vaclav Jedlicka 41 Reputation points
0 answers

Currently using Visual Studio 2022 for my vb.net windows form app and the designer fails to load at "Loading Designer...You can continue working while the designer is loading in the background"

I'm currently using Visual Studio Community 2022 17.7.1 and .NET 6.0

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,588 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,257 questions
asked 2023-08-19T14:21:42.4366667+00:00
Jessie Cudiamat 0 Reputation points
11 answers

How to use [HttpPost], [HttpGet] in ASP.NET Core Web API

Hi, I'm trying to build my app with Web API, but I just don't understand how it works, I read the Microsoft Learn but couldn't figure it out. and I can't run my project. "ValuesController.cs" : …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,432 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,165 questions
C#
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.
8,724 questions
asked 2021-08-01T15:05:07.703+00:00
daowdos 246 Reputation points
commented 2023-08-19T12:44:34.6366667+00:00
Đạt Nguyễn 0 Reputation points
3 answers

When will NET 8 be available on Azure App Services?

When will ASP.NET 8 be available for use on App Services, even as a preview please? We've been using 8 for a while in VS2022 Preview and need to start testing in a live environment (away from VM's!).

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,432 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,377 questions
asked 2023-06-12T10:46:45.1133333+00:00
David 76 Reputation points
commented 2023-08-19T12:36:03.1066667+00:00
ludus games 0 Reputation points
0 answers

IdentityUser and AspNetUsers

Hi Houston, I've got a problem! I've implemented a Seed Data functionality, but the data isn't getting recorded in the database. I checked the console's return text and found this: "INSERT INTO [IdentityUser] ([Id], [AccessFailedCount],…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
561 questions
asked 2023-08-19T10:24:02.8533333+00:00
Laurent Guigon 181 Reputation points
edited the question 2023-08-19T10:24:23.8433333+00:00
Laurent Guigon 181 Reputation points
1 answer

Duende.Identity vs Microsoft.Identity

Hi, I ran my Hosted Blazor WebAssembly (v6.x) with the account manager, and I checked the console. There was a message indicating that I am using Duende.Identity without a license! But why was my project built with these services? Until now, my projects…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,064 questions
asked 2023-08-18T15:04:39.2233333+00:00
Laurent Guigon 181 Reputation points
edited a comment 2023-08-19T09:59:18.7433333+00:00
Laurent Guigon 181 Reputation points
2 answers One of the answers was accepted by the question author.

load XML TO SQL Server table

I created the table and want to load alim_2020_07_07.xml to ALIM CREATE TABLE [dbo].[ALIM]( [alim_code] [int] NOT NULL, [alim_nom_fr] [varchar](20) NOT NULL, [ALIM_NOM_INDEX_FR] [varchar](50) NOT NULL, [alim_nom_eng] [varchar](50) NOT…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,589 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
10,545 questions
asked 2023-08-18T11:21:11.2333333+00:00
KALYANA ALLAM 441 Reputation points
edited an answer 2023-08-19T08:46:11.9666667+00:00
KALYANA ALLAM 441 Reputation points
2 answers

What is the best technology for creating a Cross-platform App (Web,Windows,Mobile) ?

I'm using C# WPF on .NET Core 6 and my app connects to SQL Server database, I am really confused about what technology to choose for my program! becuase of these links…

Universal Windows Platform (UWP)
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,432 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,064 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,706 questions
C#
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.
8,724 questions
asked 2023-07-23T12:32:18.9666667+00:00
Mojtaba_Hakim 281 Reputation points
edited an answer 2023-08-19T05:19:22.7566667+00:00
ana harrow 0 Reputation points
0 answers

How does the MAUI app about Android Channel implement automatic clicking at any coordinate of a given screen

I am facing such a need, I want to use the MAUI app to operate my phone. Of course, this process involves clicking, swiping, and finding the right place to operate. My intention is to use opencv to locate the specified operation position by means of…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,706 questions
asked 2023-08-19T01:44:26.25+00:00
liu 0 Reputation points
0 answers

Why does .net6 webapi not support single request parameters when post calls?

Hi my name is Johanbin who works as a developer in Korea. I had a question in my work. Why does .net6 webapi not support single request parameters when post calls? Of course, due to the design of serialization and de-serialization in model binding, post…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,432 questions
asked 2023-08-18T05:40:14.1066667+00:00
조한빈 0 Reputation points
commented 2023-08-19T00:59:52.5333333+00:00
SurferOnWww 1,116 Reputation points
1 answer

WPF.Toolkit IntegerUpDown throwing Visual Studio visual designer error: Could not load type 'System.Int32?' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. 114

Since updating to Visual Studio 22 and Windows 11, loading my project produces the above error in my WPF user interfaces when using InterUpDown or DecimalUpDown user controls. The Project builds and runs successfully, however. I have tried re-loading…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,429 questions
C#
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.
8,724 questions
asked 2021-12-06T17:05:36.473+00:00
Mike Whalley 51 Reputation points
commented 2023-08-18T21:08:34.8633333+00:00
Marcus Dudlee 1 Reputation point
0 answers

Why does EF not like this assignment?

I have the class: public class Event : IAuditTrail, IPrimaryEntities, IDisableable { public int Id { get; private set; } public Address Address { get; set; } // ... } public class EventConfiguration :…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
561 questions
asked 2023-08-17T16:23:29.34+00:00
David Thielen 1,386 Reputation points
commented 2023-08-18T20:12:25.2233333+00:00
Karen Payne MVP 32,416 Reputation points
0 answers

JsonPatchDocument problems with Minimal API in .NET6 / 7 parameter Json problems

truggling to get MapPatch to work with minimal API and JsonPatchDocument. The result when passing in a valid json PATCH object is always 'Failed to read parameter "JsonPatchDocument patchDocument" from the request body as JSON' and 'The JSON…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,901 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
228 questions
asked 2023-08-18T19:46:20.15+00:00
Shamus Schubert 0 Reputation points
0 answers

.Net Maui unresolved error

Hi Friends has anyone received this error or know what the problem is? Do you think I may have a corrupt file? Error MAUIG1001 An error occured while parsing Xaml: Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 18, position…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,706 questions
C#
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.
8,724 questions
asked 2023-08-18T14:09:07.3466667+00:00
Ronald Rex 1,171 Reputation points
commented 2023-08-18T19:28:00.7566667+00:00
Ronald Rex 1,171 Reputation points
0 answers

Error creating Planner Task Checklist with graph API

I'm unable to create checklist items using the graph API. I keep getting the error: Exception of type 'Microsoft.Graph.Models.ODataErrors.ODataError' was thrown. public async static Task<PlannerTaskDetails>…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,901 questions
Microsoft Graph Tasks Plans API
asked 2023-08-18T17:30:49.06+00:00
Jon Peters 0 Reputation points
edited the question 2023-08-18T17:31:37.73+00:00
Jon Peters 0 Reputation points
1 answer

How can i deploy my custom fonts with my Hybrid (Windows Form & WPF) C# setup?

I currently created a Desktop Hybrid C# project which its User Interface is using Fonts that are not available in my Users Computer, Using Advanced Installer i created the setup and after running the setup on another machine i found the fonts missing…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,588 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,429 questions
C#
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.
8,724 questions
asked 2023-08-16T17:59:05.5633333+00:00
Mesh Ka 20 Reputation points
answered 2023-08-18T16:35:45.9233333+00:00
Castorix31 74,831 Reputation points
1 answer

Como hacer CRUD de tablas relacionadas con Patrón de Repositorios y Dapper

En curso reciente de C#, el profesor nos explicó cómo desarrollar proyectos asp.net con MVC, Patrón de Repositorios y Dapper, intento replicar lo mismo para mis propios proyectos y me encuentro con el obstáculo que tengo tablas relacionadas 1 a 1 y el…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
937 questions
C#
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.
8,724 questions
asked 2023-08-15T21:09:14.7433333+00:00
Lalo 0 Reputation points
commented 2023-08-18T16:25:32.6833333+00:00
Lalo 0 Reputation points
1 answer

Xamarin forms to MAUI migration issues

I have tried to migrate my Xamarin Forms app to MAUI using .NET 7 using the upgrade assistant extension in visual studio. First I migrated the solution, then android and finally the iOS projects. (Is this workflow correct?) After that I have deleted the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,090 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,706 questions
asked 2023-08-16T15:14:22.05+00:00
Sakshi Poojary 0 Reputation points
commented 2023-08-18T16:05:35.83+00:00
Marco Goertz [MSFT] 0 Reputation points Microsoft Employee