23,763 questions with .NET-related tags

Sort by: Updated
0 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,339 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,193 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
958 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,092 questions
asked 2024-04-18T10:00:35.6533333+00:00
silvano diliso 0 Reputation points
1 answer

azure Web App (running ASP.NET (MVC) seems like it does not recognise or detect azure SQL server and database

I have an Asp.NET mvc project running on an azure Web App. I also have a SqlServer with a Sql database connected. When using the sqlserver on a local project (WPF app) it gives me the data. When I try to use it on the Webapp i just get an error message…

Azure SQL Database
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,241 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,629 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
759 questions
asked 2024-04-18T09:29:42.04+00:00
Niklas Stokke 0 Reputation points
edited an answer 2024-04-18T09:58:43.4266667+00:00
Amira Bedhiafi 14,806 Reputation points
1 answer

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 MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,836 questions
asked 2024-04-18T08:06:36.18+00:00
דני שטרית 2,686 Reputation points
edited an answer 2024-04-18T09:58:09.9033333+00:00
Khaled El-Sayed Mohamed 1,055 Reputation points
1 answer

how to pass data from child table to controller

I got stuck in a tricky problem. I can't find the solution anywhere. Clicking on the row of my datatable opens the child table. Checkboxes are attached to both parent table and child table. Clicking the DataTable checkbox(name="Selectall"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,133 questions
asked 2024-04-17T10:40:31.2233333+00:00
jewel 701 Reputation points
edited an answer 2024-04-18T09:39:44.9966667+00:00
Brando Zhang-MSFT 2,796 Reputation points Microsoft Vendor
1 answer

Microsoft point of sales for .net solution's can't create new PosExplorer Object

I'm Trying to use Microsoft point of sales for .net 1.14.1 version and trying to use it's Cash drawer capabilities for my Windows form application. But when i'm trying to create PosExplorer new object it throws "System.NullReferenceException:…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,820 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,339 questions
asked 2024-04-17T12:11:00.1366667+00:00
Lasitha Lankajeewa 0 Reputation points
answered 2024-04-18T09:36:23.16+00:00
Jiale Xue - MSFT 30,581 Reputation points Microsoft Vendor
0 answers

Intermittent slowness in website

We have a website that is accessed through the web and also through the android apps given to the sales team. It mostly works fine, and the response is also fast. Of late we noticed (could have been happening earlier also, may have gone unnoticed), but…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,339 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,629 questions
asked 2024-04-17T05:47:51.56+00:00
Hardeep Singh 0 Reputation points
commented 2024-04-18T09:31:55.0766667+00:00
Jiale Xue - MSFT 30,581 Reputation points Microsoft Vendor
0 answers

How to handle long operation using Task

Hi, How to handle long operation using Task taht can take few minites? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,836 questions
asked 2024-04-18T09:03:18.3066667+00:00
דני שטרית 2,686 Reputation points
commented 2024-04-18T09:03:52.93+00:00
דני שטרית 2,686 Reputation points
0 answers

CoreMessagingXP.dll crash

Hello, I am maintaining a .NET application with a WinUI3 UI which sometime crashes. In the event viewer I see that the crash is caused by CoreMessagingXP.dll but I have no idea about the real cause of the problem since I see the application crashing…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,339 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,193 questions
asked 2024-04-18T06:49:47.9733333+00:00
Mario Raffin 0 Reputation points
commented 2024-04-18T08:50:05.9833333+00:00
Mario Raffin 0 Reputation points
1 answer

I am having a problem with WPF text box , its not allowing record space when pressing space bar on key board

When adding some text on text box in a wpf application its not arecording the space. it's only allowing it if i type the text as one string and use the back keys to go back to to where i want to record the space. Not sure what is the cause and solution…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,339 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,665 questions
asked 2024-04-15T13:52:54.78+00:00
Sgcino Ngema 0 Reputation points
commented 2024-04-18T08:41:49.4366667+00:00
Hui Liu-MSFT 37,946 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Multiple forms with common buttons

I need to create multiple winforms in an application with two buttons previous and next. When I click on the next button in a form the next form should open up. Similarly when I click on previous button previous form should open up. I don't want to…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,820 questions
asked 2024-04-16T11:10:28.12+00:00
Prash 21 Reputation points
accepted 2024-04-18T08:40:51.2833333+00:00
Prash 21 Reputation points
1 answer One of the answers was accepted by the question author.

Is control.TrayLocation in resource file is really required?

whenever I add a non visual control(tooltip, dataset etc) to windows form, an entry control.TrayLocation gets added in the resource file. is it really required? is it okay to delete this entry before checking-in into source control?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,820 questions
asked 2024-04-18T05:31:12.0666667+00:00
Prash 21 Reputation points
accepted 2024-04-18T08:38:51.3533333+00:00
Prash 21 Reputation points
1 answer One of the answers was accepted by the question author.

How to get Custom Namespaces and Prefix for an XML file?

I have a structure in which I fill in data and I want to save it as an XML file. How can I set Namespaces and Prefix so as to obtain an XML file with the structure as in the example below? Thank you! public class AuditFile { public Header Header { get;…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,339 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,193 questions
asked 2024-04-17T11:23:54.3966667+00:00
TRAIAN MACAVEIU 26 Reputation points
accepted 2024-04-18T08:38:45.17+00:00
TRAIAN MACAVEIU 26 Reputation points
0 answers

internal error in the .NET Runtime at IP 70DE92C3

Application terminates when loading report viewer, event viewer shows an error: "internal error in the .NET Runtime at IP 70DE92C3"

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,193 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 2024-04-15T16:08:52.4566667+00:00
Tom McKeown 0 Reputation points
commented 2024-04-18T08:25:10.2566667+00:00
Jiachen Li-MSFT 26,271 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Round in the navigation of flylou

Hi, In https://github.com/dotnet/maui/issues/21576 there is attached sample. Why there is round in the navigation of flylout ( See attched picture) and how is can be fixed ?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,836 questions
asked 2024-04-17T11:50:03.91+00:00
דני שטרית 2,686 Reputation points
accepted 2024-04-18T08:20:30.7866667+00:00
דני שטרית 2,686 Reputation points
1 answer

Community toolkit install is not working

I have had community toolkit installed on this project for quite a while and now it gives the following error when I am trying to update: Severity Code Description Project File Line Suppression State Error NU1605 Warning As Error: Detected package…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,836 questions
asked 2024-04-17T13:38:10.5+00:00
Lloyd Sheen 1,351 Reputation points
commented 2024-04-18T08:16:15.2766667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 67,781 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

ContentView as CollectionView's ItemTemplate with custom Command

Hi, I have a CollectionView that have as ItemTemplate a ContentView. I need to pass at the XAML of the ContentView a custom Command, so I have created a BindableProperty but it remains always null. public ICommand ApriCommand { get { return…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,836 questions
asked 2024-04-15T14:45:48.2866667+00:00
Matteo Pozzato 116 Reputation points
accepted 2024-04-18T08:14:17.1233333+00:00
Matteo Pozzato 116 Reputation points
2 answers

On Click of hyperlink Teams chat opening

Hello Team I am working on a requirement which on a click of hyperlink. I am using Microsoft Razor Microsoft Teams should open and a particular person chat should open, message should contain a message along with a div ready to be delivered(Waiting for…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,023 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,133 questions
asked 2024-04-17T08:00:52.94+00:00
Sridhar, Arun (Cognizant) 0 Reputation points
edited an answer 2024-04-18T08:10:07.1933333+00:00
Sridhar, Arun (Cognizant) 0 Reputation points
0 answers

FCM V1 notifications are not delivered from Azure Notification Hub

I am following this Microsoft Guide to migrate from GCM/FCM notifications to FCM v1. From the guide, I - Configured the Firebase Service Account Credentials in Azure Notification Hub Updaeted backend and app (Xamarin) to use FCM v1 platform during…

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.
256 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 questions
asked 2024-04-16T12:06:03.7033333+00:00
Hiran Desai 15 Reputation points
commented 2024-04-18T07:57:24.61+00:00
ajkuma 22,081 Reputation points Microsoft Employee
1 answer

can not find path for sqlite db in Maui app

i try to create local sqlite db in maui app . private const string DbName = "SweetsShopDb.db3"; private static string DbPath => Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.LocalApplicationData),…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,571 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,836 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,193 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
935 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.
326 questions
asked 2024-04-17T07:00:39.2033333+00:00
amr yakout 40 Reputation points
answered 2024-04-18T07:50:38.5666667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 34,841 Reputation points Microsoft Vendor
2 answers

Samphore Silm usage in two diffrent project.

Hi, I have maui app in windows, .NET 8. I have also worker service in NET 8. I have class librarary common to both projects that use Samphore Silm. SessionTokenSingelton.GetInstance().GetSessionToken(key); Both apps running on same machine. Does every…

.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 2024-04-07T10:44:27.83+00:00
דני שטרית 2,686 Reputation points
commented 2024-04-18T07:48:50.8233333+00:00
דני שטרית 2,686 Reputation points