23,781 questions with .NET-related tags

Sort by: Updated
0 answers

IOS 18 compatibility?

Hi, Can anybody confirm if existing Xamarin form (ios only) apps will continue running on all devices when ios 18 is released? I realise the support cycle ends May 1st, but if i rebuild the app now with new distribution and provisioning certificates, is…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,291 questions
asked 2024-04-19T10:05:10.08+00:00
Andy H 0 Reputation points
commented 2024-04-19T11:06:53.84+00:00
Andy H 0 Reputation points
0 answers

How to fix .NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance Error.

Hello, I am seeing this error in the event logs: .NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance. Profiler CLSID: '{2EB6DCDB-3250-4D7F-AA42-41B1B84113ED}'. HRESULT: 0x80040154. Process ID (decimal): 28340. Message…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,342 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,199 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,520 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,117 questions
asked 2023-06-28T08:04:35.5566667+00:00
Bhushan Mendhe 0 Reputation points
edited a comment 2024-04-19T11:02:01.07+00:00
Mike Gledhill 0 Reputation points
0 answers

Blazor Title

Hello, I have a Blazor 8.0 project that has been giving me trouble when it comes to Title. I have a <PageTitle> tag on every page but it remains the Home no matter on which page I am redirected. Is there a solution for this problem? Thank you

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,138 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,376 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,244 questions
asked 2024-04-19T09:30:14.7833333+00:00
Kuler Master 246 Reputation points
commented 2024-04-19T10:49:27.95+00:00
Brando Zhang-MSFT 2,876 Reputation points Microsoft Vendor
1 answer

Recognize whether the user is logged in

In Windows 10 and Windows 11, apps that are started automatically at startup are already started before the user has logged in. In Windows 8.1, such automatically launched apps were only started after the user had logged in. At least this is the case on…

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,667 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,412 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,199 questions
asked 2024-04-18T15:03:37.3466667+00:00
Heiko 1,191 Reputation points
commented 2024-04-19T10:33:52.51+00:00
Heiko 1,191 Reputation points
0 answers

How can I programmatically simulate a button click in a MAUI application?

How can I programmatically simulate a button click in a MAUI application?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,841 questions
asked 2024-04-19T10:30:11.5766667+00:00
Sarfaraz Sable 20 Reputation points
0 answers

Process info - ArgumentList is limited when using user domain and password?

Hi, Process info - ArgumentList is limited when using user domain and password? Thanks in adavnce,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,342 questions
asked 2024-04-10T06:28:48.0633333+00:00
דני שטרית 2,706 Reputation points
commented 2024-04-19T09:44:25.9+00:00
Jiale Xue - MSFT 30,811 Reputation points Microsoft Vendor
2 answers

How to upload file and view those file in modal popup using gridview

I need help in gridview. i am using normal add, edit and delete functionalities in gridview. This is working fine. Initially i am saving the records using textbox controls and save button. This contains including file upload also. After saving the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,244 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,199 questions
asked 2024-04-17T14:56:04.6833333+00:00
Gani_tpt 1,506 Reputation points
commented 2024-04-19T08:39:19.05+00:00
Lan Huang-MSFT 25,386 Reputation points Microsoft Vendor
0 answers

Why WebBrowser doesn't show up in toolbox?

I want to make an own custom web browser so i looked for tutorial, when i at the insert WebBrowser extension, it's not shown up. I tried to reset and added it again, but it shows up "Added sucessfully but can't see or use in designer". I tried…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,821 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,574 questions
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
173 questions
asked 2024-04-19T08:05:06.3166667+00:00
Ocean 0 Reputation points
commented 2024-04-19T08:16:34.4633333+00:00
Viorel 111.8K Reputation points
1 answer One of the answers was accepted by the question author.

Xamarin.Azure.NotificationHubs.iOS migration .net8

As a part of xamarin migration to .net8? I need to migrate integration with Microsoft Notification hub. THe libs that I was using are Xamarin.Azure.NotificationHubs.iOS for ios and Xamarin.Azure.NotificationHubs.Android for android. According to 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.
259 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,342 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,841 questions
asked 2024-04-18T12:49:16.5466667+00:00
Oleksandr Gridin 0 Reputation points
accepted 2024-04-19T08:15:52.59+00:00
Oleksandr Gridin 0 Reputation points
0 answers

Empty space between elements .NET MAUI

The entire page is a grid. I'm trying to position a child grid on top of the parent grid. This works on Android. On Apple up to iPhone 14 too. On iPhones 14 and 15, the space between the parent and child grids is displayed. <?xml…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,841 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,199 questions
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.
761 questions
asked 2024-04-19T07:41:18.8766667+00:00
Влад Тигинян 20 Reputation points
1 answer

Xamarin iOS unable to debug over local device iOS 17.1.1

I have two real devices: iPhone 15 Pro Max iOS 17.1.1 iPhone 7 iOS 15.7.8 I'm trying to debug my Xamarin application over a real device. Using my iPhone 7 works as expected. But it has been impossible for me to do the same using my iPhone 15 Pro…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,291 questions
asked 2024-04-11T07:21:13.1733333+00:00
Alex 0 Reputation points
commented 2024-04-19T07:28:01.6666667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,996 Reputation points Microsoft Vendor
1 answer

How to contribute to MAUI Development/Bug fixing

Hi everyone, I'm developing some apps with .NET MAUI. I'm facing some issues related for example with CollectionViews and Labels. I would really enjoy being able to see the root cause of this issues in MAUI source code and try to fix them and contribute…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,841 questions
asked 2024-04-18T10:15:15.3166667+00:00
Pereira, Bruno 0 Reputation points
edited a comment 2024-04-19T07:13:22.07+00:00
Pereira, Bruno 0 Reputation points
2 answers

PresentationFramework problem

I'm developing an app on VS2022 C# .NET4.5.2 WPF upgraded to .NET4.8 After the upgrade when running the .exe file on WIN11 I get the following error: "Not possible to load th efile or assembly 'PresentationFramework', Version 3.0.0.0,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,342 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,667 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,099 questions
asked 2024-04-18T10:00:35.6533333+00:00
silvano diliso 0 Reputation points
answered 2024-04-19T07:09:56.17+00:00
Hui Liu-MSFT 38,026 Reputation points Microsoft Vendor
1 answer

Is it able to upload a folder with blazor wasm client and minimal api server?

I want to upload files and folders recursively throught the wasm client to minimal api server. I have learned that I can use IFormFile or IFormFileCollection to receive files in minimal api.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,138 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,376 questions
asked 2024-04-19T06:48:37.5933333+00:00
William Liu 246 Reputation points
answered 2024-04-19T07:08:00.83+00:00
SurferOnWww 1,906 Reputation points
0 answers

problem with otp generation

Register.cshtml @page "/register" @model FaceAdminWebApp.Pages.Auth.RegisterModel @{ ViewData["Title"] = "Register"; } <h5>NEW REGISTER</h5> @if (Model.IsPhoneNumberPresent) { <form method="post"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,138 questions
asked 2024-04-19T07:05:24.33+00:00
Nandini S 20 Reputation points
1 answer

The problem with the MediaElement in WPF .NET 8.0 not supporting relative paths for the media source,Why?

Hi, I'm attempting to utilize the MediaElement in WPF to play video files with either .mp4 or .wmv extensions. However, I've encountered issues when passing the source as a relative path or a Pack URI. Strangely, it works fine when I provide an absolute…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,565 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,725 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,667 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,199 questions
asked 2024-04-08T08:17:36.1833333+00:00
Sanjay Kumar Jha 151 Reputation points
answered 2024-04-19T07:02:29.0633333+00:00
Sanjay Kumar Jha 151 Reputation points
0 answers

Xamarin Cross-Platform MSAL Authentication: Invalid keystore format

I followed this guide "https://damienaicheh.github.io/azure/xamarin/xamarin.forms/2019/07/01/sign-in-with-microsoft-account-with-xamarin-en.html" for setting up authentication for Xamarin android and ios msal. Everything seemed to going fine…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,291 questions
asked 2024-04-18T01:27:01.74+00:00
Craig 0 Reputation points
commented 2024-04-19T06:42:13.78+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,021 Reputation points Microsoft Vendor
1 answer

Screen Orientation in .NET Maui Application

I am looking to force a certain page to be displayed in landscape mode only. Is there a way to do this in shared code (I am only producing for iOS and Android, no Windows or MacCatalyst needed).

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,841 questions
asked 2024-04-18T14:53:49.4766667+00:00
Isspro-eng 20 Reputation points
edited an answer 2024-04-19T06:35:21.7+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,016 Reputation points Microsoft Vendor
2 answers

How to copy big file 5g with task and within impersonation

Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,342 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,841 questions
asked 2024-04-18T08:06:36.18+00:00
דני שטרית 2,706 Reputation points
commented 2024-04-19T06:23:08.9733333+00:00
דני שטרית 2,706 Reputation points
2 answers One of the answers was accepted by the question author.

how can add data using for loop

I want to insert some array data into the database. Here using for loop. The problem is - I want to keep the InvoiceNO related to the OrderNumber change. For example, if the OrderNumber changes, the InvoiceNO will also change. I have shown it in the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,138 questions
asked 2024-04-18T10:36:25.6733333+00:00
jewel 701 Reputation points
accepted 2024-04-19T05:50:55.2533333+00:00
jewel 701 Reputation points