26,511 questions with .NET-related tags

Sort by: Updated
3 answers One of the answers was accepted by the question author.

.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,012 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,707 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,012 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,707 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
accepted 2024-12-29T10:48:58.6566667+00:00
P. G. Choudhury 61 Reputation points
3 answers One of the answers was accepted by the question author.

.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,012 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,707 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,012 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,707 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
accepted 2024-12-29T10:48:58.6566667+00:00
P. G. Choudhury 61 Reputation points
1 answer

In course it was written as Console.WriteLine(""); statements are in sequence, despite being on seperate lines all will be printed in the same line but my compiler printed them in different lines.

Console.WriteLine("the world dies"); Console.WriteLine(" ."); should have printed the world dies . but it printed the world dies . This question is related to the following Learning Module

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
16 questions
asked 2024-12-29T04:20:26.27+00:00
Abhishek Kumar 0 Reputation points
edited the question 2024-12-29T09:49:01.3333333+00:00
Pradeep M 4,635 Reputation points Microsoft Vendor
0 answers

AuthenticationFailureException: The oauth state was missing or invalid.

I'm getting the below error while accessing the web URL. An unhandled exception occurred while processing the request. AuthenticationFailureException: The oauth state was missing or invalid. Unknown location AuthenticationFailureException: An error was…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,707 questions
asked 2024-09-16T10:21:09.3933333+00:00
Veluri, Sateesh 0 Reputation points
edited a comment 2024-12-29T09:31:29.5966667+00:00
Sami Salari 0 Reputation points
0 answers

can the Image played on a loop?

In MAUI I can use Gif as ImageSource of Image. and set IsAnimating to true it will play gif once. how to keep playing?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,769 questions
asked 2024-12-29T03:44:55.82+00:00
mc 5,001 Reputation points
0 answers

My Windows 11 keeps losing internet.

Hello All, My MSI windows 11 Desktop keeps losing its connection to the internet. I am connected to the Xfinity WiFi, just no internet. I can connect to my mobile hotspot and access the internet through it. I would consider the router, but it is only…

.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.
31 questions
asked 2024-12-29T02:45:31.94+00:00
Allen Todd 0 Reputation points
1 answer One of the answers was accepted by the question author.

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,769 questions
asked 2024-12-26T10:13:30.1133333+00:00
mc 5,001 Reputation points
accepted 2024-12-29T00:54:49.1566667+00:00
mc 5,001 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,707 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
commented 2024-12-29T00:07:37.5466667+00:00
Haroon Akram 0 Reputation points
0 answers

Re-map default Identity Endpoints in Core App (Razor)

I've added the default Indentity pages for an .Net Core 8 Razor application and everything appears to be working fine with the Account pages. My main question is how can I re-map the pages from "/Identity" to "/" (just for testing…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,707 questions
asked 2024-12-28T19:33:57.36+00:00
Joshy507 0 Reputation points
edited a comment 2024-12-29T00:00:43.2033333+00:00
Joshy507 0 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,012 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,157 questions
asked 2024-12-27T20:26:27.27+00:00
Andrew Painter 1 Reputation point
edited a comment 2024-12-28T18:52:08.6666667+00:00
Andrew Painter 1 Reputation point
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-28T18:48:11.9033333+00:00
Bruce (SqlWork.com) 68,721 Reputation points
1 answer

Windows Surface Laptop 7 (ARM) - VS 2022 17.12.3 - MAUI - Hot Restart iOS - Object reference not set to an instance of an object.

Hello - going a bit kookoo here. Working on a MAUI app, not updated to 9 yet. It debugs, builds and can push to test group in Google Play Store. I'll preface all this next bit with this... I was not able to test at all on a physical usb connected iOS…

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 MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,769 questions
asked 2024-12-23T03:48:52.1833333+00:00
Christopher Meehan 0 Reputation points
commented 2024-12-28T14:47:35.74+00:00
Christopher Meehan 0 Reputation points
2 answers

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,157 questions
asked 2024-12-27T06:00:17.44+00:00
dorian tester 0 Reputation points
answered 2024-12-28T10:29:08.01+00:00
KOZ6.0 6,580 Reputation points
1 answer One of the answers was accepted by the question author.

Custom Webview Renderer in MAUI iOS

In Xamarin forms we are using custom WebView renderer for iOS. using System; using Dev.Controls; using Dev.iOS.Controls; using Foundation; using UIKit; using WebKit; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; [assembly:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,769 questions
asked 2024-02-12T07:45:48.9466667+00:00
Bhuwan 736 Reputation points
edited a comment 2024-12-28T09:06:23.15+00:00
Swagatika Dash 0 Reputation points
1 answer

Security Updates for Microsoft .NET Framework (October 2024)

Hi and a very good day people. I'm new in this. Need your assistance to solve/fix the same issue Security Updates for Microsoft .NET Framework (October 2024). You may refer to the details below. Previous Issue: Plugin Output: Microsoft .NET…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,012 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,876 questions
asked 2024-12-28T05:32:57.1933333+00:00
NM Amirul 0 Reputation points
commented 2024-12-28T06:48:36.2066667+00:00
Anthony LAVABRE 1,055 Reputation points
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,769 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,721 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,663 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 65 Reputation points
commented 2024-12-27T14:13:41.7433333+00:00
Mahesh Kumar 65 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,769 questions
asked 2024-12-23T21:42:31.97+00:00
Kalyan A 355 Reputation points
accepted 2024-12-27T13:24:31.54+00:00
Kalyan A 355 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,769 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