22,432 questions with .NET-related tags

Sort by: Updated
0 answers

How to control browser resources

Dear Gurus! Website on Blazor server. On some relatively weak machines (For example, OS Windows XP 32 bit, 2 GB of RAM), after some time after working on the site, the client receives a message - there is not enough memory to load the page or something…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,901 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,268 questions
asked 2024-01-13T09:41:19.7166667+00:00
A Terentiev 65 Reputation points
edited the question 2024-01-13T09:43:48.0266667+00:00
A Terentiev 65 Reputation points
1 answer

How can I convert a Blazor Web Assembly in a Blazor Server?

i had a blazor webassemply app that have alot of component and i want to convert ot the blazor server

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,901 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,268 questions
asked 2024-01-11T14:09:12.6766667+00:00
samir magdy 0 Reputation points
edited a comment 2024-01-13T06:46:43.3766667+00:00
samir magdy 0 Reputation points
1 answer

WebView2 latest update to v. 120.0.2210.121. Problem while opening the "linkedin.com"

C#, WinForms, WebView2 120.0.2210.121, .Net Framework 4.8. After the last update of the WebView2 runtime, I found out that opening one specific website destroys the "webView.CoreWebView2" instance - The control disappears or turns black and…

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
1,976 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,777 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.
9,710 questions
asked 2024-01-10T10:22:01.7466667+00:00
Sergej Loos 0 Reputation points
answered 2024-01-13T06:15:37.4133333+00:00
jack 0 Reputation points
1 answer

Using tinymce RichTextbox to insert texts and images into database and display same on a web page

I am trying to insert written articles with descriptive images into database, so that when user open to reads, the user will be able to see images that support the article. Ultimately, I am trying to have almost the same thing as seen on this community's…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,994 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,089 questions
asked 2024-01-11T23:10:14.97+00:00
Donald Symmons 2,546 Reputation points
commented 2024-01-13T05:47:43.4633333+00:00
Donald Symmons 2,546 Reputation points
3 answers

.net maui change Android and iOS overview icon

In .net maui Android when the "Overview" button in clicked an Icon is shown. How do I change that icon ? On iOS how to change the ".NET" to something else ?:

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,242 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,369 questions
asked 2023-06-08T16:10:47.48+00:00
Eigil Krogh Sorensen 66 Reputation points
commented 2024-01-13T05:25:20.6233333+00:00
Joneman 0 Reputation points
1 answer

Azure Sql Database connection refused CultureNotFound

I'm trying to connect my local API service to Azure Sql Database so I can start developement. I've gone into the Azure Database connection string that they have provided and copied the following; "ConnectionStrings": { …

Azure SQL Database
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.
269 questions
asked 2024-01-13T02:05:42.88+00:00
Harrison Wood 0 Reputation points
answered 2024-01-13T03:04:30.5966667+00:00
Harrison Wood 0 Reputation points
0 answers

What dependencies or underlying libraries changed in the basic Linux Azure App service container in .NET 8?

I host a large number of services with Azure App services basic Linux stack (non docker containerized). I have started migrating an app from .NET 6 to .NET 8 and ran into an issue with a PDF generation dependency that worked on the .NET 6 runtime stack…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,994 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,901 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.
9,710 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,242 questions
asked 2024-01-12T17:27:59.82+00:00
Paul Ivanov 0 Reputation points
commented 2024-01-13T02:23:01.81+00:00
brtrach-MSFT 12,616 Reputation points Microsoft Employee
0 answers

How can I sort HybridDictionary in C#?

Hello, How can I sort HybridDictionary in C#? HybridDictionary myCol = new(); myCol.Add("Braeburn Apples", "1.49"); myCol.Add("Fuji Apples", "1.29"); myCol.Add("Gala Apples", "1.49"); …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,994 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.
9,710 questions
asked 2024-01-12T20:54:48.0866667+00:00
Shervan360 1,436 Reputation points
commented 2024-01-13T02:07:15.4633333+00:00
José Pablo Ramirez 180 Reputation points
0 answers

We are not able to access a file in the web api

We have a csv file that is in the project directory. After publishing it is showing already in azure and we can access it through the developer tools. But in the api we are getting file not found error we tried putting the full path hard coded also but…

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.
269 questions
asked 2024-01-12T11:33:20.19+00:00
Pavan Pathak 0 Reputation points
commented 2024-01-13T01:20:17.0933333+00:00
SurferOnWww 1,381 Reputation points
1 answer

Why add days notice period to current date built in function C# not accurate add days correctly?

I working on a C# console app. I face an issue - the built-in add days function does not add days correctly when calculating notice period plus date today. How to solve this issue? Suppose I add 30 days to today's date: 12/01/2024 + 30 = 10/02/2024 12…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,089 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.
9,710 questions
asked 2024-01-12T20:53:05.2833333+00:00
ahmed salah 3,211 Reputation points
answered 2024-01-13T01:09:22.7533333+00:00
SurferOnWww 1,381 Reputation points
0 answers

Reusable component

I have 4 pages, that they almost do the same thing. Schedule test schedule lecture new test new lecture My NewLecturePage looks like this. <ContentPage.Behaviors> <mct:EventToCommandBehavior Command="{Binding…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,369 questions
asked 2024-01-12T22:46:27.1066667+00:00
Eduardo Gomez 2,996 Reputation points
0 answers

Is the Google components binding libraries for iOS still supported / maintained?

Nuget packages prefixed Xamarin.Google.iOS.* and Xamarin.Firebase.iOS.* are built from this repository: https://github.com/xamarin/GoogleApisForiOSComponents The native libraries these bindings are built on are 2+ years old and are becoming unusable.…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,228 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,369 questions
asked 2024-01-12T21:25:38.47+00:00
AdamEssenmacher 0 Reputation points
0 answers

When clicked Yes for pop up "To run this application, you must install .NET. Would you like to download it now?", it won't open web page to download .net if I already have some other .net installed.

My application needs ".NET 5.0 Desktop Runtime" to get executed and if this .net version is not available then the application gives pop up saying "To run this application, you must install .NET. Would you like to download it now?".…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,994 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,086 questions
asked 2024-01-12T20:18:46.5433333+00:00
harinder singh 0 Reputation points
commented 2024-01-12T21:13:43.93+00:00
RLWA32 38,006 Reputation points
1 answer One of the answers was accepted by the question author.

Microsoft Identity is redirecting WebAPI calls to microsoftonline.com

We are trying to build an application with both razor pages and API endpoints and an Angular app to access the API endpoints. Web Application #1 I've been able to connect to Entra ID from the razor page side of the primary AspNet Core web project, and…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,901 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.
269 questions
asked 2024-01-02T21:21:26.74+00:00
Guisinger, Dan 0 Reputation points
accepted 2024-01-12T19:31:40.76+00:00
Guisinger, Dan 0 Reputation points
0 answers

Deep linking windows

Thanks to @Leon Lu (Shanghai Wicresoft Co,.Ltd.) , I was able to do this for Android I am trying to figure out, how to do it for Windows. I tried this. Package.appxmanifest <Extensions> <uap:Extension…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,369 questions
asked 2024-01-12T19:30:19.1133333+00:00
Eduardo Gomez 2,996 Reputation points
3 answers

Filtering a ComboBox in a DataGrid based on another combobox in the datagrid in WPF C#?

In my Example Here i have a 3 ComboBoxes in a Datagrid displayoing Countries, Provinces and Districts respectively.How can i Filter the Provinces by Countries and Districts by Provinces in such a way that when the user selects a country he only gets the…

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,595 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.
9,710 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
728 questions
asked 2024-01-07T16:23:22.5066667+00:00
Mesh Ka 300 Reputation points
commented 2024-01-12T18:39:16.0866667+00:00
Mesh Ka 300 Reputation points
1 answer

How to set AllowNullCollections true in Blazor Server Application?

Hi, In my Blazor Server application, I am using Automapper. I would to add AllowNullCollections = true; in my configuration but I could not figure it out. Can you please help? Here is the Program.cs // Auto Mapper Configurations builder.Services …

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,268 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.
9,710 questions
asked 2024-01-12T13:42:42.2966667+00:00
Cenk 936 Reputation points
commented 2024-01-12T18:11:13.5233333+00:00
Cenk 936 Reputation points
2 answers One of the answers was accepted by the question author.

How to configure web deploy when a .net application is behind azure waf?

Hi everyone, Before implementing Azure Waf, we used to open an inboud port 8172 in a NSG in our Windows Virtual Machine running IIS 10.o, to deploy our changes to our .net applications. After implementing WAF, I can´t do this anymore. Since my…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,901 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,242 questions
Azure Web Application Firewall
asked 2022-06-22T21:48:32.31+00:00
Mirella Pellizzon Petruci 41 Reputation points
accepted 2024-01-12T17:15:45.0133333+00:00
Mirella Pellizzon Petruci 41 Reputation points
1 answer

The LinkButton in Nested GridView is not responding to any event. How to solve this

The LinkButton in Nested GridView is not responding to any event. How to solve this code.pdf

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,089 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.
9,710 questions
asked 2024-01-12T11:04:16.3833333+00:00
Anoop Mathur 0 Reputation points
answered 2024-01-12T17:04:44.75+00:00
Albert Kallal 4,386 Reputation points
1 answer

Serial over Bluetooth on Windows: how to get connection status

Using a serial over bluetooth device (ESP32 in my case), the Windows driver shows the connection status in the bluetooth enumeration as show below (Connected/Not Connected). How is it possible to have the same information programmatically, using .NET,…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,242 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,994 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.
9,710 questions
asked 2024-01-12T16:54:11.1566667+00:00
Mario Raffin 0 Reputation points
answered 2024-01-12T17:02:14.97+00:00
Pinaki Ghatak 655 Reputation points Microsoft Employee