23,114 questions with .NET-related tags

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

Razor View how to feed a list<string>

I have a model with a field [Required(ErrorMessage = "Spécifier les rôles souhaités pour le projet")] public List<string> Roles { get; set; } = new List<string>(); my Razor page display the field in the form The .cshtml code…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,021 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,964 questions
asked 2024-02-28T22:07:27.46+00:00
Boucourt 45 Reputation points
commented 2024-02-28T23:20:19.2166667+00:00
Boucourt 45 Reputation points
1 answer

System.Windows.Forms Version=8

I keep getting errors that the system is looking for Version 8 references. All I find are System.Windows.Forms.dll - version 4. How do I resolve this error? Should I change all the references to Version 4? In this folder - C:\Program…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,021 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,427 questions
asked 2024-02-28T19:23:17.04+00:00
Simon 206 Reputation points
answered 2024-02-28T22:02:04.0433333+00:00
Bruce (SqlWork.com) 52,591 Reputation points
0 answers

Login flow with shell

I have an App shell view model. public partial class AppShellViewModel(IAppService appService) : BaseViewModel { [ObservableProperty] User? user; [ObservableProperty] bool isCoordinator; [ObservableProperty] bool isStudent; …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,597 questions
asked 2024-02-28T21:32:13.65+00:00
Eduardo Gomez 3,216 Reputation points
1 answer One of the answers was accepted by the question author.

WinUI - MessageDialog in App.xaml.cs does not work

Before the MainWindow is created and called, the programme should establish a connection to the database and read data. In case of an error, a message should be displayed and the programme closed without the main window appearing. I have tried various…

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,633 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
695 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
744 questions
asked 2022-03-04T08:03:30.063+00:00
Andreas Mazatis 131 Reputation points
edited a comment 2024-02-28T21:10:12.1066667+00:00
Enrique Ballarin 0 Reputation points
1 answer

Difficult and unatural Pinch behavior in Maui

We have implemented the Pinch container as per the example for Maui. The pinch itself works pretty ok, but if you pinch and pan the actual behavior is quite clunky and horrible to be honest. It does not feel natural like native pinch/pan logic on the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,597 questions
asked 2024-02-28T18:11:40.5866667+00:00
Austin Oberholtzer 0 Reputation points
commented 2024-02-28T20:50:02.2666667+00:00
Austin Oberholtzer 0 Reputation points
0 answers

Shell navigation key error

White navigating, and selecting pages back and forth, I get this error An item with the same key has already been added. Key: 0 I do not understand it, I cheek the stack and I found this. at…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,597 questions
asked 2024-02-27T07:47:44.1533333+00:00
Eduardo Gomez 3,216 Reputation points
edited a comment 2024-02-28T20:31:48.09+00:00
Eduardo Gomez 3,216 Reputation points
12 answers

Not remembering source control plug-in (Git)

Since the last release, Visual Studio 2022 is not remembering the source control selection. Every time a project is opened, I must open the options dialog, go to Source Control, and select Git from the "current source control plug-in." Once I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,178 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,427 questions
asked 2023-09-06T18:51:27.7633333+00:00
Brad Knode 60 Reputation points
answered 2024-02-28T20:22:35.9766667+00:00
Leonard, Francis 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to remove outer border of the searchbar in MAUI

Need to hide the outer border.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,597 questions
asked 2023-06-02T04:42:21.4366667+00:00
Sowndarrajan Vijayaragavan 290 Reputation points
commented 2024-02-28T20:22:31.8833333+00:00
SSB 81 Reputation points
2 answers

Unable to update DOT NET Framework 4.7.2 from DOT NET Framework 4.6.2.

I am trying to update DOT net framework from DOT NET Framework 4.6.2. to 4.7.2 but I am unable to. I am getting the following error HRESULT 0x800f081e. This is on Windows server 2016. I need to install DOT NET Framework 4.7.2. In order to install SQL…

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,728 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,101 questions
asked 2024-02-01T15:39:50.19+00:00
Evrard 0 Reputation points
commented 2024-02-28T19:36:29.1066667+00:00
Evrard 0 Reputation points
0 answers

Error running iOS MAUI .NET 8.0

Hi, you advised that I should create a new thread for this issue. project /Users/agro-rodney/Desktop/THAN/Agronomix/GenovixApp/GenovixApp.csproj…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,597 questions
asked 2024-02-27T14:43:23.51+00:00
Huynh Than 20 Reputation points
edited a comment 2024-02-28T19:32:28.92+00:00
Huynh Than 20 Reputation points
0 answers

Incorrect assessment result for Develop an ASP.NET Core web app that consumes an API

I attempted the assessment and successfully completed all the tasks. I am very sure that my result is calculated incorrectly. The result says I failed to Interact with an API which does not make any sense as I would not be able to proceed to other…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,021 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
279 questions
asked 2023-11-10T18:01:12.33+00:00
Sheikh Saqib 20 Reputation points
commented 2024-02-28T18:39:58.1466667+00:00
Massimo Giambona 1 Reputation point
0 answers

"Error adding record: MissingEntitlement" when using secure storage

Hello, I use a mac m1, NET8 MAUI and vs code. I created a simple project. I use secure storage. I get this exception "Error adding record: MissingEntitlement" I checked, and I had this file under platforms/MacCatalyst I added this…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,597 questions
asked 2024-02-16T19:03:30.9+00:00
Roman Prystaiko 15 Reputation points
commented 2024-02-28T18:01:40.39+00:00
Roman Prystaiko 15 Reputation points
1 answer

SkiaSharp for maui could identify how many points were touched in parallel, in the TouchEnvet?

I using SKCanvasView as a custom control that allows to the user interact with an image, I would like to know if is possible to identify when the user touches to location In general, because the user wants to do a pinch.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,597 questions
asked 2024-02-27T19:47:54.87+00:00
Daniel Batista 0 Reputation points
commented 2024-02-28T17:43:48.05+00:00
Daniel Batista 0 Reputation points
0 answers

Azure function with HttpTrigger is not getting executed

Hello folks, after migrating my code to latest Azure Function with .NET 7 (isolated process), I am having an issue trying to call all of my azure functions with an http trigger. In the azure function console, I can see I am calling the right endpoint, as…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,012 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,178 questions
asked 2024-02-28T16:53:24.4533333+00:00
Stefania Grillo 20 Reputation points
1 answer

Why do we get this error "Reading the request body timed out due to data arriving too slowly. See MinRequestBodyDataRate." if we have not configured MinRequestBodyDataRate??

Our system utilizes ASP.NET Core 6.0.10 and HTTP/2. There is no specific configuration for the MinRequestBodyDataRate in our program, indicating that it likely uses the default value of 240 bytes per second. During our investigation, we have confirmed…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,021 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,181 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,787 questions
Azure ISV (Independent Software Vendors) and Startups
Azure ISV (Independent Software Vendors) and Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.ISV (Independent Software Vendors) and Startups: A Microsoft program that helps customers adopt Microsoft Cloud solutions and drive user adoption.
107 questions
asked 2023-06-15T06:38:03+00:00
Abhay B Abraham_FT 0 Reputation points
commented 2024-02-28T16:44:10.9533333+00:00
Gershon Gacs 0 Reputation points
2 answers One of the answers was accepted by the question author.

FIX REPATER HEADER WHILE SCROLLING AND EXPORT TO EXCEL

Hello This is my aspx page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default3" %> <html> <head runat="server"> <script…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,181 questions
asked 2024-02-26T11:09:28.23+00:00
RAVI 556 Reputation points
answered 2024-02-28T16:39:51.7666667+00:00
laab 0 Reputation points
0 answers

Localization in Blazor using bootstrap dropdown menu

I've seen tons of tutorials and blog posts but they all suggest a select control for changing a language. None of them explains how to implement localization using HREF. Could you give me at least hint or link, that would help me figure out how to change…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,021 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,321 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,181 questions
asked 2024-02-28T16:24:01.7966667+00:00
Kuler Master 221 Reputation points
1 answer

If XAMARIN support is ending, should we start with .net MAUI?

Hello I've just started learning mobile programming. In fact, I have asked two or three questions here before. While doing research on learn.microsoft.com a while ago, I came across a note like this. “Microsoft support for Xamarin for all Xamarin SDKs,…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,260 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,597 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,964 questions
asked 2024-02-28T09:33:20.29+00:00
fatih uyanık 60 Reputation points
answered 2024-02-28T16:09:27.26+00:00
Bruce (SqlWork.com) 52,591 Reputation points
0 answers

Blazor server looses connection in some browsers upon navigation between pages

When I navigate between pages on some browsers blazor gives error. "An error has occurred. This application may no longer respond until reloaded. Reload"

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,021 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,321 questions
asked 2024-02-28T05:20:27.65+00:00
Furqan 0 Reputation points
edited a comment 2024-02-28T16:02:25.5633333+00:00
AgaveJoe 25,761 Reputation points
1 answer

Customize BottomNavigationView in MAUI

I'm trying to customize the BottomNavigationView. I tried to access the BottomNavigationview by writing a TabbedPageHandler. The TabbedPageHandler returns the ViewPager2 control and there is no way to access the BottomNavigationView. Tried almost all…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,597 questions
asked 2022-10-09T21:31:58.973+00:00
Ravindranath, Varun (Cognizant) 1 Reputation point
commented 2024-02-28T16:00:36.5766667+00:00
Cristian Lopes 0 Reputation points