23,117 questions with .NET-related tags

Sort by: Updated
0 answers

Stop AppDomain Timeout

I am developing a WPF app that executes code in a separate appdomain. I've noticed that the appdomain times out and terminates after 6 minutes. After doing some research, I discovered that the lease on the connection expires after 6 minutes. ***…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,180 questions
asked 2024-02-27T20:14:27.66+00:00
Wally96333 61 Reputation points
edited the question 2024-02-29T05:50:57.0666667+00:00
Hui Liu-MSFT 25,856 Reputation points Microsoft Vendor
1 answer

Which is the last iOS version supported by visual studio mac?

Hi, We are getting msg from apple that it will only allow us to deploy app with target version 17.0 only after April 29, 2024. but with Visual studio mac we are able to target till 16.4 only. Visual studio mac is not allowing to target 17.0. ITMS-90725:…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,260 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,180 questions
asked 2024-02-28T07:04:01.2933333+00:00
Shingala A 20 Reputation points
edited an answer 2024-02-29T05:45:27.49+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 24,436 Reputation points Microsoft Vendor
0 answers

Net maui Windows platform how to change grid width according to screen width in collectionview ?

Net maui Windows platform how to change grid width according to screen width in collectionview ? or how to set justify position of grid and width thanks..

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,598 questions
asked 2024-02-27T08:23:48.0066667+00:00
Sami 741 Reputation points
edited a comment 2024-02-29T05:39:22.6166667+00:00
Sami 741 Reputation points
0 answers

.NET MAUI application method returning null IntPtr when migrated from .NET 7 to .NET 8

Recently we have migrated our Xamarin Bindings and Xamarin app to support .NET MAUI with .NET 7. So now we have iOS Binding and .NET MAUI App. As our iOS native SDK is written in Objective-C, it has the below method which requires a pointer…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,180 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,598 questions
asked 2024-02-29T05:24:23.7566667+00:00
Gunawardana, Bagya Nuwanthi 0 Reputation points
edited the question 2024-02-29T05:36:13.1133333+00:00
Gunawardana, Bagya Nuwanthi 0 Reputation points
1 answer

If XAMARIN support is ending, should we start with .net MAUI?

Hello I've just started learning mobile programming. In fact, I have asked two or three questions here before. While doing research on learn.microsoft.com a while ago, I came across a note like this. “Microsoft support for Xamarin for all Xamarin SDKs,…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,260 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,598 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.
9,963 questions
asked 2024-02-28T09:33:20.29+00:00
fatih uyanık 60 Reputation points
commented 2024-02-29T05:13:55.7066667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 64,416 Reputation points Microsoft Vendor
1 answer

how to Clear Cookies not working on WebAuthenticator when Sign out

I am using Open ID Connect for sign in/out. i follow this link https://community.abp.io/posts/integrating-maui-client-via-using-openid-connect-aqjjwsdf After successful sign in, i sign out, then sign in again WebAuthenticator automatically logs me in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,598 questions
asked 2023-02-23T08:26:27.1033333+00:00
Nam Pham 86 Reputation points
commented 2024-02-29T03:54:33.2266667+00:00
Gandla, Kiran 0 Reputation points
0 answers

How to fix storyboard moving tile within column

In working in visual studios storyboard- I am unable to move a tile within a column- but I can move it across different columns. If I wanted to move a tile up in the column- it is not allowing me. It appears to move when I drag it but then goes back to…

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,633 questions
asked 2024-02-28T12:44:45.3133333+00:00
Michelle Wilcox 0 Reputation points
edited a comment 2024-02-29T03:42:21.9233333+00:00
Hui Liu-MSFT 25,856 Reputation points Microsoft Vendor
0 answers

Machine Learning Model Suggestions

I'm new in machine learning and I'm trying to create a model which will identify data into accurate Item Code from Item description. I'm approaching it as a multiclass classification problem. The problem is, the Item Code can be over 1000s. My…

.NET Machine learning
.NET Machine learning
.NET: Microsoft Technologies based on the .NET software framework.Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
148 questions
asked 2024-02-29T03:39:46.94+00:00
Sourav 120 Reputation points
0 answers

Solutions for .NET Interop Issues involving Sensitivity Labels?

We have code that is supposed to create an Excel document via .NET Interop, then save this workbook. The problem is, starting with Office 365 Build 2312, the sensitivity label functionality has changed, seemingly to accommodate increased restriction on…

Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,185 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,180 questions
Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
862 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,306 questions
asked 2024-02-26T17:59:41.4833333+00:00
JK 25 Reputation points
commented 2024-02-29T03:35:12.1066667+00:00
Givary-MSFT 25,131 Reputation points Microsoft Employee
1 answer

Using Azure Notification Hubs with WPF

Hello, I have a .NET 8, C# WPF application and would like to use Azure Notification Hub. My application should be able to run on Windows 10 or above. I've searched for resources, but all the tutorials I've found use Windows SDK/UWP/Win UI. Can I use…

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.
245 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,633 questions
asked 2024-02-19T03:22:08.82+00:00
Yuli Aria Winata 0 Reputation points
edited a comment 2024-02-29T03:21:17.61+00:00
Yuli Aria Winata 0 Reputation points
1 answer

Pickers not getting disabled in Android 7

I noticed that even though pickers are marked as disabled in code behind , I am able to tap of it and pickers are getting listed . I tested in other Android versions 10 and 11 and they seem to be working fine as expected.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,598 questions
asked 2024-02-28T10:22:55.79+00:00
Manickam, Suraj 160 Reputation points
answered 2024-02-29T03:04:23.7333333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 30,741 Reputation points Microsoft Vendor
1 answer

How receives push notification in Windows with MAUI

I'm creating an application using .NET8 MAUI. The application registers the device in an Azure Notification Hub. From here, I can send push notifications to the different devices. The problem I have with Windows is that the message arrives on the…

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.
245 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,598 questions
asked 2024-02-23T00:27:46.38+00:00
Enrico Rossini 126 Reputation points
commented 2024-02-29T03:03:07.8133333+00:00
brtrach-MSFT 14,226 Reputation points Microsoft Employee
0 answers

Target Framework do not appear when trying migrating from xamarin to maui using upgrade assistant

i'm using visual studio 2022 17.9.2, when i click ugrade on the portable file, it shown "there are no target framework found to which project could be upgraded" but when i click on the droid file, it does appear the framework selection …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,180 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,428 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,598 questions
asked 2024-02-29T02:27:50.4133333+00:00
AGUSTINUS DAVID 0 Reputation points
0 answers

NET8.0 MAUI - MediaElement - Error when trying to stream Audio files stored on AWS S3

Hi I am using MediaElement to Play audio files stored on AWS S3 buckets, using streaming. Everything is correctly setup and I am populating the MediaElement Source property with the url of the Audio file stored in my S3 bucket. I get the following…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,598 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.
9,963 questions
asked 2024-02-27T20:43:12.21+00:00
Riffy 271 Reputation points
commented 2024-02-29T02:20:06.8733333+00:00
Riffy 271 Reputation points
2 answers

Is there any tag/code/script to launch the application in Edge browser which works in only IE

Hi All, I am working on a legacy asp.net application, the UI of the application is implemented using Component Art. This application works in only Internet Explorer with compatibility mode. Now we are able to launch this application on Edge browser by…

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,038 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,181 questions
asked 2024-02-27T15:16:55.6166667+00:00
Bharathi 46 Reputation points
commented 2024-02-29T02:16:12.78+00:00
Bharathi 46 Reputation points
0 answers

Login flow with shell

I have an App shell view model. public partial class AppShellViewModel(IAppService appService) : BaseViewModel { [ObservableProperty] User? user; [ObservableProperty] bool isCoordinator; [ObservableProperty] bool isStudent; …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,598 questions
asked 2024-02-28T21:32:13.65+00:00
Eduardo Gomez 3,216 Reputation points
edited the question 2024-02-29T02:10:28.54+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 64,416 Reputation points Microsoft Vendor
1 answer

System.Windows.Forms Version=8

I keep getting errors that the system is looking for Version 8 references. All I find are System.Windows.Forms.dll - version 4. How do I resolve this error? Should I change all the references to Version 4? In this folder - C:\Program…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,801 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,428 questions
asked 2024-02-28T19:23:17.04+00:00
Simon 206 Reputation points
edited the question 2024-02-29T01:22:33.23+00:00
Zhi Lv - MSFT 29,941 Reputation points Microsoft Vendor
0 answers

Issues with BLE Gatt Services

Hi guys, We are using the BLE GATT services supplied by the Windows CSWinRT nuget package in a .net 6 WPF application. Two issues have raised their heads and I'm hoping someone could point me in the right direction. The main issue we have been facing…

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,633 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.
9,963 questions
asked 2024-02-12T16:40:02.2933333+00:00
Ben Steele 0 Reputation points
edited the question 2024-02-29T01:09:35.6933333+00:00
Roy Li - MSFT 31,386 Reputation points Microsoft Vendor
1 answer

Which "Maps SDK for Android" version being used in Xamarin.Forms.Maps 5.0.0.2083?

Hi Team, We are currently using Xamarin.Forms.Maps (5.0.0.2083) in our Xamarin Projects. We need to know which "Maps SDK for Android" version the above package uses. com.google.android.gms:play-services-maps: ?? Thanks.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,260 questions
asked 2024-02-27T11:05:41.8866667+00:00
Vinayagamoorthy K 0 Reputation points
edited a comment 2024-02-29T01:02:02.5033333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 64,416 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Razor View how to feed a list<string>

I have a model with a field [Required(ErrorMessage = "Spécifier les rôles souhaités pour le projet")] public List<string> Roles { get; set; } = new List<string>(); my Razor page display the field in the form The .cshtml code…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,020 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.
9,963 questions
asked 2024-02-28T22:07:27.46+00:00
Boucourt 45 Reputation points
commented 2024-02-28T23:20:19.2166667+00:00
Boucourt 45 Reputation points