24,085 questions with .NET-related tags

Sort by: Updated
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,209 questions
asked 2024-05-12T16:58:17.37+00:00
net 6 newbie 121 Reputation points
edited a comment 2024-05-12T17:45:44.58+00:00
Viorel 112.7K 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,930 questions
asked 2024-05-12T10:55:17.5+00:00
Dani_S 2,746 Reputation points
commented 2024-05-12T17:05:49.6366667+00:00
Dani_S 2,746 Reputation points
1 answer

Azure AD B2C returns 401 Unauthorized when accessing controller

I am building a Blazor WASM app, in .NET 8, which I intend to protect using Azure Active Directory B2C. I created an AAD B2C app registration, and exposed an API from it. Then I created another app registration to serve as a client, and gave it 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,404 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,932 questions
asked 2024-05-07T21:57:34.52+00:00
Lazar N 0 Reputation points
answered 2024-05-12T16:35:47.13+00:00
Bruce (SqlWork.com) 57,166 Reputation points
1 answer

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,289 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
883 questions
asked 2024-05-07T12:17:10.6533333+00:00
Ashok Kumar 201 Reputation points
answered 2024-05-12T16:21:25.34+00:00
Bruce (SqlWork.com) 57,166 Reputation points
2 answers

This configuration section cannot be used at this path. This happens when the site administrator has locked access to this section using <location allowOverride="false"> from an inherited configuration file.

Server Error in '/' Application. Configuration Error __Description:__An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,417 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,289 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,206 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,310 questions
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.
303 questions
asked 2024-05-12T12:11:59.8466667+00:00
Dhananjay Dangadi 0 Reputation points
answered 2024-05-12T15:51:20.3333333+00:00
Bruce (SqlWork.com) 57,166 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,289 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,310 questions
asked 2024-05-05T17:01:04.1133333+00:00
Gani_tpt 1,586 Reputation points
commented 2024-05-12T13:17:22.8033333+00:00
Gani_tpt 1,586 Reputation points
0 answers

How To Customize The Finger Print Dialog In Maui

Hi, i want customize the finger print dialog in maui .net 8 for example : set margin or change text color or ... this my codes private async Task AuthByFingerPrint() { // In constructor: var request = new…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,417 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,930 questions
asked 2024-05-12T12:46:04.9366667+00:00
Mahdi Elahi 26 Reputation points
1 answer One of the answers was accepted by the question author.

"owl carousel" not working when appending data dynamically using jquery

I'm appending the data dynamically to "owl carousel" and initially the data is showing correctly and next (when I click the button) I'm erasing and re-assigning the data to the "owl carousel" (because the data will keep change) at…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,289 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
883 questions
asked 2024-05-06T04:31:47.04+00:00
Ashok Kumar 201 Reputation points
commented 2024-05-12T12:32:51.0733333+00:00
Ashok Kumar 201 Reputation points
1 answer One of the answers was accepted by the question author.

How to display Image Data on .NET MAUI Blazor App

How to display Image Data on .NET MAUI Blazor App Here is the api that fetches Image data https://quizapijwt.azurewebsites.net/api/Questions Images are stored in imagedata bytea CREATE TABLE public."Questions" ( "SNo" int4 NOT NULL…

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,404 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,930 questions
asked 2024-05-11T14:40:39.1366667+00:00
Maui Learner 460 Reputation points
commented 2024-05-12T11:20:43.7466667+00:00
Maui Learner 460 Reputation points
0 answers

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,209 questions
asked 2024-05-11T06:02:54.0166667+00:00
Monica Suriyaarachchi 0 Reputation points
edited a comment 2024-05-12T10:38:38.1766667+00:00
AgaveJoe 26,146 Reputation points
0 answers

Create MSI from EXE in MAUI

Hi, In cmd i create the exe of MAUI App. using this command: dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,930 questions
asked 2024-05-12T09:34:27.1366667+00:00
Dani_S 2,746 Reputation points
1 answer

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,209 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,404 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,310 questions
asked 2024-05-10T04:54:17.63+00:00
Muhammad Ghozlan 0 Reputation points
commented 2024-05-12T08:52:09.4633333+00:00
Muhammad Ghozlan 0 Reputation points
0 answers

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,930 questions
asked 2024-05-10T01:53:53.1+00:00
Yusuf 691 Reputation points
edited a comment 2024-05-12T00:01:56.0933333+00:00
Yusuf 691 Reputation points
0 answers

Android Emulator waiting for debugger to attach in .net maui app

I upgraded my .net maui app from .net 7 to .net 8 and updated my nuget packages. I built the output solution but deployment was not successful as I had received the error message:- Xaml XC002 erro: Binding could be compiled if x:datatype is specified…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,930 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,310 questions
asked 2024-05-11T02:31:41.49+00:00
wire_jp 201 Reputation points
edited the question 2024-05-11T21:33:15.48+00:00
wire_jp 201 Reputation points
3 answers

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,839 questions
asked 2024-05-11T18:18:22.0666667+00:00
gb 41 Reputation points
commented 2024-05-11T19:39:51.0066667+00:00
Viorel 112.7K Reputation points
9 answers

How to fix this error "warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for redirect."

Good evening , I am trying to build a simple web api using ASP.Net . The app has been showing the error like this after building it - warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 questions
asked 2023-06-03T08:29:57.58+00:00
Vaishnavi P 45 Reputation points
edited a comment 2024-05-11T17:21:20.5066667+00:00
Francklin Amado 0 Reputation points
1 answer

SSRS Report Viewer windows forms - The request failed with an empty response

Dear all, we use the following component in our Windows Form (.net 4.7.2 application): Microsoft.ReportingServices.ReportViewerControl.Winforms 150.1620.0 Since we migrated our server on a new domain, we are getting sometimes the following execption in…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,839 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,813 questions
asked 2024-05-10T13:16:20.6633333+00:00
SERIOLI, MARCO (MSTI) 0 Reputation points
commented 2024-05-11T17:09:54.98+00:00
0 answers

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,647 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,930 questions
asked 2024-05-11T16:36:10.93+00:00
Jay 0 Reputation points
1 answer One of the answers was accepted by the question author.

How To used stored location in database with location calculate distance method

I am working on MAUI to calculate distance between two locations. I have stored the first et of location in an sqlits database. Using Location calculate distance method, I got error Severity Code Description Project Path File Line Suppression…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,930 questions
asked 2024-05-09T13:07:16.15+00:00
Gbenga Banuso Odumosu 40 Reputation points
commented 2024-05-11T15:42:12.2366667+00:00
Gbenga Banuso Odumosu 40 Reputation points
0 answers

How to debug the MAUI app in the Android work profile.

Hello Team, I was working on one of the samples of Microsoft. - https://github.com/Azure-Samples/ms-identity-dotnetcore-maui/tree/main/MauiAppWithBroker which crashing when installed in the work profile. Tried to debug it using the visual studio. Is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,930 questions
Microsoft Intune Android
Microsoft Intune Android
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Android: An open-source mobile platform based on the Linux kernel, developed by Google, and maintained by the Open Handset Alliance.
239 questions
asked 2023-07-17T08:48:44.5566667+00:00
Vikrant Singh 16 Reputation points Microsoft Employee
commented 2024-05-11T13:45:05.8933333+00:00
Willem Gijsbers 5 Reputation points