24,101 questions with .NET-related tags

Sort by: Updated
0 answers

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,422 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,318 questions
asked 2024-05-13T16:09:43.7+00:00
Jordan Halgunseth 1 Reputation point
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:02:08.15+00:00
Bruce (SqlWork.com) 57,241 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,936 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,318 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

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,936 questions
asked 2024-05-12T10:55:17.5+00:00
Dani_S 2,766 Reputation points
commented 2024-05-13T15:37:05.3833333+00:00
Bruce (SqlWork.com) 57,241 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,292 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,318 questions
asked 2024-05-13T15:30:31.1333333+00:00
Gani_tpt 1,586 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-13T15:28:13.06+00:00
Mark Leaming 0 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,292 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,318 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,292 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

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…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,298 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,936 questions
asked 2024-05-13T14:11:45.04+00:00
Cyril Auquier 0 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,936 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,422 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,936 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
1 answer

Dropdown gets closed while using mouse event args

Hi Everyone, This works fine when i hover over the button it shows and closes when it comes out of the dropdown however the dropdown still closes while mouse pointer is still in the dropdown. Could some share your ideas!! My need is to display the…

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-13T06:24:56.8566667+00:00
Jagan 0 Reputation points
answered 2024-05-13T13:39:22.31+00:00
Jerry Fu - MSFT 561 Reputation points Microsoft Vendor
0 answers

TPL TransformBlock Behavior

I have created TransfromBlock of capacity 5. When I am trying to send 6 elements then the code portion like receiving of the block elements and count is not working. I expected that elements beyond the bounded capacity should be discarded/ignored and the…

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
asked 2024-05-12T16:58:17.37+00:00
net 6 newbie 121 Reputation points
commented 2024-05-13T13:33:48.5133333+00:00
Viorel 112.7K Reputation points
0 answers

Reopening the app from background is crashing with an exception of "Window was already created" from base.onresume().

When I try to reopen an app from background it is crashing when I am using base.onresume() in mainactivity. It gave an exception "Window was already activated". I saw some work around of adding launchmode as singletop or singletask would work…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,936 questions
asked 2024-05-08T07:28:42.4233333+00:00
Keerthana Krishna 40 Reputation points
commented 2024-05-13T13:19:48.1133333+00:00
David Brewer 0 Reputation points
1 answer

Toast make disappear very fast in iOS devices.

In Android below code is working fine but in iOS it's disappear very fast means come and then directly close within milli second iOS version 17.2 in .NET 8.0 XCode version - 15.3 CommunityToolkit.Maui Version - 7.0.1 public class…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,936 questions
asked 2024-03-11T17:12:04.65+00:00
Bhuwan 616 Reputation points
edited an answer 2024-05-13T12:56:20.3+00:00
AEH-2740 0 Reputation points
2 answers One of the answers was accepted by the question author.

*.net referenced dll is not seen with a using statement

Hi, I have a project called MBSAnalysisMVCWebApp which is a web app. I reference MBSAnalysisMVCWebApp from my main MVC project called Mbsa. But when I try a using statement, It says MBSAnalysisMVCWebApp cannot be seen?  The MBSAnalysisMVCWebApp.dll…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,292 questions
asked 2024-04-29T15:37:56.6+00:00
iqworks Information Quality Works 256 Reputation points
commented 2024-05-13T12:53:04.2333333+00:00
iqworks Information Quality Works 256 Reputation points
1 answer

Unwanted Space and Margins are surrounding the control in designer when Integrating WPF User-Control into Form using ElementHost

When integrating the WPF user-control (For Example: The UserControl contains the button) into a form using ElementHost, there are unwanted spaces and margins surrounding the control in the designer. It works fine in runtime; reported issue is reproduced…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,841 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,681 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,318 questions
asked 2023-06-21T06:32:40.6233333+00:00
bagavathi basker 0 Reputation points
commented 2024-05-13T12:40:53.9366667+00:00
Karthick Arjunan 0 Reputation points
0 answers

You are using a version of the client that isn't compatible with the server. Client version 1.5, server version undefined

1 I'm using SignalR in my project (asp.net and react js). Here in C# I'm using (.net 4.8) Microsoft.AspNet.SignalR.Client Version - 1.2.2.0 Runtime version - v4.0.30319 Microsoft.AspNet.SignalR.Core Version - 2.2.3.0 Runtime version -…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,292 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
121 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
885 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,318 questions
asked 2024-05-13T12:36:08.4+00:00
Ankit Singh 2 0 Reputation points