24,033 questions with .NET-related tags

Sort by: Updated
1 answer

How to update/save a file in a database in web application

i have a code error and i wish i can get it fix by your noble helps or interventions here is a code block that updates a new product on a product page in a web application this is the code behing the productController.cs file for the cshtml file…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,282 questions
asked 2024-05-07T15:39:22.68+00:00
KwebenaAcquah-9104 306 Reputation points
edited a comment 2024-05-08T09:18:03.78+00:00
Lan Huang-MSFT 25,871 Reputation points Microsoft Vendor
1 answer

How to get the index of duplicate elements along with the range of empty elements after it. LINQ

hi Dim ComplexArray As String() = Split("A C A B C A B A B C") 'Need Result As Array (3 dimensional) Dim Arr3D = {({"A", ({"0-2", "5-9", "16-16", "19-20"})}),…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,837 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,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,581 questions
asked 2024-05-04T15:38:26.2533333+00:00
Mansour_Dalir 1,591 Reputation points
edited a comment 2024-05-08T09:08:28.01+00:00
Mansour_Dalir 1,591 Reputation points
1 answer One of the answers was accepted by the question author.

Jquery DataTable not working after appending the html code to DataTable using jQuery

I have created a datatable and appending the data to that datatable body , data appending successfully but the datatable not working properly ex:- If I click on the datatable header columns the entire table data is erasing. Here is my full logic…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,282 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
877 questions
asked 2024-05-06T13:26:54.2166667+00:00
Ashok Kumar 161 Reputation points
accepted 2024-05-08T08:29:34.45+00:00
Ashok Kumar 161 Reputation points
1 answer One of the answers was accepted by the question author.

Webview is not allowing the remaining UI elements to render properly

I have labels, images and button along with webview. When I am landing to this webview page, the remaining UI controls are not rendered(not shown in the UI). When I start scrolling then the UI elements are rendered properly like in attached screenshots.…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,911 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
767 questions
asked 2024-05-07T09:31:52.57+00:00
Keerthana Krishna 20 Reputation points
accepted 2024-05-08T08:18:57.42+00:00
Keerthana Krishna 20 Reputation points
1 answer

How do I draw anti-aliased text in a ListBox with DrawMode set to OwnerDrawFixed?

I have a ListBox on my form with its DrawMode property set to OwnerDrawFixed. How can I get the text I draw to be antialiased? I've already set the TextRenderingHint property of the Graphics object to AntiAliasGridFit but it's not drawn…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,837 questions
asked 2024-05-01T18:51:36.1366667+00:00
DaveF 21 Reputation points
commented 2024-05-08T08:17:28.81+00:00
Jiale Xue - MSFT 33,751 Reputation points Microsoft Vendor
1 answer

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,199 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,777 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,931 questions
asked 2024-05-07T10:38:07.05+00:00
Santhi Dhanuskodi 145 Reputation points
commented 2024-05-08T08:09:12.42+00:00
Santhi Dhanuskodi 145 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.
2,911 questions
asked 2024-04-29T14:07:42.5733333+00:00
Sreejith Sreenivasan 691 Reputation points
commented 2024-05-08T08:04:45.1233333+00:00
Aleena George 20 Reputation points
0 answers

ADFS Authentication Issue in .Net 8

I have an existing ASP.NET MVC application that relies on ADFS authentication. I'm currently upgrading it to .NET 8. As part of the upgrade process, I prioritized implementing the authentication functionality first. However, I'm encountering an issue…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,402 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,199 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,199 questions
asked 2024-05-03T06:09:59.2233333+00:00
Vijayan, Neethu 0 Reputation points
commented 2024-05-08T07:59:13.3233333+00:00
JasonPan - MSFT 4,376 Reputation points Microsoft Vendor
0 answers

CultureNotFoundException Querying SQL database using EF

Hello, I have a Web App (ASP.NET MVC) with controllers making CRUD operations using EF 6. Any operation involving the EF context to read data generates the following exception The Web App is localized in it-IT, setting up ThreadCulture and…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,282 questions
asked 2024-05-06T10:18:01.0933333+00:00
Setteidea SRL 0 Reputation points
commented 2024-05-08T07:54:27.46+00:00
Lan Huang-MSFT 25,871 Reputation points Microsoft Vendor
4 answers

How to copy big file 5g with task and within impersonation

Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,402 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,911 questions
asked 2024-04-18T08:06:36.18+00:00
Dani_S 2,746 Reputation points
edited an answer 2024-05-08T07:52:26.72+00:00
Jiale Xue - MSFT 33,751 Reputation points Microsoft Vendor
0 answers

Show/hide the fields based on the condition in jQuery

how to show/hide the otp->textbox and update->button based the onblur SaveProfileName_Email values change. Initially, when the page is loaded the txtProfileEmail and txtProfileName should contains the default values ex:- txtProfileEmail :- a@b.com…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,282 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
877 questions
asked 2024-05-07T12:17:10.6533333+00:00
Ashok Kumar 161 Reputation points
commented 2024-05-08T07:38:29.4033333+00:00
QiYou-MSFT 4,306 Reputation points Microsoft Vendor
0 answers

Reopening the app from background is crashing with an exception of "Window was already created" from base.onresume().

When I try to reopen an app from background it is crashing when I am using base.onresume() in mainactivity. It gave an exception "Window was already activated". I saw some work around of adding launchmode as singletop or singletask would work…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,911 questions
asked 2024-05-08T07:28:42.4233333+00:00
Keerthana Krishna 20 Reputation points
edited the question 2024-05-08T07:29:41.0166667+00:00
Keerthana Krishna 20 Reputation points
0 answers

Tooltip taking more time to render in .Net MAUI Mac catalsyt

I've been using Tooltip text with some views, but it's taking a considerable amount of time to render initially. However, after the first rendering, it works perfectly. Sometimes, it doesn't appear for a longer period, but when I unfocus and refocus the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,402 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,911 questions
asked 2024-05-08T06:58:54.9+00:00
Kiran Mohanty 0 Reputation points
edited the question 2024-05-08T07:27:27.2533333+00:00
Kiran Mohanty 0 Reputation points
1 answer

ASP.NET - The specified network password is not correct - X509Certificate2

I have a .NET web application where trying to import the certificate using the "X509Certificate2". While importing, getting the "The specified network password is not correct.". The certificate is password protected .pfx file and I'm…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,282 questions
asked 2024-04-30T12:08:12.77+00:00
Nabeel Farooq 0 Reputation points
commented 2024-05-08T07:26:51.0633333+00:00
Lan Huang-MSFT 25,871 Reputation points Microsoft Vendor
0 answers

image not loading in modal popup imageurl in asp.net c#

i am trying to load image in image button through modal popup. The problem is modal popup is showing, but image not loading which means it is blank window. i am storing all the images in different server and application hosted in another server. what is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,282 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,292 questions
asked 2024-05-05T17:01:04.1133333+00:00
Gani_tpt 1,586 Reputation points
commented 2024-05-08T07:18:46.5166667+00:00
Lan Huang-MSFT 25,871 Reputation points Microsoft Vendor
0 answers

Editor is vanish when I move to full screen

Hi, When I resize the page to full screen the editor cotent disappered? why? Thanks, <ScrollView x:Name="scrollView"> <Editor x:Name="editor" IsReadOnly="False" AutoSize="TextChanges"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,911 questions
asked 2024-04-30T06:58:54.0366667+00:00
Dani_S 2,746 Reputation points
commented 2024-05-08T06:52:13.4733333+00:00
Dani_S 2,746 Reputation points
1 answer

ASP.NET Core web app with Microsoft SSO via Azure Microsoft Entra ID and not manage secrets - is it possible?

In the Azure Portal, I create a resource Microsoft Entra ID and then add an app registration. In the app registration I can specify redirect URIs for Microsoft logins (SSO) via "Authentication" for my .NET web app: Authentication button on side…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,199 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,606 questions
asked 2024-05-03T13:15:34.5066667+00:00
Shubash Chumber 0 Reputation points
commented 2024-05-08T06:47:58.92+00:00
Shweta Mathur 27,786 Reputation points Microsoft Employee
1 answer

Access network folder and files from .NET Core application in IIS

Greetings, I have an application deployed in IIS with .NET Core 7 and SQL Server, I want to access a network path, write and read files within a folder in the path (\path\folder) What steps should I follow to achieve this?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,199 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,777 questions
asked 2024-05-07T17:35:39.8066667+00:00
Juan A. Reyes Paulino 20 Reputation points
commented 2024-05-08T06:36:41.6766667+00:00
Brando Zhang-MSFT 2,961 Reputation points Microsoft Vendor
1 answer

The code generator for identity command failing saying No MSBuild was detected?

The code generator for identity command failing saying No MSBuild was detected?

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
6 questions
asked 2024-05-06T13:47:43.7333333+00:00
Muhammad Naeem 0 Reputation points
commented 2024-05-08T06:32:41.6633333+00:00
Muhammad Naeem 0 Reputation points
0 answers

Severity Code Description Project File Line Suppression State Error MSB4100 Expected "$([System.String]::Copy('%(Identity)').EndsWith('.resources.dll'))" to evaluate to a boolean instead of "$([System.String]::Copy('C:\Users\tarek\OneDrive\Desktop\StoreAp

Severity Code Description Project File Line Suppression State Error MSB4100 Expected "$([System.String]::Copy('%(Identity)').EndsWith('.resources.dll'))" to evaluate to a boolean instead of…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,199 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,400 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,911 questions
asked 2024-05-08T03:16:48.12+00:00
م.طارق علي 0 Reputation points
commented 2024-05-08T06:02:19.49+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,551 Reputation points Microsoft Vendor