26,962 questions with .NET-related tags

Sort by: Updated
2 answers

Ram consuption above Threshold

Hi, In maui version 8 there is a problem when moving pages the memory not release. I would like to ask how to observe the RAM and if it pass threshold x it will be presanted in UI label in red color, otherwise in green color. Use MVVM…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,948 questions
asked 12 Feb 2025, 10:20 am
Dani_S 4,131 Reputation points
commented 25 Feb 2025, 7:40 am
Dani_S 4,131 Reputation points
1 answer

struggling to make my Data Model known

I'm stuck to make my 'Data Model: RandoPro.cs' known to my 'DetailsPage.xaml'. In global using I declare 'RandoPro.Models' . I already use the very same Data Model in e.g. MainPage.xaml; using 'Name'! In 'DetailsPage.xaml' I get below error: Binding:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,948 questions
asked 21 Feb 2025, 2:21 pm
Eduard Kaufmann 231 Reputation points
commented 25 Feb 2025, 7:18 am
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 80,106 Reputation points Microsoft Vendor
0 answers

MAUI: Keep audio playing when navigating to a new page

I am using Webview for playing audio and when I navigate to a new page the audio stops playing. I want to play the audio in background when navigating to new pages, or switching app or locking device. My Code: <WebView …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,948 questions
asked 24 Feb 2025, 4:33 pm
Sreejith Sreenivasan 941 Reputation points
commented 25 Feb 2025, 6:27 am
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 80,106 Reputation points Microsoft Vendor
0 answers

How to fix Expand and Collapse issue of CollectionView control on MAC?

Hello, Application is developed in .Net MAUI and supporting both platforms , MacOS and Windows. On MAC 14.2 and 15.3, I am using CollectionView to display list of items and on clicking ImageButton of type 'ActivityStep', we are setting IsVisible =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,948 questions
asked 11 Feb 2025, 7:28 am
Chaitrali Joshi 0 Reputation points
commented 25 Feb 2025, 6:17 am
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,916 Reputation points Microsoft Vendor
0 answers

How to fix binding TimeSpan TotalSeconds to Slider.Value Double 'TotalSeconds' property not found on '00:00:00.1117292', target property: 'Microsoft.Maui.Controls.Slider.Value'

Hey, Im having an issue to bind a sliders value and maximum value to a mediaplayers duration and position. As of now the app works fine but in the background it generates 100+ of binding failures. with the text Binding: 'TotalSeconds' property not found…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,948 questions
asked 24 Feb 2025, 3:43 pm
Naser AL-Asbahi 10 Reputation points
edited the question 25 Feb 2025, 5:56 am
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,916 Reputation points Microsoft Vendor
1 answer

416 Error on MVC Page with Video

Hello everyone and thanks for the help in advance. I'm trying to develop a .Net Core 9 MVC page to serve videos housed on my server (externals servers not an option in this case) . I am receiving error code 416. I used app.MapStaticAssets();, but…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,789 questions
asked 24 Feb 2025, 8:38 pm
Kmcnet 986 Reputation points
edited the question 25 Feb 2025, 5:46 am
Zhi Lv - MSFT 32,986 Reputation points Microsoft Vendor
1 answer

WPF Validation and Style Issue

Hi All, I have a textbox on screen with ValidationRule for required field validation: <TextBox Grid.Row="1" Grid.Column="1" Name="txtFirstName" Margin="10,10,5,5"…

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,830 questions
asked 24 Feb 2025, 2:29 pm
Pratham Jain 221 Reputation points
edited the question 25 Feb 2025, 3:43 am
TP 105.1K Reputation points
1 answer One of the answers was accepted by the question author.

NET Core 3.1 app clickonce publish include a folder(from library project)

WPF Prism desktop project sln module folder data.txt module.cs app app.cs app references module module is a .dll project app is .exe project <Content Include="folder\data.txt"> …

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,830 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.
11,309 questions
asked 26 Sept 2021, 2:37 pm
Grant Yu 1 Reputation point
accepted 25 Feb 2025, 3:27 am
Grant Yu 1 Reputation point
0 answers

facing an issue with cookieless Forms Authentication in an ASP.NET sub-application that is integrated with a main application built in Python

Hello, We are facing an issue with cookieless Forms Authentication in an ASP.NET sub-application that is integrated with a main application built in Python. The main application (Python) and sub-application (ASP.NET) work together.The ASP.NET…

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.
381 questions
asked 21 Feb 2025, 6:01 am
Akshayaa Kalyanavenkatesh 0 Reputation points
commented 25 Feb 2025, 3:13 am
XuDong Peng-MSFT 11,336 Reputation points Microsoft Vendor
1 answer

How to Detect Stylus Pen Sides (Pen Tip vs. Eraser) in WPF (C#)

Hello, I’m developing a WPF application in C# that interacts with a stylus pen on a Windows device. I need to detect which side of the stylus is being used—whether it’s the pen tip or the eraser side. Could someone guide me on how to achieve this…

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,830 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.
11,309 questions
asked 6 Feb 2025, 4:36 am
Manjunath PM 0 Reputation points
commented 25 Feb 2025, 2:57 am
Hongrui Yu-MSFT 4,445 Reputation points Microsoft Vendor
1 answer

Tabbar and Flyout working together

Here is my use case, Global Tabbar and Flyout Items. Currently have I can have a tabbar and a flyout but as soon as one of the items from the flyout is tapped I navigate to the correct page however the tabbar disappears. I have tried enabling it on…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,948 questions
asked 24 Feb 2025, 5:17 pm
Tommy Reynolds 0 Reputation points
answered 25 Feb 2025, 2:04 am
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 48,666 Reputation points Microsoft Vendor
1 answer

Unable to load the service index for source https://api.nuget.org/v3/index.json while restoring nuget packages in VS 2022.

Hi All, I am getting the error "Unable to load the service index for source https://api.nuget.org/v3/index.json while restoring Nuget packages in VS 2022. I have tried to delete Nuget config file as well but it did not help. Can anyone please…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,105 questions
asked 11 Jun 2024, 10:51 am
Munjal, Kanha (Gurugram) 5 Reputation points
commented 25 Feb 2025, 1:05 am
Sergio Torres 21 Reputation points
16 answers One of the answers was accepted by the question author.

Blazor app crashes when debugging after windows secutiry updates

Afert 2023 march 14 updates my app stop debugging. If I start it without debugging it works ok, if I start it debugging it crashes at startup. The error is the following: Microsoft.WebAssembly.Diagnostics.DevToolsProxy[0] DevToolsProxy::Run: Exception…

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,665 questions
asked 15 Mar 2023, 11:27 am
Rossend Bruch 255 Reputation points
commented 25 Feb 2025, 12:53 am
Pier Castonguay 0 Reputation points
0 answers

.NET application not showing images after server updates on windows 2022

After server updates, .NET application running in IIS is not showing any images and unable to connect to any js, css resources

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.
381 questions
asked 21 Feb 2025, 2:01 pm
Sushil Biswas 0 Reputation points
commented 25 Feb 2025, 12:24 am
AgaveJoe 1,510 Reputation points
1 answer

Exception "Scheme already exists" when trying to implement multiple authentication schemes

For a Azure app service that uses two different app registrations for internal and external users I want to implement multiple authentication schemes. I use a ASP.NET Core web application (.NET6) with the following app…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,789 questions
asked 26 Jan 2023, 11:56 am
Jörg Auberg (Admin) 5 Reputation points
commented 24 Feb 2025, 10:16 pm
Bruce (SqlWork.com) 71,696 Reputation points
1 answer

How to get a certificate in Blazor asp.net

I want to know how to get the free certificate on blazor asp.net. I tried learning from microsoft courses but it only provides badges.

Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
19 questions
asked 24 Feb 2025, 5:38 pm
Rakhi Pawar 0 Reputation points
edited an answer 24 Feb 2025, 7:01 pm
Bruce (SqlWork.com) 71,696 Reputation points
2 answers

How to hide dependent Nuget .dll's from consuming parent .dlls - What is the difference between 'Private Dependencies' and 'Merge / Repack' dependencies?

Note: When I use the word .dll, I mean a NuGet package I have made that has a collection of methods, and dependencies, such as Newtonsoft.Json as an example. Hello! I am building an infrastructure of NuGet packages which keeps modularity in mind.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,105 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.
11,309 questions
asked 20 Jan 2022, 12:34 am
Jeff Ward 1 Reputation point
answered 24 Feb 2025, 5:52 pm
Bruce (SqlWork.com) 71,696 Reputation points
2 answers

I'm missing a few project templates in VS 2022

In VS 2019, I frequently created new projects with the following templates: ASP.NET Web Application (.NET Framework) C# Report Server Project But I don't see those two templates in VS 2022. Did I miss something when installing 2022?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 questions
asked 17 Feb 2025, 7:57 pm
Coreysan 1,806 Reputation points
commented 24 Feb 2025, 5:22 pm
Albert Kallal 5,496 Reputation points
1 answer

Can .NET MAUI be used to build software compatible to run on embedded Linux on ARM target?

Can .NET MAUI be used to build software compatible to run on embedded Linux on ARM target? If not supported now, is there a plan to support it in the near future? We were looking at a cross-platform UI framework based on C# language which can support…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,948 questions
asked 24 Feb 2025, 2:19 pm
SP 0 Reputation points
edited an answer 24 Feb 2025, 4:37 pm
Bruce (SqlWork.com) 71,696 Reputation points
0 answers

.NET for Android on new SDK style

I moved my android app form the original android style to the new SDK style, it compiles fine. However, this call no longer works: HttpClient webclient = new HttpClient(); webclient.MaxResponseContentBufferSize =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,948 questions
asked 23 Feb 2025, 11:06 pm
Phunction 301 Reputation points
commented 24 Feb 2025, 4:35 pm
Phunction 301 Reputation points