16,680 questions with .NET-related tags

Sort by: Updated
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,259 questions
asked Jun 4, 2025, 3:08 AM
Marc Menzel 101 Reputation points
accepted Jun 4, 2025, 9:45 AM
Marc Menzel 101 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 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,259 questions
asked Jun 4, 2025, 5:16 AM
William Liu 511 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,519 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
2 answers

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
answered Jun 3, 2025, 5:16 PM
Prathamesh Shende 441 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,866 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
1 answer One of the answers was accepted by the question author.

Latest ios 18 and vs updates killed maui build for iOS project

I was using on older version of iOS and xcode to get some changes in before the cutoff date for supporting the older xamarin sdks. I have been working on another maui app, which was building fine previously. After udpating to the new mac OS and Xcode on…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,137 questions
asked May 21, 2025, 3:52 PM
Chris K 20 Reputation points
accepted Jun 2, 2025, 2:37 PM
Chris K 20 Reputation points
1 answer One of the answers was accepted by the question author.

What is the best way to store URI in EF/SQL Server?

Hi all; I have some properties in an Entity Framework class that are URIs. Is there a way to store them as a URI in the database? Or should I store them as a string? The underlying DB is SQL Database on Azure. thanks - dave

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
779 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
779 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
asked Mar 5, 2023, 1:41 AM
David Thielen 3,211 Reputation points
commented Jun 2, 2025, 3:52 AM
Tohid 0 Reputation points
1 answer One of the answers was accepted by the question author.

What is the best way to store URI in EF/SQL Server?

Hi all; I have some properties in an Entity Framework class that are URIs. Is there a way to store them as a URI in the database? Or should I store them as a string? The underlying DB is SQL Database on Azure. thanks - dave

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
779 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
779 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
asked Mar 5, 2023, 1:41 AM
David Thielen 3,211 Reputation points
commented Jun 2, 2025, 3:52 AM
Tohid 0 Reputation points
1 answer

[chromium] [INFO:CONSOLE(0)] "Failed to load module script: The server responded with a non-JavaScript MIME type of "";. Strict MIME type checking is enforced for module scripts per HTML spec

Steps to reproduce the problem: Using Xamarin Webview to load URL. Facing problems on Android APK < 30 with lower chrome version. Unable to load Webview. Problem Description: Trying to launch a Xamarin.Android WebView using…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,380 questions
asked Aug 17, 2022, 5:11 PM
edited an answer Jun 1, 2025, 7:13 PM
Naderson Jinkia 0 Reputation points
1 answer

Not able to create app service

I have a free azure subscription. While I am creating the app service , getting an error as "The subscription 'xxxxxxxx' is not allowed to create or update the serverfarm". Kindly support me to solve this.

.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,259 questions
asked May 30, 2025, 6:44 AM
avs cloud architect 0 Reputation points
commented Jun 1, 2025, 1:29 PM
traffic rider 0 Reputation points
0 answers

getting run error after use Plugin.firebase

Hello, I am getting below error after use plugin.firebase Java.Lang.RuntimeException: 'Unable to get provider com.google.firebase.provider.FirebaseInitProvider: java.lang.IllegalStateException: The Crashlytics build ID is missing. This occurs when…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,137 questions
asked Jun 1, 2025, 1:34 AM
Bhuwan 861 Reputation points
0 answers

Problem building for Android: Resources\values\colors.xml : error APT2126

Hi, I've made a MAUI app using VS Code that works on Windows and now I want to run it in an.....

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,137 questions
asked May 27, 2025, 9:53 AM
HH 0 Reputation points
edited the question May 31, 2025, 1:35 PM
HH 0 Reputation points