23,944 questions with .NET-related tags

Sort by: Updated
0 answers

Adding command to code behinad

Hi, I have main page and i want to add i used code behaind dor all the menu. I want to add EulaCommand , how is done ? Please provide code, i'm using net 8, vs 17.8.4 `<Label Text="EULA" HorizontalOptions="Start"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-05-01T12:48:31.42+00:00
Dani_S 2,726 Reputation points
commented 2024-05-01T16:20:56.2466667+00:00
Lloyd Sheen 1,381 Reputation points
4 answers

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
.NET
Microsoft Technologies based on the .NET software framework.
3,387 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-04-18T08:06:36.18+00:00
Dani_S 2,726 Reputation points
edited a comment 2024-05-01T16:02:01.7033333+00:00
Dani_S 2,726 Reputation points
0 answers

.NET MAUI Community Toolkit Popup page is breaking

I am using the .NET Community toolkit for the Popup page. When we try to load the popup page the entire UI is breaking on iOS platform but it is working fine on Android platform. On the popup page I am using listView. Screenshot: I am using below codes…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-04-29T14:15:29.71+00:00
Sreejith Sreenivasan 691 Reputation points
commented 2024-05-01T16:00:21.3233333+00:00
Aleena George 20 Reputation points
0 answers

MAUI: Background color is not updating when changing the mode (iOS)

When changing the mode I am updating the background color and text color of the UI via code. It was working fine on Android side but when I check it on iOS, the Listview background color is not updating properly. Expected Output of light and dark mode is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-04-29T13:42:50.5933333+00:00
Sreejith Sreenivasan 691 Reputation points
commented 2024-05-01T15:53:25.6866667+00:00
Aleena George 20 Reputation points
2 answers

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,888 questions
asked 2024-04-17T13:38:10.5+00:00
Lloyd Sheen 1,381 Reputation points
commented 2024-05-01T15:13:02.1433333+00:00
Fernando Angelieri 0 Reputation points
0 answers

The type Prism not found in MAUI (prism.form dll not found in MAUI)

public partial class App { private static readonly string StartPage = DebugAppConfig.StartupPage; public App(IPlatformInitializer initializer = null) : base(initializer) { } private Maybe<Uri> LaunchUri { get; set; } =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-05-01T15:07:58.3333333+00:00
Debasis Patra 0 Reputation points
1 answer

Updating app service from .NET 6 to 8

I'm trying to update my asp.net core backend from .NET 6 to 8. I've updated the target framework for the projects, changed the docker images to version 8, and updated the exposed ports. It runs as expected locally. (In the past month, I've updated a…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,387 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,178 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,900 questions
asked 2024-04-30T20:53:38.6433333+00:00
Rebekah Williams 0 Reputation points
commented 2024-05-01T14:51:45.8433333+00:00
Rebekah Williams 0 Reputation points
1 answer

What is the difference between AddHttpClientInstrumentation and AddAspNetCoreInstrumentation

In Asp.net core, to provide auto trace instrumentation, we can do the followings. services.AddOpenTelemetryTracing(providerBuilder => { providerBuilder …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,178 questions
asked 2022-09-16T22:57:23.02+00:00
andrew choi 1 Reputation point
answered 2024-05-01T14:34:25.1066667+00:00
Liam Bao 0 Reputation points
1 answer One of the answers was accepted by the question author.

RibbobBar hiding with multiple mouse clicks

Our application has a RibbonBar containing several tabs. In it we have disabled the ability to shrink the ribbon bar by double clicking on the tab headers by intercepting the PreviewMouseDoubleClick event and marking it as handled. This works fine for a…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,387 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,675 questions
asked 2024-05-01T09:48:25.9+00:00
Mike Charlesworth 0 Reputation points
accepted 2024-05-01T12:48:40.5533333+00:00
Mike Charlesworth 0 Reputation points
5 answers

Error: 'Package restore failed rolling back package change for' while running Scaffold-Dbcontext in Entity Framework Core 7.0.14

Hello, I'm working on a project using .NET Core 7 and encountering an issue when running Scaffold-DbContext with Entity Framework 7.0.14. The error message I'm getting is "there was an error running the selected code generator package restore failed…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
696 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,178 questions
asked 2023-12-19T20:12:20.84+00:00
UMUT CAN 5 Reputation points
answered 2024-05-01T12:35:50.3466667+00:00
Ian Hewitt 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to add to "GraphicsView" class with “DrawableProperty" in dotnet maui

Hello! I trying drawing of the circle in center which is touched in the "GraphicsView" control. And I thought the one of the important points is how to add "GraphicsView" class with "DrawableProperty" in dotnet Maui. Please…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 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,266 questions
asked 2024-04-27T01:29:11.7533333+00:00
康二郎 井上 20 Reputation points
commented 2024-05-01T12:10:47.95+00:00
康二郎 井上 20 Reputation points
3 answers

how to solve the error "Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - La chaîne de certificats a été"

Hi I try to connect my asp.net core api to a sql server database I encounter an error like: "Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,178 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,742 questions
asked 2023-05-23T09:49:55.54+00:00
Marnelle M'BENGUET 20 Reputation points
commented 2024-05-01T12:05:12.3466667+00:00
abofazl jalil 0 Reputation points
2 answers

Debug profile does not exist - How to get it?

I am new to Visual Studio 2019 and am attempting to make a data input application using a Windows Form App. I keep getting an error that won't let my app launch saying that "The debug executable {file path to where the debug executable should…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,830 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
942 questions
asked 2022-02-24T22:16:47.297+00:00
Justin Cooley 6 Reputation points
commented 2024-05-01T11:40:49.7966667+00:00
abofazl jalil 0 Reputation points
0 answers

how to fix this?

Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference.…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,617 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,122 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
93 questions
asked 2024-05-01T10:26:25.1133333+00:00
XareXD 0 Reputation points
2 answers One of the answers was accepted by the question author.

Add Items to List Randomly

I am fetching 50 questions from Api https://supaquizapi.azurewebsites.net/api/Questions Loading into list and deleting 40 questions randomly. Now I just to add 10 questions randomly to Questions List<InQuestion> res = await GetApiData(); …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,178 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,266 questions
asked 2024-04-30T08:09:59.47+00:00
Maui Learner 440 Reputation points
accepted 2024-05-01T10:16:55.2566667+00:00
Maui Learner 440 Reputation points
0 answers

Asp.net MVC renders 2 "form action" statements for the same form when in responsive mode

ASP.Net MVC VS 2022 Windows 11 App runs fine in desktop mode. This line: <@using (@Html.BeginForm("SubmitForm", "Home", FormMethod.Post, new { id = "subform", verify = "Y" }))> is generated correctly…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,263 questions
asked 2024-04-29T18:06:54.7466667+00:00
Jean Vallee 21 Reputation points
commented 2024-05-01T09:17:14.9266667+00:00
Lan Huang-MSFT 25,556 Reputation points Microsoft Vendor
0 answers

ASP.NET button control not able to make disabling in panel control using c#

i am trying to make disable button controls through panels. In the panel, i am using textbox, label, fileupload,gridview and button controls. i am able to disable only textbox, label and gridview. but, i am unable to make disable fileupload and button…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,263 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,266 questions
asked 2024-04-30T18:21:01.5633333+00:00
Gani_tpt 1,546 Reputation points
commented 2024-05-01T08:43:04.82+00:00
Lan Huang-MSFT 25,556 Reputation points Microsoft Vendor
0 answers

Editor is vanish when I move to full screen

Hi, When I resize the page to full screen the editor cotent disappered? why? Thanks, <ScrollView x:Name="scrollView"> <Editor x:Name="editor" IsReadOnly="False" AutoSize="TextChanges"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-04-30T06:58:54.0366667+00:00
Dani_S 2,726 Reputation points
commented 2024-05-01T08:34:17.2266667+00:00
Dani_S 2,726 Reputation points
0 answers

WPF Select All Checkbox in a DataGrid DataBinding (Using Xampp, SQLYog, ODBC Driver)

Hi! Everyone I have been searching and integrating all checkbox multiselect from the answers I found online, and I l learnt so much, whether they use MVVM Light tollkit and Non-MVVM approach. All of them runs in different way but all are fulfilled 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,675 questions
asked 2024-04-30T06:36:42.5033333+00:00
Superbia15 0 Reputation points
commented 2024-05-01T08:22:12+00:00
Hui Liu-MSFT 38,331 Reputation points Microsoft Vendor
1 answer

How to visit the views of carouselview different item ?

webview will display embed youtube video I need user webview.EvaluateJavaScriptAsync to control the video. Then, how can i visit the webview of different items ? <CarouselView Grid.Row="2" x:Name="cView"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-04-29T07:10:20.56+00:00
Fei Xu 490 Reputation points
answered 2024-05-01T08:12:35.9666667+00:00
Digital Iflextech 0 Reputation points