23,771 questions with .NET-related tags

Sort by: Updated
1 answer

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,343 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,194 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.
961 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
answered 2024-04-18T15:37:45.4766667+00:00
EckiS 821 Reputation points
0 answers

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…

Universal Windows Platform (UWP)
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,666 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,194 questions
asked 2024-04-18T15:03:37.3466667+00:00
Heiko 1,191 Reputation points
commented 2024-04-18T15:34:13.63+00:00
RLWA32 40,021 Reputation points
0 answers

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,838 questions
asked 2024-04-18T14:53:49.4766667+00:00
Isspro-eng 20 Reputation points
0 answers

Azure B2C for a Blazor WASM randomly stopped working?

Hey all sorry to be a burden but I am running out of options for this so I thought I would ask Over the Easter Break I taught myself how to implement Azure B2C in a Blazor WASM+Api environment for SPA (using .Net 7). I followed this tutorial for the…

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
918 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,375 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,375 questions
asked 2024-04-18T14:22:24.6333333+00:00
Jeremy Beare 0 Reputation points
edited the question 2024-04-18T14:23:36.04+00:00
Jeremy Beare 0 Reputation points
0 answers

How to update my career as experience is going up

For Last 8 years I am writing, coding using c# with .NET Technologies like asp.net web form, asp.net mvc, web api, SQL server (Table Creation, Stored procedure, joins, index, view so on) and also worked other technologies like angular as fullstack…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,343 questions
asked 2024-04-18T14:05:04.6+00:00
coder rock 176 Reputation points
1 answer One of the answers was accepted by the question author.

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,134 questions
asked 2024-04-17T10:40:31.2233333+00:00
jewel 701 Reputation points
accepted 2024-04-18T13:20:32.2766667+00:00
jewel 701 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.
257 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,289 questions
asked 2024-04-16T12:06:03.7033333+00:00
Hiran Desai 15 Reputation points
commented 2024-04-18T13:18:03.21+00:00
Kyle S 10 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,838 questions
asked 2024-04-17T13:38:10.5+00:00
Lloyd Sheen 1,351 Reputation points
commented 2024-04-18T13:14:59.23+00:00
Lloyd Sheen 1,351 Reputation points
0 answers

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.
257 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,289 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,343 questions
asked 2024-04-18T12:49:16.5466667+00:00
Oleksandr Gridin 0 Reputation points
3 answers

Xamarin navigate to page throws "Object reference not set to an instance of an object."

I'm trying to navigate and pass data to an edit page when I select a row. I select a row in the checklistpage and what to pass that rows data to the treeinfopage. (has two points of entry 1 from menu and 1 from ChecklistPage) the page structures are as…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,289 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,573 questions
asked 2024-04-10T23:23:39.3666667+00:00
tim 40 Reputation points
edited a comment 2024-04-18T12:27:46.38+00:00
tim 40 Reputation points
1 answer

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,134 questions
asked 2024-04-18T10:36:25.6733333+00:00
jewel 701 Reputation points
edited a comment 2024-04-18T12:22:39.6566667+00:00
AgaveJoe 26,181 Reputation points
0 answers

Error 429 only if Outlook is already open when try to automate an email

Good day Gurus of .Net Since I started trying to get my app to be option strict compliant, I've suddenly started getting error 429 Unable to create active x component BUT only when Outlook is already open. I have the following code to get an instance of…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,343 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
2,910 questions
asked 2024-04-18T12:05:49.05+00:00
Hugh Self Taught 81 Reputation points
0 answers

Need help with a problem in my Blazor .NET 8 server application

I'm facing an issue and I'm not sure who to ask for help. Could you please provide me with some suggestions? I've been unable to find my mistake despite my research.I've implemented user authentication in a Blazor .NET 8 server application, where I'm…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,343 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,375 questions
asked 2024-04-18T11:18:23.39+00:00
Esma 0 Reputation points
commented 2024-04-18T11:57:16.06+00:00
AgaveJoe 26,181 Reputation points
4 answers

Blazor - Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0

Hi, I have an issue with a Blazor page. Sometimes I receive the following error message on the browser's console view: Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0 This is strange, because this error message…

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,375 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,194 questions
asked 2022-03-29T14:57:37.95+00:00
Gábor Varga 26 Reputation points
commented 2024-04-18T11:41:02.26+00:00
Develter, Filip 0 Reputation points
1 answer One of the answers was accepted by the question author.

Outlook as late binding with Option Strict ON

Hi Gurus, In an attempt to switch Option Strict to ON I've been correcting the errors & forgot that I hadn't dealt with Outlook. My current code is old VBA based late binding to avoid Office version issues. All the reading I've been able to find all…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,343 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
2,910 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-02T11:21:05.99+00:00
Hugh Self Taught 81 Reputation points
commented 2024-04-18T11:11:54.1233333+00:00
Hugh Self Taught 81 Reputation points
1 answer One of the answers was accepted by the question author.

How to create borderless entry in iOS- maui .Net 8

I want to create a border less entry and picker in maui for iOS Net8 Thanks Vaibhav Methuku

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 questions
asked 2024-04-01T02:51:09.47+00:00
Vaibhav Methuku 0 Reputation points
accepted 2024-04-18T10:39:48.9966667+00:00
Vaibhav Methuku 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to change color of item in a list on Mouse hover.?

I'm having a list of item, Whenever any item is selected in that particular list changing the particular color of the item using a trigger. please find the below code. <DataTemplate x:Key="SiteTemplate"> <StackLayout…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 questions
asked 2024-04-01T08:23:09.02+00:00
Vaibhav Methuku 0 Reputation points
accepted 2024-04-18T10:39:27.8+00:00
Vaibhav Methuku 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to create a alert in MAUI - Platform specific - Android.

Hello Team, I want to reuse the existing alert which is created in Xamarin-Android, When I'm trying to access that. Facing this exception. Please find the below code: Device.BeginInvokeOnMainThread(() => { AlertDialog.Builder dialog = new…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 questions
asked 2024-04-17T11:42:25.1566667+00:00
Vaibhav Methuku 0 Reputation points
accepted 2024-04-18T10:38:34.1433333+00:00
Vaibhav Methuku 0 Reputation points
0 answers

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,838 questions
asked 2024-04-18T10:15:15.3166667+00:00
Pereira, Bruno 0 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,838 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,060 Reputation points