Microsoft Q&A

.NET MAUI

885 questions

A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.

Browse all .NET tags

885 questions with .NET MAUI tags

Sort by: Updated
2 answers

MAUI - All Apps crashing when running on IOS Emulators

Hi All my Apps are suddenly crashing when I run them on IOS emulators with the following errors: and output: [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
885 questions
asked 2023-01-09T22:08:23.247+00:00
Riffy 206 Reputation points
commented 2023-01-30T00:55:55.4133333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,581 Reputation points Microsoft Employee
1 answer

Intermittent error - microsoft.net.workload.mono.toolchain error when running 'dotnet workload install maui' command in DevOps

Getting intermittent errors when running the dotnet workload install maui command via DevOps. Was stable until .Net SDK and/or microsoft.net.workload.mono.toolchain was updated on the DevOps agents. See log excerpts below, issue seems to be that…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
885 questions
asked 2022-10-16T13:04:40.83+00:00
coenraad 1 Reputation point
answered 2023-01-30T00:37:54.7766667+00:00
Anonymous
1 answer

Play Audio from HTTPS

Hi. How can I play an MP3 audio from HTTPS like https://www.domain.com/my.mp3 using https://github.com/jfversluis/Plugin.Maui.Audio Thanks, Jassim

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
885 questions
asked 2023-01-29T18:29:07.7266667+00:00
Jassim Al Rahma 1,086 Reputation points
answered 2023-01-30T00:11:43.1333333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,581 Reputation points Microsoft Employee
7 answers

Why are padding and margin not showing in properties tab of VS 2022

In keeping with the poor QA of VS now the properties window when selecting an XAML element no longer shows the padding or magins. If I were to publish the full list of problems I see in VS 2022 I would not get anything done. Check out the image to see…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
885 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,396 questions
asked 2023-01-29T15:20:15.2933333+00:00
Lloyd Sheen 756 Reputation points
answered 2023-01-29T18:51:56.8766667+00:00
Lloyd Sheen 756 Reputation points
1 answer

How to obtain the notifications' deviceToken in MAUI iOS in C#?

In executing the following, how do I get the deviceToken? public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { NSData deviceToken; // Version check if…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
885 questions
Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
153 questions
asked 2023-01-28T18:54:43.4433333+00:00
Marc George 61 Reputation points
answered 2023-01-29T16:19:14.8266667+00:00
Marc George 61 Reputation points
1 answer

Deployment error DEP1700

I am receiving this error when I try and debug my UWP app. DEP1700: The recipe file "C:\Users\xxxxxxxx\bin\Debug\net6.0-windows10.0.19041.0\xxxxxx.build.appxrecipe" does not exist. You may need to build your project. This is a MAUI…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
885 questions
asked 2022-06-10T20:21:26.163+00:00
Willie 21 Reputation points
answered 2023-01-29T14:29:01.08+00:00
DotNetMAUI Learner 0 Reputation points
2 answers

Reading form fields after submit (POST) in Blazor Server?

I have a login form in Blazor Server App and use POST to send login data (email and password). <form id="LoginForm" Model="LoginModel" action="cookie" method="post"> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
885 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.
6,932 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,536 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
588 questions
asked 2023-01-28T19:43:14.55+00:00
perfect code 121 Reputation points
commented 2023-01-29T12:17:10.88+00:00
AgaveJoe 17,021 Reputation points
2 answers One of the answers was accepted by the question author.

Logout (delete Auth-Cookie) only possible via form!

I have a Blazor server application (see my post here: https://learn.microsoft.com/en-us/answers/questions/1164837/aspnet-authentication-works-but-value-for-user-ide). Now I have implemented a cookie authentication. This works very well via a login and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
885 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,536 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.
6,932 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
588 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.
783 questions
asked 2023-01-28T13:26:22.5033333+00:00
perfect code 121 Reputation points
commented 2023-01-28T17:41:48.8333333+00:00
perfect code 121 Reputation points
2 answers

Visual Studio Community 2022 (64-bit) v17.4.4 not showing any compile time errors for MAUI project.

Hi, I am using Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.4.4 for my MAUI projects but is not showing any compile time errors . is it any plugin missing?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
885 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,396 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
693 questions
asked 2023-01-24T09:18:11.29+00:00
Sachin 21 Reputation points
commented 2023-01-28T11:18:43.94+00:00
Sachin 21 Reputation points
1 answer One of the answers was accepted by the question author.

Get Contact details by Id

Hi, How can I get the Contact details by its Id? like this: var contact = await Microsoft.Maui.ApplicationModel.Communication.Contacts.Default.PickContactAsync("contact-id-here"); Thanks, Jassim

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
885 questions
asked 2023-01-19T22:50:06.6066667+00:00
Jassim Al Rahma 1,086 Reputation points
accepted 2023-01-28T10:06:19.1333333+00:00
Jassim Al Rahma 1,086 Reputation points
1 answer

Debugging Shell Navigation

Hello Friends, I was wondering if anyone knows where to put my DebuggerDisplay Attribute annotations so that I can debug my navigation requests. Thanks !!! Debugging navigation Some of the Shell classes are decorated with the DebuggerDisplayAttribute,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
885 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.
6,932 questions
asked 2023-01-27T19:08:08.5433333+00:00
Ronald Rex 506 Reputation points
commented 2023-01-27T20:01:26.1666667+00:00
Ronald Rex 506 Reputation points
0 answers

Does XAML (UWP) Visual Designer in Blend for Visual Studio 2022 work on Windows 10?

I am trying to design a C# Maui UI in XAML. I read that you can use Blend for Visual Studio to visually program XAML code. So, I loaded a new C# Class project in Blend to attempt an XAML visual edit, though the "Design" tab says "Visual…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
885 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,396 questions
Universal Windows Platform (UWP)
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.
556 questions
asked 2023-01-26T20:24:50.2266667+00:00
Eli Blankenship 0 Reputation points
commented 2023-01-27T16:05:16.8666667+00:00
Eli Blankenship 0 Reputation points
1 answer One of the answers was accepted by the question author.

Shell Navigation and setting Parameter Values

I have included the code that I am using to pass parameters from one view to another view using shell navigation. The issue I am having is that I would like to set my model properties using for example the text entry control. Do I do that using a relay…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
885 questions
asked 2023-01-26T16:27:01.2666667+00:00
Ronald Rex 506 Reputation points
accepted 2023-01-27T14:10:24.3+00:00
Ronald Rex 506 Reputation points
1 answer One of the answers was accepted by the question author.

Shell Navigation and passing Parameter Values

Hi friends, I was wondering how to pass multiple parameters. I can pass one parameter for now... ?Name={Name} Thanks Task Navigate() => Shell.Current.GoToAsync($"{nameof(DetailPage)}?Name={Name}",

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
885 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.
6,932 questions
asked 2023-01-26T20:32:49.7633333+00:00
Ronald Rex 506 Reputation points
accepted 2023-01-27T14:10:02.1066667+00:00
Ronald Rex 506 Reputation points
1 answer One of the answers was accepted by the question author.

Maui android on screen keyboard issue

Hello all. How I can modify the on screen keyboard for my application. I want that the on screen keyboard when my app run to contain only the alphanumeric and a few non alphanumeric characters. How I can do that and when exit my app to return…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
885 questions
asked 2023-01-24T07:23:50.46+00:00
Haviv Elbsz 481 Reputation points
commented 2023-01-27T12:00:08.3266667+00:00
Haviv Elbsz 481 Reputation points
1 answer One of the answers was accepted by the question author.

Maui android<helpview /> control issue

Hello all. because there is no helpview control. Is someone here can give me a way to add help to my application. Thank you very much

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
885 questions
asked 2023-01-23T10:25:17.8233333+00:00
Haviv Elbsz 481 Reputation points
accepted 2023-01-27T06:38:03.3533333+00:00
Haviv Elbsz 481 Reputation points
1 answer

BrowserLaunchOptions's Style

Hi, Is it possible to set the properties of the BrowserLaunchOptions in the Resources's Style file? Thanks, Jassim

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
885 questions
asked 2023-01-05T22:54:32.547+00:00
Jassim Al Rahma 1,086 Reputation points
commented 2023-01-27T02:22:01.74+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 11,061 Reputation points Microsoft Employee
2 answers

Net Maui how to solve memory using problem that is it bug ?

I am working on net maui as a developer I have memory problem that app is closing or freezing itself.. any solution or we have to wait for fixing the bug ? Thanks..

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
885 questions
asked 2023-01-19T02:39:22.9466667+00:00
Sami 101 Reputation points
commented 2023-01-27T01:05:30.7433333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 11,061 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Questions about MAUI's Entitlement.plist

Hi, How important is the Entitlement.plist in MAUI? and why it's not added by default? so does this mean I don't need to for example to set the Push Notification capabilities? Kindly advise.. Thanks, Jassim

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
885 questions
asked 2023-01-24T13:19:41.7666667+00:00
Jassim Al Rahma 1,086 Reputation points
accepted 2023-01-26T15:39:57.72+00:00
Jassim Al Rahma 1,086 Reputation points
0 answers

How to implement zoom in, Zoom out and scrolling functionality for GraphicsView element?

Currently I'm trying on Dot Net 7 only for android and iOS platforms. I am trying to zoom in on GraphicsView. Zoom in zoom out functionality is working fine but getting issue for scroll vertical and horizontal. scroll is not working. I want to scroll…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
885 questions
asked 2023-01-25T04:31:29.35+00:00
S GAIKWAD 206 Reputation points
commented 2023-01-26T15:24:12.75+00:00
S GAIKWAD 206 Reputation points