24,104 questions with .NET-related tags

Sort by: Updated
0 answers

Fix intermittent exceptions with an Azure function running as a .NET8 isolated worker process

I inherited an Azure function that has been running fine on .NET6 In-Process Model. I recently moved it to .NET8 Isolated Worker Model and I am seeing some Exceptions in my App Insights log. There are about 10k requests made per hour and only 10 of them…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,328 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,423 questions
asked 2024-05-13T19:24:05.7066667+00:00
Abinav Krishna 0 Reputation points
0 answers

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,938 questions
asked 2024-05-13T14:11:45.04+00:00
Cyril Auquier 0 Reputation points
edited the question 2024-05-13T19:12:16.7733333+00:00
Rob Caplan - MSFT 5,422 Reputation points Microsoft Employee
1 answer

Stop background worker

I am using C#. I have a that has a background worker reading a file. How do I stop it before it is finished by pressing esc key.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,423 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,319 questions
asked 2024-05-13T16:09:43.7+00:00
Jordan Halgunseth 1 Reputation point
commented 2024-05-13T18:49:21.6833333+00:00
KOZ6.0 4,895 Reputation points
3 answers One of the answers was accepted by the question author.

Debugging the Painting code of a control - stepping through System.Drawing code?

I'm working on a custom control that has a fairly hard-to-diagnose bug in its Painting/Drawing code, which is using GDI+ System.Drawing tools. This is in a sub-method being called from an overridden OnPaintBackground method. It would be much easier if I…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,841 questions
asked 2024-05-11T18:18:22.0666667+00:00
gb 66 Reputation points
accepted 2024-05-13T18:43:23.0733333+00:00
gb 66 Reputation points
2 answers One of the answers was accepted by the question author.

permanent footer row in datagridview

hi , is there a way by which our datagridview control could have a footer row below exactly after the 12 rows and if the rows in the datagridview increases , suppose by 2 . it should always be at last position but it always should be after 12 rows . the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,841 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,319 questions
asked 2023-09-21T12:32:58.41+00:00
ankit goel 746 Reputation points
commented 2024-05-13T18:35:41.33+00:00
KOZ6.0 4,895 Reputation points
0 answers

Not able to get all paging checkbox checked records in gridview asp.net c#

I am using gridview with paging. i done all the pagination code and selected checkbox. Checkbox "CheclALL" is working fine with every page. But, when i save the record, it will be saving only last page checkbox checked values. What is the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,293 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,319 questions
asked 2024-05-13T15:30:31.1333333+00:00
Gani_tpt 1,586 Reputation points
commented 2024-05-13T18:12:26.2833333+00:00
Gani_tpt 1,586 Reputation points
1 answer

MAUI on MAC

Hi, I have new MAC. I developed app in VS 17.8.4 net 8. How to install vs code on MAC ? Which extensions in VS Code to install ? What I need more to run the project that witten in VS 17.8.4? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,938 questions
asked 2024-05-12T10:55:17.5+00:00
Dani_S 2,766 Reputation points
commented 2024-05-13T18:06:46.0966667+00:00
Dani_S 2,766 Reputation points
0 answers

Integrating MAUI Project with Another Project Reference and MSI Setup in Visual Studio

I'm currently tackling a project that requires creating a MAUI (Multi-platform App UI) project in Visual Studio while also referencing another project, such as a service for installation and background processes, within the same solution. Furthermore, I…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,293 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,938 questions
asked 2024-05-13T17:39:49.45+00:00
PragadeeshRaj V 0 Reputation points
0 answers

How can I complete the "Build a .NET MAUI app with Azure Mobile Apps" tutorial when "build" complains that "net6.0-android is out of support"?

Have installed Visual Studio 2022 Version 17.9.6 including the required workloads. Installed azd version 1.9. Working through the title tutorial. Have met all the prerequisites. I am stumped trying to complete the step "Deploy the backend to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,938 questions
asked 2024-05-13T17:31:14.0733333+00:00
Jesse Johnson 0 Reputation points
1 answer

I tried debugging .NET application but getting SSL CERT warning. How do I fix it?

I tried debugging .NET application in MS VS 2022, but getting SSL CERT warning. Should I install the certificate? Is it mandatory?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,423 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
948 questions
asked 2024-05-10T14:53:45.1666667+00:00
Rishitha 0 Reputation points
answered 2024-05-13T17:12:13.3+00:00
Rishitha 0 Reputation points
0 answers

Solution: Custom SignalR Endpoints (Hubs) in a Blazor Server Application using Azure B2C When Deployed to Azure

Posting this in case I need it myself... Issue: Using custom SignalR endpoints (for example a /chat hub) with Authentication in a Blazor Server application that uses Azure B2C will not work when deployed. It will work fine on your local machine (using…

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,406 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
121 questions
asked 2023-01-15T08:30:23.1666667+00:00
Michael Washington 911 Reputation points MVP
commented 2024-05-13T16:45:42.6066667+00:00
Michael Washington 911 Reputation points MVP
12 answers

Not remembering source control plug-in (Git)

Since the last release, Visual Studio 2022 is not remembering the source control selection. Every time a project is opened, I must open the options dialog, go to Source Control, and select Git from the "current source control plug-in." Once I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,423 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,649 questions
asked 2023-09-06T18:51:27.7633333+00:00
Brad Knode 60 Reputation points
edited a comment 2024-05-13T16:22:29.66+00:00
Garry Lowther 21 Reputation points
1 answer

How to setup Blazor Server with Blazor WASM with gRPC for virtual IIS application?

Hi, I have simple Blazor Server without static files. It is only falling into Blazor WASM with static files using FallBackTo. There is gRPC an its Controller mapped on the main endpoint. Everythig is working on https://localhost. Once I try to deploy…

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,212 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,406 questions
asked 2024-05-10T13:41:33.87+00:00
Matěj Rada 20 Reputation points
commented 2024-05-13T16:18:33.1833333+00:00
Matěj Rada 20 Reputation points
0 answers

Dropbox on .NET Maui

I am trying to get Dropbox to work in .net maui. I have it working fine in xamarin.ios, it open a browser and get them to login, then when the go back from the browser, the app is receives the redirect in appdelegate.cs to get the auth token and use it…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,938 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,319 questions
asked 2024-05-12T21:27:18.04+00:00
Phunction 206 Reputation points
commented 2024-05-13T15:50:41.9533333+00:00
Phunction 206 Reputation points
1 answer One of the answers was accepted by the question author.

Azure B2C signin-oidc Password Reset - OpenIdConnectProtocolException - invalid_grant

Sign-in and Sign-out flows are working correctly without an error. The password reset is working - the password is changed and the user flow test shows the claims being created correctly. The issue I am facing is on the redirect. This ends with: …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,212 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,663 questions
asked 2021-10-30T23:37:11.787+00:00
Chilberto 231 Reputation points
commented 2024-05-13T15:24:37.9433333+00:00
Prabhu Ramachandran 0 Reputation points
1 answer

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,293 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,319 questions
asked 2024-05-05T17:01:04.1133333+00:00
Gani_tpt 1,586 Reputation points
commented 2024-05-13T15:03:58.9166667+00:00
Gani_tpt 1,586 Reputation points
0 answers

web.config bindingRedirect not working

Hi, I have two projects. I have a MVC web application called MBSAnalysisMVCWebApp. I also have a .net framework MVC project called Mbsa. I found this link: …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,293 questions
asked 2024-05-11T22:47:30.2733333+00:00
iqworks Information Quality Works 256 Reputation points
edited a comment 2024-05-13T14:59:48.13+00:00
iqworks Information Quality Works 256 Reputation points
0 answers

Whenever I deploy my .NET MAUI application to my Android phone, it exits the code, producing an error "GetVersionTask" failed unexpectedly". What could be the solutions for this?

Whenever I deploy my application to my Android phone, it produces the error called ""GetVersionTask" failed unexpectedly." When I run it using Windows Machine, it runs completely normal. What could be the solution to this?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,649 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,938 questions
asked 2024-05-10T12:55:17.3633333+00:00
John Ivan D. Bachiller 0 Reputation points
commented 2024-05-13T14:07:41.1133333+00:00
John Ivan D. Bachiller 0 Reputation points
1 answer

Is it normal that the publishing of my NET MAUI app on iOS never ends?

Hello everyone, I am actually trying to do an ad-hoc deploy on iOS, of my .NET MAUI app. But for some reason it don't work. I've followed every step from there…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,423 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,938 questions
asked 2024-04-23T11:41:03.2766667+00:00
Cyril Auquier 0 Reputation points
answered 2024-05-13T14:05:45.0333333+00:00
Cyril Auquier 0 Reputation points
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.
7 questions
asked 2024-05-10T14:06:11.3866667+00:00
Stanley, Eugene 0 Reputation points
edited the question 2024-05-13T14:03:06.37+00:00
Pradeep M 475 Reputation points Microsoft Vendor