26,743 questions with .NET-related tags

Sort by: Updated
4 answers

HttpClient // Timeout // The remote name could not be resolved

Hello, The remote name could not be resolved using (HttpClient client = new HttpClient()) { client.BaseAddress = new Uri(System.BaseAddress); client.Timeout = new TimeSpan(0, 0, System.Timeout); public void Exception(Exception ex, string…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,577 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.
11,237 questions
asked 2025-01-23T18:48:34.5966667+00:00
Noah Aas 545 Reputation points
commented 2025-01-26T14:55:42.6366667+00:00
SurferOnWww 3,806 Reputation points
1 answer

How to fix the blank screen after splash screen on .net maui app

I have an application that I have deployed to an ios device that is now showing a black screen after the splash screen is loaded. I am running the latest xcode, vs versions and the project is targeting .net 9. What should I be looking for as a…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,857 questions
asked 2025-01-22T01:38:29.3933333+00:00
Daniel Man 0 Reputation points
answered 2025-01-26T14:54:26.0566667+00:00
Daniel Man 0 Reputation points
1 answer One of the answers was accepted by the question author.

InvalidOperationException: Unable to resolve service while trying to implement middleware for handling global exceptions -

Hello, I am trying to implement middleware to handle exceptions globally in a .NetCore WebAPI project. My .NetCore version is 9.0. Full details of the exception that is being thrown when I'm trying to launch my webAPI is as: …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,755 questions
asked 2025-01-25T12:37:22.15+00:00
P. G. Choudhury 101 Reputation points
accepted 2025-01-26T13:44:07.4033333+00:00
P. G. Choudhury 101 Reputation points
0 answers

Publish Error

Copying file Content\app_content\assets\libs\datatables.net-buttons\node_modules\datatables.net\js\jquery.dataTables.min.js to…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,577 questions
asked 2025-01-23T23:30:57.6833333+00:00
AHSAN ALI 101 Reputation points
commented 2025-01-26T13:06:05.3033333+00:00
AHSAN ALI 101 Reputation points
2 answers

Blazor server side measure delays (nuget injection?)

I was wondering, to measure the delays between client and a server based razor app. How would one approach this, i think its be nice if our app could take actions (upon delays) , and give insights in how responsive it is. If our app could inform that…

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,654 questions
asked 2021-12-20T13:57:38.567+00:00
PGT 1 Reputation point
commented 2025-01-26T12:49:52.31+00:00
Nikola Zivanovic 1 Reputation point
3 answers

New to Blazor - A valid antiforgery token was not provided with the request.

Hi all, Can any body please give me an advice so I can move forward to the main page, why I'm getting "A valid antiforgery token was not provided with the request. Add an antiforgery token, or disable antiforgery validation for this endpoint."…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,755 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,654 questions
asked 2025-01-25T18:30:51.9566667+00:00
Dondon510 221 Reputation points
answered 2025-01-26T12:18:22.1033333+00:00
Dondon510 221 Reputation points
5 answers

SqlDataReader error “Invalid attempt to read when no data is present”

My environment used is Visual Studio 2022 v17.12.4. Language is C# and connecting to SQL Server Express v16.0.1135.2. This is a Windows form using .Net Framework 4.8.1. I am getting the error message “Invalid attempt to read when no data is present”…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,066 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.
14,371 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.
11,237 questions
asked 2025-01-21T22:31:10.9133333+00:00
Pat 0 Reputation points
edited an answer 2025-01-26T12:09:42.8166667+00:00
Karen Payne MVP 35,476 Reputation points
2 answers

System.IO.Ports only availble on windows, but im using windows - .NET6

So i'm trying to read arduino serial from c#, but it shows me the folowing exeption when i try to open the port: System.PlatformNotSupportedException: 'System.IO.Ports is currently only supported on Windows I am currently using windows 11. Also i tried…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,066 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.
11,237 questions
asked 2024-03-17T16:58:29.7233333+00:00
Borda Ákos 15 Reputation points
answered 2025-01-26T11:44:42.4566667+00:00
VC 0 Reputation points
0 answers

During the release process of the Azure Function project, there used to the. net5 stack, but the project uses. net6

We tried to release a container for the function app project in VS and found that some projects had no problems after compilation and packaging, but some projects would encounter errors when running after compilation and packaging. “Method not found Void…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,348 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,188 questions
asked 2025-01-26T11:19:00.73+00:00
txsun 0 Reputation points
0 answers

Can't set the debug target on my MAC

Hi, I can't set the debug target on my MAC step 7+8 not available in empty MAUI project in .Net 9. When I build the app I got : dotnet build /Users/sasasoftware/Desktop/Test6/Test6.sln /target:MauiApp1:rebuild /property:GenerateFullPaths=true…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,857 questions
asked 2025-01-25T14:17:59.63+00:00
Dani_S 3,956 Reputation points
edited a comment 2025-01-26T08:01:14.47+00:00
Dani_S 3,956 Reputation points
0 answers

Error while using stripe android sdk native interopt

I am trying to bind stripe sdk of android in .net maui. I try template and it works fine. But, when i try it, it is binding and when i call , it gets me…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,372 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,066 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,857 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,372 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,066 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,857 questions
asked 2025-01-21T20:34:23.2733333+00:00
Haider Ali Faizi 100 Reputation points
edited a comment 2025-01-25T18:26:11.1533333+00:00
Haider Ali Faizi 100 Reputation points
0 answers

Error while using stripe android sdk native interopt

I am trying to bind stripe sdk of android in .net maui. I try template and it works fine. But, when i try it, it is binding and when i call , it gets me…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,372 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,066 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,857 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,372 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,066 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,857 questions
asked 2025-01-21T20:34:23.2733333+00:00
Haider Ali Faizi 100 Reputation points
edited a comment 2025-01-25T18:26:11.1533333+00:00
Haider Ali Faizi 100 Reputation points
0 answers

How To Fix App Store Submission Error

I'm trying to update my current MS Store App by submitting and updated version of the program that has been built using .NET Maui , however I am getting an error message that I cannot resolve when the new version is being uploaded to the store and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,857 questions
asked 2025-01-25T17:38:52.9833333+00:00
Fritz Switzer 301 Reputation points
2 answers

Table border issue

Hi, What is wrong below? How to correct it?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,577 questions
asked 2025-01-21T03:55:30.69+00:00
Peter_1985 2,711 Reputation points
edited a comment 2025-01-25T15:14:42.4566667+00:00
AgaveJoe 29,441 Reputation points
3 answers

How to know whether the snap applied in windows 11 windows. Is there any API.

Is there a method or any API to tell if snap is enabled or disabled in Windows 11? Please answer if there is any other way.

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,817 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.
11,237 questions
XAML
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.
830 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,534 questions
asked 2022-04-26T04:51:23.56+00:00
visi venkat 1 Reputation point
commented 2025-01-25T13:41:37.2766667+00:00
Castorix31 86,506 Reputation points
2 answers One of the answers was accepted by the question author.

How can I symbolicate my iOS crash report?

I have uploaded my application to TestFlight but it always crashes when I start it on my iPad. I have tried to open the crash report file crashlog.crash in Xcode-->Window-->Devices and Simulators. But the crash report is not symbolicated. How can I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,857 questions
asked 2025-01-15T11:04:45.6933333+00:00
Kim Strasser 1,261 Reputation points
accepted 2025-01-25T11:41:27.61+00:00
Kim Strasser 1,261 Reputation points
0 answers

iOS crash report: System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_GSHAREDVT_TStateMachine_GSHAREDVT_

I get the following messages in my iOS crash report: SharedCodeProject_MyClass__Updated__301_MoveNext (in MyGameiOS) (<unknown>:1) System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_GSHAREDVT_TStateMachine_GSHAREDVT_ (in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,857 questions
asked 2025-01-25T11:38:30.09+00:00
Kim Strasser 1,261 Reputation points
1 answer

Not Able to install some Nuget Packages

Hi I am getting following errors while installing EntityFrameworkCoreTools and EntityFramWorkDesign form Nuget Packages Manager. Please help me, I tried to install these on both .NET framewok 9.0 and 8.0 Thanks *Package Microsoft.CodeAnalysis.Common…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
773 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,654 questions
asked 2025-01-25T06:39:18.3766667+00:00
BS Grewal 0 Reputation points
answered 2025-01-25T10:55:24.9433333+00:00
AgaveJoe 29,441 Reputation points
1 answer One of the answers was accepted by the question author.

ASP.NET Core 8.0 data print method

I am seeking the help of the experienced for some assistance. I created an application I needed by watching YouTube and asking you guys. Uploaded it https://somee.com as free hosting to monitor. I am having some problems completing the task. I hope for…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,755 questions
asked 2025-01-24T12:57:43.8433333+00:00
jewel 1,086 Reputation points
accepted 2025-01-25T06:25:11.29+00:00
jewel 1,086 Reputation points
1 answer

Loader animation issue in bootstrap while click save button

I'm using asp.net page and it contains various controls. i used bootstrap navigation for menu and signature. i have use various scripts for bootstrap designing and dropdown search box. everything is working fine except loader animation. When i click…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,577 questions
asked 2025-01-24T19:03:36.5133333+00:00
BeUnique 2,292 Reputation points
edited an answer 2025-01-25T03:15:28.6233333+00:00
Albert Kallal 5,491 Reputation points