26,987 questions with .NET-related tags

Sort by: Updated
2 answers

Browser unable to use certificate

Hi All, I cloned project code from Azure Repo, installed certificates, configured Project Web Properties, configured applicationhost.config, setup SSL URL in IIS using certificate Thumbprint. My project builds successfully, but application fails to load…

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
36 questions
asked 2025-02-25T09:53:14.7733333+00:00
Swapnil Giram 0 Reputation points Microsoft Employee
answered 2025-02-28T10:44:08.34+00:00
Swapnil Giram 0 Reputation points Microsoft Employee
2 answers

Root detection on Android device using MAUI .net framework

The Android root detection logic implemented in .NET MAUI is not working as expected. Tried both a custom implementation and a NuGet package as in link below, but both approaches failed. nuget package >…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-27T09:04:09.0833333+00:00
Manjunath Vadigeri 0 Reputation points
answered 2025-02-28T08:57:16.8866667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 48,666 Reputation points Microsoft Vendor
1 answer

Image Resizing issue on MAUI android app

Requirement :The MAUI android app allows users to capture / pick 75 images with any size and orientation. Here the challenge is to resize these 75 images into a standard size such that it fits the screen and the images maintain its aspect ratio. I have…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-28T06:00:33.0166667+00:00
Leon Rodrigues 0 Reputation points
commented 2025-02-28T08:52:06.9433333+00:00
Leon Rodrigues 0 Reputation points
0 answers

Issue with SkiaSharp Native Library Version Mismatch in .NET MAUI (IOS only)

System.TypeInitializationException: The type initializer for 'SkiaSharp.SKObject' threw an exception. ---> System.InvalidOperationException: The version of the native libSkiaSharp library (116.0) is incompatible with this version of SkiaSharp.…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-06T08:36:37.7133333+00:00
Thinh NPD 45 Reputation points
commented 2025-02-28T08:13:15.8733333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,916 Reputation points Microsoft Vendor
1 answer

MAUI for iOS Publish in Visual Studio 2022 for Windows in Parallax VM

I have a Mac. I have a Parallels Windows 11 VM with Visual Studio 2022 installed with the dotnet SDK and MAUI workloads. My source code is on the Mac and shared as a drive in the VM so I can open the exact same project on either the Mac using VSCode or…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-05T22:07:05.2566667+00:00
Tony Pitman 100 Reputation points
commented 2025-02-28T08:04:53.1766667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,916 Reputation points Microsoft Vendor
1 answer

Apple Developer Account: Enterprise - error 'There was an error while trying to log in: Provide a properly configured and signed bearer token, and make sure that it has not expired learn more about generating tokens for API requests'

I achieved to connect the remote mac from the "Pair to mac" option in Visual studio 2022 from Windows, then when in tools/options/xamarin/apple accounts I tried to pair the apple enterprise account, I get an error saying "There was an…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,447 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-04T15:10:57.61+00:00
MORA MENESES RUBEN 0 Reputation points
commented 2025-02-28T08:04:15.2066667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,916 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,962 questions
asked 2025-02-02T07:27:26.12+00:00
Ryan Lee 30 Reputation points
commented 2025-02-28T08:03:42.05+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,916 Reputation points Microsoft Vendor
1 answer

WPF Cannot see SelectedItem in TreeView

I'm using WPF .Net 9.0, I cannot see the SelectedItem element of the TreeView. Anybody would know why ?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,104 questions
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,833 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,104 questions
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,833 questions
asked 2025-02-17T00:51:57.6933333+00:00
Bernard Lessard 1 Reputation point
commented 2025-02-28T08:03:26.78+00:00
Hongrui Yu-MSFT 4,605 Reputation points Microsoft Vendor
1 answer

WPF Cannot see SelectedItem in TreeView

I'm using WPF .Net 9.0, I cannot see the SelectedItem element of the TreeView. Anybody would know why ?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,104 questions
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,833 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,104 questions
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,833 questions
asked 2025-02-17T00:51:57.6933333+00:00
Bernard Lessard 1 Reputation point
commented 2025-02-28T08:03:26.78+00:00
Hongrui Yu-MSFT 4,605 Reputation points Microsoft Vendor
1 answer

runs only in 'debug' mode

I found lots of issues (google browsing) re 'running only in debug mode'! However, I cannot figure out what to do in my case. myapp https://github.com/edikaufmann/RandoJson PS: I obviously cannot debug without debugging!?! Your help is appreciated, ed

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-27T07:43:14.2266667+00:00
Eduard Kaufmann 251 Reputation points
accepted 2025-02-28T07:49:10.4366667+00:00
Eduard Kaufmann 251 Reputation points
1 answer

Login not possible with AspNetCore Idenity when Enable DataProtection.

I'm configuring my application to make use of AspNetCore.Identity as well Data protection. public static void Main(string[] args) { var builder =…

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.
386 questions
asked 2025-02-27T21:16:42.94+00:00
Nero Rodrigues 0 Reputation points
answered 2025-02-28T07:34:00.23+00:00
Ruikai Feng - MSFT 2,756 Reputation points Microsoft Vendor
1 answer

how to ALLOW CORS withing my blazor webassembly application

<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <!--<base…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,790 questions
asked 2025-02-25T17:55:09.5266667+00:00
KwebenaAcquah-9104 306 Reputation points
commented 2025-02-28T07:24:06.8466667+00:00
JasonPan - MSFT 6,621 Reputation points Microsoft Vendor
0 answers

MAUI: Blank space on the UI in between the contents and font style issue

I have a label, image and a webview on the UI. My XAML: <ScrollView Grid.Row="0" Orientation="Vertical" VerticalOptions="FillAndExpand"> <VerticalStackLayout Grid.Row="0" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-27T13:54:46.6666667+00:00
Sreejith Sreenivasan 941 Reputation points
edited a comment 2025-02-28T06:52:19.0033333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 80,211 Reputation points Microsoft Vendor
4 answers

Multiple App.Razor components

Hello, Is it possible to have an additional App.razor file that I can use for e.g. Admin area only? Currently, if I create a new folder named Admin and create a new layout there, it inherits from the existing App.razor and linked css files. Basically, I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,790 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.
1,665 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 questions
asked 2025-01-31T08:47:54.43+00:00
Kuler Master 406 Reputation points
commented 2025-02-28T06:48:58.9466667+00:00
Mario Viadero Hidalgo 0 Reputation points
1 answer

I am getting error while building the sample maui application using vs2022

I am facing below errors resource style/Animation.AppCompat.Dialog (aka com.companyname.mauiapp1:style/Animation.AppCompat.Dialog) not found. f resource style/RtlOverlay.DialogWindowTitle.AppCompat (aka…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-26T15:39:09.22+00:00
Seema CHAUDHARY 0 Reputation points
commented 2025-02-28T06:26:19.4433333+00:00
Seema CHAUDHARY 0 Reputation points
0 answers

How to fix binding TimeSpan TotalSeconds to Slider.Value Double 'TotalSeconds' property not found on '00:00:00.1117292', target property: 'Microsoft.Maui.Controls.Slider.Value'

Hey, Im having an issue to bind a sliders value and maximum value to a mediaplayers duration and position. As of now the app works fine but in the background it generates 100+ of binding failures. with the text Binding: 'TotalSeconds' property not found…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-24T15:43:33.33+00:00
Naser AL-Asbahi 10 Reputation points
commented 2025-02-28T06:16:53.1466667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,916 Reputation points Microsoft Vendor
1 answer

https://onedrive.live.com/embed iframe shows to much space around the document

Hi, I am glad to see a way to show my formatted MS word docs inside of my web pages. But Onedrive shows to much space around the document when I display it in a iframe.     I am not sure about the CSS I need to close the space here.   Or maybe there are…

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.
386 questions
asked 2025-02-27T02:08:02.0233333+00:00
iqworks Information Quality Works 316 Reputation points
edited a comment 2025-02-28T06:14:28.4733333+00:00
XuDong Peng-MSFT 11,336 Reputation points Microsoft Vendor
1 answer

.NET 9 Open API Migration not returning the API Schema

I am migrating a .NET 6 API application to .NET 9. Installed the Microsoft.AspNetCore.OpenApi and Microsoft.Extensions.ApiDescription.Server packages with version 9.0.2. I am keeping the Swashbuckle.AspNetCore 6.5.0 for the UI experience. Here is the…

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
36 questions
asked 2025-02-25T22:48:20.3233333+00:00
Divakaran, D (Dipu) 0 Reputation points
commented 2025-02-28T05:59:06.33+00:00
Pradeep M 6,315 Reputation points Microsoft Vendor
1 answer

MAUI: Keep audio playing when navigating to a new page

I am using Webview for playing audio and when I navigate to a new page the audio stops playing. I want to play the audio in background when navigating to new pages, or switching app or locking device. My Code: <WebView …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-24T16:33:00.5866667+00:00
Sreejith Sreenivasan 941 Reputation points
answered 2025-02-28T05:27:41.2533333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 80,211 Reputation points Microsoft Vendor
0 answers

WebView is not working correctly in IOS MAUI

I have added a webview in my MAUI crossplateform app but I am not able to type in textbox or click on image buttons even pop up shows up but not able to even ok/cancel. While working fine with Android, Another issue with voice and video that is happening…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-27T23:09:07.56+00:00
Shraddha Chauhan 0 Reputation points
commented 2025-02-28T05:26:42.0366667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,916 Reputation points Microsoft Vendor