23,043 questions with .NET-related tags

Sort by: Updated
0 answers

How to hide mouse cursor in MAUI on Windows

I want to hide the mouse cursor in a Maui application that will be used on touchscreens. The application host a webview ( Webview2 on windows) How can i achieve this?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,159 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,576 questions
asked 2024-02-24T20:57:52.68+00:00
Morten Tvedten 20 Reputation points
0 answers

A bug?? -> .NET 8 - the page 'error' in the new Blazor Web App (WebAssembly) redirects to 404

If you create the new Blazor Web App (WebAssembly) in .NET 8 you will see that structure: Now run application and open "/error" page, firstly you will see the error page: and then you will be redirected to 404 page: Is this a bug ??

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,314 questions
asked 2024-02-24T19:39:50.5733333+00:00
aleksw 1 Reputation point
commented 2024-02-24T20:18:06.7+00:00
AgaveJoe 25,686 Reputation points
2 answers One of the answers was accepted by the question author.

When debugging Blazor Server, Blazor WASM's invoke is jumping to Server side

I want to share the same data class between Blazor Server and Blazor WASM with the injection of DataSource in such a way that once registered for Server, it will use EntityFramework by DbContext, and once registered for WASM, it will use DbSet for remote…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,159 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,314 questions
asked 2024-02-23T20:18:14.7966667+00:00
Matěj Rada 0 Reputation points
edited an answer 2024-02-24T19:57:06.7333333+00:00
Rada Matěj 20 Reputation points
0 answers

Images don't persist in ColllectionView .

I have a Class in Model to save the Information about a document. The images are retrieved as streams in view model and are displayed in CollectionView .The problem is when Images are scrolled out of view and scrolled back in the images disappears. here…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,254 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.
9,936 questions
asked 2024-02-12T09:17:00.5633333+00:00
Asgar Ali 86 Reputation points
commented 2024-02-24T17:40:11.57+00:00
Asgar Ali 86 Reputation points
0 answers

Painful Abuse of Visual Studio IDE and Compiler Tools

Can someone please update this repo to .Net 7 or .Net 8: https://github.com/CommunityToolkit/Lottie-Windows I have been trying on and off now probably since November 2023. I spent a lot of time on something I consider to be trivial. Visual Studio output…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,159 questions
asked 2024-02-24T15:47:05.54+00:00
Jerry Richards 116 Reputation points
1 answer

How to deploy my app to Web App?

I have created a test .Net 6 app (open Visual Studio and create a standard web app and ran it). Next in Azure DevOps i set up my repository and alll looks the way i would expect it to. I would now like to deploy this app to a Azure Web App which should…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,002 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,498 questions
asked 2024-02-23T12:58:35.4233333+00:00
Keith Viking 20 Reputation points
commented 2024-02-24T14:40:11.4+00:00
Keith Viking 20 Reputation points
0 answers

.NET runtime error

Faulting Application: Install-GooglePlayGames-Beta (4).exe Framework Version: v4.0.30319 Explanation: The process was terminated due to an unhandled exception. Exception Information: System.ArithmeticException Exception Information:…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,159 questions
asked 2024-02-24T14:21:06.0066667+00:00
melih cantürk 0 Reputation points
8 answers One of the answers was accepted by the question author.

.NET Framework 4.8 on Windows Server 2019 - installation failes

I have tried the solutions in other questions regarding installation failures of .NET Framework 4.8, but nothing have helped me so far. The server is fully patched and rebooted. (Note! We use a WSUS but I do not know what updates are allowed or…

.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,101 questions
asked 2021-06-17T15:06:41.08+00:00
Kristofer 131 Reputation points
answered 2024-02-24T14:04:12.99+00:00
cb27 21 Reputation points
2 answers One of the answers was accepted by the question author.

How to get the real target of a shortcut?

I have a shortcut on the desktop, that opens Adobe Reader XI, in the following path: C:\Users\Heiko\Desktop\Adobe Reader XI.lnk In my app, I am trying to get the destinations of various shortcuts. However, with Adobe Reader XI, I only get an ico file as…

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,626 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.
9,936 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,441 questions
asked 2023-06-03T12:49:23.2366667+00:00
Heiko 1,191 Reputation points
edited a comment 2024-02-24T13:36:04.8833333+00:00
Heiko 1,191 Reputation points
2 answers

.NET8 MAUI and Azure Notifications Hub implementation

In my NET8 MAUI application, I'm trying to add push notifications using Azure Notification Hub. I can't find an updated example of how to configure and implement correctly the push notification for Windows, Android and iOS. Can you point me in the right…

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.
241 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,576 questions
asked 2024-02-03T10:33:24.31+00:00
Enrico Rossini 126 Reputation points
edited a comment 2024-02-24T12:02:30.0666667+00:00
Enrico Rossini 126 Reputation points
2 answers

multi filter to apply only two columns Field1 and Field2

Hello This is my code <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script> <link…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,169 questions
asked 2024-02-16T11:50:48.8733333+00:00
RAVI 536 Reputation points
answered 2024-02-24T11:42:22.3466667+00:00
RAVI 536 Reputation points
1 answer

How to Download Multiple Files using the Response Class

I have a classic ASP.Net app that downloads a file using the Response class: Response.Clear(); Response.ClearHeaders(); Response.ClearContent(); Response.AddHeader("Content-Disposition",…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,159 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,169 questions
asked 2024-02-24T03:50:39.54+00:00
Coreysan 1,566 Reputation points
answered 2024-02-24T11:16:52.8266667+00:00
AgaveJoe 25,686 Reputation points
6 answers

How to fix this error "warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for redirect."

Good evening , I am trying to build a simple web api using ASP.Net . The app has been showing the error like this after building it - warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,002 questions
asked 2023-06-03T08:29:57.58+00:00
Vaishnavi P 25 Reputation points
commented 2024-02-24T05:37:57.7533333+00:00
Sakesun Roykiattisak 0 Reputation points
0 answers

use odata v3 only in asp.net core

For my ASP.Net Core WEB API endpoints, I only want to use ODataV3 instead of ODataV4 how can I make that possible or enforce it, because client is sending data V3 format to the server. Please don't ask me to update the client because it is also accessing…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,002 questions
asked 2024-02-05T12:38:03.8433333+00:00
Muhammad Adeel Siddiqui 0 Reputation points
commented 2024-02-23T22:50:23.5066667+00:00
Bruce (SqlWork.com) 52,491 Reputation points
2 answers

http error 400. the size of the request headers is too long

Hi, I have a .net core mvc project and have used the SetIdentity for user roles and logins. Since last week, I am facing the error "http error 400. the size of the request headers is too long", the moment my application runs. I am not able…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,002 questions
asked 2022-03-28T06:04:11.187+00:00
Pathak, Vineet (SE IT GDC PR-G) 1 Reputation point
commented 2024-02-23T22:17:15.8333333+00:00
McNulty 0 Reputation points
1 answer One of the answers was accepted by the question author.

FilePicker on MacOs (MacCatalyst) does not return picked file.

Hi, I am having the exact same issues explained in https://github.com/dotnet/maui/issues/11088 . Dotnet workloads on development machine (Windows); Installed Workload Id Manifest Version Installation Source …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,576 questions
asked 2024-02-19T22:50:50.31+00:00
Onur Büyükçağlar 20 Reputation points
accepted 2024-02-23T22:15:50.9566667+00:00
Onur Büyükçağlar 20 Reputation points
3 answers One of the answers was accepted by the question author.

PMC EF commands error: Unrecognized command or argument 'C#'

In Visual Studio's Package Manager Console (V 6.6.0.61), the command get-migrations, and other Entity Framework commands, output: Specify --help for a list of available options and commands. Unrecognized command or argument 'C#' I have successfully run…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,159 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,169 questions
asked 2023-08-16T14:19:06.76+00:00
Nnr 30 Reputation points
edited an answer 2024-02-23T22:04:22.36+00:00
Mike 0 Reputation points
0 answers

How to prevent any form resizing in VS2022 Windows Forms?

Okay, I have been working on a Wizard based VSIX installing templates into VS2022 for my place of employment. They are typically simple forms, that utilize a variety of controls - many of them customized. The latest updated (17.9) for VS2022 affected…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,798 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,403 questions
asked 2024-02-23T04:53:41.0333333+00:00
Jaeden Ruiner 126 Reputation points
commented 2024-02-23T20:49:39.4666667+00:00
Jaeden Ruiner 126 Reputation points
1 answer One of the answers was accepted by the question author.

Upgrade Azure function from .net 6 isolated to .net 8 isolated

Is there anything specific I need to do to the Azure Function App in the portal to upgrade the function from .net 6 isolated to .net 8 isolated? I have already updated the project file to target the net8.0 framework.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,998 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,159 questions
asked 2024-02-22T15:01:34.11+00:00
David Boss 20 Reputation points
accepted 2024-02-23T20:41:30.83+00:00
David Boss 20 Reputation points
0 answers

Why does class view think everything is an inherited class

I recently did the reset of Visual Studio setting. For the last few days I have been restoring what it got rid of (it did fix the problems I was having with the debugger) and now I find something that I would like an explanation of. When I go to Class…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,403 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,576 questions
asked 2024-02-23T20:24:46.2266667+00:00
Lloyd Sheen 1,331 Reputation points