25,221 questions with .NET-related tags

Sort by: Updated
1 answer

.Net MAUI Drag & Drop crashes on Mac Catalyst with Apple Silicon

Overview On Macs with Apple Silicon processors, Drag & Drop seems to be broken for .Net MAUI apps. I have tried multiple fixes/workarounds, but so far I haven't been successful. Do you have a better suggestion? The Details I have built a moderately…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,711 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,282 questions
asked 2024-08-09T07:58:15.8833333+00:00
Jason Smith 0 Reputation points
answered 2024-08-12T13:37:48.3066667+00:00
Jason Smith 0 Reputation points
2 answers

Blazor 8 Uncaught SyntaxError: Unexpected token '<'

I am stuck trying to convert from Blazor 7 Server to Blazor 8 Server. I am just about ready to give up, I don't think it is possible to use Blazor 8 with this defect in Blazor. I am using Blazor 8 Server. It is rendering CSS and JavaScript static…

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,523 questions
asked 2024-08-05T15:50:42.79+00:00
Greg Finzer 0 Reputation points
commented 2024-08-12T13:34:57.5733333+00:00
Greg Finzer 0 Reputation points
0 answers

Synchronization of data between devices using Project ROME in WinUI 3

I would like to know, how to make synchronization between devices with same Microsoft logged in account, for example some variables in ViewModel. I tried to find some good example of usage of Project ROME, but didn't found anything

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,711 questions
Universal Windows Platform (UWP)
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,709 questions
asked 2024-08-12T13:26:29.36+00:00
Jacob Mordon 125 Reputation points
0 answers

How to make autoscroll bars not visible?

Hello, Question as stated in Title. I have a GUI with autoscroll, the problem flowlayoutpanel is to be scrolled with fingers on a touch screen monitor, it does not need scroll bar functionality. How can I make these scroll bars non visible or remove…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,711 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,941 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,691 questions
asked 2024-08-12T13:25:13.5+00:00
Connor Frayne 20 Reputation points
edited the question 2024-08-12T13:25:53.53+00:00
Connor Frayne 20 Reputation points
1 answer

Microsoft.Data.SqlClient is upgraded to 5.1.5

I have upgraded Microsoft.Data.SqlClient to version 5.1.5 and deployed it on the server. However, the application encountered an error stating "Could not load file or assembly 'Microsoft.Data.SqlClient, Version=1.0.19239.1'". I have checked for…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,711 questions
asked 2024-08-09T15:17:04.3333333+00:00
Prithivirajan Anbalagan 0 Reputation points
commented 2024-08-12T13:03:25.6833333+00:00
Prithivirajan Anbalagan 0 Reputation points
1 answer

How to implement iOS Local Push Connectivity for Xamarin / MAUI ?

I wanna use Local Push Connectivity on a Xamarin.iOS / MAUI app to send notifcation throught wifi network. I dont use apn's because my app will be used in restricted networks. I have no problem on the Android side but the iOS give me hard times. I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,282 questions
asked 2024-08-09T09:35:05.2933333+00:00
La Tristouille 0 Reputation points
edited an answer 2024-08-12T12:55:31.0333333+00:00
La Tristouille 0 Reputation points
1 answer One of the answers was accepted by the question author.

Why is OnInitializedAsync() called twice on a page reload

Hi all; Normally when a page is being created & rendered in Blazor version 8, RenderMode.InteractiveServer, OnInitializedAsync() is called once. But when I do a Reload on Chrome, it is called twice. And all child components in the page are called…

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,523 questions
asked 2024-03-17T23:34:40.2933333+00:00
David Thielen 2,856 Reputation points
commented 2024-08-12T12:41:42.0833333+00:00
Magniveo 0 Reputation points
0 answers

The printer settings doesn't affected in the Kyocera TASKalfa 2554ci KX printer's output using `PrintDocument`

Hi team, While printing the image using the System.Drawing.Printing.PrintDocument with printer settings, the color changes was not reflected in this printer(Kyocera TASKalfa 2554ci KX) and it works fine in other printers. Eg., If we set the color of the…

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,732 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,709 questions
asked 2024-08-12T12:26:43.39+00:00
Raja VIGNESH B 0 Reputation points
0 answers

.NET Office Interop non-functional with sensitivity label requirements?

We have a .NET solution that uses the Office Interop to create an Excel Workbook using Excel, write data to this workbook, then save and close. With the latest Office 365 builds, this functionality no longer works if the user's organization requires…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,711 questions
asked 2024-02-26T16:24:54.4433333+00:00
JK 50 Reputation points
commented 2024-08-12T12:15:33.0433333+00:00
Kiermaier Franz 0 Reputation points
1 answer

I am trying to target same project file to .Net Framework 4.8 and .Net8.0.

I want to target same project file to two different targets i.e., .Net Framework4.8 and .Net8.0. Is that possible? and I want to target same project file to .Net standard 2.1 and .Net Framework 4.8. Please let me know whether I can achieve above…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,711 questions
asked 2024-08-07T08:05:09.04+00:00
Akshay Jain 0 Reputation points
edited a comment 2024-08-12T11:36:51.42+00:00
Akshay Jain 0 Reputation points
0 answers

Get Null reference when assigning date time to datetimepicker

get a Null Reference Exception... startDatePicker is not null, startDatePicker.Date is not null and auxDate is also not null... and simply ignoring the exception "works" (the date in auxdate is displayed)in OnAppearing method try { …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,282 questions
asked 2024-08-07T23:21:52.88+00:00
53463423 20 Reputation points
commented 2024-08-12T11:29:01.11+00:00
53463423 20 Reputation points
0 answers

How to fix No webpage was found for the web address

Created a new App service, and to test the web app, manually uploaded a image under WWWROOT directory in app service editor and the uploaded image was accessible through url "https://domainname/image.png" but on publishing a .net core…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,446 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,493 questions
asked 2024-08-10T16:36:34.97+00:00
Ashwath S 0 Reputation points
commented 2024-08-12T11:23:56.33+00:00
JasonPan - MSFT 4,976 Reputation points Microsoft Vendor
2 answers

Can we store/retrieve data from Share Point list using a WPF C# application?

I am working on WPF C# application. Right now, I have the application connected to SQL database to store and retrieve data. However, I am curious to explore the options to replace it with Share Point List. So that, whatever the data I create using my WPF…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,711 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,732 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,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,709 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,829 questions
asked 2024-08-09T07:31:07.1166667+00:00
Lakshmanan B 41 Reputation points
answered 2024-08-12T11:22:35.5566667+00:00
Lakshmanan B 41 Reputation points
0 answers

Keep image source to a file in app data folder

Hi, I have image source in view model. net 8 How I keep this image source to a file in app data folder? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,282 questions
asked 2024-08-12T11:18:07.3333333+00:00
Dani_S 3,461 Reputation points
2 answers

How to display menu by notification without displaying the form in Taskbar

I have a form with a NotifyIcon and a ContextMenuStrip and I want to display the menu by clicking on the notification, but unfortunately it is displayed in the taskbar. Why? I tried setting the ShowInTaskbar property to false, but it didn't work.Tip Only…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,878 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,547 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,691 questions
asked 2024-08-10T19:15:01.1466667+00:00
Mansour_Dalir 1,796 Reputation points
edited a comment 2024-08-12T10:32:24.0433333+00:00
Mansour_Dalir 1,796 Reputation points
1 answer

Using Graph API to Send Messages in a "One-to-One" Teams Chat from an ASP .Net Core Application

Hello Microsoft Team, I have the following goal: We want to send a message in a "One-to-One" Teams chat from an ASP .Net Core application. For this, we intended to use the Graph API and have created the following example based on the…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,721 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,446 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,571 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,709 questions
asked 2024-08-12T05:38:04.7166667+00:00
Carsten Cors 0 Reputation points
commented 2024-08-12T10:05:22.1733333+00:00
CarlZhao-MSFT 40,636 Reputation points
0 answers

Issue with Publisher and Package Family Name when uploading app to MS Store

After associating my app with the MS Store, the Publisher and Package Family Name fields in my Package tab are greyed out in the Package.appxmanifest file. Even though the information in these fields is correct, I can never get the correct values to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,282 questions
asked 2024-08-09T22:27:31.42+00:00
Fritz Switzer 261 Reputation points
commented 2024-08-12T09:59:20.2033333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,706 Reputation points Microsoft Vendor
0 answers

How control on view height when soft keyboard appears because it covers typing message

when I type message, the keyboard covers the typing message box and can't see or control input area because it not.NET MAUI Control it's related to WebView Component, how I can control in this view? C# Code: MenuCurve.Source = new UrlWebViewSource {…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,282 questions
asked 2024-08-10T15:06:35.7133333+00:00
Ibrahim El Aidi 0 Reputation points
commented 2024-08-12T09:33:58.3633333+00:00
Ibrahim El Aidi 0 Reputation points
1 answer

Using Enity Framework 6.1 and initial query VERY slow.

When performing the initial query using EF, it can take up to 9 mins. Though if you rerun it again and again it takes seconds. If I capture the query from the profiler, it always runs in seconds. If I wait about 10 / 15 mins the slow initial process…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
728 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,711 questions
asked 2024-08-07T19:04:09.36+00:00
Gary Paquette 0 Reputation points
commented 2024-08-12T09:23:27.6733333+00:00
Hongrui Yu-MSFT 1,100 Reputation points Microsoft Vendor
0 answers

Dynamically add new single-tenant Azure AD applications for authentication without restarting the site

Hi. The site is authenticated via a single-tenant Azure AD application. Could you please tell me if it is possible to add new single-tenant Azure AD applications dynamically, without restarting the site? If so, please suggest how? MicrosoftGraph support…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,446 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,305 questions
asked 2024-08-12T09:21:45.5333333+00:00
Hanna M 0 Reputation points