Microsoft Q&A

.NET

13,992 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

13,992 questions with .NET-related tags

Sort by: Updated
2 answers

making an image box in Razor page

I want to make an image box on my razor page so that users can type or sign their name in that box. I want something like adobe acrobat offers. below is the screen shot: How can I achieve this.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,825 questions
asked 2023-03-23T04:44:53.9833333+00:00
Anjali Agarwal 636 Reputation points
commented 2023-03-25T06:58:43.1933333+00:00
Anjali Agarwal 636 Reputation points
1 answer

Opening hyperlink in browser

My first take with Andriod I'm looking to open a link in an email in browser, like the screenshot. Other apps are listed and I wish to bring include my app as well... Any reference link or how to do helpers will be very help I am using C# Visual Studio…

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.
7,549 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,920 questions
Microsoft Intune Android
Microsoft Intune Android
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Android: An open-source mobile platform based on the Linux kernel, developed by Google, and maintained by the Open Handset Alliance.
71 questions
asked 2023-03-24T16:30:58.7533333+00:00
SSinhg 266 Reputation points
edited the question 2023-03-25T06:58:25.29+00:00
SSinhg 266 Reputation points
0 answers

error when try to get values from object parameter 'object' does not contain a definition for 'employeeID'

I working on blazor web application server side by csharp . I face issue i can't get values of properties employee id and department code from object parameter to insert value on table I get compile time error when try to get value for property employee…

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.
7,549 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,825 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.
880 questions
asked 2023-03-25T06:27:34.5266667+00:00
Ahmed Salah Abed Elaziz 85 Reputation points
1 answer

Getting error while uploading video on video indexer portal.

Hi, I am trying to upload a video on the Video Indexer portal through Indexer API but this is throwing the below error. The same URL is uploading the video on the indexer portal through Postman…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,825 questions
Azure Video Indexer
Azure Video Indexer
An Azure video analytics service that uses AI to extract actionable insights from stored videos.
17 questions
asked 2023-03-20T12:38:32.7266667+00:00
Shaveta Pujani 0 Reputation points
commented 2023-03-25T06:18:05.9366667+00:00
VasaviLankipalle-MSFT 1,591 Reputation points
0 answers

MVVM Datagrid CellEdit end issue

Good morning, i have an issue i am trying to get the cell edit of a data grid item so i have a database that i grab the values from in its own model class that is here public void testread() { string getdb = "select *…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
878 questions
asked 2023-03-25T06:12:03.3966667+00:00
mion shion 241 Reputation points
edited the question 2023-03-25T06:13:49.59+00:00
mion shion 241 Reputation points
1 answer

C# code to real time scan and threat detection through Azure defender while uploading file on blob store through web api

Hi All, I have an web api 6 c# code running for uploading files on azure blob and it is deployed on Azure App service and it is working as expected. Now, i have added azure defender on blob storage and it has detected some file as security threat…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,825 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.
7,549 questions
Microsoft Defender for Cloud
Microsoft Defender for Cloud
An Azure service that provides threat protection for workloads running in Azure, on-premises, and in other clouds. Previously known as Azure Security Center and Azure Defender.
731 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
745 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
1,527 questions
asked 2023-03-12T12:52:54.86+00:00
Abdul Qadir 0 Reputation points
commented 2023-03-25T05:49:33.37+00:00
Abdul Qadir 0 Reputation points
1 answer

Remove Lines From Notepad and Write Data in New New Notepad With Group Key Repeated With Each Lines

Good Morning Great Minds ! I need Help to read Data From Notepad where a specific string(Group Key) repeated each page. I need To write Group key with each line of strings. in OriginalFile.txt i Removed unwanted Strings and Make a new file after remove…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
878 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,968 questions
asked 2023-03-24T06:43:10.2233333+00:00
Amit kumar Yadava 41 Reputation points
commented 2023-03-25T05:46:03.49+00:00
Amit kumar Yadava 41 Reputation points
2 answers

Xamarin forms invoking javascript from webview

The android project in the sample as described in this article does not work. The iOS project works exactly as described in the article. The Android does nothing.…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,920 questions
asked 2023-03-21T21:45:34.7833333+00:00
tbelvin 1 Reputation point
commented 2023-03-25T05:33:05.89+00:00
Chisa Kogano 0 Reputation points
0 answers

visual studio,why some Method never show in hint list?

It took a long time to find out why the CheckAccess Can't use in my project, The reason is below. just want to know why? It's so unreasonable

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.
7,549 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
878 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,278 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,776 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying a test as a means of analysis or diagnosis.
269 questions
asked 2023-03-25T03:14:23.25+00:00
兰树豪 261 Reputation points
0 answers

NET MAUI - Keep keyboard focused on ListView update

I have a ListView with an ObservableCollection of Database Entries. When I update the Observable collection the focus of the Entry get lost and the keyboard disappears. Even when i set the focus afterwards manually the keyboard does not appear. Thats my…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,070 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.
7,549 questions
asked 2023-03-25T02:46:35.54+00:00
Leon Schimmel 0 Reputation points
2 answers

Any sample .net websites with authentication & authorization?

I would like to create a web portal with the following features. Authentication & authorization Connect to sql database Pages are base on their roles where i can have the versatility to set A decent master page Create, Read, Update and delete…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
878 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
462 questions
asked 2023-03-24T12:31:57.87+00:00
Joh 1 Reputation point
commented 2023-03-25T02:39:00.25+00:00
Albert Kallal 3,451 Reputation points
0 answers

How to config ClickOnce Trust Prompt Behavior?

Hi, I'm an application developer on Windows and am having trouble with the ClickOnce Trust Prompt Behavior on some computers. My application needs to be given hard drive access to download some files, and every time the user installs it or opens it,…

Windows Group Policy
Windows Group Policy
A feature of Windows that enables policy-based administration using Active Directory.
2,010 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
878 questions
asked 2023-03-25T02:32:34.68+00:00
365 timviec 0 Reputation points
1 answer

ASP.NET Core 6 Identity - Scaffolding Identity problem

I am following the tutorial on learn.microsoft.com (Authentication, ASP.NET Core 6.0). I create ASP.NET Core Web App with individual user accounts and update a database. So far everything works. Then I scaffold the identity. Then I Scaffold…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,825 questions
asked 2022-06-27T19:31:58.127+00:00
AlexD 1 Reputation point
commented 2023-03-25T00:27:48.41+00:00
David Thielen 691 Reputation points
1 answer

How do I add a data entry control inside of the ListView.

I am trying to add a data entry control called Entry Cell inside of a ListView so that the user can enter data that I can save to the Database. I get the error... A value of type 'EntryCell' cannot be added to a collection or dictionary of type…

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.
7,549 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.
600 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,070 questions
asked 2023-03-24T19:30:03.5933333+00:00
Ronald Rex 571 Reputation points
commented 2023-03-24T21:57:45.7266667+00:00
Lloyd Sheen 931 Reputation points
1 answer One of the answers was accepted by the question author.

Perform (Create, Read, Update, and Delete) operations on a ListView in .Net Maui

Hi Friends. I have a ListView in a Content Page that I would like the user to be able to Perform (Create, Read, Update, and Delete) operations on in .Net Maui. Thanks in advance for for any help.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,070 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.
7,549 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.
600 questions
asked 2023-03-24T17:03:06.4733333+00:00
Ronald Rex 571 Reputation points
commented 2023-03-24T21:14:11.83+00:00
Ronald Rex 571 Reputation points
0 answers

Exapand glyphicon-plus glyphicon-plus when collapsed on button click

I have a page with bootstrap glyphicon-plus glyphicon-minus in a span with a class. when the page loads the span is collapsed by default and I need to Expand it on a button click programmatically. I am doing $("#btn-search").click(function…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
512 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
733 questions
asked 2023-03-24T19:53:12.94+00:00
Benjoe 386 Reputation points
edited the question 2023-03-24T20:00:18.2166667+00:00
Benjoe 386 Reputation points
0 answers

Can you please tell me how to animate the CommunityToolkit.Maui's Expander control for opening and closing it slowly?

I would like to show some hidden tips with a simple implementation of CommunityToolkit.Maui.Views.Expander control -- such as using a Label control as its content. It would be visually nice if the Expander opens and closes slowly, say with some Easing…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,070 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.
7,549 questions
asked 2023-03-24T18:56:05.75+00:00
dg2k 846 Reputation points
1 answer

ASP.NET Core MVC : complex data model reading related data

I am trying to display a drop-down on my DEVICES create.cshtml view of the names from CONTACT via the lookup table DeviceAssignments, below is an ERD. I am already able to display the drops downs for DeviceCategories and DeviceLocations, but I am not…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,825 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
733 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
478 questions
asked 2023-03-16T17:21:00.64+00:00
tjestesjr77 20 Reputation points
edited a comment 2023-03-24T18:05:49.4733333+00:00
AgaveJoe 19,606 Reputation points
1 answer

Turning off cascade deletes

I have a case where I need to turn off cascading deletes (two different models are both wanting to cascade delete and so one needs to be turned off). I think I have this right but I saw numerous different answers all over the place and so want to…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
478 questions
asked 2023-03-19T18:37:30.1933333+00:00
David Thielen 691 Reputation points
commented 2023-03-24T16:10:31.27+00:00
David Thielen 691 Reputation points
2 answers

the service microsoft.visualstudio.shell.interop.iselectioncontainer already exists in the service container in VS2022

I recently installed Visual Studio 2022 Professional edition on my machine windows 2010. I'm just trying to create a sample windows form project and trying to open the designer / form by double clicking on Form1.cs and I'm getting this weird error…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,825 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
462 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.
7,549 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
878 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
492 questions
asked 2023-03-24T14:39:48.4166667+00:00
Sunny Sharma 1 Reputation point
answered 2023-03-24T15:40:26.8266667+00:00
Bruce (SqlWork.com) 31,326 Reputation points