24,748 questions with .NET-related tags

Sort by: Updated
0 answers

I'm getting a runtime error in my functions app but only in Azure, locally everything works fine and neither any issues in my Azure DevOps pipeline.

The error I'm getting is: Microsoft.Azure.WebJobs.Script: Error building configuration in an external startup class. StoringenDWG.Functions: Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstractions, Version=8.0.0.0,…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,552 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,566 questions
asked 2024-07-02T18:54:52.1366667+00:00
Bjorn Lenoir 0 Reputation points
0 answers

Timeout Expired when multiple users login to the asp.net applications

I am developing asp.net application and hosted in the IIS server. when multiple user (more than 300 users+) accessing the applications at very first time all the users getting below error. "timeout expired. The timeout period elapsed prior to…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,394 questions
asked 2024-07-01T13:29:08.3033333+00:00
Gani_tpt 2,092 Reputation points
edited a comment 2024-07-02T18:39:24.9133333+00:00
AgaveJoe 27,421 Reputation points
1 answer

Send email from a .Net Framework Winforms application and service using Microsoft accounts.

Hello. We provide a .Net Framework Winforms application with a service. Both share code which allows our customers to send email from their own email accounts, currently using MailKit, although we could use another client if necessary. Where they want…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,868 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,566 questions
Microsoft Entra
asked 2024-06-28T11:56:45.4266667+00:00
Fortecho Solutions Ltd 0 Reputation points
commented 2024-07-02T18:34:16.2366667+00:00
Raja Pothuraju 1,190 Reputation points Microsoft Vendor
1 answer

Unhandled exception in "Build a web API with minimal API, ASP.NET Core, and .NET" Unit 2.

I wrote my code exactly as instructed, and I'm getting the following error message: Unhandled exception. System.InvalidOperationException: The service collection cannot be modified because it is read-only. at…

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.
16 questions
asked 2024-05-18T00:58:16.51+00:00
João Victor Serra Pinto 15 Reputation points
commented 2024-07-02T17:49:36.6433333+00:00
David Amedeka 0 Reputation points
7 answers

Best Report Tools for Blazor

My company is transitioning from legacy software that makes extensive use of Crystal Reports and we are looking for a tool compatible with Blazor. Many options come up in a Google search, but we don't have enough experience with the platform to make an…

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,471 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,854 questions
asked 2023-02-09T02:52:54.0333333+00:00
RussDFM 5 Reputation points
answered 2024-07-02T16:20:20.1366667+00:00
David Thielen 2,506 Reputation points
0 answers

Blazor Server Side Custom CultureInfo getting overridden when using AzureSignalR

I have a Blazor interactive server side .net 8 application. I wanted to change the default DateTimeFormat across the entire application for certain Cultures, so I created some custom CultureInfo's shown here: public static List<CultureInfo>…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,566 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,471 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
131 questions
asked 2024-06-25T23:30:39.3+00:00
C-Jesse Bryan 0 Reputation points
commented 2024-07-02T16:16:03.28+00:00
David Thielen 2,506 Reputation points
0 answers

Shell Navigation doesn't render the next page on Android. Shell Current State shows DnsSafeHost - System Invalid Exception.

Shell Navigation doesn't render the next page on Android. Shell Current State shows DnsSafeHost - System Invalid Exception. The steps - Have set the AppShell as MainPage MainPage = new AppShell(); Routing registered for second page on…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-07-02T15:49:46.3433333+00:00
Khadeeja Madathil 0 Reputation points
0 answers

MAUI - Issue with saving an Image as a ByteArrayContent

In my MAUI application, there is a profile page where users can view and edit their personal details. This page includes functionality for updating the profile image. Users have three options for adding a profile image: Taking a photo using the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-07-02T15:35:00.11+00:00
Sakshi Poojary 55 Reputation points
edited the question 2024-07-02T15:48:11.05+00:00
Sakshi Poojary 55 Reputation points
1 answer

How to navigate to 3rd party URL in Blazor WASM?

Hi, I have an e-commerce solution. Using Blazor WASM .NET 6 for the client side. I am using a 3rd party payment gateway. Unfortunately, they don't have a great support and help desk so most of the time I am trying to find my way with trial and error. I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,336 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,471 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,564 questions
asked 2024-07-02T10:15:03.17+00:00
Cenk 986 Reputation points
edited an answer 2024-07-02T15:39:39.94+00:00
Bruce (SqlWork.com) 60,201 Reputation points
2 answers One of the answers was accepted by the question author.

Connection String to Grant Web App running .NET code access to PostgreSQL Flexible Server via Managed Identity

Hi, I need to deploy a webApp running .NET Code and Azure Database for PostgreSQL flexible server. Our policy is to grant webApps/functionApps access to SQL Server/MySql Server/PostgreSQL Server via Managed Identity. While, I can see connection strings…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
645 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,566 questions
Azure Database for PostgreSQL
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,259 questions
asked 2024-06-11T13:04:40.8433333+00:00
84017655 1 Reputation point
accepted 2024-07-02T15:27:50.82+00:00
84017655 1 Reputation point
0 answers

Issue with CollectionView RemainingItemsThresholdReached event

I am facing 2 issues with the CollectionView: I have given RemainingItemsThreshold="0" for CollectionView, but the RemainingItemsThresholdReached event is firing before reaching the last item. It is calling around 6 items before the last…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-07-02T15:15:25.8366667+00:00
Sreejith Sreenivasan 791 Reputation points
0 answers

MAUI - How can slider reduction be prevented?

In my MAUI application, I am using a slider to set a timer. The user can set the desired time by sliding the slider to the appropriate position. Once the timer is started, I want to prevent the user from reducing the set time until the timer completes…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-07-02T15:01:31.2433333+00:00
Sakshi Poojary 55 Reputation points
edited the question 2024-07-02T15:08:09.61+00:00
Sakshi Poojary 55 Reputation points
1 answer

ADFS retrieving claims using native client application

Hi, We are currently attempting to write a test application in C#, which needs to retrieve certain claims upon authorization. No matter what we have tried, it seems we only receive the same 10 claims from the ADFS server (see image for the received…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,566 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,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,564 questions
asked 2024-07-01T22:16:09.97+00:00
G_Niles 0 Reputation points
commented 2024-07-02T14:59:55.8133333+00:00
G_Niles 0 Reputation points
0 answers

Using Localization with DataAnnotation where do you put the ressources file and how to access it

I am using .Net Core 8 I succeed to use StringLocalizer and HtmlstringLocalizer I want to localized DataAnnotation the [Display(Name = "PhotoEpisode")] and the error message [Required(ErrorMessage = "Le sous-titre de l'épisode est…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,336 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,564 questions
asked 2024-07-02T14:57:31.1766667+00:00
Boucourt 65 Reputation points
3 answers One of the answers was accepted by the question author.

Getting Error: CS0234 The type or namespace name 'Android' does not exist in the namespace 'Xamarin.Forms.Platform' (are you missing an assembly reference?)

i have a Xamarin App (UWP & Android). The UWP still works, but after upgrading Nuget pacjkages i get the errors shown below. All the errors are in the MainActivity.cs File. Am I missing a Nuget Package or other reference? If so, which? Error CS0234:…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,317 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,566 questions
asked 2023-11-22T10:55:00.7566667+00:00
Moshe Raab 21 Reputation points
edited an answer 2024-07-02T14:08:42.7466667+00:00
Dan Z 0 Reputation points
0 answers

How to show alternate text if image loading failed in .net maui?

<Image x:Name="img" Source="{Binding Image}" Aspect="AspectFill" Margin="2" IsVisible="{Binding IsImage}"> </Image> I am using above code to show image. Additionally, i want to show…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-07-02T13:27:11.05+00:00
Thombre, Ashish 125 Reputation points
1 answer One of the answers was accepted by the question author.

MAUI: Slider header is not moving

I have a slider in my UI and I am not able to move it properly. Below is the code: <Slider x:Name="watchme_slider" Grid.Column="1" BackgroundColor="White" MinimumTrackColor="#1c98d7" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-07-02T07:08:24.18+00:00
Sreejith Sreenivasan 791 Reputation points
accepted 2024-07-02T13:07:50.7166667+00:00
Sreejith Sreenivasan 791 Reputation points
0 answers

Antivirus based on user

Hi, Does Antivirus based on user can work on maui net 8 mac os , i.e this anrivirus will block the USB and CDRome and only the user will on maui app can reach these drives. Like impersonation in windows. Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-07-02T12:58:05.2366667+00:00
Dani_S 3,186 Reputation points
edited a comment 2024-07-02T13:04:56.86+00:00
Dani_S 3,186 Reputation points
0 answers

MAUI .NET 8 on iOS -System.ArgumentException: NaN is not a valid value for width

I have created a new MAUI .NET 8 project and migrated the Xamarin forms project code. When tried to run the project with the iOS simulator with Jetbrains Rider, which threw the exception below, System.ArgumentException: NaN is not a valid value for…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-07-02T12:36:32.7033333+00:00
Aneetha 25 Reputation points
0 answers

Pentesting Blazor Server Apps

Hi, I came across a web app that is using Blazor Server, all the communication is happening through SignalR. Now in traditional web apps, pentesters use ZAP/Burp to intercept the traffic and manipulate with it. i.e. test access controls by toggling the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,336 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,471 questions
asked 2024-02-27T13:50:50.58+00:00
Najam ul Saqib 100 Reputation points
commented 2024-07-02T11:54:55.37+00:00
NOIPMYBIZCOM 0 Reputation points