24,239 questions with .NET-related tags

Sort by: Updated
1 answer

The process cannot access the file because it is being used by another process

I tried to update me db schema in my code and after changing that if i run my application i ma getting the error as follows The process cannot access the file because it is being used by another process but my db is not opened anywhere so how to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,458 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,376 questions
asked 2023-02-09T13:53:39.9233333+00:00
Dineshkumar.S 451 Reputation points
commented 2024-05-14T06:16:20.01+00:00
Mustafa Bamboat 0 Reputation points
1 answer One of the answers was accepted by the question author.

Working with Date picker

Currently I am using the default date picker provided by MAUI , if i have to a select the year 2025 or 26 , I have to keep pressing the right arrow to get to the year or month which can be time consuming if the years are far ! instead of tapping on the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,972 questions
asked 2024-05-13T10:28:40.7833333+00:00
Manickam, Suraj 260 Reputation points
accepted 2024-05-14T05:38:21.9733333+00:00
Manickam, Suraj 260 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,312 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,972 questions
asked 2024-05-13T17:39:49.45+00:00
PragadeeshRaj V 0 Reputation points
commented 2024-05-14T05:31:21.21+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
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,458 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,376 questions
asked 2024-05-13T16:09:43.7+00:00
Jordan Halgunseth 1 Reputation point
commented 2024-05-14T03:23:07.6433333+00:00
Jiale Xue - MSFT 36,391 Reputation points Microsoft Vendor
2 answers

Show/hide the fields based on the condition in jQuery

how to show/hide the otp->textbox and update->button based the onblur SaveProfileName_Email values change. Initially, when the page is loaded the txtProfileEmail and txtProfileName should contains the default values ex:- txtProfileEmail :- a@b.com…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,312 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
901 questions
asked 2024-05-07T12:17:10.6533333+00:00
Ashok Kumar 201 Reputation points
answered 2024-05-14T03:18:45.8033333+00:00
QiYou-MSFT 4,306 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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,972 questions
asked 2024-05-12T10:55:17.5+00:00
Dani_S 2,886 Reputation points
accepted 2024-05-14T02:39:00.18+00:00
Dani_S 2,886 Reputation points
1 answer

How to sub section a long user entry form in MVC C#

I need to develop a long user entry form (Job application form). Which has many sub-sections like personal data, Exam Results, Work Experience, Membership etc...As all these cannot be displayed at once I want to show one section (personal data) first,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,237 questions
asked 2024-05-11T06:02:54.0166667+00:00
Monica Suriyaarachchi 0 Reputation points
answered 2024-05-14T02:38:14.6233333+00:00
Monica Suriyaarachchi 0 Reputation points
1 answer One of the answers was accepted by the question author.

Visual studio 2022 Maui missing android and windows dependencies

Hi, I'm working on the maui and pretty sure when creating a project I had all dependencies - android, ios, mac, & window. Today I just noticed only two dependecies. How can I get the other two (android & windows) back? Thanks, J

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,690 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,972 questions
asked 2024-05-11T16:36:10.93+00:00
Jay 20 Reputation points
accepted 2024-05-13T21:35:51.7066667+00:00
Jay 20 Reputation points
3 answers

Update Workload Problem/ NuGet Package unable to be installed.

**I have created 3 Projects: FrontEndProject and it is a Blazor Project and this is the csProj:** <Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly"> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,237 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,419 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,376 questions
asked 2024-05-10T04:54:17.63+00:00
Muhammad Ghozlan 5 Reputation points
commented 2024-05-13T21:20:09.44+00:00
Bruce (SqlWork.com) 57,886 Reputation points
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,374 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,458 questions
asked 2024-05-13T19:24:05.7066667+00:00
AK-9186 5 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,856 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,856 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,376 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 5,050 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,237 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,678 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

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,419 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,237 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.9K 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,972 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
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,856 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,686 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,376 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
2 answers

In Blazor Server App, getting 404 error on page refresh

I am working on a Blazor server app with ASP.NET Core MVC and MudBlazor for design. My panel pages are in a PanelProject. I face the following issues: Whenever I try to refresh a page, I get a 404 error. Sometimes, I get a 403 error without knowing…

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,419 questions
asked 2024-03-11T06:57:18.34+00:00
Mrbanad 30 Reputation points
commented 2024-05-13T10:35:42.86+00:00
Mrbanad 30 Reputation points
1 answer One of the answers was accepted by the question author.

Enable a button after scrolling to the bottom of the webview

I am trying to enable a button when the user has scrolled to the bottom of a webview , i tried using navigated , it does not work. In xamarin, we used a customRenderer to achieve this , Can we do this in a simpler way in MAUI? Platform : Android ,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,972 questions
asked 2024-04-25T16:11:38.03+00:00
Manickam, Suraj 260 Reputation points
accepted 2024-05-13T10:10:04.3133333+00:00
Manickam, Suraj 260 Reputation points
0 answers

Unable to bypass the certificate validation when trying to access APIs from a web application which has its own certification

Unable to bypass the certificate validation when trying to access APIs from a web application which has its own certification Hi All, I m facing issue when I m trying to access a Service management API to create/ fetch a ticket through my web application…

ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
306 questions
asked 2024-05-07T14:02:15.3033333+00:00
nitar_prof 0 Reputation points
commented 2024-05-13T09:38:21.3533333+00:00
nitar_prof 0 Reputation points