24,204 questions with .NET-related tags

Sort by: Updated
0 answers

VS Nuget doesn't work with MAUI but does with WPF

I'm currently using Visual Studio Professional 2022 17.8.9. If I create a WPF project, I'm able to browse Nuget packages. However, if I create a MAUI project and try to browse Nuget, I get the following error message - [nuget.org] Unable to load the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,447 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,681 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,966 questions
asked 2024-05-20T19:47:16.7166667+00:00
Surico, Joseph [CCC-OT] 0 Reputation points
edited the question 2024-05-21T12:56:04.25+00:00
Surico, Joseph [CCC-OT] 0 Reputation points
2 answers

why application is running so slow how to find the cause

Hello I have installed my webiste in local server and its connect to via LAN in 3 computer it work fine without internet and it was very speed as well Suddenly today its loading very slow whats the cause thanking you

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,304 questions
asked 2024-05-21T10:19:26.14+00:00
RAVI 936 Reputation points
answered 2024-05-21T11:57:18.6433333+00:00
AgaveJoe 26,161 Reputation points
0 answers

How to deploy Azure function (.net 8 isolated worker process) in aks cluster

I created a Service Bus trigger function with .Net 8 and the isolated worker model. It is running fine locally (on my Windows laptop) However when I deploy it to my AKS cluster the memory usage keeps on growing (starts around 140 MB and after some hours…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,358 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,447 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,885 questions
asked 2024-03-05T12:41:08.27+00:00
Patrick Koorevaar 6 Reputation points
commented 2024-05-21T11:26:20.8166667+00:00
Patrick Koorevaar 6 Reputation points
1 answer One of the answers was accepted by the question author.

In Blazor Web App Server authentication Azure missing iss claims

Hello, I followed this guide to create a Blazor Web App (server) with azure athentication https://learn.microsoft.com/it-it/entra/identity-platform/tutorial-blazor-server and it works. here the authentication…

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,413 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,796 questions
asked 2024-05-14T08:32:37.7933333+00:00
Stefania Robuschi 20 Reputation points
accepted 2024-05-21T11:04:28.7466667+00:00
Stefania Robuschi 20 Reputation points
1 answer

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
commented 2024-05-21T10:41:57.69+00:00
Sk 61 Reputation points
3 answers

Javascript Gridview checkbox alert message not working properly.

I am using javascript validation in gridview. I have selected checkboxes in the gridview. but, still it's throwing alert message unncessarily. where is the problem in the below code. kindly update asap if anyone identified the issues. or pls. provide…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,304 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,362 questions
asked 2024-05-19T14:52:29.7566667+00:00
Gani_tpt 1,706 Reputation points
commented 2024-05-21T10:02:53.86+00:00
Gani_tpt 1,706 Reputation points
2 answers

@await RenderSectionAsync giving "Cannot await method group" error

I am creating a razor application consisting of two simple user inputs and two navigation tabs with 'save' and 'cancel' button for the user inputs. I have pasted below part of the _Layout.cshtml code giving the titled error. Am I missing something ? …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,447 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,231 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,413 questions
asked 2024-05-21T04:33:58.8933333+00:00
Akhil Josef 0 Reputation points
commented 2024-05-21T09:44:47.3433333+00:00
Tiny Wang-MSFT 1,581 Reputation points Microsoft Vendor
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,850 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,362 questions
asked 2024-05-17T12:23:46.4633333+00:00
Meher, Shankar (CORP) 0 Reputation points
commented 2024-05-21T09:39:34.01+00:00
Jiale Xue - MSFT 35,556 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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,304 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,362 questions
asked 2024-05-18T13:34:00.7266667+00:00
Gani_tpt 1,706 Reputation points
accepted 2024-05-21T09:17:57.6933333+00:00
Gani_tpt 1,706 Reputation points
0 answers

Mixing net standard and visual c++

Hello Using VS 2017, can one have both net standard 2.0 and visual c++ projects in the same solution with the net standard project referencing the visual c++ project (.vsxproj)? If I create one solution containing two projects of this kind using VS 2017…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,447 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,681 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,556 questions
asked 2024-05-21T08:47:24.7566667+00:00
Flade, David 0 Reputation points
commented 2024-05-21T08:59:14.6966667+00:00
Flade, David 0 Reputation points
1 answer One of the answers was accepted by the question author.

Right way to dispose page with WebView in a MAUI app

I have a MAUI Android app (sample) with 2 pages, 1 home page and 1 page containing WebView. From home page user can go to the WebView page and open a site, come back to the home page and again go to WebView page to open other site, user can do this…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,966 questions
asked 2023-10-24T16:15:54.12+00:00
ac-lap 71 Reputation points
commented 2024-05-21T08:49:01.02+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor
0 answers

$.ajax patch method and .net 8 api action

Error Response Test - "{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"errors":{"$":["The JSON…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,447 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,231 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
898 questions
asked 2024-05-21T05:35:16.4333333+00:00
S R, Senthil 0 Reputation points
commented 2024-05-21T08:47:38.0466667+00:00
Tiny Wang-MSFT 1,581 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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,850 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,443 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,601 questions
asked 2024-05-21T03:56:04.6666667+00:00
Mansour_Dalir 1,651 Reputation points
accepted 2024-05-21T08:47:37.27+00:00
Mansour_Dalir 1,651 Reputation points
0 answers

App Services on Linux rebooting because exceeded "memory limits"/"swap usage limits"

Hello, I currently have a functional and production Windows service plan hosting 4 Blazor server side applications (2 production and 2 staging). I want to switch these applications to a Linux app service plan. So, I created a Linux Service Plan (P0v3,…

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,413 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,003 questions
asked 2024-05-21T08:23:23.8366667+00:00
Rémy Bertrand 0 Reputation points
0 answers

App is not displaying in IOS physical device in Debug and Release mode in .net 8 maui

Hi everyone, I need some help regarding App icon and app not showing in IOS physical device while debugging or in release mode in Visual Studio. The app icon is set properly in both info.plist and .csproj file. Recently we migrated to Dot-Net 8. In .NET…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,966 questions
asked 2024-05-15T11:27:33.5+00:00
Kalita, Nandini 0 Reputation points
commented 2024-05-21T08:22:23.52+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,946 Reputation points Microsoft Vendor
1 answer

Maui ios publish : Path's format not supported

Hello, I am encountering an issu when i am publishing, creating the archive of my maui application, i have the given error 16:02:09:546 Cannot create an IOS archive 'MT.TimeClean.Client.ForNative'. Process cannot be executed on XMA…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,966 questions
asked 2024-05-13T14:11:45.04+00:00
Cyril Auquier 0 Reputation points
commented 2024-05-21T08:20:00.37+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,946 Reputation points Microsoft Vendor
0 answers

Single Logout Request Not Working for Azure B2C SAML Federation to Azure Entra ID

I have an Azure B2C tenant that returns a JWT Token after doing a SAML Federation with Azure EntraID. The Login Federation works fine. While logging out, I am trying to redirect to the link…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,358 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
96 questions
asked 2024-05-21T07:32:32.17+00:00
Abhishek Chowdhury 0 Reputation points
edited the question 2024-05-21T08:14:17.1+00:00
Jiale Xue - MSFT 35,556 Reputation points Microsoft Vendor
1 answer

Maui MediaPicker.Default.CapturePhotoAsync windows doesn't display camera

When I run the app is the VS 2022 on Windows 10 the MediaPicker.Default.CapturePhotoAsync method displays the camera and allows me to capture a photo. When the app is published and installed on Windows 10 the MediaPicker.Default.CapturePhotoAsync method…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,775 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,966 questions
asked 2024-04-30T16:15:24.1733333+00:00
Grant Schaffer 25 Reputation points
commented 2024-05-21T08:12:16.8966667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,946 Reputation points Microsoft Vendor
0 answers

Maui app for Android how to get rid of this dialog

Hello All. I use Ver 17.10 preview 7 and android Ver 34. I get the following dialog (image) and when I cancel it all go OK But every time I build my app it's appears and I need to cancel it to continue the build task. Please how I can get rid of it. …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,681 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,966 questions
asked 2024-05-19T08:46:12.7066667+00:00
Haviv Elbsz 1,946 Reputation points
commented 2024-05-21T07:58:19.79+00:00
Haviv Elbsz 1,946 Reputation points
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,966 questions
asked 2024-05-19T15:06:04.2166667+00:00
mc 3,701 Reputation points
commented 2024-05-21T07:43:13.6233333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,311 Reputation points Microsoft Vendor