16,681 questions with .NET-related tags

Sort by: Updated
0 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 2025-06-04T16:11:52.87+00:00
Diptesh Kumar 826 Reputation points
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,259 questions
asked 2025-06-04T05:16:15.2466667+00:00
William Liu 511 Reputation points
answered 2025-06-04T16:09:17.3466667+00:00
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,520 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,520 questions
asked 2024-10-17T08:40:02.0933333+00:00
Kinga 0 Reputation points
commented 2025-06-04T14:53:12.43+00:00
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,520 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,520 questions
asked 2024-10-17T08:40:02.0933333+00:00
Kinga 0 Reputation points
commented 2025-06-04T14:53:12.43+00:00
Alex 0 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,259 questions
asked 2025-06-04T03:08:04.02+00:00
Marc Menzel 101 Reputation points
accepted 2025-06-04T09:45:20.0133333+00:00
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 2025-01-08T17:25:24.1833333+00:00
Adrian Lewis 20 Reputation points
commented 2025-06-04T09:43:47.89+00:00
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 2025-06-04T03:25:27.2033333+00:00
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,520 questions
asked 2022-07-30T17:44:51.13+00:00
net 6 newbie 121 Reputation points
answered 2025-06-03T21:14:54.9466667+00:00
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 2025-05-31T09:48:37.61+00:00
Prathamesh Shende 441 Reputation points
answered 2025-06-03T17:16:07.1933333+00:00
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 2025-06-03T15:36:24.6533333+00:00
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,867 questions
asked 2024-01-29T18:32:44.9366667+00:00
Hassan Farouk 35 Reputation points
edited a comment 2025-06-03T15:33:15.06+00:00
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 2025-06-03T14:57:08.28+00:00
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 2024-08-08T06:00:13.1666667+00:00
Malviya, Mridul Kumar 0 Reputation points
commented 2025-06-03T14:08:46.5466667+00:00
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 2025-06-03T11:40:41.24+00:00
张中伟 80 Reputation points
edited the question 2025-06-03T11:41:17.53+00:00
张中伟 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 2025-05-30T18:23:01.76+00:00
Chandrakala Vaprani 0 Reputation points
answered 2025-06-03T10:04:09.2766667+00:00
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 2022-01-28T03:05:31.787+00:00
Erick 26 Reputation points
commented 2025-06-02T19:21:15.2866667+00:00
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 2025-05-21T15:52:56.9833333+00:00
Chris K 20 Reputation points
accepted 2025-06-02T14:37:47.44+00:00
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 2023-03-05T01:41:17.8533333+00:00
David Thielen 3,211 Reputation points
commented 2025-06-02T03:52:16.3833333+00:00
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 2023-03-05T01:41:17.8533333+00:00
David Thielen 3,211 Reputation points
commented 2025-06-02T03:52:16.3833333+00:00
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 2022-08-17T17:11:19.803+00:00
edited an answer 2025-06-01T19:13:31.4566667+00:00
Naderson Jinkia 0 Reputation points