26,825 questions with .NET-related tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

Does Autofac last version supported in maui 9 on mac

Hi, Does Autofac last version supported in maui net 9? ,thanks

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,887 questions
asked 2025-02-03T21:55:28.9666667+00:00
Dani_S 4,051 Reputation points
commented 2025-02-05T01:45:07.5766667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,031 Reputation points Microsoft Vendor
1 answer

Cursor pagination for query based full-text search

I need to implement cursor based pagination on an endpoint which accepts a search query. The problem is that since rows will be ranked based on a relevance score derived from a full-text search in natural language, IDs won't be sequential. Does anyone…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
776 questions
asked 2025-01-19T21:52:14.1133333+00:00
iKingNinja 100 Reputation points
commented 2025-02-05T01:44:43.87+00:00
Hongrui Yu-MSFT 4,280 Reputation points Microsoft Vendor
1 answer

Playing Video in WPF

Description : I have a WPF Project with one Main Window under main window multiple tab item each tab item i binded with user control(Separate xaml)In user control i tried to play one video using MediaElement control... Project Setup: Project that target…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,086 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,822 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,086 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,822 questions
asked 2025-01-21T05:57:40.91+00:00
Prasanth R A 5 Reputation points
commented 2025-02-05T01:43:13.35+00:00
Hongrui Yu-MSFT 4,280 Reputation points Microsoft Vendor
1 answer

Playing Video in WPF

Description : I have a WPF Project with one Main Window under main window multiple tab item each tab item i binded with user control(Separate xaml)In user control i tried to play one video using MediaElement control... Project Setup: Project that target…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,086 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,822 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,086 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,822 questions
asked 2025-01-21T05:57:40.91+00:00
Prasanth R A 5 Reputation points
commented 2025-02-05T01:43:13.35+00:00
Hongrui Yu-MSFT 4,280 Reputation points Microsoft Vendor
1 answer

How to Save a WPF DataGrid Back to Database after Editing

Hi, I am wondering if theirs a way to save a updated Line from WPF DataGrid back to Database . I don't Know the best way to do this without going back to WinForms Apps. I would like to use WPF, any help would be appreciated.

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,822 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,268 questions
asked 2025-01-22T21:17:16.64+00:00
Luke A'Court 0 Reputation points
commented 2025-02-05T01:41:46.26+00:00
Hongrui Yu-MSFT 4,280 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How can I show image in html markup and dynamic set size relative size of monitor ?

I work with ASP.NET MVC project. How can I show image in html markup and dynamic set size relative size of monitor ? I show image on web-page, but I have case when image size more then monitor size and I need use scroll so see image. I can fix trouble…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,588 questions
asked 2025-02-04T17:57:53.7933333+00:00
Alexander Kvitko 21 Reputation points
edited a comment 2025-02-05T01:33:45.39+00:00
Alexander Kvitko 21 Reputation points
1 answer

How to fix MyDell attempting to use EOL/Unsupported .NET 6

I am receiving Qualys vulnerabilities alerts due to assets having "EOL/Obsolete Software: Microsoft .Net Version 6 Detected" I removed .Net 6.0.36 from a test asset and resolved the vulnerability. After restarting my device, I receive the…

.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,190 questions
asked 2025-02-04T18:45:41.2533333+00:00
Tim A 20 Reputation points
edited the question 2025-02-05T01:21:50.39+00:00
Jiale Xue - MSFT 48,861 Reputation points Microsoft Vendor
3 answers

how to use .a file in .net ios?

I am using .net ios. what should I do next? I am not using xamarin.ios and maui. I am using .net ios.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,887 questions
asked 2024-06-29T08:38:12.6066667+00:00
mc 5,061 Reputation points
edited the question 2025-02-04T22:38:28.0733333+00:00
TP 102.2K Reputation points
3 answers

Cannot Pair To Mac Outside Local network

I'm trying to set up a mac mini in a remote location so that I can pair to mac in Visual Studio 2022. Everything works fine when I'm in that location and on the local network, but when I leave and try to connect via an ip address, I get a "Couldn't…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,376 questions
asked 2023-04-18T21:53:31.5166667+00:00
Eddie Hartman 0 Reputation points
commented 2025-02-04T22:35:41.3533333+00:00
Behzad 0 Reputation points
0 answers

how to reset page in .NET 9.0

Previously, we were resetting like this: void Reset() { (Application.Current as App).MainPage.Dispatcher.Dispatch(() => { (Application.Current as App).MainPage = new AppShell(); }); } How can we do the same thing in .NET 9.0,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,887 questions
asked 2025-02-04T12:35:19.4733333+00:00
Bhuwan 756 Reputation points
commented 2025-02-04T20:53:42.1166667+00:00
Md Shahin 0 Reputation points
0 answers

Get Default Display Settings stored in registry

Documentation for ChangeDisplaySettings says passing null DevMode and 0 flag will revert the monitor to the default setting stored in the registry settings. How to check what the current default setting stored in the registry is before the call?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,086 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,268 questions
asked 2025-02-04T19:05:09.29+00:00
Dave Cotton 41 Reputation points
commented 2025-02-04T20:37:28.5433333+00:00
David Lowndes 2,575 Reputation points MVP
2 answers

When running MAUI app in .net 9 in debug it works but without debugging is not

Hi, I moved from maui app in .NET 8 to .NET 9. The project build but n debug it works but without debugging the login page is not opened. I checked all nugets packages and moved to last. ================================ <ItemGroup> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,887 questions
asked 2025-02-02T06:29:57.61+00:00
Dani_S 4,051 Reputation points
commented 2025-02-04T19:37:05.6166667+00:00
Bruce (SqlWork.com) 70,686 Reputation points
2 answers One of the answers was accepted by the question author.

Handler "aspNetCore" has a bad module "AspNetCoreModuleV2" in its module list

I launched an app programmed in .NET Core 6 and React.js (with Vite.js) with Visual Studio, using the VS publish option and selecting the option Self-contained. This app uses the framework .NET 6. The computer where I programmed has installed several…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,769 questions
asked 2025-01-14T17:07:21.1266667+00:00
JDias 111 Reputation points
edited a comment 2025-02-04T19:13:57.8533333+00:00
JDias 111 Reputation points
2 answers

VSCode debug dotnet: You may only use the Microsoft Visual Studio .NET/C/C++ Debugger (vsdbg) ...

I downloaded the Visual Studio Code for Mac, and use it on my Mac. Created a dotnet project and try to debug it, but I got this error message and the debugger cannot start: You may only use the Microsoft Visual Studio .NET/C/C++ Debugger (vsdbg) with…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,086 questions
asked 2025-01-30T16:43:31.67+00:00
Endre 5 Reputation points
edited an answer 2025-02-04T17:18:05.54+00:00
Bruce (SqlWork.com) 70,686 Reputation points
0 answers

Getting AvailableBytes of memory and PercentIdleTime of CPU from a remote servers with error

I am creating an ASP.NET MVC web app to query a list of server resources like Disk Space, RAM and CPU using WMI classes. Everything worked as expected from my local development environment. All the queries are called using a user account with Admin…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,588 questions
asked 2025-01-31T14:27:44.1333333+00:00
Nguyen, David V 6 Reputation points
edited a comment 2025-02-04T17:01:36.94+00:00
Nguyen, David V 6 Reputation points
1 answer

Error "400 Bad Request - Request Header Or Cookie Too Large" in ASP.NET MVC Application with AzureAD Authentication

Hello, We are experiencing an issue with our ASP.NET MVC application that involves multiple iframes. Each iframe embeds the same application, which may be hosted on different domains. Authentication within each iframe is performed using AzureAD. When the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,769 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,100 questions
asked 2025-02-03T19:12:59.04+00:00
Lydia 0 Reputation points
commented 2025-02-04T16:58:23.91+00:00
Chaithra E 405 Reputation points Microsoft Vendor
1 answer

Microsoft.Extensions.Logging.Log4Net.AspNetCore supported in .net 9 ?

Hi, Does this pack supported in .Net 9 ? <PackageReference Include="Microsoft.Extensions.Logging.Log4Net.AspNetCore" Version="8.0.0" /> Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,887 questions
asked 2025-02-04T08:03:33.65+00:00
Dani_S 4,051 Reputation points
answered 2025-02-04T16:30:06.78+00:00
Bruce (SqlWork.com) 70,686 Reputation points
1 answer

Payload contains two or more files with the same destination path 'xxx.pdb' when publishing trying to create a MSIX package

Hello, I'm following these instructions: https://learn.microsoft.com/en-us/dotnet/maui/windows/setup?view=net-maui-9.0 I'd previously tried Geralds command line build but that failed and led me to the article above. I imagine its still pretty new but if…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,887 questions
asked 2025-01-31T21:54:57.5533333+00:00
Steven Roman 20 Reputation points
answered 2025-02-04T15:49:01.99+00:00
Steven Roman 20 Reputation points
1 answer

Attempting to register a 64-bit Enterprise Architect DLL with built-in windows

Hello, I am attempting to create a 64-bit DLL as an add-in for Enterprise Architect. However, in order to do what I need it to, I have to include some form of additional window. Is there any possible way to add in these extra windows in a way so that…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,922 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,268 questions
asked 2025-02-04T10:17:45.18+00:00
Alun Buss 0 Reputation points
commented 2025-02-04T15:35:56.39+00:00
RLWA32 46,761 Reputation points
2 answers

Unable to Post a Message to Teams Channel with Graph API Client + C#

Hi, We are trying to post a message to teams channel, with Channel.SendMessage delegated permissions. And here is the code snippet. var options = new OnBehalfOfCredentialOptions { AuthorityHost = AzureAuthorityHosts.AzurePublicCloud, ``` }; var…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,086 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,804 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,951 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,268 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,536 questions
asked 2025-01-24T13:18:50.09+00:00
edited an answer 2025-02-04T15:18:43.01+00:00
Techhelp Volunteer 0 Reputation points