26,901 questions with .NET-related tags

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

Simplifying APK Update Process in MAUI App

I am looking for ways to simplify the update process for a private app Currently, I can download the APK of the new version from a database. However, once the APK is downloaded, I'm unsure how to use code to perform the update. It is not on the store.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,922 questions
asked 2025-02-06T12:15:07.2733333+00:00
F Dhcdgb 80 Reputation points
commented 2025-02-13T12:34:45.6066667+00:00
Muhammad Abdullah 0 Reputation points
1 answer

App in Maui version 8 we are facing deployment issue

Hello, I have developed an app in app in Maui version 8 and I have created an .apk for it. The apk gets installed on some devices and cannot be installed on some devices. I have tried wide range of make and models of cellphones/mobiles. I have tried…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,922 questions
asked 2025-02-06T16:52:06.5133333+00:00
Pearl 61 Reputation points
answered 2025-02-13T11:34:04.8666667+00:00
Pearl 61 Reputation points
2 answers

Duplicate App shortcuts

I have developed an app in app in Maui and I have created an .apk for it. After The apk gets installed , It creates two icons and when I try to uninstall one, both of them gets uninstalled at the same time. I have already created and deployed two small…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,922 questions
asked 2025-02-06T16:56:26.7766667+00:00
Pearl 61 Reputation points
answered 2025-02-13T11:29:14.1733333+00:00
Pearl 61 Reputation points
2 answers

Failed to Publish API

api_deploy.txt Hi, WhyI am suddenly not able to publish Web API to Microsoft Azure? I am getting failed as you can see in the attached log. Kindly help.. THanks, Jassim

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,780 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,280 questions
asked 2023-05-16T15:45:28.99+00:00
Jassim Al Rahma 1,591 Reputation points
commented 2025-02-13T11:07:17.3266667+00:00
Euan Gordon 1 Reputation point
1 answer

How to share session between framework 4.8 and .net with YARP

I realise there is plenty, plenty, of documentation/videos/help but nothing is helping me get past the very basic act of sharing session even though I see it work in the "UpgradeSample-main" example project. I'm finding resources are often…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
asked 2025-02-12T10:19:32.33+00:00
Royden 0 Reputation points
commented 2025-02-13T10:48:02.1166667+00:00
Royden 0 Reputation points
5 answers

failed with HTTP status code 'Unauthorized'.

Hi, Why I suddenly started getting this error: /Users/jassim/Projects/OneID/One ID API/Controllers/Account.cs(116,9,116,15): warning CS0162: Unreachable code…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,280 questions
asked 2023-05-14T19:52:08.6466667+00:00
Jassim Al Rahma 1,591 Reputation points
edited an answer 2025-02-13T10:47:57.4133333+00:00
Euan Gordon 1 Reputation point
1 answer

How is it possible to implement a complete semblance of a console (online compiler) in win fomrs?

Good time! Faced such a task as implementing code execution as in a console application in C # (with classes, methods, the ability to read data, etc.). Everything went super until I started testing my application. The problem is that I can execute code…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,922 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,292 questions
asked 2025-02-11T14:53:37.4833333+00:00
Efrem 20 Reputation points
edited a comment 2025-02-13T10:21:42.4+00:00
Efrem 20 Reputation points
1 answer

How to use/bind the ExternalAccessroy for ios in .net MAUI targeting 9.0

Hello team, When I am trying to create an ipa file in release mode in IOS from Visual Studio 2022 I am getting the below errors when I am keeping <MtouchLink>SdkOnly</MtouchLink> I am not finding any articles/documentation on how to use it.…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,922 questions
asked 2025-02-10T06:17:26.5033333+00:00
Rahul Shreebastav 5 Reputation points
commented 2025-02-13T10:04:52.8233333+00:00
Rahul Shreebastav 5 Reputation points
0 answers

Kha Tuấn Việt

Tôi tên là Kha Tuấn Việt sinh ngày 01/01/1989. Tôi đã tốt nghiệp ngành công nghệ thông tin tại trường đại học Tổng Hợp Hà Nội. Ngay từ khi gần tốt nghiệp đại học, tôi đã bắt đầu đi thực tập làm việc để tích luỹ thêm nhiều kinh nghiệm. Sau hơn 10 năm làm…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,780 questions
asked 2025-02-13T10:02:58.4866667+00:00
Kha Tuấn Việt 0 Reputation points
1 answer

How to Detect Stylus Pen Sides (Pen Tip vs. Eraser) in WPF (C#)

Hello, I’m developing a WPF application in C# that interacts with a stylus pen on a Windows device. I need to detect which side of the stylus is being used—whether it’s the pen tip or the eraser side. Could someone guide me on how to achieve this…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,824 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,292 questions
asked 2025-02-06T04:36:22.5+00:00
Manjunath PM 0 Reputation points
commented 2025-02-13T10:00:14.7+00:00
Hongrui Yu-MSFT 4,365 Reputation points Microsoft Vendor
0 answers

How to Link .NET MAUI iOS App with a Native watchOS App and Build Both Together?

I have developed a .NET MAUI app for iOS and separately created a native watchOS app in Xcode. Since .NET MAUI does not support watchOS, I am struggling with two main issues: How to link my iOS MAUI app with the watchOS app? How to build both apps…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,922 questions
asked 2025-02-13T09:01:42.6933333+00:00
Tejinder Singh 0 Reputation points
0 answers

Removing ListView mousover highlight in MAUI

I am building an app in MAUI .NET8, and don't seem to find any way of removing the mousover highlight on a ListView item in Windows. There are no obvious properties that I can see, nor can I find any documentation on how to do this. I found a few…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,056 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,922 questions
asked 2025-02-13T08:57:06.59+00:00
Robert Turner 0 Reputation points
1 answer

Transition from 8 to 9 in maui not worked

Hi, Target: move maui app from .net 8 to .net 9 in Mac. Documentation: https://learn.microsoft.com/en-us/dotnet/maui/whats-new/dotnet-9?view=net-maui-9.0#upgrade-from-net-8-to-net-9 Problem:App not working without debugging. Steps: I did all steps in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,922 questions
asked 2025-02-05T10:19:41.5433333+00:00
Dani_S 4,081 Reputation points
commented 2025-02-13T08:18:10.3033333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 79,781 Reputation points Microsoft Vendor
1 answer

Blazor right slide panel using Fluent UI Library

Hello, I have implemented a right-side sliding panel using the Fluent UI library. When I click on the cards the edit panel opens directly. However, I am encountering an issue where the data inside the edit panel does not load it opens empty. The data…

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,664 questions
asked 2024-05-31T11:00:04.6933333+00:00
Esma 20 Reputation points
edited an answer 2025-02-13T08:17:18.2833333+00:00
Emil Nachev 0 Reputation points
2 answers One of the answers was accepted by the question author.

dotnet build run with platform Any CPU

Hi, I have Mac with Sonoma 14.7.2, Xcode 16.2 in net 9. I create new empty project in maui in net 9. I clean and build my app and got Platform="Any CPU" and project not running. Can you please help ? Console: dotnet build…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,922 questions
asked 2025-01-27T07:03:06.18+00:00
Dani_S 4,081 Reputation points
accepted 2025-02-13T07:34:28.0633333+00:00
Dani_S 4,081 Reputation points
0 answers

How to activate camere when changing tab in .net maui

I'm developing a .NET MAUI application using MVVM for learning, and I have a BarcodePage that contains a CameraBarcodeReaderView (from ZXing.Net.Maui.Control). Everything works fine when I first navigate to the page, but when I navigate away and then…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,922 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,922 questions
asked 2025-02-13T07:16:56.0133333+00:00
Rendy Putrayana 0 Reputation points
0 answers

How to activate camere when changing tab in .net maui

I'm developing a .NET MAUI application using MVVM for learning, and I have a BarcodePage that contains a CameraBarcodeReaderView (from ZXing.Net.Maui.Control). Everything works fine when I first navigate to the page, but when I navigate away and then…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,922 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,922 questions
asked 2025-02-13T07:16:56.0133333+00:00
Rendy Putrayana 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to correctly use shell navigation in a maui project?

I am using MVVM for project. I have a page (BuildingOverViewPage) that displays a list of buildings in my app, and i also have another page (ViewEditBuildingPage) that handles View/Add/Edit building. I am using shell navigation. However, the navigation…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,922 questions
asked 2025-02-12T22:56:17.7566667+00:00
John Li 0 Reputation points
accepted 2025-02-13T07:15:17.29+00:00
John Li 0 Reputation points
0 answers

How to draw the path as imaged attached

Need to draw the path as shown in the image in .NET Maui, it was implemented in Xamarin forms while converting to MAUI path are not creating same as Xamarin forms used same coordinates to create the path, please help us to create the path. It was…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,922 questions
asked 2025-02-05T08:28:48.0533333+00:00
Jeyamani Sekar 0 Reputation points
commented 2025-02-13T07:08:38.4633333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 48,341 Reputation points Microsoft Vendor
1 answer

Visual studio 2022 Maui project unable to compile for .net 9.0-ios target

Hi, I am trying to deploy a test app to iPhone from windows visual studio but getting the following error when trying to compile. The specified network password is not correct. I have completed the automatic provisioning : I obviously have no problem…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,922 questions
asked 2025-02-02T07:27:26.12+00:00
Ryan Lee 25 Reputation points
commented 2025-02-13T06:32:33.6+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,506 Reputation points Microsoft Vendor