24,187 questions with .NET-related tags

Sort by: Updated
0 answers

System.Security.Cryptography.ECDsa.Create (System.Security.Cryptography.ECParameters parameters exception

We have integrated SSH.Net 2024.0.0 from Nuget for Xamarin UWP, Xamarin. IOS and Mono Android. UWP works fine. BUT iOS and Android are throwing exceptions. Any ideas or suggestions would be helpful. Visual Studio 2022 C# using (SftpClient sftp…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,299 questions
asked 2024-05-20T07:15:52.04+00:00
Sk 61 Reputation points
1 answer One of the answers was accepted by the question author.

How to prevent automatic upgrade of .NET Framework from 4.8 to 4.8.1

I have a question regarding the prevention of .NET Framework updates through Group Policy. Despite setting the following Group Policy to "Disabled," the KB5011048 update is still being automatically applied, resulting in .NET Framework being…

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.
4,827 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,441 questions
asked 2024-05-18T15:42:32.17+00:00
KM-4260 25 Reputation points
accepted 2024-05-20T06:55:08.96+00:00
KM-4260 25 Reputation points
1 answer

EF is not creating a MigrationsHistory table

Hi all; I've been using Entity Frameworks for some time with my app. And I just noticed, there is no MigrationsHistory table. I looked at the files in core/Migrations and none of them create a MigrationsHistory table. Why is it missing and how do I get…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
700 questions
asked 2024-05-16T15:06:13.2033333+00:00
David Thielen 2,286 Reputation points
edited a comment 2024-05-20T06:51:59.2366667+00:00
Hui Liu-MSFT 40,866 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

What to use for Target Framework and Minimum Framework for Android Maui project

When I select the Target Android Framework as available in dropdown (Android 14.0 API Level 34) it change the XML Tag in file as <TargetFrameworks>net8.0-ios;net8.0-android34.0</TargetFrameworks> But when I use same file to compile using…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,961 questions
asked 2024-05-17T11:24:36.0766667+00:00
Sumit Gupta 46 Reputation points
accepted 2024-05-20T06:46:21.38+00:00
Sumit Gupta 46 Reputation points
0 answers

root is missing error, while making frontend using window form application in VS 2022 using C#

Root is missing error, while making frontend using window form application in VS 2022 using C#. How to troubleshoot this issue.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,849 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,673 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,361 questions
asked 2024-05-20T04:10:28.07+00:00
DevNinja 0 Reputation points
edited a comment 2024-05-20T06:29:14.73+00:00
Tianyu Sun-MSFT 27,796 Reputation points Microsoft Vendor
1 answer

Div <li> menu color not updating properly in ASP.NET master page c#

I am using menu control using <ul> and <li> tag. I am trying to apply some different color while menu selected. But, applying color not reflected in menu. (particularly white color for text in the menu) what will be the problem in the below…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,303 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,361 questions
asked 2024-05-18T13:29:33.9266667+00:00
Gani_tpt 1,686 Reputation points
answered 2024-05-20T05:49:29.9766667+00:00
Lan Huang-MSFT 26,121 Reputation points Microsoft Vendor
1 answer

I received the error "Unable to find an OpenAPI description" while running the API tutorial at https://learn.microsoft.com/en-us/training/modules/build-web-api-aspnet-core/3-exercise-create-web-api

https://learn.microsoft.com/en-us/training/modules/build-web-api-aspnet-core/3-exercise-create-web-api When connecting to localhost using httprepl and https, I received the error "Unable to find an OpenAPI description". I am using…

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.
9 questions
asked 2024-05-10T14:06:11.3866667+00:00
Stanley, Eugene 5 Reputation points
commented 2024-05-20T05:20:10.3766667+00:00
Pradeep M 645 Reputation points Microsoft Vendor
0 answers

I am getting System.InvalidProgramException error when upgraded the application from .NET 3.0 to .NET 8.0

I have upgraded Npgsql package from version 4.1.5 to version 8.0.2 that is required for .NET 8 upgradation but I am getting the following error after deployment of the service on the development environment and performing the health check for…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,441 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,228 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2024-05-13T07:12:21.36+00:00
Singh, Sheetal 0 Reputation points
commented 2024-05-20T04:15:58.2866667+00:00
Singh, Sheetal 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to migrate the FCM v1 in xamarin forms apps as xamarin got migrated

Hey Team, We got a mail from Firebase team that legacy http is going to be deprecated . When i checked in the documentation, all i could find is xamarin is not supporting FCM v1. We have azure notification hubs common library for android and iOS and…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
270 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,299 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
981 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,673 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,361 questions
asked 2024-05-16T03:05:07.0633333+00:00
Sri Gayathri Gopalakrishnan 20 Reputation points
edited a comment 2024-05-20T04:12:19.6566667+00:00
Sri Gayathri Gopalakrishnan 20 Reputation points
1 answer

manage Exchange Mailbox permission using C# windows application

hi folks, i would like to design a windows application which will do below. is it possible to develop using C# ? Connect to Exchange Online. Add/Remove mailbox fullaccess. Add/Remove SendAs or Sendonbehalf access. Set mailbox forwarding Thanks …

Microsoft Exchange Online
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,849 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,361 questions
asked 2024-05-17T12:23:46.4633333+00:00
Meher, Shankar (CORP) 0 Reputation points
answered 2024-05-20T03:24:52.1633333+00:00
Jiale Xue - MSFT 35,556 Reputation points Microsoft Vendor
1 answer

Debug and Release Version have different file Size, but in negative way: Maui Android App

I had a Xamarin App that when I compile goes to 30 MB file size in release after all optimization. Now, we uprade same app to Maui. And when I run the app in emulator it works fine with APK been generate of 20 MB. During Xamarin since link is not set and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,961 questions
asked 2024-05-17T11:30:03.5166667+00:00
Sumit Gupta 46 Reputation points
commented 2024-05-20T03:10:36.41+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,311 Reputation points Microsoft Vendor
1 answer

What's wrong with System.Diagnostics.EventLog?

Dear Community, I run into trouble... Situation: I created a WorkerService with VisualStudio 2022 based on .NET 6. To log all Informations I use the System.Diagnostics.EventLog Library. If I run the application in the command prompt everything works…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,441 questions
asked 2024-05-17T15:38:29.7866667+00:00
Fabig, Richard 20 Reputation points
answered 2024-05-20T03:06:47.4033333+00:00
Jiale Xue - MSFT 35,556 Reputation points Microsoft Vendor
1 answer

Touch Events in .NET MAUI

Hi I'm working on a piano keyboard app in .NET MAUI, and I'm encountering an issue with implementing a specific feature. I want users to be able to slide their finger across the keys, triggering a note for each key they pass over. However, I'm only…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,961 questions
asked 2024-05-10T01:53:53.1+00:00
Yusuf 691 Reputation points
edited a comment 2024-05-20T03:04:04.15+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,946 Reputation points Microsoft Vendor
1 answer

How to Increase/Decrease mouse pointer moving speed on a WPF application surface?

Hi there, I have a simple WPF application where I need to control the mouse pointer speed. Suppose I run the application and as soon as my mouse pointer enter the application area, the mouse pointer speed should be increase and I want some more…

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,685 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,440 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,361 questions
asked 2024-05-13T21:28:00.4833333+00:00
MERUN KUMAR MAITY 511 Reputation points
commented 2024-05-20T02:35:47.34+00:00
Hongrui Yu-MSFT 170 Reputation points Microsoft Vendor
1 answer

How to create backend application using Asp.net C# Web API Core

How to create backend application using web api core application followed by standards using desing pattern, Depedency injection and solid principle I am new to web api core how to start following things JWT token authentical and authorization simple…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,228 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,303 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,361 questions
asked 2024-05-17T06:22:52.4166667+00:00
coder rock 196 Reputation points
commented 2024-05-20T02:13:19.64+00:00
Brando Zhang-MSFT 2,961 Reputation points Microsoft Vendor
2 answers

How to maintain ajax text box calander control value after save button clicked

I am using asp.net text box control for date picking..for that, i am using ajax calander extender. Here, is facing issue that, date control values will be clearing after save button clicked...here I want to maintain the date values till I manually…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,303 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,361 questions
asked 2024-05-18T04:24:53.3166667+00:00
Gani_tpt 1,686 Reputation points
commented 2024-05-20T02:13:14.03+00:00
Lan Huang-MSFT 26,121 Reputation points Microsoft Vendor
1 answer

image do not show in .net android?

I add ImageView in activity_main.xml and set the src android:src="@mipmap/tab_index" but it is not show. just white .

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,961 questions
asked 2024-05-19T15:06:04.2166667+00:00
mc 3,701 Reputation points
answered 2024-05-20T01:43:55.5+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,311 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to add the reference system.web.dll ?

I am unable add the reference to system.web.dll ? can anyone suggest me to add this reference. Thanks in advance

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,849 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,441 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,361 questions
asked 2023-01-24T11:31:25.1666667+00:00
Dineshkumar.S 446 Reputation points
commented 2024-05-20T01:40:02.0333333+00:00
Dan 0 Reputation points
1 answer

how to clear selected check box in gridview when click clear button

how to clear selected check box in gridview. when i click clear button, all paging selected check box should clear by default. How to do this..?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,303 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,361 questions
asked 2024-05-18T13:34:00.7266667+00:00
Gani_tpt 1,686 Reputation points
answered 2024-05-20T01:36:27.23+00:00
Lan Huang-MSFT 26,121 Reputation points Microsoft Vendor
0 answers

Rendering issues with our .Net application post windows patch

Recently, we've encountered rendering issues with our .NET application following a Windows patch update for Windows 10 Version 22H2. Specifically, after applying the cumulative update for .NET Framework 3.5, 4.8, and 4.8.1, we've noticed intermittent…

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,361 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2024-05-16T16:21:59.7033333+00:00
SusanA 0 Reputation points
commented 2024-05-20T01:15:47.2566667+00:00
Jiachen Li-MSFT 26,921 Reputation points Microsoft Vendor