Microsoft Q&A

.NET

14,139 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

14,139 questions with .NET-related tags

Sort by: Updated
4 answers

How to achieve non-blocking processing in a Web API method?

I have a Web API with the MyWebApiMethod in it. Inside this method I want the following to happen: Start LogicA, wait for it to finish and then proceed to step 2. Start LogicB and proceed to step 3. without waiting for LogicB to finish Return an OK…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,858 questions
asked 2023-03-30T11:33:08.0466667+00:00
Frank Nátán 25 Reputation points
answered 2023-04-02T04:57:47.8733333+00:00
Lex Li (Microsoft) 3,286 Reputation points
2 answers

What GUI framework should be used for a cross-platform application (Windows, Mac, and Linux)?

Hi Team, We have a requirement of one UI can be used across all the 3 OS platforms like Windows, Mac and Linux. Could you please suggest which is the best platform(development technology) to develop that app should work across all 3 platforms. Example :…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
911 questions
asked 2023-03-30T12:04:41.7966667+00:00
Sunil A M 131 Reputation points
answered 2023-04-02T04:51:11.55+00:00
Lex Li (Microsoft) 3,286 Reputation points
0 answers

Illegal characters in path.

I am trying to create a new project through following procedure but visual studio is throwing exception

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,858 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,823 questions
asked 2023-03-27T02:41:25.43+00:00
Abdul Rehman 0 Reputation points
commented 2023-04-02T04:37:00.4066667+00:00
A.J. Marchese 1 Reputation point
2 answers

Code under .Net framework 4.6.1 but deployed to Runtime 4.8 still secure?

Our applications are developed and compiled under .net framework 4.6.1. Our servers hosting the applications are running Runtime 4.8 We are aware that framework version 4.6.1 has reached its end-of-life. Couple of articles have stated that as long as…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
982 questions
asked 2023-03-20T23:57:44.55+00:00
RinoaHeartilly 0 Reputation points
answered 2023-04-02T04:22:47.7633333+00:00
Lex Li (Microsoft) 3,286 Reputation points
0 answers

Retrieving Tagged Tables in Form Recognizer

I created a custom model using Form Recognizer Studio and tested it using the sample forms. The results in Form Recognizer Studio come out perfect. I can see the correct results in the Fields tab and in the JSON results in the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,858 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.
7,629 questions
Azure Form Recognizer
Azure Form Recognizer
An Azure service that applies machine learning to extract text, key/value pairs, tables, and structures from documents.
697 questions
asked 2023-04-02T03:36:27.55+00:00
Peter Weber 1 Reputation point
0 answers

visual studio 2022, run react project open new edge explorer

Hello I have react project with net core api backend When run project (F5) backend project open in actual chrome but react open new instance of Chrome I want to use existing instance of chrome. Any ideas? Thanks package.json: {   "name":…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,858 questions
asked 2023-04-01T21:33:25.18+00:00
Sergio Cascales Puerto 1 Reputation point
commented 2023-04-02T01:59:49.08+00:00
SurferOnWww 951 Reputation points
0 answers

XAMARIN: CS8370 Error for Database Query code

Hi, I'm stuck with some syntax, I'm getting the error code CS8370 (which i believe is just outdated syntax being used) ill post a screenshot of the error, this is the line of code It pulling the error at, Its just a simple query to check if login email…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,937 questions
asked 2023-04-01T16:13:03.4+00:00
Haydn Parsons 0 Reputation points
edited the question 2023-04-02T00:32:35.3733333+00:00
Rob Caplan - MSFT 4,237 Reputation points Microsoft Employee
1 answer

Unhandled exception rendering component: The input does not contain any JSON tokens.

Hi, I received the message in picture below when I want to rendering the datagrid in sidepanel. I can't display the Action table. The first table is the classe SuiviBE.cs et la seconde table is ActionItem. FYI I use FK It's seems is well define. I run…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
892 questions
asked 2023-04-01T17:08:14.8233333+00:00
sblb 896 Reputation points
edited a comment 2023-04-01T23:42:34.4066667+00:00
AgaveJoe 20,306 Reputation points
1 answer One of the answers was accepted by the question author.

C# String.Split with TrimEntries option returbs zero length entries

The following code reads in the file OK. It splits the text into several lines without end-of-line terminators OK. But even though the Split has the TrimEntries option, it still returns several lines of zero length. Why? How to remove zero-length entries…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,823 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.
7,629 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
911 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
6,748 questions
asked 2023-04-01T21:42:19.3633333+00:00
DonBaechtel-7903 101 Reputation points
accepted 2023-04-01T22:25:30.05+00:00
DonBaechtel-7903 101 Reputation points
0 answers

Error when attempting to open .mdf file in VB.net "The ADO .NET data provider with invariant name 'System.Data.SqlClient' is not registered on this machine."

Hello, I have a project that is due in my Visual Basic programming class in 1 week. I have had constant issues while messaging my professor back and forth and neither of us can figure it out. I have spent four hours today alone trying to discover what…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
9,178 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
27 questions
asked 2023-04-01T21:35:12.1+00:00
Andie Caswell 0 Reputation points
edited the question 2023-04-01T21:35:38.0433333+00:00
Andie Caswell 0 Reputation points
3 answers

ASP net core cors put method problem

Hello, I have a problem i wrote a Controler and a website. The website is under the main domain https://abc.com, my services are in subdomains https://subdomain.abc.com. I configured cors, GET and POST methods are working, but PUT makes…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,858 questions
asked 2021-11-10T19:19:57.86+00:00
Stephan Gimm 6 Reputation points
edited a comment 2023-04-01T20:15:16.2933333+00:00
HARISH G 0 Reputation points
0 answers

Create an IoT app on Raspberry Pi using ASP.net

Can someone with experience point me in the right direction? I want to create an IoT device using a Pi with a small touchscreen for a UI. Apparently you can’t use net to create a form on the pi, so it seems my only option is a web form. I don’t have much…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,339 questions
asked 2023-04-01T19:12:26.5+00:00
Ed Jobe 0 Reputation points
3 answers

How to automatically add certificate to another machine using C# .NET?

I have a certificate like in the picture and i want when the user use my app the certificate will be automatically added to their machine. This helps my application bypass the Windows warning screen. I would like to ask about the solution of doing…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
911 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.
7,629 questions
Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
2,926 questions
Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
2,437 questions
asked 2023-03-29T02:06:20.1633333+00:00
365 timviec 40 Reputation points
answered 2023-04-01T19:03:55.0866667+00:00
David Warner 0 Reputation points
1 answer One of the answers was accepted by the question author.

Convert.ToDouble(String) does not throw an overflow exception when max_value is exceeded

I use .NET 8.0 on vscode. In documentation (for .NET 8.0) of Convert.ToDouble(String) there is OverFlow Exception when Double.MaxValue is exceeded, but when I convert a string that represents a value>Double.MaxValue, it doesn't throw an exception, but…

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.
7,629 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
911 questions
asked 2023-03-23T13:50:28.57+00:00
d'ARIENZO SAMUELE 20 Reputation points
commented 2023-04-01T18:29:50.9433333+00:00
d'ARIENZO SAMUELE 20 Reputation points
0 answers

powershell.exe , cmd.exe , icacls.exe unable to start properly 0xc0000142 and terminal also not opening in vscode conpty error , please some one give a solution need to use it very urgently

.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
27 questions
asked 2023-04-01T18:21:45.7566667+00:00
Aarsh Sharma 0 Reputation points
1 answer

Mail functionality breaks in Azure Web Apps

Hello! I have recently started working on an ASP.NET Core application that is to be deployed as an Azure Web App. As part of the App, we need some sort of mailing functionality in order to notify customers upon purchases. However, every part of…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,858 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.
7,629 questions
Azure App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,612 questions
asked 2023-03-28T07:55:33.6666667+00:00
Jareen 0 Reputation points
answered 2023-04-01T18:00:06.7866667+00:00
Bruce (SqlWork.com) 31,816 Reputation points
2 answers

Why Visual Studio reformatting .designer file?

I am using visual studio 2017 express, .designer.vb file is reformatting itself each time when I add new controls to form or when I build the solution? and sometime it simply changes the upper casing of True/False to true/false case! Why Visual Studio…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,823 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.
7,629 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
911 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,983 questions
asked 2023-04-01T11:41:53.42+00:00
test code 1 Reputation point
edited an answer 2023-04-01T16:28:59.0466667+00:00
Lex Li (Microsoft) 3,286 Reputation points
0 answers

502.5 - ANCM Out-Of-Process Startup Failure after I downgrade to 6.0

please check the error: Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,858 questions
asked 2023-04-01T06:00:15.53+00:00
打玻璃 1,596 Reputation points
commented 2023-04-01T16:20:58.15+00:00
Lex Li (Microsoft) 3,286 Reputation points
1 answer

Postion of the SidePanel

I tried to implement Blazor.SidePanel component ; https://github.com/Append-IT/Blazor.Sidepanel in new application. The SidePanel should be opened in right side of my screen. so As you see in picture below is put back left on corner The good result…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
892 questions
asked 2023-04-01T14:05:39.83+00:00
sblb 896 Reputation points
answered 2023-04-01T15:54:13.4066667+00:00
sblb 896 Reputation points
0 answers

MAUI fails to deploy Android app

buildoutput.pdf Hi, Ia m trying to deploy my MAUI Android app to my device but keep getting Build Failed and not sure what is the reason. Attached is the build log.. Kindly help.. Thanks, Jassim

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,111 questions
asked 2023-03-29T19:26:50.53+00:00
Jassim Al Rahma 1,266 Reputation points
commented 2023-04-01T15:31:01.5933333+00:00
Lloyd Sheen 936 Reputation points