4,172 questions with Developer technologies | .NET | .NET MAUI tags

Sort by: Updated
1 answer

HttpClientHandler Proxy Unsupported

In the MacOS, Proxy member in HttpClientHandler throw exception "Operation is not supported on this platform." In code is marked [UnsupportedOSPlatform("browser")] What mean is "browser"? I think it must by…

Developer technologies | .NET | .NET MAUI
asked 2022-07-03T14:26:48.343+00:00
Sergey Stadniichuk 1 Reputation point
commented 2022-07-18T01:32:21.373+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff
1 answer

Error connecting to mac

Every time I try to connect to my mac to use the ios emulator I get the following error: Could not install workload 'ios'. Details: Workload installation failed: Failed to fetch results from V2 feed at…

Developer technologies | .NET | .NET MAUI
asked 2022-06-16T17:11:27.027+00:00
Jeff Pfahl 91 Reputation points
answered 2022-07-15T18:27:16.907+00:00
Jeff Pfahl 91 Reputation points
3 answers One of the answers was accepted by the question author.

Variable cannot be changed

I cant change text value namespace MauiApp7 { public class GraphicsDrawable : IDrawable { public string text; public void Draw(ICanvas canvas, RectF dirtyRect) { canvas.DrawString(text, 60,…

Developer technologies | .NET | .NET MAUI
Developer technologies | C#
asked 2022-07-02T02:45:11.68+00:00
Yusuf 791 Reputation points
accepted 2022-07-13T01:37:45.813+00:00
Yusuf 791 Reputation points
1 answer

VS 17.3.0 Preview 2.0 Not paring with Mac - MAUI

I am trying to develop a MAUI application for iOS & Android with Razor Class Library. While trying to Pair my Mac with Visual Studio I face issue. In log I get below errors Xamarin.Messaging.Integration.State.IOSServerStateContextExtensions…

Developer technologies | .NET | .NET MAUI
Community Center | Not monitored
asked 2022-07-06T09:58:06.863+00:00
Ganesh 1 Reputation point
commented 2022-07-12T07:10:27.577+00:00
Tianyu Sun-MSFT 34,456 Reputation points Microsoft External Staff
1 answer

Unwanted padding on ListViewItem in .net MAUI

0 I have created a ListView which is binded to desired items. However, on each ListViewItem there is unwanted padding which i have checked in XAML visual preview (12,0,0,0) However, I haven't found any way to set the padding to 0 for…

Developer technologies | .NET | .NET MAUI
Developer technologies | C#
asked 2022-07-06T11:53:41.13+00:00
Laradius 1 Reputation point
commented 2022-07-11T07:24:00.277+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff
1 answer

How to Build .NET MAUI on Windows using a MacinCloud host

Trying to build an iOS app from my Windows machine using a Paired Mac from MacinCloud. I'm using the following command from Terminal: dotnet publish -f:net6.0-ios -c:Release /p:ServerAddress={ip address} /p:ServerUser={userid}…

Developer technologies | .NET | .NET MAUI
asked 2022-07-05T22:28:27.58+00:00
phil ciraolo 86 Reputation points
commented 2022-07-11T02:10:18.737+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,436 Reputation points Microsoft External Staff
0 answers

How to get an Azure AD access token programmatically from a MAUI application, to access a secured Web API in .NET6?

I have a secured Web API written in .NET 6 using minimal API which is hosted in a Linux App Service plan in Azure. I setup an Azure AD app registration, and I can successfully get an access token using Postman, and authenticating with my Azure…

Developer technologies | .NET | .NET MAUI
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,993 questions
Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Microsoft Security | Microsoft Entra | Microsoft Entra ID
asked 2022-07-02T00:12:00.183+00:00
Gerardo Melendrez 21 Reputation points
commented 2022-07-09T03:24:21.9+00:00
Gerardo Melendrez 21 Reputation points
2 answers One of the answers was accepted by the question author.

Using Private Endpoints

Hello! I am building a new .NET MAUI Blazor app and a Blazor Web App using shared views. I have a SQL database/server hosted on Azure and an Azure Key Vault with all my sensitive information. I wanted both the web app and the MAUI app to be able to…

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,456 questions
Azure SQL Database
Azure Private Link
Azure Private Link
An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.
552 questions
Developer technologies | .NET | .NET MAUI
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,993 questions
asked 2022-07-08T17:58:28.703+00:00
Wes Thompson 51 Reputation points
commented 2022-07-09T01:02:43.237+00:00
Wes Thompson 51 Reputation points
3 answers

Microsoft Graph API + .NET 6 MAUI / Xamarin Forms

I'm trying to read some files on SharePoint but its not working, either I get the error that I'm not authorize or the error that the request is invalid. AuthenticationConfig config = new(); // The client credentials flow requires that you request…

Developer technologies | .NET | .NET MAUI
Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft Security | Microsoft Graph
asked 2022-06-30T22:13:10.383+00:00
Mike 1 Reputation point
answered 2022-07-08T09:08:04.497+00:00
RaytheonXie_MSFT 40,486 Reputation points Microsoft External Staff
0 answers

Bindable Property is not working in .Net MAUI Version 17.3.0 Preview 2.0

I have created a ContentPage ,added Boolean property and button and ListView to it. When I click the button I change Boolean property, Notifychanged property triggers but UI is not updating accordingly. String property updates working fine. Bool,…

Developer technologies | .NET | .NET MAUI
asked 2022-07-04T16:00:52.117+00:00
Sanjay Kumar Jha 156 Reputation points
commented 2022-07-08T00:55:24.17+00:00
Rob Caplan - MSFT 6,037 Reputation points Microsoft Employee Moderator
0 answers

MAUI Image Caching not working

I have a MAUI application and I am testing it on my physical device. I have a live camera image that refreshes every 30 minutes. In the MAUI project, I've set the CacheValidity to 1 minute, but the image doesn't change. I've tried both the XAML and C#…

Developer technologies | .NET | .NET MAUI
asked 2022-06-14T12:22:29.147+00:00
Bogdan Dan 11 Reputation points
commented 2022-07-07T09:48:16.803+00:00
Anonymous
1 answer One of the answers was accepted by the question author.

Blazor Hybrid (MAUI) Application - Window Customization at Runtime (when Targeting Windows)

Quick Background: I am writing this from the standpoint of a Blazor web developer who wants to use an RCL to create the UI for a cross-platform application. This question, however, is specific to running it on Windows. The Issue After a couple…

Developer technologies | .NET | Blazor
Developer technologies | .NET | .NET MAUI
Windows for business | Windows Client for IT Pros | User experience | Other
asked 2022-07-05T15:33:53.87+00:00
Humberto Cruz-Oyola Jr 21 Reputation points
accepted 2022-07-06T14:20:05.137+00:00
Humberto Cruz-Oyola Jr 21 Reputation points
0 answers

Splashscreen not displayed on Android - MAUI project

Followed the documentation to add Splash screen as SVG image in MAUI project : - https://learn.microsoft.com/en-us/dotnet/maui/user-interface/images/splashscreen?tabs=ios But few of the Android devices render AppIcon as the splash image and Android…

Developer technologies | .NET | .NET MAUI
asked 2022-07-05T05:38:32.7+00:00
Anjana Jois 1 Reputation point
commented 2022-07-06T08:53:48.29+00:00
Anonymous
1 answer

3D graphics engine available for dotNet MAUI?

I was wondering If there are any plans for a 3d engine, which can be embedded into dotNet MAUI? I couldn't find any hints, how to embedd 3d graphics into dotNet MAUI.

Developer technologies | .NET | .NET MAUI
asked 2022-06-01T07:11:06.293+00:00
Lasse Kathke 11 Reputation points
commented 2022-07-06T07:47:15.19+00:00
Anonymous
0 answers

Navigation BackButton on WinUI

The back arrow Navigation BackButton (see screenshot below) is not visible but works as expected when tapped on the BackButton area. I've tried a few things such as overriding the IconOverride setting in XAML <Shell.BackButtonBehavior> but no…

Developer technologies | .NET | .NET MAUI
asked 2022-06-27T09:11:36.02+00:00
dg2k 1,416 Reputation points
commented 2022-07-05T23:56:52.98+00:00
Rob Caplan - MSFT 6,037 Reputation points Microsoft Employee Moderator
0 answers

How to write the Windows Initialization in pure C#?

The bootstrap code for the Windows platform uses App.xaml.cs and App.xaml App.xaml <maui:MauiWinUIApplication x:Class="ExampleMauiApp.WinUI.App" …

Developer technologies | .NET | .NET MAUI
asked 2022-06-21T15:11:42.353+00:00
javierv 1 Reputation point
commented 2022-07-05T11:32:45.327+00:00
javierv 1 Reputation point
2 answers

Hide Soft Keyboard on start up in .net maui blazor android app

I need to hide soft keyboard at start-up screen. My screen holds a searchbox which has focus on it. Until user touches on the box, I need to hide the soft keyboard. Essentially only want the soft keyboard to appear when user touches the searchbox…

Developer technologies | .NET | Blazor
Developer technologies | .NET | .NET MAUI
asked 2022-04-25T00:07:43.183+00:00
Vidula Sawant 1 Reputation point
answered 2022-07-05T05:00:58.77+00:00
Antonio Lopes 1 Reputation point
2 answers One of the answers was accepted by the question author.

NET MAUI - Problem navigating to ShellPage (with TabBar) from to ContentPage LoginPage

I'm getting this issue when I try to navigate to ShellPage from my LoginPage that is a ContentPage

Developer technologies | .NET | .NET MAUI
asked 2022-07-01T00:30:43.307+00:00
Javier Arturo Florian Franco 26 Reputation points
answered 2022-07-05T00:44:17.42+00:00
Javier Arturo Florian Franco 26 Reputation points
1 answer

Using commands / property bindings in blazor

I am now at a crossroads regarding what path I should follow when developing my app. I would very much like to develop a web app and mobile app in tandem, such that all the code I use, including code that is used to generate my views, bind elements to…

Developer technologies | .NET | Blazor
Developer technologies | .NET | .NET MAUI
asked 2022-07-02T08:51:15.69+00:00
Bubba Jones 216 Reputation points
commented 2022-07-04T19:06:51.21+00:00
Bruce (SqlWork.com) 78,316 Reputation points Volunteer Moderator
1 answer One of the answers was accepted by the question author.

Cannot deploy to a physical iPhone using MAUI

I cannot deploy to a physical iPhone. I beleieve this issue started after last VS2022 update to 17.3.0 but I cannot be sure. Deployment to my iPhone was working fine at one time but has since stopped. My iPhone shows in the Debug drop down and in…

Developer technologies | .NET | .NET MAUI
asked 2022-06-23T13:13:32.01+00:00
phil ciraolo 86 Reputation points
accepted 2022-07-02T11:27:04.883+00:00
phil ciraolo 86 Reputation points