26,506 questions with .NET-related tags

Sort by: Updated
1 answer

.Net 9.0 not showing in options in Visual Studio 2022 although SDK is installed -

Hi gentlemen, I have encountered a strange problem on my system. Very recently I installed .Net9 SDK on my system. When I ran dotnet--list-sdks I get the following information: When I run dotnet--list-runtimes I get the following information: …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,011 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,706 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,316 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,011 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,706 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,316 questions
asked 2024-12-27T19:17:41+00:00
P. G. Choudhury 61 Reputation points
commented 2024-12-27T23:08:09.73+00:00
SurferOnWww 3,616 Reputation points
1 answer

.Net 9.0 not showing in options in Visual Studio 2022 although SDK is installed -

Hi gentlemen, I have encountered a strange problem on my system. Very recently I installed .Net9 SDK on my system. When I ran dotnet--list-sdks I get the following information: When I run dotnet--list-runtimes I get the following information: …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,011 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,706 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,316 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,011 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,706 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,316 questions
asked 2024-12-27T19:17:41+00:00
P. G. Choudhury 61 Reputation points
commented 2024-12-27T23:08:09.73+00:00
SurferOnWww 3,616 Reputation points
0 answers

System.Runtime.Serialization broken with SoapFormatter

I'm working on a Windows Forms Application targeting .NET Framework 4.8. There seems to be a breakdown in System.Runtime.Serialization using Formatters.Soap, and that breakdown appears to be somewhere in the underlying Framework. I can't figure it out…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,011 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,156 questions
asked 2024-12-27T20:26:27.27+00:00
Andrew Painter 1 Reputation point
edited the question 2024-12-27T21:38:17.48+00:00
Andrew Painter 1 Reputation point
1 answer

How can I find the cause of a crash in the TestFlight Crash-Feedback?

I have downloaded and installed my app from TestFlight on my iPad but shortly after opening the app always crashes. In App Store Connect there are a few crash feedbacks. I have opened them in Xcode but I don't know how to find the problem in the crash…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,768 questions
asked 2024-12-27T13:49:21.91+00:00
Kim Strasser 1,201 Reputation points
answered 2024-12-27T18:46:22.26+00:00
Bruce (SqlWork.com) 68,716 Reputation points
1 answer

How do I save file on form submit

Hello, As mentioned in the title, I want to save the file to the server. In the past, we were using SaveAs but in Blazor I can't get a reference of PostedFile directly. <div class="row pb-3"> <div class="col"> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,706 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,635 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,550 questions
asked 2024-12-27T16:34:04.0766667+00:00
Kuler Master 326 Reputation points
answered 2024-12-27T17:04:25.5666667+00:00
Bruce (SqlWork.com) 68,716 Reputation points
0 answers

Why does sending large attachments (>3MB) with MS Graph API just works without upload session?

Hi, I read that there are limitations on sending e-mails with attachments larger than 3MB: upload session should be used. Reference: https://zcusa.951200.xyz/en-us/graph/outlook-large-attachments?tabs=http However when I try to send an email with an…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,664 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,550 questions
asked 2024-12-27T16:44:34.2433333+00:00
Frederik Gysel 0 Reputation points
0 answers

Are navigation added automatically to the dbSet?

I have a question Dbset public class Question { public int Id {get; set;} public string Text {get; set;} public virtual ICollection<Choice> Choices {get; set;} = [] Choice DbSet/Model public class Choice { public int Id { get; set; } …

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
768 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,550 questions
asked 2024-12-27T08:15:14.9233333+00:00
Mahesh Kumar 60 Reputation points
commented 2024-12-27T14:13:41.7433333+00:00
Mahesh Kumar 60 Reputation points
1 answer One of the answers was accepted by the question author.

Android Apk not installed

dotnet publish -f:net9.0-android -c:Release /p:AndroidSigningKeyPass=math@24 /p:AndroidSigningStorePass=math@24 When I try to install apk file "on my Android phone I get below error "App not installed as app isnt compatible with your…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,768 questions
asked 2024-12-23T21:42:31.97+00:00
Kalyan A 335 Reputation points
accepted 2024-12-27T13:24:31.54+00:00
Kalyan A 335 Reputation points
1 answer

How to solve the white page problem in blazor server.

When I start my blazor server application, the page content is displayed for less than a second, then I get a blank page. When I right-click inpect in the browser I get the code : <html> **<head></head>** …

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,635 questions
asked 2024-04-22T12:36:24.15+00:00
wilfried kinda 0 Reputation points
commented 2024-12-27T12:21:37.54+00:00
Flavian Laxenaire 0 Reputation points
1 answer One of the answers was accepted by the question author.

Uploading .ipa file to App Store Connect is not working. Asset validation failed (90046)

I have updated my Xcode version on my Mac. Then I have downloaded the Transporter app on macOS and I have copied my .ipa file from my Windows device to my Mac and drag&drop the file in Transporter. But I get this error in Transporter when I upload it…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,768 questions
asked 2024-12-26T13:04:36.2466667+00:00
Kim Strasser 1,201 Reputation points
commented 2024-12-27T11:08:59.07+00:00
Kim Strasser 1,201 Reputation points
1 answer One of the answers was accepted by the question author.

How can I create and upload an iOS-Build from Visual Studio to App Store TestFlight?

I had already created an application on App Store Connect some time ago and I had uploaded an iOS-Build in TestFlight. The iOS-Build expired and I want to upload a new iOS-Build. I had created my first iOS-Build on a macOS device. I switched from macOS…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,768 questions
asked 2024-12-18T13:12:18.1566667+00:00
Kim Strasser 1,201 Reputation points
accepted 2024-12-27T11:06:19.48+00:00
Kim Strasser 1,201 Reputation points
0 answers

Time Picker Focus and UnFocus is not working

Hello, There is a known issue for DatePicker focus unfocus not working on .NET MAUI 8 Android. The below code helped me to solve the date picker issue:- private DatePickerDialog mDialog; protected override DatePickerDialog…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,768 questions
asked 2024-12-27T08:55:24.1366667+00:00
Chinmay Dole 200 Reputation points
edited the question 2024-12-27T10:53:20.9633333+00:00
Chinmay Dole 200 Reputation points
1 answer

How to Apply Multiple Filtering Criteria in a CustomObservableCollection?

Hello I am managing data in my WPF application using a CustomObservableCollection. I created a custom collection by inheriting from ObservableCollection in order to control any additional operations that might arise on the collection in the future. Now,…

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,805 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,156 questions
asked 2024-12-27T08:28:57.8266667+00:00
fatih uyanık 160 Reputation points
answered 2024-12-27T09:55:45.8533333+00:00
Hongrui Yu-MSFT 3,645 Reputation points Microsoft Vendor
2 answers

Catch runtime error inside MAUI application on Android mobile (not emulator)

Hello all I have a tested MAUI application and run perfect in Android emulator (all functions) When I deploy application to the store (AAB) and download it to the mobile for internal testing, firstly run OK but when I tap on the screen app crash. Do you…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,768 questions
asked 2024-12-09T14:27:04.7566667+00:00
Wheelstring 150 Reputation points
answered 2024-12-27T09:28:18.8933333+00:00
Wheelstring 150 Reputation points
2 answers

.NET 9 UWP Build Error

A blank project created in Visual Studio 2022 using .NET 9 UWP generates a build error: Microsoft.UI.Xaml.Markup.winmd cannot be referenced. Referencing a Windows Metadata component directly when targeting .NET 5 or higher is not supported. For more…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,011 questions
Universal Windows Platform (UWP)
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,316 questions
asked 2024-12-12T08:26:00.6966667+00:00
Singh Wong 51 Reputation points
commented 2024-12-27T07:44:39.38+00:00
Junjie Zhu - MSFT 19,751 Reputation points Microsoft Vendor
1 answer

Seed Data Asp.Net core Identity .Net 9

Hello, good time. A problem in the new version of .Net 9 that I recently found after upgrading from version 8 to 9. Regarding the seed data context identity I found this problem after upgrading the version, in your project I have a Context, one for the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,011 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,706 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,011 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,706 questions
asked 2024-12-21T06:56:08.37+00:00
Saeed Ghafori 0 Reputation points
answered 2024-12-27T07:44:34.5166667+00:00
Ping Ni-MSFT 4,805 Reputation points Microsoft Vendor
1 answer

Seed Data Asp.Net core Identity .Net 9

Hello, good time. A problem in the new version of .Net 9 that I recently found after upgrading from version 8 to 9. Regarding the seed data context identity I found this problem after upgrading the version, in your project I have a Context, one for the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,011 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,706 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,011 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,706 questions
asked 2024-12-21T06:56:08.37+00:00
Saeed Ghafori 0 Reputation points
answered 2024-12-27T07:44:34.5166667+00:00
Ping Ni-MSFT 4,805 Reputation points Microsoft Vendor
1 answer

How to run maui app as admininstrator after deployment as unpacakged(exe)

Hi, How I run maui app on windows 8 as admin after deployment as unpcakaged (exe). This deployment command. dotnet publish -f net8.0-windows10.0.19041.0 -c Release /p:AppxPackageSigningEnabled=true…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,768 questions
asked 2024-12-25T14:10:44.66+00:00
Dani_S 3,891 Reputation points
commented 2024-12-27T07:38:41.6+00:00
Dani_S 3,891 Reputation points
1 answer

can the ios be same with android to the keyboard?

if I focus an entry the keyboard will appear. and then the page is resized so the keyboard will not cover the entry. I do not want it be like that. I know how to set to Resize according…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,768 questions
asked 2024-12-26T10:13:30.1133333+00:00
mc 4,981 Reputation points
answered 2024-12-27T07:04:49.34+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 33,676 Reputation points Microsoft Vendor
1 answer

How do I make a richTextBox have a transparent background / show the image beneath it? (C#, Windows Forms App)

Hello, as per the title, I want to make the richTextBox in my project transparent, or have a way to show the image beneath it. Whenever I try to set the backcolor to transparent, i always get "Property value is not valid" with "Control…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,915 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,316 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,156 questions
asked 2024-12-27T06:00:17.44+00:00
dorian tester 0 Reputation points
answered 2024-12-27T06:43:01.78+00:00
Jiale Xue - MSFT 48,441 Reputation points Microsoft Vendor