26,498 questions with .NET-related tags

Sort by: Updated
1 answer

Seed Data Asp.Net core Identity .Net 9

Hello, good time. A problem in the new version of .Net 9 that I recently found after upgrading from version 8 to 9. Regarding the seed data context identity I found this problem after upgrading the version, in your project I have a Context, one for the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,009 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,009 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 questions
asked 2024-12-21T06:56:08.37+00:00
Saeed Ghafori 0 Reputation points
answered 2024-12-27T07:44:34.5166667+00:00
Ping Ni-MSFT 4,805 Reputation points Microsoft Vendor
1 answer

Seed Data Asp.Net core Identity .Net 9

Hello, good time. A problem in the new version of .Net 9 that I recently found after upgrading from version 8 to 9. Regarding the seed data context identity I found this problem after upgrading the version, in your project I have a Context, one for the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,009 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,009 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 questions
asked 2024-12-21T06:56:08.37+00:00
Saeed Ghafori 0 Reputation points
answered 2024-12-27T07:44:34.5166667+00:00
Ping Ni-MSFT 4,805 Reputation points Microsoft Vendor
2 answers

.NET 9 UWP Build Error

A blank project created in Visual Studio 2022 using .NET 9 UWP generates a build error: Microsoft.UI.Xaml.Markup.winmd cannot be referenced. Referencing a Windows Metadata component directly when targeting .NET 5 or higher is not supported. For more…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,009 questions
Universal Windows Platform (UWP)
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,312 questions
asked 2024-12-12T08:26:00.6966667+00:00
Singh Wong 51 Reputation points
answered 2024-12-27T07:41:45.0766667+00:00
Junjie Zhu - MSFT 19,751 Reputation points Microsoft Vendor
1 answer

How to run maui app as admininstrator after deployment as unpacakged(exe)

Hi, How I run maui app on windows 8 as admin after deployment as unpcakaged (exe). This deployment command. dotnet publish -f net8.0-windows10.0.19041.0 -c Release /p:AppxPackageSigningEnabled=true…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,766 questions
asked 2024-12-25T14:10:44.66+00:00
Dani_S 3,891 Reputation points
commented 2024-12-27T07:38:41.6+00:00
Dani_S 3,891 Reputation points
1 answer

How can I create and upload an iOS-Build from Visual Studio to App Store TestFlight?

I had already created an application on App Store Connect some time ago and I had uploaded an iOS-Build in TestFlight. The iOS-Build expired and I want to upload a new iOS-Build. I had created my first iOS-Build on a macOS device. I switched from macOS…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,766 questions
asked 2024-12-18T13:12:18.1566667+00:00
Kim Strasser 1,161 Reputation points
commented 2024-12-27T07:22:41.22+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 33,676 Reputation points Microsoft Vendor
1 answer

can the ios be same with android to the keyboard?

if I focus an entry the keyboard will appear. and then the page is resized so the keyboard will not cover the entry. I do not want it be like that. I know how to set to Resize according…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,766 questions
asked 2024-12-26T10:13:30.1133333+00:00
mc 4,981 Reputation points
answered 2024-12-27T07:04:49.34+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 33,676 Reputation points Microsoft Vendor
1 answer

How do I make a richTextBox have a transparent background / show the image beneath it? (C#, Windows Forms App)

Hello, as per the title, I want to make the richTextBox in my project transparent, or have a way to show the image beneath it. Whenever I try to set the backcolor to transparent, i always get "Property value is not valid" with "Control…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,915 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,312 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.
11,154 questions
asked 2024-12-27T06:00:17.44+00:00
dorian tester 0 Reputation points
answered 2024-12-27T06:43:01.78+00:00
Jiale Xue - MSFT 48,441 Reputation points Microsoft Vendor
1 answer

Android Apk not installed

dotnet publish -f:net9.0-android -c:Release /p:AndroidSigningKeyPass=math@24 /p:AndroidSigningStorePass=math@24 When I try to install apk file "on my Android phone I get below error "App not installed as app isnt compatible with your…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,766 questions
asked 2024-12-23T21:42:31.97+00:00
Kalyan A 335 Reputation points
edited an answer 2024-12-27T06:28:33.33+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 77,726 Reputation points Microsoft Vendor
1 answer

How to Enable Zoom Feature for BlazorWebView MAUI Hybrid on Android?

Hello, I am working on a project using .NET MAUI with Blazor Hybrid. I want to enable the zoom feature (pinch-to-zoom and double-tap-to-zoom) for the BlazorWebView when running on an Android device. Currently, the content in the BlazorWebView is not…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,766 questions
asked 2024-12-07T17:00:11.6933333+00:00
Thinh Do 0 Reputation points
edited the question 2024-12-27T06:25:10.4266667+00:00
Zhi Lv - MSFT 32,736 Reputation points Microsoft Vendor
1 answer

Fix Winform Designer Error

Hi all ! Suddenly my designer decided to stop working for my project. I get the following error Any help is appreciated. Instances of this error (1) Hide Call Stack at…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,009 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,312 questions
asked 2024-12-21T08:13:12.5166667+00:00
Juan Manuel Sanchez 0 Reputation points
commented 2024-12-27T06:13:08.1666667+00:00
Anna Xiu-MSFT 30,391 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

http://%2A:2869/upnp/eventing/Attack

http://%2A:2869/upnp/eventing/ along with security warning upnp has impersonated and logged in as svchostThe application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,009 questions
Azure IoT Plug and Play
Azure IoT Plug and Play
A Microsoft technology based on an open modeling language that enables developers to connect internet of things (IoT) devices to the cloud without having to write any code.
18 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,654 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,280 questions
asked 2024-08-09T07:52:10.35+00:00
Wes Williams 25 Reputation points
commented 2024-12-27T04:43:50.16+00:00
James Dennis Phelps 0 Reputation points
1 answer One of the answers was accepted by the question author.

Pipeline Failure Due to MSBuild Version Mismatch with .NET SDK 8.0.300

I am encountering an issue while running my Azure DevOps pipeline using Microsoft-hosted agents. My .NET code is built using version 8.0.300, which requires MSBuild version 17.8.3 or higher. However, the available MSBuild version on the Microsoft-hosted…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,009 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,312 questions
asked 2024-12-26T14:35:33.88+00:00
Niket Kumar Singh 390 Reputation points
accepted 2024-12-27T04:34:11.8666667+00:00
Niket Kumar Singh 390 Reputation points
1 answer

What is alternative of App center as it is going to deprecate by March 31, 2025?

I am using App Center Analytics, App Center Crashlytics, and App Center Distribution for my .NET MAUI application. Are there any alternative options available for all three of these services? If so, which ones are considered good alternatives? App…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,766 questions
asked 2024-12-24T10:35:22.9566667+00:00
Shingala A 25 Reputation points
commented 2024-12-27T03:06:25.5633333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,281 Reputation points Microsoft Vendor
1 answer

Uploading .ipa file to App Store Connect is not working. Asset validation failed (90046)

I have updated my Xcode version on my Mac. Then I have downloaded the Transporter app on macOS and I have copied my .ipa file from my Windows device to my Mac and drag&drop the file in Transporter. But I get this error in Transporter when I upload it…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,766 questions
asked 2024-12-26T13:04:36.2466667+00:00
Kim Strasser 1,161 Reputation points
answered 2024-12-27T02:31:59.7933333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 33,676 Reputation points Microsoft Vendor
1 answer

Maui project - Microsoft.AspNetCore.Aoo didnt work with the APP

1-There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'iossimulator-x64'. 2-There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'maccatalyst-x64'.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,368 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,009 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 questions
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.
355 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
352 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,368 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,009 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 questions
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.
355 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
352 questions
asked 2024-12-20T19:56:57.6366667+00:00
Maher Elmecery 0 Reputation points
commented 2024-12-27T02:19:26.53+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,281 Reputation points Microsoft Vendor
1 answer

Maui project - Microsoft.AspNetCore.Aoo didnt work with the APP

1-There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'iossimulator-x64'. 2-There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'maccatalyst-x64'.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,368 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,009 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 questions
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.
355 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
352 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,368 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,009 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 questions
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.
355 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
352 questions
asked 2024-12-20T19:56:57.6366667+00:00
Maher Elmecery 0 Reputation points
commented 2024-12-27T02:19:26.53+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,281 Reputation points Microsoft Vendor
1 answer

convert xamarin rerender to maui handler

i have trouble migrating xamarin rerender to maui handler. Here's the code [assembly: ExportRenderer(typeof(CustomNavigationPage), typeof(CustonNavigationRenderer))] namespace Test.App.Business { public class CustomNavigationRenderer :…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,766 questions
asked 2024-12-23T04:30:38.4966667+00:00
Thinh NPD 40 Reputation points
commented 2024-12-27T01:42:23.6266667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,281 Reputation points Microsoft Vendor
1 answer

Issue with DataGrid Selection in WPF Application

A WPF application has been developed using .NET 5, which includes a DataGrid and a button. The following is the code for the button's click event. The issue encountered is that the index and selectedRow values of the DataGrid are only correctly stored…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,009 questions
asked 2024-12-23T11:22:35.7+00:00
Kamyab Faghih 65 Reputation points
commented 2024-12-27T01:04:41.26+00:00
Hongrui Yu-MSFT 3,645 Reputation points Microsoft Vendor
1 answer

Dependency Properties in User Controls

I have a simple Slider and Label user control that I load into my window and I want to change the following properties using databinding from the main window. Slider Properties -> Value, SelectionStart, SelectionEnd (all doubles) Label Properties…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,009 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,804 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.
11,154 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,009 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,804 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.
11,154 questions
asked 2024-12-18T16:06:49.42+00:00
dmccric 0 Reputation points
commented 2024-12-27T01:03:28.84+00:00
Hongrui Yu-MSFT 3,645 Reputation points Microsoft Vendor
1 answer

Dependency Properties in User Controls

I have a simple Slider and Label user control that I load into my window and I want to change the following properties using databinding from the main window. Slider Properties -> Value, SelectionStart, SelectionEnd (all doubles) Label Properties…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,009 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,804 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.
11,154 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,009 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,804 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.
11,154 questions
asked 2024-12-18T16:06:49.42+00:00
dmccric 0 Reputation points
commented 2024-12-27T01:03:28.84+00:00
Hongrui Yu-MSFT 3,645 Reputation points Microsoft Vendor