23,857 questions with .NET-related tags

Sort by: Updated
3 answers

Error Installing Application on Another Computer: Invalid Connection String

Good evening dear community, I am bringing up my problem again since I have not been able to find a solution. To the point: I created a small application with a single Windows Forms form. It has its own connection string to the database and an example…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,368 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.
12,692 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.
10,231 questions
asked 2024-02-25T00:40:15.0533333+00:00
Roberto Carlos Melgar Dorado 20 Reputation points
answered 2024-04-23T16:08:38.42+00:00
Roberto Carlos Melgar Dorado 20 Reputation points
1 answer

Load testing for signalR core

Good Day, I was trying to perform load testing for an auction mobile application , we use signalR core and agora as a server , However Crank and tresi are deprecated long time ago (as per my understanding) and it is quite challenging for me to simulate…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,156 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,251 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
328 questions
asked 2021-09-20T21:25:19.077+00:00
Meray Wafik 1 Reputation point
commented 2024-04-23T14:08:53.4533333+00:00
Hossein Esmaeili 0 Reputation points
3 answers

failed with HTTP status code 'Unauthorized'.

Hi, Why I suddenly started getting this error: /Users/jassim/Projects/OneID/One ID API/Controllers/Account.cs(116,9,116,15): warning CS0162: Unreachable code…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,368 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,867 questions
asked 2023-05-14T19:52:08.6466667+00:00
Jassim Al Rahma 1,521 Reputation points
answered 2024-04-23T11:14:22.2566667+00:00
moo2u2 41 Reputation points
0 answers

Value cannot be null. Parameter name: existingConnection

Hi, I am quite new to Visual Studio development and I am working on a hobby project using WPF application with C#. I currently exploring User Control in WPF application. So, I have a project named "wpfLearnMainWin" say parent project (that has…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,368 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,670 questions
asked 2024-04-19T13:16:45.13+00:00
Lakshman Balasubramanian 21 Reputation points
commented 2024-04-23T09:53:45.87+00:00
Hui Liu-MSFT 38,191 Reputation points Microsoft Vendor
0 answers

Exception thrown: 'System.Data.SqlServerCe.SqlCeException' in System.Data.SqlServerCe.dll

Hello All, I facing an issue with the following error. When I build the project it successfully builds but then when I execute it I am not getting the output window. When checked, I noticed that I am facing an issue when I run. The following exceptions…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,368 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,597 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.
12,692 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.
10,231 questions
asked 2024-04-23T07:50:48.68+00:00
Lakshman Balasubramanian 21 Reputation points
commented 2024-04-23T09:19:29.0766667+00:00
Jiale Xue - MSFT 31,516 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Access and read all SMS on Android phone with .NET MAUI

For an application that, as a part of its functionality, can read all stored SMS on an android phone, can you give general directions what to read exactly to learn and implement it in a .NET MAUI project? I'm a beginner. I've only worked with MVC, WPF…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 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.
10,231 questions
asked 2023-11-21T03:48:09.5466667+00:00
MSCollege3000 120 Reputation points
commented 2024-04-23T07:46:25.7333333+00:00
AG 491 Reputation points
1 answer

How to open Ana left in MAUI - iOS application

Hello Team,    I want the user to force update the application.  So, Based on the below logic, I'm opening an alert with an update option in it. When I click on the update. It is navigating to the Appstore. But when I click on the backbutton on the top…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-22T13:15:48.8866667+00:00
Vaibhav Methuku 60 Reputation points
answered 2024-04-23T06:38:11.72+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,146 Reputation points Microsoft Vendor
1 answer

Community toolkit install is not working

I have had community toolkit installed on this project for quite a while and now it gives the following error when I am trying to update: Severity Code Description Project File Line Suppression State Error NU1605 Warning As Error: Detected package…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-17T13:38:10.5+00:00
Lloyd Sheen 1,356 Reputation points
commented 2024-04-23T06:29:49+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,261 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

there is something wrong with my c# program, and i need assistance.

Here's how my program like, or you can also see it from attached image:partial class Boot { static void Main() { Console.WriteLine("please input the path of your data store."); string ds_path = Console.ReadLine(); try { …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,368 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.
10,231 questions
asked 2024-04-22T12:51:02.23+00:00
Weber Chang 20 Reputation points
commented 2024-04-23T06:18:25.7233333+00:00
Weber Chang 20 Reputation points
2 answers

ASP.NET MVC

What is ASP Net SOLVING PROBLEMS WITH MODERN TOOLS ? help please.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,251 questions
asked 2022-01-05T11:31:30.127+00:00
Abdul Basit 1 Reputation point
commented 2024-04-23T05:50:07.78+00:00
krishna Pal 0 Reputation points
0 answers

how to export function in dll to aot?

I created .net class library to build dll and want to publish native aot and I write function public static MyClass { public static int MyFun(int n) { return n*n; } } I publish it to native aot to win-x64 but in dll there is no function why?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,368 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.
10,231 questions
asked 2024-04-23T02:04:43.3933333+00:00
mc 3,641 Reputation points
commented 2024-04-23T05:32:41.04+00:00
Jiale Xue - MSFT 31,516 Reputation points Microsoft Vendor
0 answers

Request are stucking in AuthenticateRequest State on IIS

We're facing a critical issue with our API server. It's built on C# .NET 4 with a C++ backend. The problem manifests as certain requests hitting the IIS of the backend server some instances, these requests remain stuck in the AuthenticateRequest state,…

Internet Information Services
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,113 questions
.NET Internet of things
.NET Internet of things
.NET: Microsoft Technologies based on the .NET software framework.Internet of things: A concept that aims to extend the benefits of the regular internet, including constant connectivity, remote control ability, and data sharing, to goods in the physical world.
28 questions
asked 2024-04-22T07:01:24.13+00:00
Parmeshwar Kale 0 Reputation points
commented 2024-04-23T05:11:51.7+00:00
Yurong Dai-MSFT 2,781 Reputation points Microsoft Vendor
4 answers

How can I display a PDF file in .NET MAUI - using the PDF.js library - for iOS and Windows?

I plan to display a PDF file on my MAUI app. I tried following the answer at this link (https://learn.microsoft.com/en-us/answers/questions/1310387/how-to-view-the-pdf-file-from-maui) and it worked for Android. The PDF is in the Resources\Raw. I want…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2023-12-13T15:32:35.8533333+00:00
Auto 46 Reputation points
edited a comment 2024-04-23T03:21:23.63+00:00
Đặng Trung Hiếu 0 Reputation points
0 answers

.net MAUI is there a way to have an entry field have focus on load but not show the soft keyboard?

so ive worked on an android app in VS2019 and in that app its not a problem for me to have a screen load up, set focus to the first entry field( in that case its an EditText) but not show the soft keyboard. it will only show the soft keyboard if the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 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.
10,231 questions
asked 2024-04-19T20:56:32.3766667+00:00
Min T 41 Reputation points
commented 2024-04-23T02:49:34.18+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,261 Reputation points Microsoft Vendor
1 answer

While enabling the .net framework form control panel getting an error, .net is the prerequisite for interspec application, we are unable to perform the installation

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,368 questions
.NET Runtime
.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,118 questions
asked 2024-04-22T15:08:19.31+00:00
THUMMALURU RAJESH REDDY 0 Reputation points
answered 2024-04-23T02:18:22.4166667+00:00
Jiachen Li-MSFT 26,426 Reputation points Microsoft Vendor
1 answer

How to contribute to MAUI Development/Bug fixing

Hi everyone, I'm developing some apps with .NET MAUI. I'm facing some issues related for example with CollectionViews and Labels. I would really enjoy being able to see the root cause of this issues in MAUI source code and try to fix them and contribute…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-18T10:15:15.3166667+00:00
Pereira, Bruno 0 Reputation points
commented 2024-04-23T02:11:47.63+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,146 Reputation points Microsoft Vendor
1 answer

Xamarin iOS unable to debug over local device iOS 17.1.1

I have two real devices: iPhone 15 Pro Max iOS 17.1.1 iPhone 7 iOS 15.7.8 I'm trying to debug my Xamarin application over a real device. Using my iPhone 7 works as expected. But it has been impossible for me to do the same using my iPhone 15 Pro…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
asked 2024-04-11T07:21:13.1733333+00:00
Alex 0 Reputation points
commented 2024-04-23T02:03:08.04+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,146 Reputation points Microsoft Vendor
1 answer

Request OAuth2.0 token using azure app services managed identity

Hi All, I have a question on Azure App Service Managed Identity. Currently we are working on an API project where it provide the function to interact with user in Azure Entra thru Microsoft Graph API calling. To protect the API function, we have a…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,156 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,570 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.
10,231 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.
294 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,867 questions
asked 2024-04-19T05:19:21.3666667+00:00
Tan Soon Chek 0 Reputation points
commented 2024-04-23T01:17:35.93+00:00
Tan Soon Chek 0 Reputation points
0 answers

System.NullReferenceException: Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object. at Mono.Debugging.Soft.SoftDebuggerAdaptor.GetTypeName(EvaluationContext ctx, Object type) in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-22T06:51:46.9233333+00:00
Ashutosh Mehere 0 Reputation points
commented 2024-04-23T01:16:41.4233333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,291 Reputation points Microsoft Vendor
1 answer

Value cannot be null. Parameter name: format

Value cannot be null. Parameter name: formatValue cannot be null. Parameter name: formatValue cannot be null. Parameter name: format Value cannot be null. Parameter name: format

.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.
92 questions
asked 2024-04-23T00:46:01.5866667+00:00
Krizthel 0 Reputation points
answered 2024-04-23T00:58:21.9466667+00:00
Marcin Policht 10,040 Reputation points MVP