2,906 questions with .NET MAUI tags

Sort by: Updated
2 answers

In a .NET Maui Blazor application, can you play a video (using the video HTML5 element) by pointing the source attribute directly to the path of a video file on the user's file system?

I have a .NET Maui Blazor application and want to play an mp4 video within a razor page of the application by pointing the source of the HTML5 video element directly to the path of the video file on the user's file system, but can't get it to work. 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,398 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,906 questions
asked 2023-07-11T07:39:42.73+00:00
Yusuf Groenewald 0 Reputation points
commented 2023-10-26T22:54:22.4733333+00:00
Bruce (SqlWork.com) 56,846 Reputation points
1 answer

Is it possible to use partial methods for cross platform MAUI libraries?

Hi, my question is pretty much summed up here. I wrote a tiny ~10 lines of code demo to show what I'm talking about. The official MAUI repo for cross platform apps shows how to define and implement a cross platform api with partial methods. That demo…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,906 questions
asked 2023-10-21T04:06:35.4066667+00:00
Melvyn Drag (HYTORC) 1 Reputation point
commented 2023-10-26T18:39:58.41+00:00
Melvyn Drag (HYTORC) 1 Reputation point
0 answers

How to display a popup on Shell page?

I am unable to show a popup on the shell page (Homepage), it works on Android but not on iOS. For the last, it is displayed on a blank page at the top of the screen. When debugging I could not find the error for it. So, I have a Homepage with a popup…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,400 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,906 questions
asked 2023-10-24T12:47:58.81+00:00
Brenda 60 Reputation points
commented 2023-10-26T06:47:23.5133333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,661 Reputation points Microsoft Vendor
1 answer

Showing text under bullets in .Net MAUI app

Hi Team, I have a requirement where in XAML page of .Net MAUI app, I need to show text in bullets. Using label control I am able to show text in bullet but for second row text of the bullet, it is coming below the bullet which is not correct behaviour…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,906 questions
asked 2023-10-20T11:20:22.1333333+00:00
salilsingh-9961 346 Reputation points
answered 2023-10-26T05:44:33.5333333+00:00
Viorel 112.5K Reputation points
1 answer

MAUI DisplayAlert() When User Closes Window : Getting Unhandled Exception

I want to show an ALERT/POPUP to the user to ask him/her before he closes the Application. This is what I am already doing : In App.xaml.cs Application.Current.MainPage.DisplayAlert this line throws unhandled exception, The Exception…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,906 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.
10,289 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
767 questions
asked 2022-08-11T15:32:25.757+00:00
Aftab Ali 1 Reputation point
commented 2023-10-25T22:40:22.9233333+00:00
axa88 0 Reputation points
0 answers

Persistent Blurriness Issue in Document Printing for Windows

Hi, I have identified a persistent issue where printed labels exhibit blurriness when utilizing the PrintHelper within the application. Interestingly, the problem does not occur when I download the PDF from the app to my computer and print it separately,…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
728 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,906 questions
Windows Server Printing
Windows Server Printing
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Printing: Printer centralized deployment and management, scan and fax resources management, and document services
641 questions
asked 2023-10-25T19:12:49.6966667+00:00
Ansh 0 Reputation points
1 answer

Maui kernelbase error when installed on client

Hi, I have made a Maui application and has signed it and it is installing on the client. But when opening I dont get any response and the following is shown in the event viewer. Faulting application name: FlexViewer.exe, version: 1.0.0.0, time…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,906 questions
asked 2022-09-02T10:29:53.607+00:00
Mads S. Christiansen 1 Reputation point
answered 2023-10-25T16:18:30.27+00:00
Bety Hapau 5 Reputation points
0 answers

IOS sdk pairing issue

Hi, I have a issue I want to make a IOS app however I cannot pair my mac. Normally I copy the app over to my mac and compile it on to my mac but now I'm getting a error online 874 /usr/bin/xcrun exited with code 1 …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,906 questions
asked 2023-10-24T12:56:09.4266667+00:00
bill banks 6 Reputation points
commented 2023-10-25T12:40:34.49+00:00
bill banks 6 Reputation points
0 answers

Appium in MAUI project

I've configured a MAUI project and installed the Appium server. Despite adding the required port to the firewall exceptions, I'm still encountering a 'connection refused' error when trying to establish a connection with the server in Visual Studio. Can…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,906 questions
asked 2023-10-25T07:31:22.5333333+00:00
Sarfaraz Sable 20 Reputation points
0 answers

Android .NET MAUI Blazor App Freezes When Connecting Barcode Reader

I'm encountering an issue with my Android application developed using .NET MAUI and Blazor. The app freezes when I connect a Bluetooth or wired barcode reader to the Android device. Upon investigating the issue, I found the following logs: [GED]…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,906 questions
asked 2023-10-24T15:56:24.5933333+00:00
Lasitha Lankajeewa 0 Reputation points
commented 2023-10-25T07:04:12.2+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,661 Reputation points Microsoft Vendor
1 answer

Can I make a fully custom title bar

Is there a way to hide the default title bar and make my own? I can't seem to find a way to make one that could move the window around.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,906 questions
asked 2023-10-24T16:46:58.37+00:00
CodeIsUnexecutable 0 Reputation points
answered 2023-10-25T06:26:31.3566667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,661 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Archive for Publishing not creating archive file

Hi Visual Studio Mac. MAUI app builds fine however Archive for Publishing does not create an archive file without any apparent error message. Checked under XCode->Organize->Window as well just to be sure. What can I do to fix this issue and get the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,906 questions
asked 2023-09-09T19:02:03.33+00:00
-- -- 872 Reputation points
accepted 2023-10-25T05:03:05.07+00:00
-- -- 872 Reputation points
1 answer One of the answers was accepted by the question author.

Are the conditional compilation constants __ANDROID__ and ANDROID the same or different?

The conditional compilation directives #if ANDROID and #if __ANDROID__ are used as if they are different, or are they? For example, you can see their usage in .NET MAUI sample projects. Are these constants the same, and if so which one is the official?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,906 questions
asked 2023-10-24T17:09:16.08+00:00
dg2k 1,386 Reputation points
accepted 2023-10-25T04:12:02.1633333+00:00
dg2k 1,386 Reputation points
1 answer

How do I convert PathGeometry back to String in .net maui?

I know I am able to load string and convert to Geomerty using the following (Geometry)new PathGeometryConverter().ConvertFromInvariantString. basically, I would like to get the string representation back from Geomerty object found the following…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,906 questions
asked 2023-10-24T10:35:21.6733333+00:00
CGP 0 Reputation points
edited an answer 2023-10-25T03:46:17.19+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,661 Reputation points Microsoft Vendor
0 answers

Difference between SocketsHttpHandler and HttpClientHandler in iOS Application NET7

I am using SocketsHttpHandler and HttpClientHandler as parameters when making a request with HttpClient in iOS Application NET7 Try creating a simple "Hello World" application with the code below: try { …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,400 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,906 questions
asked 2023-10-24T04:37:01.6666667+00:00
ヴィン- vinh-nn2 1 Reputation point
commented 2023-10-25T03:01:25.9733333+00:00
Rob Caplan - MSFT 5,417 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Net Maui Custom shell renderer custom button and shell bottom navigation is not working ?

I have custom renderer for bottom shell navigation on the middle button like that but is not working shell navigation like this.. how can I access it sa ys null referance customshellrenderer .... internal class CustomShellItemRenderer :…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,906 questions
asked 2023-10-19T10:14:21.7+00:00
Sami 861 Reputation points
accepted 2023-10-24T10:27:50.7133333+00:00
Sami 861 Reputation points
1 answer One of the answers was accepted by the question author.

Move from net 7 to net 8

Hi, On November we moved to Net 8. I have Maui app + project reference to library in net 7. 1.What i need to do in order to move to net 8 ? i need to download dotnet 8 in order to run the app form…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,906 questions
asked 2023-10-20T10:53:10.5733333+00:00
Dani_S 2,746 Reputation points
accepted 2023-10-24T08:40:41.6166667+00:00
Dani_S 2,746 Reputation points
1 answer One of the answers was accepted by the question author.

MAUI -Searchlog file like in Chrome

Hi, I have log file, when page load i log the top 500 rows in descending order from log and show it to end user. I want ability to search data in log like in chrome using MVVM, net 7 , vs 17.4 my editor is: <ScrollView …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,906 questions
asked 2023-10-19T05:40:34.9366667+00:00
Dani_S 2,746 Reputation points
accepted 2023-10-24T08:40:03.3066667+00:00
Dani_S 2,746 Reputation points
1 answer One of the answers was accepted by the question author.

Adjustify minimium width and height to all devices

Hi, How i adjustify minimium width and height to all devices in net 7 ,window platform? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,906 questions
asked 2023-10-20T06:43:28.8+00:00
Dani_S 2,746 Reputation points
accepted 2023-10-24T08:32:12.8166667+00:00
Dani_S 2,746 Reputation points
1 answer

The page using Microsoft.AspNetCore.Authorization is not displayed even when logged in

Hi I have a problem in .Net MAUI Blazor like this. That is when I go to a page asking for authorize(notice-list) it redirects me to login form but after logging in and return to that page, the login interface will appear again. But when I go to a page…

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,398 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,906 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.
10,289 questions
asked 2023-10-23T08:32:44.31+00:00
Dũng Nguyễn Văn 0 Reputation points
answered 2023-10-24T02:22:56.21+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,966 Reputation points Microsoft Vendor