16,471 questions with .NET-related tags

Sort by: Updated
0 answers

Create Identity Provider without Identity Server

Hi, I am learning something new and want to develop the identity provider similar to IdentityServer4. I am making quite some progress. The client project is Blazor OIDC, and Microsoft does it on Community Standup live. Auth Server is…

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,666 questions
asked Mar 26, 2025, 9:54 AM
Prathamesh Shende 381 Reputation points
edited the question Mar 26, 2025, 9:58 AM
Prathamesh Shende 381 Reputation points
0 answers

Maui app as exe - throw exception when installing on new machine

Hi, Maui app as exe - throw exception when installing on new machine. This the message I got: What do we miss ? I used following command to publish application to exe. dotnet publish -f net9.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked Mar 24, 2025, 8:37 AM
Dani_S 4,336 Reputation points
commented Mar 26, 2025, 9:37 AM
Dani_S 4,336 Reputation points
0 answers

App is crashing which swiping in carousel view in maui

I had implemented the carousel view in android, When im swipping app is getting crashed.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked Mar 19, 2025, 10:07 AM
Vaibhav Methuku 160 Reputation points
commented Mar 26, 2025, 9:13 AM
Vaibhav Methuku 160 Reputation points
1 answer One of the answers was accepted by the question author.

Open PDF in MAUI in separate window

Hi, I have MAUI app in .NET 9 platform Windows and MAC. I have PDF file I want user will open it by click on button in separate window? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked Mar 20, 2025, 8:00 AM
Dani_S 4,336 Reputation points
accepted Mar 26, 2025, 8:35 AM
Dani_S 4,336 Reputation points
1 answer

ubuntu下面运行asp.net core 不加载appsettings.json配置文件

我做了一个asp.net core5.0的站点,发布在ubuntu服务器上, 发现如果我不在程序所在文件夹下面运行站点,站点遍不会加载 appsettings.json配置文件 只要不在程序所在文件夹去启动站点,其他任何文件夹都不会加载 appsettings.json配置文件,这是为什么呢??

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,806 questions
.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,200 questions
asked Oct 25, 2021, 2:23 AM
easy999000 1 Reputation point
answered Mar 26, 2025, 7:21 AM
SY LI 0 Reputation points
3 answers

BlazorWebAppEntra .net9 sample app resets back to Home page

Download the BlazorWebAppEntra .net9 sample and create the app in Azure Entra with the other setup that you need to do in Azure. When you are able to login using Azure Entra into you Blazor Web App login click the Weather link in the Nav bar. You will…

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.
19 questions
asked Mar 23, 2025, 10:41 AM
Saeed Dudhia 0 Reputation points
commented Mar 26, 2025, 7:12 AM
Pradeep M 6,655 Reputation points Microsoft External Staff
1 answer

.NET MAUI error after binding android library (.aar)

I am using android library called "autoreplyprint.aar" , this library contains another.jar file called "jna-4.5.1.jar". I have used following code to bind it in my MAUI project, <ItemGroup…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked Mar 19, 2025, 4:23 PM
Nikhil Sathawara 0 Reputation points
commented Mar 26, 2025, 6:01 AM
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 81,096 Reputation points Microsoft External Staff
2 answers

Issue with Project Reference

I am using visual studio 2022 with net9. C# unable to reference a class library project in another class library project. \Program Files\dotnet\sdk\9.0.201\Microsoft.Common.CurrentVersion.targets(2189,5): warning MSB9008: The referenced project…

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
24 questions
asked Mar 25, 2025, 10:31 AM
Anil Babu Ravi 0 Reputation points
answered Mar 26, 2025, 5:38 AM
Pradeep M 6,655 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Entry Focus issue in scroll view Maui

I had created a view with 30 entries in a scroll view, for suppose I focus on the 16 entry and click in the background Entry 1 is being focused automatically. Here is the code for reference. <ScrollView BackgroundColor="Green" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked Mar 24, 2025, 4:37 PM
Vaibhav Methuku 160 Reputation points
commented Mar 26, 2025, 5:18 AM
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 81,096 Reputation points Microsoft External Staff
0 answers

Issues in release mode after upgrading to MAUI 9

After i upgrade from MAUI 8 to MAUI 9 , i face the following issues , I cannot have my target framework to net9.0-android35.0 but i could only use net9.0-android , i get the error as mentioned in the github link…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked Mar 25, 2025, 11:41 AM
Manickam, Suraj 320 Reputation points
commented Mar 26, 2025, 5:11 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 49,611 Reputation points Microsoft External Staff
1 answer

Change title and selected date colors in Android datepicker popup

How do I set the background color the title of the datepicker popup in android to my app primary color. also like to change the selected date color.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked Oct 13, 2022, 4:19 PM
Jeff Pfahl 91 Reputation points
commented Mar 26, 2025, 5:03 AM
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 81,096 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

Onidiom vs on Platform

Hi, What are the diffrences beween OnIdiom or OnPlatform ? Can you give sample how you yiu use each one? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked Mar 21, 2025, 9:20 AM
Dani_S 4,336 Reputation points
accepted Mar 26, 2025, 4:16 AM
Dani_S 4,336 Reputation points
2 answers

I get cswinrt.rsp exited with error code 1 when compiling for ios simulator

Building for local iOS iPhone is OK. Only fails when building for iOS simulator. Visual Studio is running on a PC and paired to a Mac. 1>EXEC : error : Path '18.2' is not a file or…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked Mar 21, 2025, 3:54 PM
Steve Brooke 40 Reputation points
commented Mar 26, 2025, 2:46 AM
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,331 Reputation points Microsoft External Staff
0 answers

.Net MAUI app fails to deploy only to remote iPhone

I have a .Net Maui app (9.0.14) built in vs2022 (updated to 17.13.4 today) on WIndows 11 Pro, which works fine on local dev machine, in ios simulator, android simulator and windows machine. I'm frustrated that I can't get the app icon to display if I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked Mar 25, 2025, 2:54 PM
Adrian Lewis 20 Reputation points
edited a comment Mar 26, 2025, 2:03 AM
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,331 Reputation points Microsoft External Staff
0 answers

While releasing the build in iOS MAUI, app getting crash while opening the application

Exceptions occurs was Terminating app due to uncaught exception 'System.ArgumentNullException', reason: 'ArgumentNull_Generic Arg_ParamName_Name, provider (System.ArgumentNullException)    at System.ThrowHelper.Throw(String )    at…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked Mar 24, 2025, 5:47 AM
Jeyamani Sekar 20 Reputation points
commented Mar 26, 2025, 12:46 AM
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,331 Reputation points Microsoft External Staff
2 answers

Tracing "SQLite error 19 foreign key constraint" down to what actually causes it?

See screenshots. How do you find out which entity or which record produces this error? Haven't found info in the Internet. Default and test data is added using FluentApi in the configuration classes. The database is EnsureDeleted() first, then when it's…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,806 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked Dec 12, 2023, 10:37 AM
MSCollege3000 185 Reputation points
edited an answer Mar 26, 2025, 12:19 AM
Bill Neal 0 Reputation points
2 answers

How to connect ESPnow to C#

ESPnow is a protocol to connect one Espressif device to another over WiFi , such as ESP32 or ESP8266, WEMOS etc. the advantage is that it is not relying on local WiFi network, so no need to select a WiFi Network and register to it with a password. I…

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,342 questions
.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.
36 questions
asked Jan 13, 2021, 10:50 AM
YigalB 1 Reputation point
answered Mar 25, 2025, 11:52 PM
José Simões 0 Reputation points MVP
1 answer

SQLite Database Not Loading on iOS and Android with .NET MAUI but works with windows

Using Visual Studio 2022 preview with .NET 9 MAUI, there is an issue getting SQLite to work on iOS and Android. The code compiles for all maui platforms but does not load on the Android emulator or attached Iphone. It works on Windows without issues. I …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked Mar 24, 2025, 10:19 AM
martin schneeberger 0 Reputation points
commented Mar 25, 2025, 3:55 PM
Bruce (SqlWork.com) 73,101 Reputation points
1 answer

.NET Editor is not loading up in C# fundamentals course

.NET Editor is not loading up in C# fundamentals course. When i open c# certification from free codecamp one. xp and .net loader are not loading. please i need your help to fix it Link:…

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
24 questions
asked Mar 24, 2025, 2:55 PM
HARSHA VARDHAN NAKKA 5 Reputation points
edited a comment Mar 25, 2025, 2:37 PM
Kay47 0 Reputation points
1 answer

Win32 internal error "Access is denied" 0x5 occurred while reading the console output buffer. Contact Microsoft Customer Support Services.

Hi, I‘m getting the following error while executing the "Invoke-WebRequest" command over "ssh.exec()": Win32 internal error "Access is denied." 0x5 occurred while reading the console output buffer. Contact Microsoft Customer…

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
24 questions
asked Mar 25, 2025, 6:31 AM
Mohammed, Mohd Faizal 0 Reputation points
edited an answer Mar 25, 2025, 12:26 PM
Pradeep M 6,655 Reputation points Microsoft External Staff