24,262 questions with .NET-related tags

Sort by: Updated
1 answer

ArgumentNull Exception in .NET Framework 4.8 "System.Security.SecurityElement.FromString(String xml)"

I get an "ArgumentNullException" from the .NET Framework 4.8, when the calling code makes a Code-Access Policy "Demand" request (attribute usage see below) The program is a WinForms application. The stack-trace is: at…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,461 questions
asked 2024-05-22T12:50:11.1666667+00:00
Liedtke, H 0 Reputation points
commented 2024-05-27T08:05:23.18+00:00
Liedtke, H 0 Reputation points
0 answers

How to clear the account list in the Web Account Manager list of Accounts displayed by WAM Broker

I have a WPF desktop app that accesses an Azure WebAPI. It uses the MSAL library and when authenticating uses the WAM broker. When the list of accounts is displayed, there is an account of someone that used the computer once when I was logged on to the…

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.
628 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,461 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,854 questions
asked 2024-05-25T18:43:22.4933333+00:00
Michael 76 Reputation points
edited the question 2024-05-27T07:58:26.0233333+00:00
Roy Li - MSFT 32,486 Reputation points Microsoft Vendor
1 answer

MAUI: What is the difference between GoToAsync() and PushAsync() to navigate between pages?

What is the difference exactly between using await Shell.Current.GoToAsync Route Relative/GoBack with (..) Single instance?? await Shell.Current.Navigation.PushAsync(Use NavigationPage) - similar to prism or Xamarin Forms…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,980 questions
asked 2024-05-26T10:02:39.0233333+00:00
honggyu kim 0 Reputation points
answered 2024-05-27T07:45:01.62+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,466 Reputation points Microsoft Vendor
2 answers

How to get/read specific word from pdf or image document in ASP.NET Application

I have millions of image or pdf document...I want get some specific word from the uploaded image or pdf document...after getting this, I am going to use these in my project...All this I want in asp.net application and if any third-party tools are using,…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,317 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,390 questions
asked 2024-05-26T03:09:00.3533333+00:00
Gani_tpt 1,766 Reputation points
commented 2024-05-27T07:27:28.46+00:00
Azizkhon Ishankhonov 275 Reputation points
0 answers

How to remove page navigation animation in .Net MAUI?

I am using Appshell for navigation. Appshell.Xaml.cs Routing.RegisterRoute(nameof(LoginPage), typeof(LoginPage)); In Viewmodel relay command i am call the below AppShell.Current.GoToAsync(nameof(LoginPage)); Animation is moving from left to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,980 questions
asked 2024-05-21T05:43:55.4466667+00:00
Sowndarrajan Vijayaragavan 350 Reputation points
commented 2024-05-27T07:22:01.7266667+00:00
Sowndarrajan Vijayaragavan 350 Reputation points
1 answer

Microsoft.Office.Interop.PowerPoint Load a file

Using Microsoft.Office.Interop.PowerPoint How to open file without using a path? I only have a byte array. I don't want to save the file locally because I already have the byte array and I cant save it locally since Im using outsystems. I have tried…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,461 questions
PowerPoint
PowerPoint
A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
232 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,390 questions
asked 2024-05-27T05:12:24.5866667+00:00
Nathaniel Y Narciso 0 Reputation points
commented 2024-05-27T07:11:37.3533333+00:00
Jiale Xue - MSFT 36,471 Reputation points Microsoft Vendor
1 answer

ErrorSystem.NullReferenceException: 'Object reference not set to an instance of an object.' Microsoft.AspNetCore.Mvc.Razor.RazorPage<TModel>.Model.get returned null.

Hello all, I really need your help. My Controller : using Hayashi.DataAccess.Data;using Hayashi.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,242 questions
asked 2024-05-22T22:37:02.95+00:00
João Machado 0 Reputation points
commented 2024-05-27T06:58:24.87+00:00
Ping Ni-MSFT 2,405 Reputation points Microsoft Vendor
0 answers

how to solve:An unhandled exception occurred while processing the request. SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Doctors_Users_UserId".

An unhandled exception occurred while processing the request. SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Doctors_Users_UserId". The conflict occurred in database "Diabetes2AppDb", table…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
703 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,390 questions
asked 2024-05-26T19:23:31.6466667+00:00
karen matungwa 0 Reputation points
edited the question 2024-05-27T06:53:40.7533333+00:00
Jiale Xue - MSFT 36,471 Reputation points Microsoft Vendor
0 answers

code object is not signed at all on .net MAUI

I am trying to debug my MAUI app on a real iOS device for push notifications. I have a remote mac connection to my mac book[Sonoma 14.5], Visual Studio 2022 [Version 17.9.7], Xcode [15.2] iOS Device[17.5] and no matter what I do I get this error : code…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,980 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.
951 questions
asked 2024-05-24T08:12:46.71+00:00
Farshad Nabizadeh 0 Reputation points
commented 2024-05-27T06:28:20.7466667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,466 Reputation points Microsoft Vendor
0 answers

Maui for Android simulate backspace button action

Hello All. in my app I want to simulate backspace button action manly I want when user hold the the button pressed to delete a character in every 300 milliseconds until the button released please how I do that. Thank you.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,980 questions
asked 2024-05-24T10:04:01.8433333+00:00
Haviv Elbsz 1,946 Reputation points
edited a comment 2024-05-27T06:27:31.9866667+00:00
Haviv Elbsz 1,946 Reputation points
1 answer One of the answers was accepted by the question author.

DataGridView column alignment header vs data

In the pic below, the DataGridView column header (Column1) is misaligned with the data cell text below it (XXX). The misalignment is nearly one character width. It is more visually obvious with a larger font. The pic comes from a minimal Forms app. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,857 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,461 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,608 questions
asked 2024-05-23T15:21:45.1333333+00:00
Andrew Mercer 461 Reputation points
edited the question 2024-05-27T06:20:43.82+00:00
Jiale Xue - MSFT 36,471 Reputation points Microsoft Vendor
2 answers

SQL Connectivity Issue From Cloud app to on-prem server

hi, I have deployed a .net core MVC app in azure app service as a webapp. I have to connect to a on-prem sql server to retrieve data. I have setup Azure relay/hybrid connection for the same. Also I have installed hybrid connection manager in on-prem…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,242 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,904 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,042 questions
asked 2024-05-07T10:38:07.05+00:00
Santhi Dhanuskodi 165 Reputation points
commented 2024-05-27T06:03:44.02+00:00
MikeyQiao-MSFT 655 Reputation points Microsoft Vendor
2 answers

How to make search text in ASP.NET dropdown controls

I have been developing ASP.NET application. some of the place i want searchable dropdown controls. the dropdown should search both numbers and name. How to do this...? example data as below. Cust.Name | Cust.Number Alfred K AXN29109 …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,317 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,390 questions
asked 2024-05-25T08:11:36.1666667+00:00
Gani_tpt 1,766 Reputation points
answered 2024-05-27T05:51:38.63+00:00
Lan Huang-MSFT 26,526 Reputation points Microsoft Vendor
1 answer

How to make fit ASP.NET page in horizontal bar when resizing the width of the page manually

I am developing ASP.NET application. sometimes user, resizing the width of the page. most of the global page (like microsoft all the pages), the page automatically fit the width based on the size of the horizontal width. How to make this. by default, the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,317 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,390 questions
asked 2024-05-25T07:53:00.6633333+00:00
Gani_tpt 1,766 Reputation points
edited an answer 2024-05-27T05:33:03.0866667+00:00
Lan Huang-MSFT 26,526 Reputation points Microsoft Vendor
2 answers

How to retrieve the any table from SQL DB and display dynamically in one page in asp.net core

Requirements are as below. 1. In single page of asp.net core, need to display any table data dynamically like jtable from jQuery plugin... With generic code with ado.net or web api orAPI or entity framework core

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
703 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,242 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,390 questions
asked 2023-04-02T16:30:01.65+00:00
phani sekhar 1 Reputation point
answered 2024-05-27T05:27:02.3433333+00:00
Sushama Agrawal 1 Reputation point
2 answers

how to detect qrcode in camera in maui?

how to open camera and detect the qrcode ?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,980 questions
asked 2023-12-30T13:49:32.66+00:00
mc 3,726 Reputation points
answered 2024-05-27T05:24:37.0966667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,111 Reputation points Microsoft Vendor
3 answers

two decimal for label

Hello This is my sample code Label LRO = e.Item.FindControl("LRO") as Label; LRO.Text = roff; its should return value in something example two digit decimal 12.45 14.00 15.12 how to do so thanks

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,317 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.
306 questions
asked 2024-05-04T14:42:56.72+00:00
RAVI 936 Reputation points
answered 2024-05-27T04:55:50.2333333+00:00
Sushama Agrawal 1 Reputation point
1 answer

How to get specific image coordinates from within bitmap

hi Is there a special (Library/Class) for such an achievement? which can find and return the coordinates by giving a symbol of a specific image from within the larger image

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,857 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,449 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,608 questions
asked 2024-05-21T03:56:04.6666667+00:00
Mansour_Dalir 1,676 Reputation points
commented 2024-05-27T03:36:02.4133333+00:00
Jiachen Li-MSFT 27,241 Reputation points Microsoft Vendor
1 answer

.net maui grouping code throws cast error.

I'm converting a Xamarin app to .NET Maui. I'll be needing the .NET page to ( stating all desired functions in case a different grouping code is needed ) group by sector ( optional , Sort and or filter maybe added later-- I'll settle for grouping…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,701 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,980 questions
asked 2024-05-24T13:17:07.98+00:00
tim 120 Reputation points
edited an answer 2024-05-27T03:34:24.21+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,466 Reputation points Microsoft Vendor
1 answer

when export grid view have Arabic data to pdf format using JQUERY it downloaded but error open pdf failed ?

I work on asp.net app . I face issue when export grid view with data to pdf it downloaded but finally not open grid view have Arabic data when inspect browser to check error i can't found any error I work on asp.net app . I face issue when export grid…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,317 questions
asked 2024-05-24T22:35:24.7333333+00:00
Ahmed Salah 0 Reputation points
answered 2024-05-27T03:25:15.48+00:00
Lan Huang-MSFT 26,526 Reputation points Microsoft Vendor