16,457 questions with .NET-related tags

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

Unable to Create Session and Cookies in .NET Core

I've been trying to create a session or a cookie to be determine if the incoming parameter passed to call a hook is successfully received. The session is created and accessed when the code is running in the Startup.cs class. Once I try to retrieve the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,803 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,343 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
397 questions
asked 2023-07-18T17:34:53.1233333+00:00
lesponce 176 Reputation points
answered 2025-03-23T11:35:23.68+00:00
Abd-Alaziz Ale-Abd-Almohsen 0 Reputation points
0 answers

>net maui error cs1001 Identifer expected (net8.0)

I've trying to convert my Xamarin project to .Net Maui for the couple of months, I finally got all of the pages to compile (so Far I think) I'm only getting 4 error now, cs1001 Idenitfier expected MyProject (net8.0-android) App.xaml.sg.cs line…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,448 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,027 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,343 questions
asked 2024-10-26T23:45:23.1433333+00:00
tim 200 Reputation points
edited a comment 2025-03-23T10:58:29.7266667+00:00
RStone 0 Reputation points
0 answers

Dirty LOG in MAC

Hi, 2025-03-23 12:01:35,747 [1] ERROR GssdDesktopClient.Maui.Helpers.UtillHelper - LoginCommand System.NullReferenceException: Object reference not set to an instance of an object.    at GssdDesktopClient.Maui.Pages.LoginPage.OnHandlerChanged() in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,027 questions
asked 2025-03-23T10:06:13.66+00:00
Dani_S 4,276 Reputation points
edited a comment 2025-03-23T10:22:35.0233333+00:00
Dani_S 4,276 Reputation points
1 answer

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,027 questions
asked 2025-03-21T09:20:57.0466667+00:00
Dani_S 4,276 Reputation points
edited a comment 2025-03-22T19:11:54.2766667+00:00
Dani_S 4,276 Reputation points
2 answers

App crashes on android after about 1 hr usage with Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 6664 (SGen worker)

App crashes on android after continuous use for about 1 hour. Please refer below adb logs when app crashed - 2025-03-21 14:29:09.249 6649-6664 com.name.myname com.name.myname E How can an object and a reference inside it not be in the same block?…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,027 questions
asked 2025-03-21T23:34:01.0466667+00:00
Vinayak Nikam 71 Reputation points
answered 2025-03-22T19:08:02.52+00:00
Bruce (SqlWork.com) 73,001 Reputation points
1 answer

pick appropriate .json data in Tab (ShellContext)

As a senior+ hobby developer I'm stuck. I know - whoever helps - this is not what this GitHub forum is for and, I know, this is an imposition! Anyway, hopefully somebody has some time and is willing to help, thank you. my APP:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,027 questions
asked 2025-03-12T09:25:58.7233333+00:00
Eduard Kaufmann 291 Reputation points
commented 2025-03-22T08:59:35.1233333+00:00
Sunora Organics 0 Reputation points
2 answers One of the answers was accepted by the question author.

Microsoft .NET Host -8.0.13 (x64) Popup

I keep getting a random popup with the header Microsoft .NET Host - 8.0.13 (x64) stating "The feature you are trying to use is on a network resource that is unavailable." It further states "Click OK to try again, or enter an alternative…

.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,199 questions
asked 2025-03-02T14:53:00.7466667+00:00
Steve Bailey 20 Reputation points
answered 2025-03-22T00:11:13.3133333+00:00
Anand George Muthirakalayil 0 Reputation points
1 answer

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,027 questions
asked 2025-03-21T15:54:15.63+00:00
Steve Brooke 40 Reputation points
commented 2025-03-21T19:54:59.0966667+00:00
Steve Brooke 40 Reputation points
0 answers

.NET MAUI Camera Not Opening on Android 15 (Works on Other Versions)

In my .NET MAUI application, I have the option to open the camera using MediaPicker.CapturePhotoAsync(). The camera works fine on other Android versions, but on Android 15, it does not open. Below is the code I am using to open the camera: try { …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,027 questions
asked 2025-03-21T16:11:00.44+00:00
Sakshi Poojary 95 Reputation points
1 answer

How to fix: Exception thrown: 'System.Runtime.InteropServices.COMException' in WinRT.Runtime.dll The program has exited with code 3762504530 (0xe0434352).

I have a .NET MAUI app that I am completing on Visual Studio Professional 2022. I have cleaned, restored, and build the app with no errors. I configured the app to run on Windows. Just before launching, the app crashes with this error: Exception thrown:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,027 questions
asked 2025-03-20T16:44:11.8433333+00:00
Waithley Williams 1 Reputation point
answered 2025-03-21T14:29:03.88+00:00
Waithley Williams 1 Reputation point
0 answers

WARNING MVVMTK0045

Both with net8.0 and net9.0, at times I have a warning MVVMTK0045. Following the instructions in the relevant documentation https://learn.microsoft.com/en-us/dotnet/communitytoolkit/mvvm/generators/errors/mvvmtk0045 does not clear the issue - on the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,027 questions
asked 2025-03-21T09:15:06.2+00:00
Giorgio Sfiligoi 346 Reputation points
1 answer

How to connect Algolia whit MAUI

i want to connect Algolia to my aplication developed on MAUI but i don´t know why it doesn,t work. I worked using DeepSeek and ChatGPT but they codes Doesn´t work i don´t know what more can i do i used the Algolia NuGet for MAUI but isn´t work or i tried…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,027 questions
asked 2025-03-19T17:46:27.2733333+00:00
Roberto Mendoza Dominguez 0 Reputation points
edited an answer 2025-03-21T05:26:14.1533333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 81,016 Reputation points Microsoft External Staff
1 answer

Error loading font 'Assets/Fonts/Segoe UI.ttf'. on log

Hi, I have this error when running the MAUI as exe. I do not have this fonts on my app in RESOURCES/FONTS and not resister it. 2025-03-13 11:57:26,921 [1] ERROR Microsoft.Maui.FontManager - Error loading font 'Assets/Fonts/Segoe…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,027 questions
asked 2025-03-13T10:01:37.4166667+00:00
Dani_S 4,276 Reputation points
commented 2025-03-21T02:43:12.6266667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 49,611 Reputation points Microsoft External Staff
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,027 questions
asked 2025-03-19T10:07:20.5066667+00:00
Vaibhav Methuku 140 Reputation points
commented 2025-03-21T02:41:14.5733333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 49,611 Reputation points Microsoft External Staff
1 answer

Blazor Hybrid Android/IOS Not Supported Picture-In-Picture(PIP)

Application: Messaging Application (Chat and Video Calls) using SignalR and WebRTC Framework: MAUI Blazor Hybrid Android OS: 15 - API 35 .Net Version: 9 Is Picture-In-Picture supported in BlazorWebView? You see i tried to implement a PIP that…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,027 questions
asked 2025-03-20T09:14:06.2333333+00:00
Yam 0 Reputation points
answered 2025-03-21T02:39:04.25+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 49,611 Reputation points Microsoft External Staff
0 answers

Problem publishing .NET MAUI app to Google Play Store: Unpacking failed error

Hello, I have problem when I try publish my .NET Maui application to Google Play Store, I see this error message: Unpacking failed. Please download 'https://dl.google.com/firebase/ios/analytics/59128155f949f77d/GoogleAppMeasurement-8.9.1.tar.gz' and…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,377 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,027 questions
Microsoft Intune Android
Microsoft Intune Android
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Android: An open-source mobile platform based on the Linux kernel, developed by Google, and maintained by the Open Handset Alliance.
352 questions
asked 2025-02-08T05:43:38.59+00:00
Yusuf-3141 70 Reputation points
commented 2025-03-20T22:55:05.48+00:00
Yusuf-3141 70 Reputation points
2 answers One of the answers was accepted by the question author.

Unique ID of MAUI device

Hello IT gurus I need some unique identifier of MAUI device (platforms: iPhone/Windows/Android/Tizen/MacCatalyst...) like MAC address of device, whatever... I want answer on this question: Is it the first (self) app instalation on this device? Yes/No…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,027 questions
asked 2025-02-20T10:00:22.5+00:00
Wheelstring 190 Reputation points
answered 2025-03-20T16:35:28.9766667+00:00
Wheelstring 190 Reputation points
1 answer

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,027 questions
asked 2025-03-20T08:00:51.27+00:00
Dani_S 4,276 Reputation points
answered 2025-03-20T16:02:19.78+00:00
Bruce (SqlWork.com) 73,001 Reputation points
1 answer

Unable to debug on iOS device

Not entirely sure if this is a result of my upgrade to .net 8 or not but I am not been able to debug on my iOS device any longer. I see the app deploy and the splash screen comes up for 20 seconds then the debugger stops and the app on the phone closes.…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,027 questions
asked 2023-12-05T22:34:48.7433333+00:00
Daniel Manchester 25 Reputation points
commented 2025-03-20T15:31:22.0633333+00:00
sean 0 Reputation points
1 answer

Publish - Move to Framework Independent did not work

Hi, I have MAUI app in .NET 9. When making setup with installshield i first install dotnet runtime 9. and later include Maui app + WPF app + stand alone app- log decoder in one setup. The app call in runtime to WPF application using Process Info…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,027 questions
asked 2025-03-17T11:05:45.7066667+00:00
Dani_S 4,276 Reputation points
commented 2025-03-20T09:17:50.1733333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,246 Reputation points Microsoft External Staff