24,062 questions with .NET-related tags

Sort by: Updated
0 answers

Change Installation Location for WPF Windows Application Packaging Project

We have uploaded our WPF app to windows store using Windows Application Packaging project. Is it possible to change the Installation location of the app from "Windows Apps" folder to any other location? Settings → Apps & Features ->…

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,680 questions
asked 2024-05-10T08:02:16.2666667+00:00
Raja Shanmugam 21 Reputation points
edited the question 2024-05-10T08:17:10.4466667+00:00
Roy Li - MSFT 32,111 Reputation points Microsoft Vendor
0 answers

How to include extra files in Visual Studio Publish for WPF Application?

I have my .net 5 WPF application setup to publish with these settings below. My application is a PRISM (MVVM framework) application and uses a modular structure. The module projects are not directly referenced by the main application project.…

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,680 questions
asked 2021-11-18T08:58:02.333+00:00
James Baker 1 Reputation point
commented 2024-05-10T07:55:28.6233333+00:00
James Baker 1 Reputation point
0 answers

Touch Events in .NET MAUI

Hi I'm working on a piano keyboard app in .NET MAUI, and I'm encountering an issue with implementing a specific feature. I want users to be able to slide their finger across the keys, triggering a note for each key they pass over. However, I'm only…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,920 questions
asked 2024-05-10T01:53:53.1+00:00
Yusuf 691 Reputation points
commented 2024-05-10T07:46:05.71+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,626 Reputation points Microsoft Vendor
0 answers

Update Workload Problem/ NuGet Package unable to be installed.

**I have created 3 Projects: FrontEndProject and it is a Blazor Project and this is the csProj:** <Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly"> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,204 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,402 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,301 questions
asked 2024-05-10T04:54:17.63+00:00
Muhammad Ghozlan 0 Reputation points
edited the question 2024-05-10T07:31:07.27+00:00
XuDong Peng-MSFT 10,176 Reputation points Microsoft Vendor
1 answer

User.identity.getuserid() returns null after signin.

I have a piece of code for login in asp.net C# webform. it uses inbuilt login function, and User.Identity.GetUserId() to catch the userId. But after login the User.Identity.GetUserId() returns null. Below is my login code // Validate the user password …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 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,301 questions
asked 2024-05-10T02:12:49.11+00:00
Emeka Okoye 46 Reputation points
commented 2024-05-10T07:27:33.9766667+00:00
Lan Huang-MSFT 25,871 Reputation points Microsoft Vendor
1 answer

"owl carousel" not working when appending data dynamically using jquery

I'm appending the data dynamically to "owl carousel" and initially the data is showing correctly and next (when I click the button) I'm erasing and re-assigning the data to the "owl carousel" (because the data will keep change) at…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
881 questions
asked 2024-05-06T04:31:47.04+00:00
Ashok Kumar 181 Reputation points
commented 2024-05-10T06:53:43.4133333+00:00
Lan Huang-MSFT 25,871 Reputation points Microsoft Vendor
2 answers

two decimal for label

Hello This is my sample code Label LRO = e.Item.FindControl("LRO") as Label; LRO.Text = roff; its should return value in something example two digit decimal 12.45 14.00 15.12 how to do so thanks

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 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.
301 questions
asked 2024-05-04T14:42:56.72+00:00
RAVI 916 Reputation points
commented 2024-05-10T06:52:40.0766667+00:00
Lan Huang-MSFT 25,871 Reputation points Microsoft Vendor
1 answer

Upload de arquivos no ASP.NET 4.6.1

Good morning my friends! I'm having a lot of difficulty uploading a 1.5GB file to Asp.Net. I've tried different ways but all without success. I adjusted the web.config like this <httpRuntime targetFramework="4.6.1"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
asked 2024-05-03T12:47:51.6933333+00:00
Sergio Luiz da Silva 0 Reputation points
commented 2024-05-10T06:51:49.09+00:00
Lan Huang-MSFT 25,871 Reputation points Microsoft Vendor
0 answers

ADFS Authentication Issue in .Net 8

I have an existing ASP.NET MVC application that relies on ADFS authentication. I'm currently upgrading it to .NET 8. As part of the upgrade process, I prioritized implementing the authentication functionality first. However, I'm encountering an issue…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,412 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,204 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,200 questions
asked 2024-05-03T06:09:59.2233333+00:00
Vijayan, Neethu 0 Reputation points
edited a comment 2024-05-10T06:35:23.3666667+00:00
JasonPan - MSFT 4,376 Reputation points Microsoft Vendor
1 answer

How to get the index of duplicate elements along with the range of empty elements after it. LINQ

hi Dim ComplexArray As String() = Split("A C A B C A B A B C") Dim Arr3D = {({"A", ({"0-2", "5-9", "16-16", "19-20"})}), ({"B", ({"10-12",…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,837 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,638 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
asked 2024-05-04T15:38:26.2533333+00:00
Mansour_Dalir 1,591 Reputation points
commented 2024-05-10T06:32:29.4533333+00:00
Jiachen Li-MSFT 26,751 Reputation points Microsoft Vendor
0 answers

Entry Visible text is different in maui as compared to xamarin if text is long.

In xamarin Entry text is visible from starting like- In Maui Entry ending text is visible like- Code - Is there any way to make maui entry visible text as xamarin(from starting) or to display entry text in 2 lines(without using editor)?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,920 questions
asked 2024-05-10T06:24:47.58+00:00
SADANA Vansh 0 Reputation points
1 answer

Sending and Receving messages to Azure Service Bus using ASP.NET framework 4.8

Hello Trying to send and recieve message using ASP.NET example to Azure Service Bus. Pls share the code if possible. https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/servicebus/Azure.Messaging.ServiceBus/samples/Sample01_SendReceive.md Have…

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
553 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
964 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
asked 2024-05-10T05:44:53.6933333+00:00
Chandrakant Pawle 81 Reputation points
answered 2024-05-10T06:16:02.76+00:00
hossein jalilian 3,175 Reputation points
0 answers

Unauthorized error when logging in with IdentityModel.OidcClient in MAUI

I am responsible for the development of a cross-platform application that must log in with OpenID. This application is developed in Xamarin.Forms, but I have to migrate it to MAUI. To log into the application I use the IdentityModel.OidcClient library.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,412 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,920 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,301 questions
asked 2024-05-09T07:10:13.6466667+00:00
Jalza 736 Reputation points
commented 2024-05-10T06:08:07.53+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,741 Reputation points Microsoft Vendor
0 answers

iOS build getting a crash with a report

In iOS I am getting a crash in stimulator after launching splash screen. After it crashed i can see a crash report and it mentioned as signal 6 abort trap : 6 as Termination Reason.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,920 questions
asked 2024-05-09T10:24:55.66+00:00
Vinothkumar Swaminathan 20 Reputation points
commented 2024-05-10T06:05:21.29+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,626 Reputation points Microsoft Vendor
0 answers

Google In-Apps always refunded after 3 days in Xamarin.Android/.NET 8

I have built an app originally with Xamarin.Android. I recently migrated it to .NET 8, but I noticed that after they pay, I lose my money since they are auto-refunded. I read in some forums that I had to acknowledge the payment and I did that: public…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,412 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,920 questions
asked 2024-05-09T08:43:41.3633333+00:00
Federico Navarrete 616 Reputation points
commented 2024-05-10T05:49:42.9933333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,626 Reputation points Microsoft Vendor
1 answer

System.Data.SqlClient conflict between versions

In a Dll project in C# .Net Framework 4.8 with the latest version of VS I have installed the Nuget package System.Data.SqlClient 4.8.6 but when checking it in the solution explorer, "References", "Properties" appears as 4.6.1.6 and…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,412 questions
asked 2024-05-09T04:28:33.6166667+00:00
zequion 111 Reputation points
commented 2024-05-10T05:48:38.9933333+00:00
zequion 111 Reputation points
2 answers

An old ASP.NET WebForms app won't build due to missing references and related

I maintain an old ASP.NET WebForms application, written using VB.NET so long ago that no one knows who started this application. The guy who maintained it, before I was given it, left before I joined. He didn't put anything in any source control, and he…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 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,638 questions
asked 2024-05-08T21:06:30.9666667+00:00
Falanga, Rod, DOH 80 Reputation points
commented 2024-05-10T05:25:37.9366667+00:00
Albert Kallal 4,806 Reputation points
1 answer

.NET MAUI Community Toolkit Popup page is breaking

I am using the .NET Community toolkit for the Popup page. When we try to load the popup page the entire UI is breaking on iOS platform but it is working fine on Android platform. On the popup page I am using listView. Screenshot: I am using below codes…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,920 questions
asked 2024-04-29T14:15:29.71+00:00
Sreejith Sreenivasan 691 Reputation points
commented 2024-05-10T05:02:14.2066667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,626 Reputation points Microsoft Vendor
0 answers

Reopening the app from background is crashing with an exception of "Window was already created" from base.onresume().

When I try to reopen an app from background it is crashing when I am using base.onresume() in mainactivity. It gave an exception "Window was already activated". I saw some work around of adding launchmode as singletop or singletask would work…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,920 questions
asked 2024-05-08T07:28:42.4233333+00:00
Keerthana Krishna 40 Reputation points
commented 2024-05-10T04:17:21.9433333+00:00
Keerthana Krishna 40 Reputation points
0 answers

我们用webform框架使用edge弹窗用什么方式兼容性最好?

使用webform框架RegisterStartupScript方法注入JS实现弹窗功能,在edge浏览会有卡死的情况。请问有什么好的方式来处理这种兼容性问题?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
asked 2024-05-10T02:28:01.4133333+00:00
罡 孙 0 Reputation points
commented 2024-05-10T03:42:42.5466667+00:00
Lan Huang-MSFT 25,871 Reputation points Microsoft Vendor