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
0 answers

Why is Maui's "Colors.xml" not found building with Visual Studio Mac but is with Visual Studio Windows?

Using VS Mac 17.6 Preview 2, building a MAUI application, it is responding with "Resource "Resources/Styes/Colors.xml" not found (XFC0124)" as an error. Building the exact same code, just copied to the Mac for its build, with VS…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,070 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
asked 2023-03-21T18:20:33.5833333+00:00
Marc George 66 Reputation points
edited a comment 2023-03-25T10:57:23.47+00:00
Marc George 66 Reputation points
9 answers

I can't find ASP.NET Web Application (.NET Framework) with c#

Hello I want to use ASP.NET Web Application (.NET Framework), and I have downloaded Visual Studio Community 2019 v16.11.3, and i have clicked the ASP.NET and web devleopment before i download it but I can't find the one i needed, I don't want the…

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
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,322 questions
asked 2021-10-01T00:33:18.083+00:00
WEI HAN TAN 16 Reputation points
commented 2023-03-25T10:32:30.14+00:00
Slava Fleer 0 Reputation points
0 answers

ASP.NET Core MVC with Identity - ArgumentNullException: Value cannot be null. (Parameter 'value') on signInManager.PasswordSignInAsync

What's up everyone, I've been having this issue when implementing Identity authentication to my app. This is the error I get: ArgumentNullException: Value cannot be null. (Parameter 'value') System.ArgumentNullException.Throw(string…

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
.NET
.NET
Microsoft Technologies based on the .NET software framework.
878 questions
asked 2023-03-17T13:35:56.4266667+00:00
Alexander J 0 Reputation points
commented 2023-03-25T10:21:28.4933333+00:00
Alexander J 0 Reputation points
3 answers One of the answers was accepted by the question author.

Exposing NET 7 classes as COM for Excel VBA (and vb6)

I have a .net 7 class library with GUID and ComVisible attributes defined. Also added EnableComHosting tag in csproj. After registering (regsvr32) the comhost.dll it is usable from e.g. Excel VBA, but only as late bound. Anyone able to guide me further…

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,550 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
878 questions
asked 2023-02-14T08:17:47.96+00:00
EuroEager2008 121 Reputation points
commented 2023-03-25T10:16:26.41+00:00
Amit Kumar 0 Reputation points
1 answer

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,550 questions
asked 2023-03-24T18:56:05.75+00:00
dg2k 846 Reputation points
answered 2023-03-25T09:56:11.4633333+00:00
dg2k 846 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,550 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
edited a comment 2023-03-25T09:50:02.16+00:00
Viorel 88,566 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,550 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
commented 2023-03-25T08:27:40.41+00:00
Ahmed Salah Abed Elaziz 85 Reputation points
1 answer One of the answers was accepted by the question author.

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
accepted 2023-03-25T08:08:08.95+00:00
Amit kumar Yadava 41 Reputation points
1 answer

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,550 questions
asked 2023-03-25T02:46:35.54+00:00
Leon Schimmel 0 Reputation points
answered 2023-03-25T07:49:21.4366667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 17,281 Reputation points Microsoft Vendor
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,550 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
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,550 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
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
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…

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
.NET
.NET
Microsoft Technologies based on the .NET software framework.
878 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,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
878 questions
Windows Group Policy
Windows Group Policy
A feature of Windows that enables policy-based administration using Active Directory.
2,010 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,550 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,550 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