26,612 questions with .NET-related tags

Sort by: Updated
1 answer

VS 2019 always crashes whenever I try to open this one solution

I am tasked with maintaining an old VB.NET ASP.NET WebForms application. It has 9 projects within the solution. It is at least 15 years old, which is longer than I have been employed in this position. None of the original developers are around. They left…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,561 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,764 questions
asked 2025-01-10T20:34:16.4966667+00:00
Falanga, Rod, DOH 260 Reputation points
commented 2025-01-13T21:29:18.9266667+00:00
Michael Taylor 55,921 Reputation points
1 answer

Windows Surface Laptop 7 (ARM) - VS 2022 17.12.3 - MAUI - Hot Restart iOS - Object reference not set to an instance of an object.

Hello - going a bit kookoo here. Working on a MAUI app, not updated to 9 yet. It debugs, builds and can push to test group in Google Play Store. I'll preface all this next bit with this... I was not able to test at all on a physical usb connected iOS…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,343 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,808 questions
asked 2024-12-23T03:48:52.1833333+00:00
Christopher Meehan 0 Reputation points
edited a comment 2025-01-13T20:52:05.29+00:00
John Carroll 0 Reputation points
0 answers

Options for connecting public api with on-premise API

Hi, I have question on connecting my Primary API to Secondary API in on-premise network. Currently, Both the Primary and Secondary API are hosted in on-premise network. I want to host the Primary API on Azure so that it can be publicly accessible to…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,252 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,311 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.
363 questions
asked 2025-01-13T20:20:06.23+00:00
Jeff green 1 Reputation point
0 answers

Issue with Azure AD B2C Custom Policy: "Basic credentials specified for 'REST-fetchUserProfile-APAC' are invalid

Description I am working on an Azure AD B2C custom policy for the Global Identity Framework, designed to support traveling user sign-ins across multiple regions. This setup involves two major components Right now im only working on region tenant…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,731 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.
363 questions
asked 2025-01-13T02:44:31.7266667+00:00
Ray Garg 20 Reputation points
edited a comment 2025-01-13T18:54:43.6666667+00:00
Ray Garg 20 Reputation points
0 answers

Requirements to register and authenticate a .NET desktop app in M365

Hi, all. I have a .NET desktop application (C# + WPF) which is to be registered in Microsoft Store and made available via subscription. Part of the process is clear, such as having authentication via MSAL (which I understand as having the user…

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
5,468 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,038 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,828 questions
asked 2025-01-13T17:49:26.8733333+00:00
Saulo Silva 0 Reputation points
1 answer

iOS app crash in release mode

My iOS app crashes after installation on a device through distribution, but it works fine in debug mode. How can I check why my app crashes after installation on an iPhone? I am using the latest .NET 9.0.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,808 questions
asked 2025-01-06T12:49:26.2766667+00:00
Bhuwan 736 Reputation points
answered 2025-01-13T17:27:47.24+00:00
Bruce (SqlWork.com) 69,196 Reputation points
1 answer

Burn Selected Folders/Files in CD-Rom

Hi, I have treeview of drive/folders + files as you see . While pressing on copy command I copied the selected files to temp folder. I want code that will burn this files with all folder structure not only the files to CD-ROM. Can you please supply all…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,808 questions
asked 2025-01-05T12:14:51.6766667+00:00
Dani_S 3,911 Reputation points
commented 2025-01-13T17:24:42.2233333+00:00
Dani_S 3,911 Reputation points
1 answer

Best practice for canceling an MVC Order

I have a store that will not require logging in. A customer can order as a guest, and fill in their shipping details, etc. (Payment is Paypal. ) If a customer cancels Paypal and disconnects, I would remove their data, but exactly how would I know they…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,038 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,731 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,038 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,731 questions
asked 2025-01-13T00:06:40.7166667+00:00
Coreysan 1,786 Reputation points
answered 2025-01-13T17:16:02.57+00:00
Bruce (SqlWork.com) 69,196 Reputation points
1 answer

Best practice for canceling an MVC Order

I have a store that will not require logging in. A customer can order as a guest, and fill in their shipping details, etc. (Payment is Paypal. ) If a customer cancels Paypal and disconnects, I would remove their data, but exactly how would I know they…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,038 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,731 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,038 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,731 questions
asked 2025-01-13T00:06:40.7166667+00:00
Coreysan 1,786 Reputation points
answered 2025-01-13T17:16:02.57+00:00
Bruce (SqlWork.com) 69,196 Reputation points
1 answer

Looking for a sample or tutorial for the new OData bits

I want to write an Odata 4 compliant C# isolated mode serverless function endpoint. I am confused by the recent announcements here about ASP.NET Core OData 9 and OData .NET 8 - which should use? Are there any tutorials or samples for this? All I can find…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,038 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,731 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,038 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,731 questions
asked 2025-01-01T10:00:20.58+00:00
Gil Shalit 6 Reputation points
commented 2025-01-13T17:11:01.9333333+00:00
Gil Shalit 6 Reputation points
1 answer

Looking for a sample or tutorial for the new OData bits

I want to write an Odata 4 compliant C# isolated mode serverless function endpoint. I am confused by the recent announcements here about ASP.NET Core OData 9 and OData .NET 8 - which should use? Are there any tutorials or samples for this? All I can find…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,038 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,731 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,038 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,731 questions
asked 2025-01-01T10:00:20.58+00:00
Gil Shalit 6 Reputation points
commented 2025-01-13T17:11:01.9333333+00:00
Gil Shalit 6 Reputation points
2 answers One of the answers was accepted by the question author.

Clarifying the Differences Between SDKs, Workloads, and NuGets in .NET

Could someone explain the differences between .NET SDK, .NET Workloads, and the MAUI NuGets and how they are related to each other? Although I understand SDKs and NuGets, I fail to grasp the purpose of workloads. When am I supposed to update each one? If…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,808 questions
asked 2024-06-26T08:15:48.8966667+00:00
Mirinimp 25 Reputation points
commented 2025-01-13T16:04:49.71+00:00
MPR 1 Reputation point
1 answer

Tutorial: Store data at the edge with SQL Server databases

Hi, I have a question about this tutorial. I wonder is there any changed in the coding? I followed the instructions but I couldn't received data in sql. I found out that System.Data.SqlClient already depreciated. So I have change it to…

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
584 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,038 questions
asked 2025-01-13T08:34:50.4833333+00:00
LinkOne-Face Zhang-張東勝 0 Reputation points
answered 2025-01-13T15:09:30.93+00:00
Sander van de Velde | MVP 34,201 Reputation points MVP
2 answers One of the answers was accepted by the question author.

How do I update DBContext after adding new table to SQL database?

We added a new table to our SQL Server database called Occupation. From the ASP.NET Web Form project, I can not seem to access it. Imports System.Data.Entity Public Class CCDBContext Inherits DbContext Public Sub New() …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,561 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,764 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,675 questions
asked 2025-01-11T17:50:11.4366667+00:00
Joe Pool (Heartland) 20 Reputation points
commented 2025-01-13T14:35:25.85+00:00
Joe Pool (Heartland) 20 Reputation points
2 answers One of the answers was accepted by the question author.

NET MAUI Splash Screen Not Displaying logo.png on Android 14 and 15

I am developing a .NET MAUI application and facing an issue with the splash screen when installing the app on physical devices running Android 14 and 15. The splash screen only displays the purple background, but the logo.png image (with a white…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,808 questions
asked 2025-01-08T10:00:35.2966667+00:00
Omkar Pawar 60 Reputation points
commented 2025-01-13T13:41:14.45+00:00
Omkar Pawar 60 Reputation points
1 answer

windows.opener() handling with WebView2

In the webform, I have used window.opener for opening a new window that acted as a dialog which required user input, and needed to pass information back to the main window. I am trying to embed this in winform using WebView2 control.The…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,918 questions
Universal Windows Platform (UWP)
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.
11,189 questions
asked 2025-01-13T06:37:06.7133333+00:00
Neha 20 Reputation points
commented 2025-01-13T10:52:18.6233333+00:00
Neha 20 Reputation points
5 answers One of the answers was accepted by the question author.

How To Post Question On social.msdn.microsoft.com?

I am trying to post on social.msdn.microsoft.com but every time I click on ask question it redirects me to learn.microsoft.com. Please help.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,918 questions
asked 2021-04-08T13:48:49.163+00:00
feddea cbrolleru 26 Reputation points
edited the question 2025-01-13T10:46:32.96+00:00
TP 101.3K Reputation points
1 answer

What is alternative of App center as it is going to deprecate by March 31, 2025?

I am using App Center Analytics, App Center Crashlytics, and App Center Distribution for my .NET MAUI application. Are there any alternative options available for all three of these services? If so, which ones are considered good alternatives? App…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,808 questions
asked 2024-12-24T10:35:22.9566667+00:00
Shingala A 25 Reputation points
commented 2025-01-13T10:32:58.9933333+00:00
Kim Strasser 1,201 Reputation points
1 answer

Concern About Windows 24H2 Issue

Sir, I have some questions about this iso'sWindowss 11 Iot loss, Windows Server 2022 and Windows Server 2025(24H2) Which one isn't any issue at this moment? How can I make multiple iso bootable pendrive without any other software?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,918 questions
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.
5,703 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,539 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,881 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,417 questions
asked 2025-01-13T07:44:33.7666667+00:00
Officer Radif 0 Reputation points
answered 2025-01-13T10:16:45.7033333+00:00
Tasadduq Burney 8,681 Reputation points MVP
0 answers

How to Design Validation, Error Management, and Message Service in a Layered Architecture for a WPF Project?

Hello I am working on a WPF application using the MVVM pattern and performing validations through a centralized ValidationService that leverages FluentValidation. During the validation process, I need to check whether an ISBN already exists in 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,808 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.
11,189 questions
asked 2025-01-13T10:16:24.99+00:00
fatih uyanık 160 Reputation points