24,375 questions with .NET-related tags

Sort by: Updated
1 answer

How can I save the original state of my Model and its XAML bindings in C# in a Variable?

I need to save the original state of my viewmodel and XAML bindings in C# when a View is originally loaded, so that I can revert back to the original Model property values if the user chooses to cancel their changes. I attempted to use the code below,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,018 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,424 questions
asked 2024-06-03T21:06:41.3733333+00:00
Tom Meier 140 Reputation points
answered 2024-06-03T21:22:27.6833333+00:00
Michael Taylor 49,261 Reputation points
0 answers

Register close button in mac

Hi, In window i did, how to do it in mac ? builder .UseMauiApp<App>() .ConfigureLifecycleEvents(events => { #if WINDOWS events.AddWindows(windowsLifecycleBuilder…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,018 questions
asked 2024-06-02T07:04:04.6633333+00:00
Dani_S 2,946 Reputation points
commented 2024-06-03T20:34:02.3166667+00:00
Bruce (SqlWork.com) 58,761 Reputation points
1 answer

Helper folders in MAC

Hi, I need for my app in mac some helpers folders to : 1.for log file 2.for dwnload files .... where to put them ? I nee absoulth path for them to read from code of mac app. Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,018 questions
asked 2024-05-30T11:52:15.06+00:00
Dani_S 2,946 Reputation points
edited a comment 2024-06-03T20:28:38.4133333+00:00
Bruce (SqlWork.com) 58,761 Reputation points
2 answers

Blazor HeadContent

I have some Open Graph meta tags that I add within the HeadContent. The problem is that I must add all those tags on every page. <HeadContent> <meta name="description" content="@metaDescription" /> <meta…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,260 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,438 questions
asked 2024-06-03T17:10:50.0233333+00:00
Kuler Master 246 Reputation points
answered 2024-06-03T19:58:43.87+00:00
Lightroom MOD APK 0 Reputation points
0 answers

How to maintain file upload values in session while editing and updating Gridview

Hi @Anonymous , we have discussed a lot about the file upload and we were maintaining the upload file using session in gridview footer and emptydata template. i want the same logic have to be implement for gridview editing and updating. Below is my…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,333 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,424 questions
asked 2024-06-03T19:51:45.72+00:00
Gani_tpt 1,826 Reputation points
2 answers One of the answers was accepted by the question author.

How to detect Windows dark mode

In the Windows settings, dark mode is enabled for Windows and light mode is enabled for applications. The following keys are missing from the registry: HKCU\Microsoft\Windows\CurrentVersion\Themes\Personalize. …

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,690 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,455 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,424 questions
asked 2022-01-29T15:53:59.047+00:00
Heiko 1,216 Reputation points
commented 2024-06-03T19:50:07.46+00:00
Jannet Puckett 0 Reputation points
0 answers

When using AutoML for training a Win32Exception arises indicating that the wait operation timed out after 30 seconds

CPU: i7-12800h (14 cores, Total Threads: 20) RAM: 32 GB SSD: Samsung 980 Pro, 2 TB Windows Server 2019 Datacenter Evaluation NET Framework: 4.8 Microsoft.ML: 3.0.1 Microsoft.ML.AutoML: 0.21.1 Issue: When I start to train a model using AutoML, I get…

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,960 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,424 questions
.NET Machine learning
.NET Machine learning
.NET: Microsoft Technologies based on the .NET software framework.Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
151 questions
asked 2024-06-03T18:31:48.42+00:00
Andreas ss 726 Reputation points
1 answer

How to use OCR Google cloud vision

I got this error Grpc.Core.RpcException HResult=0x80131500 Message=Status(StatusCode="Internal", Detail="Received RST_STREAM with error code 2", DebugException="Grpc.Core.Internal.CoreErrorDetailException:…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 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,730 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,615 questions
asked 2024-06-03T17:25:55.55+00:00
Mansour_Dalir 1,676 Reputation points
answered 2024-06-03T18:17:40.8466667+00:00
Olaf Helper 41,886 Reputation points
3 answers

REST interface, server for GET,PUT,POST,DELETE

Hello, My goal is to control a Rest Server from a WPF C# desktop app. Get, Push, Pop, Delete should be tested. The server does not require extensive logic, only test data. Later, the customer REST server is connected. How can I achieve this? How should I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,260 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,333 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,424 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.
308 questions
asked 2024-05-23T17:15:44.0466667+00:00
Noah Aas 260 Reputation points
edited a comment 2024-06-03T18:17:02.2333333+00:00
AgaveJoe 26,266 Reputation points
0 answers

Issue Connecting With An Azure SQL Database from .NET WinForms Application

I'm having an issue connecting to an Azure SQL database from a WinForms application after it has been packaged using InstallShield. The database exists on a virtual network and I'm using a virtual network gateway point-to-site connection. The database is…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
Azure SQL Database
asked 2024-05-22T16:37:29.1633333+00:00
Tom 1 Reputation point
commented 2024-06-03T18:11:31.2133333+00:00
Oury Ba-MSFT 16,906 Reputation points Microsoft Employee
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,485 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,730 questions
asked 2023-09-06T18:51:27.7633333+00:00
Brad Knode 60 Reputation points
edited a comment 2024-06-03T17:30:13.0833333+00:00
Jeff Blumenthal 0 Reputation points
0 answers

How to use SystemWebAdapter SessionClient to share only registered keys and ignore the others

I am learning how to migrate a large .net framework application to .net core and am happy with the tooling provided by SystemWebAdapters and RemoteAppClient. The framework application uses session state extensively and it looks like the default behaviour…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,485 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,260 questions
asked 2024-05-15T08:37:39.3666667+00:00
Rob de Bruin 0 Reputation points
commented 2024-06-03T17:12:38.72+00:00
Kyle Fuller 0 Reputation points
1 answer

How to get a teams of developers setup for Co-Pilot for Visual Studio?

Where I work, all the developers have Visual Studio "GitHub Enterprise" licenses attached to our Microsoft accounts. We recently asked the higher ups if we could start a Co-Pilot for Visual Studio co-pilot. We did some standard security reviews…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,485 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,730 questions
Microsoft Copilot
Microsoft Copilot
Microsoft terminology for a universal copilot interface.
155 questions
asked 2024-06-03T14:22:49.1066667+00:00
John 0 Reputation points
commented 2024-06-03T17:06:19.16+00:00
John 0 Reputation points
1 answer One of the answers was accepted by the question author.

I want to verify that we're using the correct settings in IIS Application Pool

We're beginning to get away from the old .NET Frameworks, and start using .NET Core for our ASP.NET Core web applications. I've got an ASP.NET Core app written using .NET 6 in IIS 10 on a Windows 2019 Server. I've configured an application pool that for…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,260 questions
asked 2024-06-03T15:25:03.68+00:00
Falanga, Rod, DOH 80 Reputation points
accepted 2024-06-03T16:55:58.4433333+00:00
Falanga, Rod, DOH 80 Reputation points
0 answers

403 Forbidden Error When Running SSRS Reports from Azure Web App within VNet

Hello everyone, I’m facing an issue with accessing SSRS reports hosted on a virtual machine from an Azure Web App with the database on a separate managed instance and the SSRS on a VM with access done via  URL. Here’s the situation: The reports execute…

Azure SQL Database
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,319 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,485 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,079 questions
asked 2024-05-28T00:13:24.8333333+00:00
Chris Boyce 20 Reputation points
commented 2024-06-03T16:48:22.2366667+00:00
Chris Boyce 20 Reputation points
0 answers

pdb file was not present when IL code was compiled to native in vs2022

I have installed 3 new nugets to my project. After installing everything works fine in Android and ios (in release and debug modes). But in Xamarin.Forms.UWP (debug mode is fine). In release mode getting the below exception.. myproject.pdb contains the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,307 questions
Universal Windows Platform (UWP)
asked 2024-06-03T16:02:16.8133333+00:00
Sk 61 Reputation points
1 answer

MAUI: The CollectionView items collide with each other when scrolling

When I try to scroll top to bottom at that time, the CollectionView items collide on the iOS platform, but it works fine on the Android platform. Below, I am adding a screenshot and Screen record of this issue. Screenshot: Screen Record: screen record…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,018 questions
asked 2024-04-29T14:07:42.5733333+00:00
Sreejith Sreenivasan 731 Reputation points
commented 2024-06-03T15:39:25.1866667+00:00
Aleena George 25 Reputation points
0 answers

Databricks Simba Spark ODBC .NET8 C# Driver Parameters in SQL Queries

Hello, I'm using Simba ODBC driver v2.8.0 in order to query data from my azure databrick sql warehouse into a .net 8 Asp.net Api App. The ODBC driver works fine using plain text query but i need to parametrize the query. Searching around I found that it…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,260 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
1,989 questions
asked 2024-06-03T15:30:12.4666667+00:00
Luigi Navarra 0 Reputation points
0 answers

IIS 10.0 will not allow an application pool identity to be set to a valid service account on .NET482. How do I fix this?

I have a series of production websites that are currently running 4.6 with IIS 10. I can set the application pool identity to an internal service account. I can also set WCF services to that service account. On my development and test servers, which…

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,485 questions
asked 2024-06-03T14:57:44.9033333+00:00
Timothy Dooling 25 Reputation points
commented 2024-06-03T15:15:37.69+00:00
MotoX80 32,331 Reputation points
0 answers

Creating Excel with EPPlus: Set Column Widths in Pixels and Add Logo

Hello Friends; I have a question for you, I want to pull the data according to id and process it with excell, I even want to add a logo but I couldn't do it somehow, the thing is that I actually want to give the size to the columns and add a logo, but…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,260 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,333 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,559 questions
asked 2024-06-03T15:08:17.0233333+00:00
kadir 60 Reputation points