23,077 questions with .NET-related tags

Sort by: Updated
1 answer

how to create a display form in c#

how to create an interactive form in c#

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,631 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,946 questions
asked 2024-02-09T16:37:35.9566667+00:00
Len G 0 Reputation points
commented 2024-02-27T02:31:00.15+00:00
Hui Liu-MSFT 25,511 Reputation points Microsoft Vendor
2 answers

How to Avoid a RelayCommand Error

In a ViewModel for a wpf window I have the following command: Private ReadOnly Property _AddVehicle As New RelayCommand(AddressOf OnAddVehicle()) Public ReadOnly Property AddVehicle As RelayCommand Get Return _AddVehicle End Get End Property I am…

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,631 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,497 questions
asked 2024-02-11T23:35:24.8333333+00:00
RogerSchlueter-7899 1,156 Reputation points
commented 2024-02-27T02:30:05.47+00:00
Hui Liu-MSFT 25,511 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Why does my public string not change between windows in C# (.net 8) and WPF?

Hi, I am trying to make a note app, so I need to change a public string value between two windows but the string value does not persist across the windows. The strings that are not changing are in the 2nd .cs file, "string edit_File_Name",…

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,631 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,946 questions
asked 2024-02-26T01:35:43.9066667+00:00
T9 20 Reputation points
commented 2024-02-27T02:22:48.8933333+00:00
T9 20 Reputation points
0 answers

Develop Azure Functions using Visual Studio with examples targeting net8

The document Develop Azure Functions using Visual Studio https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/azure-functions/functions-develop-vs.md targets net6, is there a version that targets net8? The examples in the document have nullable…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,007 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,171 questions
asked 2024-02-26T10:01:30.8133333+00:00
OSMark 0 Reputation points
edited the question 2024-02-27T01:40:13.8233333+00:00
Anna Xiu-MSFT 23,146 Reputation points Microsoft Vendor
0 answers

Solutions for .NET Interop Issues involving Sensitivity Labels?

We have code that is supposed to create an Excel document via .NET Interop, then save this workbook. The problem is, starting with Office 365 Build 2312, the sensitivity label functionality has changed, seemingly to accommodate increased restriction on…

Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,178 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,171 questions
Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
859 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,303 questions
asked 2024-02-26T17:59:41.4833333+00:00
JK 0 Reputation points
edited the question 2024-02-27T01:20:23.98+00:00
Jiale Xue - MSFT 17,516 Reputation points Microsoft Vendor
1 answer

How can I use different table in asp dot net identity rather that identityUser table, what configuration need to be done in the dbconxtext, controller and program.cs file?

I am beginner in Asp dot net core and I want to use make login functionality in my project but don't have an idea on how to do it, so if you can help me it would be great.

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
575 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,012 questions
asked 2024-02-26T10:57:54.2766667+00:00
Anthony Poudel 0 Reputation points
edited the question 2024-02-27T01:17:39.37+00:00
Lan Huang-MSFT 22,996 Reputation points Microsoft Vendor
1 answer

Maui - close up with confirmations

Hi, I'm using .Net 8. I want when user will close the app he will get promp: If confirm it willl do this code otherwise close operation will be cancell ? How is can be done ? My current code: builder .UseTelerik() …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,584 questions
asked 2024-02-26T10:05:45.4433333+00:00
דני שטרית 2,226 Reputation points
answered 2024-02-27T01:10:22.27+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 64,011 Reputation points Microsoft Vendor
1 answer

Active X Error

We have a Web application that can generate Excel file. We trigger creating the Excel in the front-end and the services will take care of the Excel creation in the background. Sometimes, we encountered error related to Active X. And sometimes, we…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,171 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,175 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,272 questions
asked 2024-02-26T01:40:02.1+00:00
Louie 21 Reputation points
answered 2024-02-26T23:13:21.6833333+00:00
Bruce (SqlWork.com) 52,576 Reputation points
2 answers

Maps in .Net Maui

My question is simple, should I be using Google Maps or Azure Maps in my mobile app at this point? Also, where is the best documentation or video archive for adding a map to my "cross platform" application? Has anyone provided an example that…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,171 questions
Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
556 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,584 questions
asked 2024-02-26T18:47:51.5566667+00:00
Squires,Steven 0 Reputation points
edited an answer 2024-02-26T23:05:21.24+00:00
Bruce (SqlWork.com) 52,576 Reputation points
4 answers

Displaying Files of Unknown Types Stored in SQL Server Using C# WPF

I am developing a C# WPF application using .NET 6 in Visual Studio 2022, with a SQL Server 2008 R2 database. My database contains a table GRADE_CUST_GRP with a column GCPS of type image, where files of various types are stored without any file extension…

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,631 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,012 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,272 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,946 questions
asked 2024-02-25T12:17:45.5366667+00:00
Mojtaba_Hakim 281 Reputation points
answered 2024-02-26T22:59:45.59+00:00
Bruce (SqlWork.com) 52,576 Reputation points
1 answer

How to pass selected class ids and selected text to post generate button ?

I work on asp.net core razor page . i face issue i can't pass selected ids and selected text from checkboxes from action  so how to pass classIds from action OnGetSubAccountClassName to action post OnPostGenerateCount using hidden field when change event…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,012 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,175 questions
asked 2024-02-25T21:06:10.4733333+00:00
Ahmed Salah Abed Elaziz 390 Reputation points
commented 2024-02-26T21:23:20.5733333+00:00
AgaveJoe 25,761 Reputation points
1 answer

How receives push notification in Windows with MAUI

I'm creating an application using .NET8 MAUI. The application registers the device in an Azure Notification Hub. From here, I can send push notifications to the different devices. The problem I have with Windows is that the message arrives on the…

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.
243 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,584 questions
asked 2024-02-23T00:27:46.38+00:00
Enrico Rossini 126 Reputation points
commented 2024-02-26T21:15:40.8733333+00:00
Enrico Rossini 126 Reputation points
0 answers

issue with dynamic query

I am working with windows form(Infragistics grid) with ms sql what is my task : I want to store event related data in database see my below data strucuture: this is event_master -> master table SELECT * FROM dbo.EVENT_MASTER WHERE EVENT_ACTIVE =…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,800 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,272 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,946 questions
asked 2024-02-25T07:22:15.8933333+00:00
Rahul Patil 26 Reputation points
commented 2024-02-26T21:12:57.3566667+00:00
Erland Sommarskog 98,911 Reputation points
0 answers

set Appdomain timeout

I am developing a WPF app that executes code in a separate appdomain. I've noticed that the appdomain times out and terminates after 6 minutes. I do not want it to terminate until the main appdomain does, or until there is a call to the Unload method. I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,171 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,631 questions
asked 2024-02-25T20:51:14.7266667+00:00
Wally96333 61 Reputation points
edited a comment 2024-02-26T20:43:48.7733333+00:00
Wally96333 61 Reputation points
1 answer

.Net installation using Azure update manager

We are trying to get .Net updates installed using on-demand and schedule option in Azure update manager without any luck. we don't see .Net 6.0\7.0 update is required in the WindowsUpdateExtension.log we did created registry , added .NEt update KB in…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,494 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,171 questions
Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
187 questions
asked 2024-02-07T11:45:57.9+00:00
Prashanth Miryala 5 Reputation points Microsoft Vendor
commented 2024-02-26T20:12:37.09+00:00
Monalla-MSFT 9,681 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,413 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,584 questions
asked 2024-02-23T20:24:46.2266667+00:00
Lloyd Sheen 1,331 Reputation points
commented 2024-02-26T19:52:17.2133333+00:00
Lloyd Sheen 1,331 Reputation points
1 answer

Trying to understand ASP.NET 4.8 useability with visual studio 2022

Hello, I am a hobbyist who is still using visual web developer 2008 to create .aspx forms for my simple websites. My backend language of choice is VB. I realize that this approach is old school, but has been working for me. I am better with HTML, CSS,…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,175 questions
asked 2024-02-26T18:29:12.9766667+00:00
jeff from Baltimore 0 Reputation points
answered 2024-02-26T19:45:10.04+00:00
Albert Kallal 4,486 Reputation points
0 answers

CRL Cheking from .NET App in IIS proxy bypass

I have a commercial .NET app running in IIS (Win2022). The server does not have direct access to internet, only trough a proxy. Proxy is configured at all level netsh winhttp internet configuration http_proxy, https_proxy system variable (and user…

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,171 questions
asked 2024-02-26T18:44:53.1633333+00:00
Pierre Ayotte 0 Reputation points
2 answers One of the answers was accepted by the question author.

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,171 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,175 questions
asked 2024-02-24T03:50:39.54+00:00
Coreysan 1,586 Reputation points
commented 2024-02-26T17:09:19.45+00:00
Coreysan 1,586 Reputation points
1 answer

How to setup devops pipeline for xamarin.forms ios app to build with ios 17 and xcode 15

How to setup devops pipeline for xamarin.forms ios app to build with ios 17 and xcode 15

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,254 questions
asked 2024-02-23T09:37:28.5833333+00:00
Vinayak Nikam 0 Reputation points
answered 2024-02-26T17:00:40.76+00:00
Bruce (SqlWork.com) 52,576 Reputation points