16,682 questions with .NET-related tags

Sort by: Updated
1 answer

Strange behavior of .NET MAUI application on different versions of Android.

The application window styles have a background image added. The application uses a theme based on Theme.Material3.Light.NoActionBar. The application was tested on both emulators and physical devices on Android 9 and Android 15. Unlike on Android 9,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,137 questions
asked May 24, 2025, 9:03 PM
Roman Pristinsky 46 Reputation points
answered Jun 5, 2025, 12:58 PM
Roman Pristinsky 46 Reputation points
1 answer

How to implement both a user registration and log in in a blazor webassembly asp.net core 8 using Azure AA B2C

I have followed this guidance: Secure an ASP.NET Core Blazor WebAssembly standalone app with Azure Active Directory…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,816 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,672 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,861 questions
asked Nov 21, 2023, 1:48 PM
risto l 0 Reputation points
commented Jun 5, 2025, 12:52 PM
Schalk 1 Reputation point
0 answers

Databricks serving endpoint stops working today

Hi We need help ASAP. Today our pipelines stop working. We get request errors. This was not an issue before today. What has changed? Please help me to get some contact with databricks.

.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,260 questions
asked Jun 5, 2025, 9:22 AM
David Westerberg 20 Reputation points
2 answers

Installing 4.5.2 framework

I want to install below highlighted and for that i should include in the vs build script, can you please assist , Please share me the exact command and where to download whatever I mentioned below highlighted is not working

Entity Framework Core Training
Entity Framework Core Training
Entity Framework Core: A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.Training: Instruction to develop new skills.
14 questions
asked Jun 4, 2025, 4:11 PM
Diptesh Kumar 826 Reputation points
commented Jun 5, 2025, 7:07 AM
Pradeep M 9,205 Reputation points Microsoft External Staff Volunteer Moderator
1 answer

When I try to deploy to an iPhone 6 running iOS 12.5.7 I get: error MT1006: Could not install the application ... on the device 'iPwn Nova': Device is invalid (0xe8000084).

A couple of my apps and also a brand new created test app all get the same error when I try to deploy to either of my iPhone 6 devices. It also takes a very long time for the error to finally occur and the build to stop. I can say the following things…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,137 questions
asked May 31, 2025, 4:12 AM
Kevin Anderson 0 Reputation points
commented Jun 5, 2025, 4:57 AM
Saideep Anchuri 7,680 Reputation points Microsoft External Staff Moderator
1 answer

Lifecycle errors in Blazor Web App .Net 9

I am facing the issue on lifecycle in blazor. in blazor Web App .net Interactive Auto. I need to set the LocalStorage (jsInterope) in OnAfterRenderAsync(). and OnInitializedAsync() is mostly used to call data from api. but some issues I dont even…

Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
35 questions
asked May 31, 2025, 9:48 AM
Prathamesh Shende 441 Reputation points
commented Jun 5, 2025, 3:29 AM
Pradeep M 9,205 Reputation points Microsoft External Staff Volunteer Moderator
1 answer

How to try .net 10 preview development on Windows?

I am currently working on .net 9 with Visual Studio Community 2022 v17.14.4. I would like to try .net 10 preview. I have looked at the information on website: https://dotnet.microsoft.com/en-us/download/dotnet/10.0 I saw the information of .net10 preview…

.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,260 questions
asked Jun 4, 2025, 5:16 AM
William Liu 511 Reputation points
commented Jun 5, 2025, 2:49 AM
William Liu 511 Reputation points
1 answer One of the answers was accepted by the question author.

How do I connect to SQL Server 2022 using VB.NET Core Desktop

How do I connect to SQL Server 2022 using VB.NET Core Desktop. Should I use a connection string such as "Server=localhost;Database=CombinedCommands;Trusted_Connection=True;TrustServerCertificate=True" and should I install an SSL certificate for…

.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,260 questions
asked Jun 4, 2025, 3:08 AM
Marc Menzel 121 Reputation points
commented Jun 4, 2025, 9:17 PM
Bruce (SqlWork.com) 76,781 Reputation points Volunteer Moderator
1 answer

C# Blazor .NET 8 localstorage deleted on page refresh F5

Hi In Blazor .NET7 I use localstorage to save a JWT for all my users claims etc. Works perfectly. Upgraded to .NET8 the JWT still works, but, if you refresh your browser page (F5) the localstorage is deleted and I get a 401 unauthorized. In .NET7 this…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 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,672 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,523 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 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,672 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,523 questions
asked Oct 17, 2024, 8:40 AM
Kinga 0 Reputation points
commented Jun 4, 2025, 2:53 PM
Alex 0 Reputation points
1 answer

C# Blazor .NET 8 localstorage deleted on page refresh F5

Hi In Blazor .NET7 I use localstorage to save a JWT for all my users claims etc. Works perfectly. Upgraded to .NET8 the JWT still works, but, if you refresh your browser page (F5) the localstorage is deleted and I get a 401 unauthorized. In .NET7 this…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 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,672 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,523 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 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,672 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,523 questions
asked Oct 17, 2024, 8:40 AM
Kinga 0 Reputation points
commented Jun 4, 2025, 2:53 PM
Alex 0 Reputation points
1 answer One of the answers was accepted by the question author.

Android arm emulator devices give confusing errors and won't start

Am trying to build .Net Maui app on new Surface Laptop with Snapdragon (ARM64) processor and Windows 11 Pro. If I install any arm device via Android Device Manager in VS 2022 (eg Pixel 7 - API 35), when I click "Start" I get an immediate error:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,137 questions
asked Jan 8, 2025, 5:25 PM
Adrian Lewis 20 Reputation points
commented Jun 4, 2025, 9:43 AM
Jeroen B 56 Reputation points
0 answers

How to fix white screen in release mode and there were no any error occured

How to fix white screen in release mode and there were no any error occured, debugging mode still can appear content in razor page, while after release to App Store keep appear white screen....

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,137 questions
asked Jun 4, 2025, 3:25 AM
Jongfoo Shee 0 Reputation points
2 answers

null values in JSON values

When return type in Controller is JObject the values in the json object are displayed null. But If I am trying to print on Console the out put is Ok. How to deal with this?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 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,523 questions
asked Jul 30, 2022, 5:44 PM
net 6 newbie 121 Reputation points
answered Jun 3, 2025, 9:14 PM
MylesF-0952 0 Reputation points
0 answers

Net Maui Android debug on Physical device

I should debug an android app to verify the correct functioning of the InAppBilling package by james Montemagno, as per instructions (https://jamesmontemagno.github.io/InAppBillingPlugin/TestingAndTroubleshooting.html) I have to debug on a physical…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,137 questions
asked Jun 3, 2025, 3:36 PM
Antonio Moscati 0 Reputation points
3 answers One of the answers was accepted by the question author.

Why isn't Visual Basic developed like C#?

In fact, I feel very upset with Microsoft's strategy towards the Visual Basic language. You are practicing euthanasia for this language and losing a large base of programmers who prefer to deal with this language. You have wasted the expertise of these…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,869 questions
asked Jan 29, 2024, 6:32 PM
Hassan Farouk 35 Reputation points
edited a comment Jun 3, 2025, 3:33 PM
Brandon Stewart 141 Reputation points
0 answers

faild to write to usb sd card in .net android

I am using .net android and I want to write to the usb sd card. var sm = (Android.OS.Storage.StorageManager)GetSystemService(Android.Content.Context.StorageService); if (sm == null) { return; } var path = sm.StorageVolumes?.FirstOrDefault(x =>…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,137 questions
asked Jun 3, 2025, 2:57 PM
mc 5,366 Reputation points
0 answers

Experiencing slow transitions when running MAUI Application on iSafe mobile (IS530.1).

Running Maui applications on both Android and iOS platforms. What I observe is that the same code base has two different experiences on different Android devices. I have observed that the MAUI application is not running as intended in Samsung, ISafe, and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,137 questions
asked Aug 8, 2024, 6:00 AM
Malviya, Mridul Kumar 0 Reputation points
commented Jun 3, 2025, 2:08 PM
Malviya, Mridul Kumar 0 Reputation points
0 answers

net maui find one tree control for free thanks!

请大神介绍一个树形控件,免费的开源的。谢谢。类似syncfusion的treeview但这个是收费的。Uranium 这个里面有免费开源的吗。只要树形控件就可以。

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,137 questions
asked Jun 3, 2025, 11:40 AM
张中伟 80 Reputation points
edited the question Jun 3, 2025, 11:41 AM
张中伟 80 Reputation points
2 answers

I have a .net MAUI Project , How Can I integrate an app clip into it

My company wants to integrate App Clips functionality provided by apple. I have a .net MAUI project, I have searched over the internet and could not find exact steps to integrate the app clip in .maui project I have created a fresh parent project in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,137 questions
asked May 30, 2025, 6:23 PM
Chandrakala Vaprani 0 Reputation points
answered Jun 3, 2025, 10:04 AM
Usman Yasin 0 Reputation points
3 answers One of the answers was accepted by the question author.

Emulator not running. Could not get emulator name after starting AVD

I recently installed windows 11 and android emulator stopped working. I recently installed windows 11 and android emulator stopped working. This is the errorstrong text my configuration is I have tried different combinations…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,380 questions
asked Jan 28, 2022, 3:05 AM
Erick 26 Reputation points
commented Jun 2, 2025, 7:21 PM
Auri A. Rahimzadeh 6 Reputation points