24,324 questions with .NET-related tags

Sort by: Updated
0 answers

removable drive seen in debbugger although i filter it.

hi, i used this code and i see removable drive in debugger, why? DriveInfo[] drives = DriveInfo.GetDrives(); drives = drives.Where(drive=> drive.DriveType != DriveType.Removable && drive.DriveType != DriveType.CDRom).ToArray(); Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,004 questions
asked 2024-05-30T11:56:43.41+00:00
Dani_S 2,906 Reputation points
0 answers

Helper folders in MAC

Hi, I need for my app in mac some helpers folders to : 1.for log file 2.for dwnload files .... where to put them ? I nee absoulth path for them to read from code of mac app. Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,004 questions
asked 2024-05-30T11:52:15.06+00:00
Dani_S 2,906 Reputation points
1 answer

How to fix the exception System.Net.Http.HttpRequestException: The SSL connection could not be established

we have SignalR and SignalR.Client libraries used in our project to establish the connection between the client and the server. The services are .NET applications and the client is a mobile application which is also a .NET application. I am got the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,474 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,249 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,325 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
124 questions
asked 2024-05-29T11:57:56.0666667+00:00
Singh, Sheetal 0 Reputation points
commented 2024-05-30T11:51:25.3033333+00:00
AgaveJoe 26,246 Reputation points
0 answers

Mac cursor on button

Hi, In window I did this code and is not working on MAC. How do i fix it ? Thanks, Microsoft.Maui.Handlers.ButtonHandler.Mapper.AppendToMapping("Custom", (handler, view) => { ```#if WINDOWS using Microsoft.UI.Input; using…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,004 questions
asked 2024-05-30T11:48:07.2133333+00:00
Dani_S 2,906 Reputation points
0 answers

Certification configuration: I'm not able to verify my domain

Hello, after developing a Blazor Web App I tried to connect the app with my own domain. So I have to verify my domain to bind the certificate to my app. First step (import certificate to key fault) seems to work (step is checked). But I do not see the…

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,430 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,051 questions
asked 2024-05-30T11:31:18.76+00:00
Stefan Brieger 0 Reputation points
0 answers

how to fix this -An error occurred while accessing the file from the web. Please try downloading and opening the file locally.

I'm trying to configure automatic updates in via appinstaller, I had configured my appinstaller and when I open that I'm facing this issue. here's my appinstaller: <?xml version="1.0" encoding="UTF-8"…

Universal Windows Platform (UWP)
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,004 questions
asked 2024-05-30T11:26:34.6333333+00:00
Vaibhav Methuku 80 Reputation points
0 answers

sourcelink switch is only supported when emitting PDB

When I am trying to build Xamarin.Android project in Azure Devops Pipeline, I am getting below errors sourcelink switch is only supported when emitting PDB embed switch is only supported when emitting a PDB Can anyone please help me to solve this

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,304 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,411 questions
asked 2024-05-30T10:55:57.1433333+00:00
Sk 61 Reputation points
1 answer

is it possible to start intent of Android?

Hi, I am newbie. I would like to know is it possible to start an intent via click a button at maui? Such like startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS)) or startActivity(new Intent(Settings.ACTION_SETTINGS)); …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,004 questions
asked 2022-08-12T07:57:48.947+00:00
Yuan Jeffers 1 Reputation point
edited an answer 2024-05-30T10:50:08.97+00:00
Antonio Lopes 1 Reputation point
1 answer

MAUI Splashscreen

How to create custom splascreen in .net maui?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,474 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,004 questions
asked 2024-05-30T07:46:16.76+00:00
Yogita Magdum 0 Reputation points
commented 2024-05-30T10:43:35.0033333+00:00
Yogita Magdum 0 Reputation points
1 answer One of the answers was accepted by the question author.

registration in authenticator app fails following example in https://learn.microsoft.com/en-us/training/modules/secure-aspnet-core-identity/7-configure-multi-factor-authentication

I followed the description in https://learn.microsoft.com/en-us/training/modules/secure-aspnet-core-identity/7-configure-multi-factor-authentication the code generated in the microsoft authenticator app is rejected with message "Verification code…

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.
11 questions
asked 2024-05-28T20:47:24.3+00:00
Christof Sidler 20 Reputation points
commented 2024-05-30T10:38:26.8533333+00:00
Pradeep M 805 Reputation points Microsoft Vendor
0 answers

Mac cursor on button

Hi, In window I did this code and is not working on MAC. How do i fix it ? Thanks, Microsoft.Maui.Handlers.ButtonHandler.Mapper.AppendToMapping("Custom", (handler, view) => { #if WINDOWS using Microsoft.UI.Input; using…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,004 questions
asked 2024-05-30T10:34:02.6266667+00:00
Dani_S 2,906 Reputation points
1 answer One of the answers was accepted by the question author.

How to make page in Blazor empty or Blank.

I didn't find any way to load empty Blazor page. somebody show how to do.

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,430 questions
asked 2024-05-30T06:17:11.66+00:00
MIPAKTEH_1 80 Reputation points
accepted 2024-05-30T10:32:54.1766667+00:00
MIPAKTEH_1 80 Reputation points
1 answer One of the answers was accepted by the question author.

Microsoft.Maui.ApplicationModel.FeatureNotSupportedException for PhoneDialer and EmailMessage

I am getting below exception for PhoneDialer and EmailMessage features. Microsoft.Maui.ApplicationModel.FeatureNotSupportedException: Specified method is not supported. at…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,004 questions
asked 2024-05-29T09:18:27.9966667+00:00
Sreejith Sreenivasan 691 Reputation points
accepted 2024-05-30T10:10:52.7033333+00:00
Sreejith Sreenivasan 691 Reputation points
1 answer One of the answers was accepted by the question author.

Xamarin Forms Target Version Android 14

Hi, I am working on the Migration of Xamarin Forms code to .NET MAUI. Till then, I tried to publish the Xamarin Form Android app with Android Target SDK version 14. I got the same issue as mentioned in the GitHub link:- …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,304 questions
asked 2024-05-16T12:29:49.5333333+00:00
Chinmay Dole 40 Reputation points
accepted 2024-05-30T10:02:13.2966667+00:00
Chinmay Dole 40 Reputation points
1 answer One of the answers was accepted by the question author.

MAUI: Background color is not updating when changing the mode (iOS)

When changing the mode I am updating the background color and text color of the UI via code. It was working fine on Android side but when I check it on iOS, the Listview background color is not updating properly. Expected Output of light and dark mode is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,004 questions
asked 2024-04-29T13:42:50.5933333+00:00
Sreejith Sreenivasan 691 Reputation points
commented 2024-05-30T10:01:02.75+00:00
Aleena George 20 Reputation points
1 answer

Carousel not changing items in real-time, blank slide, grey bar at the bottom on iOS

I am binding an ObservableCollection to a Carousel view and displaying images and text. What I am noticing is that if I change the contents of the ObservableCollection, the Carousel doesn't reflect the change in realtime. I have to swipe through a few…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,004 questions
asked 2024-05-29T19:06:17.7066667+00:00
Reza Mohamed 1 Reputation point
answered 2024-05-30T09:50:19.12+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,126 Reputation points Microsoft Vendor
0 answers

how to show image2 in gridview

Hello This is my aspx page <asp:TemplateField HeaderText="IMAGE1"> <ItemTemplate> <asp:Image ID="Image1" runat="server" /> </ItemTemplate> …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,325 questions
asked 2024-05-29T13:35:22.69+00:00
RAVI 936 Reputation points
commented 2024-05-30T09:36:04.55+00:00
AgaveJoe 26,246 Reputation points
1 answer

How to maintain Ajax calendar values after postback in Gridview Footer

I am using AJAX control textbox in gridview. Inside the gridview, Footer Template i am using dropdown control and many textboxes. after selecting of Ajax calendar control, if i select dropdown, the ajax value getting cleared. How to maintain the date…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,325 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,411 questions
asked 2024-05-29T15:22:30.55+00:00
Gani_tpt 1,806 Reputation points
answered 2024-05-30T09:26:25.1133333+00:00
Lan Huang-MSFT 26,686 Reputation points Microsoft Vendor
1 answer

How to get GPS location from built-in surface pro GPS without internet connection

I need to be able to get the gps location from the built-in gps on a surface pro tablet. This is a WPF application and all my research says to use the GeoCoordinateWatcher class in System.Device.Location. This only seems to work when the tablet is…

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,690 questions
asked 2024-05-29T12:53:10.7766667+00:00
Anders F 0 Reputation points
edited the question 2024-05-30T09:25:16+00:00
Anna Xiu-MSFT 26,651 Reputation points Microsoft Vendor
1 answer

App crashes after throwing an error ' Window was already created'

Platform : Android Version : MAUI 8 Description : I was trying to invoke platform specific code by implementing broadcast Receiver for android, When I tried to register the receiver onResume( ) , app crashed with an error "Window was already…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,004 questions
asked 2024-05-29T09:32:36.64+00:00
Manickam, Suraj 260 Reputation points
commented 2024-05-30T09:21:25.5666667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,691 Reputation points Microsoft Vendor