26,610 questions with .NET-related tags

Sort by: Updated
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.
583 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,037 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
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.
362 questions
asked 2025-01-13T02:44:31.7266667+00:00
Ray Garg 20 Reputation points
commented 2025-01-13T14:14:55.18+00:00
Ray Garg 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

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-13T10:53:56.6233333+00:00
Dani_S 3,911 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,188 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,702 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,538 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,414 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,188 questions
asked 2025-01-13T10:16:24.99+00:00
fatih uyanık 160 Reputation points
1 answer

Java.Lang.ClassNotFoundException Didn't find class "androidx.core.splashscreen.SplashScreen" on path: DexPathList

I get the following error in Activity1.cs in my Android project: protected override void OnCreate(Bundle bundle) { AndroidX.Core.SplashScreen.SplashScreen.InstallSplashScreen(this); Java.Lang.ClassNotFoundException Message=Didn't find class…

.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-12T14:14:34.6133333+00:00
Kim Strasser 1,201 Reputation points
commented 2025-01-13T10:13:30.5566667+00:00
Kim Strasser 1,201 Reputation points
1 answer

How to Enable Fullscreen for Console Applications in Windows 10 and Windows 11

It has been observed that Windows 10 and Windows 11 have different behaviors regarding fullscreen for console applications. Currently, a console application does not enter fullscreen mode as it did on Windows 10 with the code i used. CodeBlock: class…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,956 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,037 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,188 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,414 questions
asked 2025-01-13T08:46:23.4033333+00:00
Mr.Postal 20 Reputation points
commented 2025-01-13T10:06:10.43+00:00
Mr.Postal 20 Reputation points
1 answer

increase the bindings performance

Hello happy new year to everyone I am trying to increase performance on my xaml Since I updated to .Net 9, I got this warning Binding was not compiled because it has an explicitly set Source property and compilation of bindings with Source is not…

.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-04T14:38:08.8266667+00:00
Eduardo Gomez Romero 1,175 Reputation points
edited a comment 2025-01-13T10:01:13.35+00:00
Eduardo Gomez Romero 1,175 Reputation points
0 answers

how to delete files on internal or external storage in Maui:Andorid

I have seen a couple of posts related to this and it happens on Xamarin Forms similarly 1) open a file picker 2) read file process data 3) delete file var res = await PickAndShowAsync(opt); if (res == "") //user cancelled…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,808 questions
asked 2022-07-02T15:56:22.827+00:00
john murray 16 Reputation points
commented 2025-01-13T10:00:07.2866667+00:00
思密达 60 Reputation points
1 answer

Permanent MAUI config file survives update of application

Hello experts I have a MAUI C# code below, for reading and writing a text file of user setting (like colors, ids, last state..) of MAUI application. Works perfect (development)! (MAUI Android and MAUI Windows) But what happends with this setting file, if…

.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-07T13:19:50.17+00:00
Wheelstring 150 Reputation points
commented 2025-01-13T09:46:14.14+00:00
Wheelstring 150 Reputation points
0 answers

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
commented 2025-01-13T09:32:09.4633333+00:00
Bhuwan 736 Reputation points
1 answer One of the answers was accepted by the question author.

Infinite loop in SaveCommentOnBlur when Unfocused event is triggered in MAUI

In my custom MAUI entry control, the SaveCommentOnBlur method gets stuck in an infinite loop when the EntryField_Unfocused event is triggered. This causes the keyboard to hang, and either the keyboard or the app becomes unresponsive. Steps to…

.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-12T18:39:33.88+00:00
Omkar Pawar 60 Reputation points
commented 2025-01-13T09:27:45.6466667+00:00
Omkar Pawar 60 Reputation points
3 answers

How to get Json Data from an external WEB API to an JQUery autosearch text box end point

Hi everybody: I have an external minimal Web API that produces a JSON object ( array) as per below. app.MapGet("/AsyncAutocompleteErf/{search}", async (IErvenRepository request, string search) => { var data = await…

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
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,019 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.
362 questions
asked 2025-01-10T16:24:18.3033333+00:00
Jose Daniel Navarro Brito 61 Reputation points
answered 2025-01-13T09:18:20.49+00:00
Ping Ni-MSFT 4,810 Reputation points Microsoft Vendor
1 answer

Refresh the map

I need some help in refreshing the map, when the internet is back on Since the map doesn't have any refresh, I am using the pages stack to reload the page interface public interface IAppService { Task NavigateToPage(string pageName); …

.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-06T15:44:50.4466667+00:00
Eduardo Gomez Romero 1,175 Reputation points
commented 2025-01-13T08:57:42.8333333+00:00
Eduardo Gomez Romero 1,175 Reputation points
0 answers

How to show Clusters of Pins are in .net maui iOS?

I have a Xamarin code which create cluster of Pins in the map. But the same code in maui is not working. In Xamarin I have create cluster using MapRenderer and it worked. But After migrating MapRenderer to MapHandler. Some methods are missing in which is…

.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-13T08:36:21.94+00:00
Pratham 20 Reputation points