24,143 questions with .NET-related tags

Sort by: Updated
1 answer

How to dynamically change the port listened by Webserver in. NET when the Webserver is running

I created a NET 8 Console Application to create a WebServer and make it a Windows Service, in Program.cs, the code implementation is as follows var webOptions = new WebApplicationOptions() { Args = args, ContentRootPath =…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,433 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
asked 2024-05-15T07:45:43.5233333+00:00
Aspire 81 Reputation points
answered 2024-05-15T15:43:05.2733333+00:00
Bruce (SqlWork.com) 57,406 Reputation points
1 answer

ManagedIdentityApplication.AcquireTokenForManagedIdentity("api://AzureADTokenExchange") giving error in local machine.

Hi, I am implementing the "Federated Identity Credential" along with User Managed identity in .net core 3.1 web api. Getting the error code: "managed_identity_unreachable_network" with error message "A socket operation was…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,204 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,710 questions
asked 2024-05-10T11:41:44.0866667+00:00
SivaD 0 Reputation points Microsoft Vendor
answered 2024-05-15T15:23:07.7266667+00:00
Bruce (SqlWork.com) 57,406 Reputation points
1 answer

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,409 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,710 questions
asked 2024-05-14T08:32:37.7933333+00:00
Stefania Robuschi 0 Reputation points
edited a comment 2024-05-15T15:04:52.9133333+00:00
JasonPan - MSFT 4,381 Reputation points Microsoft Vendor
2 answers

CORS configuration does not work as expected

Hello! I am going through the course module "Create a full stack application by using React and minimal API for ASP.NET Core" and this unit describes steps to enable CORS in response to allow client app request data from API -…

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.
8 questions
asked 2024-05-15T10:07:49.2366667+00:00
RomKo 0 Reputation points
answered 2024-05-15T14:58:28.1933333+00:00
RomKo 0 Reputation points
0 answers

Error when uploading CSV files to Azure blob storage using ManagedIdentity with C# and GraphQLAPI. "Total size of resourceFiles is using 147% of available space after processing."

Hello All, I have created a console app using C# where I try to fetch the data from GraphQLAPI and store the data in csv files. post that it would be uploaded to the Azure blob storage using ManagedIdentity. This complete code work fine in my local VS…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,295 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,676 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,329 questions
asked 2024-05-15T08:40:14.42+00:00
Siddhesh Chavan 0 Reputation points
edited the question 2024-05-15T14:29:04.6466667+00:00
vipullag-MSFT 24,541 Reputation points
1 answer

How to get the bindable data from View MAUI

I have a code snippet below where I dynamically add data to StackLayout. For Xamarin Forms using BindingContext, I could access the data bound to the view. But this is not possible in.net MAUI. Is there any documentation for the same? public class MyData…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,949 questions
asked 2024-05-14T12:14:20.2066667+00:00
Chinmay Dole 20 Reputation points
accepted 2024-05-15T14:05:49.4666667+00:00
Chinmay Dole 20 Reputation points
0 answers

How can i bind Sumsub mobile android sdk to net maui?

Hi, i try create the binding project with sumsub mobile android sdk, but i didn't have methods of SDK But not have methods build and launch.... his is official android sdk initializing Can you explain what I am doing wrong? and is possible to use…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,949 questions
asked 2024-05-15T06:02:29.3266667+00:00
Баходир Кадыров 0 Reputation points
edited the question 2024-05-15T13:55:26.84+00:00
Баходир Кадыров 0 Reputation points
1 answer

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,409 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
120 questions
asked 2023-01-15T08:30:23.1666667+00:00
Michael Washington 911 Reputation points MVP
answered 2024-05-15T13:18:30.56+00:00
Hatvani Sándor 0 Reputation points
1 answer

sending an email with attachment in .net core console application

I need to send an email with attachment in .net core console application. The part of sending an email is working. The attachment part is not working. I have this code: public void sendEmail(List<string> toList) { string from =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 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,329 questions
asked 2023-05-03T19:01:31.5566667+00:00
Anjali Agarwal 1,386 Reputation points
answered 2024-05-15T12:46:38.93+00:00
Mohammad Nedariya 0 Reputation points
0 answers

How to resolve SignalR Hub connection issue from Client side Javascript code

I have web application developed in .NET 5.0. This web application calls Web APIs to fetch information from SQL DB. Web and API applications are two separate applications hosted in Azure. I want to push some real time data every 2 minutes to all clients…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,433 questions
asked 2024-05-15T12:40:41.6033333+00:00
Mayuri Barve 1 Reputation point
0 answers

Certificate Revocation List

Hi All, We have a WPF application built on .Net Framework v4.8. This application acts as an HTTPs client. We are currently performing the certificate check using 'RemoteCertificateValidationCallback' method (except CRL). We now need to perform CRL…

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,685 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,329 questions
asked 2024-05-14T06:33:05.25+00:00
S Abijith 346 Reputation points
commented 2024-05-15T12:27:30.35+00:00
S Abijith 346 Reputation points
3 answers

How can I get MSBuild to restore any needed NuGet packages

I've looked at a ton of articles on this including here and here. None provide a solution that I can get to work. I have everything turned on for automatically doing this in VisualStudio. But on our build machine we build the .sln files using…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,433 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,333 questions
asked 2020-12-29T17:05:07.117+00:00
David Thielen 2,286 Reputation points
commented 2024-05-15T12:16:37.51+00:00
Damien Dussart 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,949 questions
asked 2024-05-15T11:27:33.5+00:00
Kalita, Nandini 0 Reputation points
edited the question 2024-05-15T11:34:15.4133333+00:00
Kalita, Nandini 0 Reputation points
4 answers One of the answers was accepted by the question author.

Blazor Server: It is possible get Current Loged User In DbContext

Hello, I build blazor server multi tenant application and I wants to use HasQueryFilter in entity framework DbContext for predefined filter with TenantId. But I cannot get Current Loged User in DbContext. I inject to DB Context…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
698 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,409 questions
asked 2021-03-17T08:54:54.227+00:00
Jan Mucha 101 Reputation points
answered 2024-05-15T11:09:34.7366667+00:00
james biyond 0 Reputation points
0 answers

Displaying Fast Data

C# -> WPF -> .NET 6 Windows 10 64-bit, Visual Studio Community 2022 v17.9.2 I am writing a program in which I want to see the current from a 3-phase brushless DC Motor. Each phase will be displayed in a different colour to differentiate them. I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,433 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,685 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,329 questions
asked 2024-05-15T11:09:06.6233333+00:00
dmccric 0 Reputation points
1 answer

How to get the position of NotifyIcon at runtime?

Hi, I want to retrieve the location and size of notifyIcon whenever it be clicked. The purpose is to set the application UI above the notifyIcon like the below photo. Please show me how I can do this with C#. Thank you!

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,845 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,433 questions
asked 2024-05-15T04:06:34.3866667+00:00
Việt Trần 0 Reputation points
commented 2024-05-15T11:07:07.1133333+00:00
james biyond 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,949 questions
asked 2024-05-13T14:11:45.04+00:00
Cyril Auquier 0 Reputation points
commented 2024-05-15T11:05:58.32+00:00
Cyril Auquier 0 Reputation points
0 answers

Could you suggest anti-tampering solution for .NET MAUI mobile application ?

Hi all, Our team is facing with a challenge that applying anti-tampering solution for our .NET MAUI mobile application on both Android and IOS. We tried checksum bytes from assembly but it's not work on Android (IOS is normal working). Also, we tried…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,949 questions
asked 2024-04-08T07:46:33.6033333+00:00
Thinh Nguyen Viet 0 Reputation points
commented 2024-05-15T11:00:15.31+00:00
Thinh Nguyen Viet 0 Reputation points
2 answers

Encountering 'WebSocketException (0x80004005): The server returned status code '404' when status code '101' was expected' when signalr client starts a hub connection.

We have a .net core signalr client trying to establish a connection to signalr hub web application and a signalr service. The client successfully connects to the hub and signalr service, but fails when attempting to start the websocket transport to the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
120 questions
asked 2022-11-21T22:00:12.137+00:00
Qian Zhang 11 Reputation points
answered 2024-05-15T10:57:08.44+00:00
Hatvani Sándor 0 Reputation points
0 answers

WebAuthenticator

We want to integrate a payment application, but some payment gateway do not support native WebView. Therefore, we need to navigate to a browser for the payment process and then return to our app upon completion. However, WebAuthenticator shows a login…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,949 questions
asked 2024-05-15T10:48:13.6066667+00:00
Yogita Magdum 0 Reputation points