26,966 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 2025-02-12T10:20:18.47+00:00
Dani_S 4,131 Reputation points
commented 2025-02-25T11:19:02.16+00:00
Dani_S 4,131 Reputation points
1 answer

How to get other API Request url in my Api and set in Audience ?

So i have two apis MainApi and IoApi. So i try to set JWT token vise authentication, when i try to get data from IoApi so first of all get Token and than get authorize data. but in my case i set the Audience and i try to get data from another Api so…

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.
35 questions
asked 2025-02-25T09:53:18.8133333+00:00
om_mkwn 0 Reputation points
answered 2025-02-25T11:03:11.9033333+00:00
Pradeep M 6,315 Reputation points Microsoft Vendor
0 answers

messaging the provider in Asp.net

i have a task to write a code that can message X number of provider for example via SMS or Email. and it has to be by using "TryAddTransient". Any solutions for that? maybe it seems simple but i just started to learn Asp.

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.
383 questions
asked 2025-02-25T10:58:26.57+00:00
Behnam akbary 0 Reputation points
1 answer

Browser unable to use certificate

Hi All, I cloned project code from Azure Repo, installed certificates, configured Project Web Properties, configured applicationhost.config, setup SSL URL in IIS using certificate Thumbprint. My project builds successfully, but application fails to load…

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.
35 questions
asked 2025-02-25T09:53:14.7733333+00:00
Swapnil Giram 0 Reputation points Microsoft Employee
answered 2025-02-25T10:41:34.99+00:00
Pradeep M 6,315 Reputation points Microsoft Vendor
1 answer

how to set date format in eval asp.net

Hello this is my date eval <%#Eval("Date", "{0:dd/MMM/yyyy}")%> when i convert to excel i want excel filter to be look like this so what to change my eval so that it can look like as below

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.
383 questions
asked 2025-02-25T08:36:02.3033333+00:00
RAVI 1,056 Reputation points
commented 2025-02-25T10:05:46.2033333+00:00
AgaveJoe 1,510 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 2025-02-23T23:06:17.92+00:00
Phunction 301 Reputation points
commented 2025-02-25T09:17:45.4466667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 80,106 Reputation points Microsoft Vendor
1 answer

Points displaying wrong

Hello I am sorry or not putting the framework correctly, but I cannot find WinUI The problem is that in the canvas my points are displaying correctly but when I go into guided mode to select my points they dont correspond I don't have point 1,…

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 2025-02-23T21:52:58.61+00:00
Eduardo Gomez Romero 1,255 Reputation points
edited a comment 2025-02-25T08:32:16.57+00:00
Hongrui Yu-MSFT 4,445 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 2025-02-24T15:43:33.33+00:00
Naser AL-Asbahi 10 Reputation points
commented 2025-02-25T08:02:20.4566667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,916 Reputation points Microsoft Vendor
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 2025-02-21T14:21:40.2833333+00:00
Eduard Kaufmann 231 Reputation points
commented 2025-02-25T07:18:02.56+00:00
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 2025-02-24T16:33:00.5866667+00:00
Sreejith Sreenivasan 941 Reputation points
commented 2025-02-25T06:27:53.4466667+00:00
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 2025-02-11T07:28:09.5233333+00:00
Chaitrali Joshi 0 Reputation points
commented 2025-02-25T06:17:19.0266667+00:00
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 2025-02-24T20:38:58.5833333+00:00
Kmcnet 986 Reputation points
edited the question 2025-02-25T05:46:21.9533333+00:00
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 2025-02-24T14:29:11.8766667+00:00
Pratham Jain 221 Reputation points
edited the question 2025-02-25T03:43:18.72+00:00
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 2021-09-26T14:37:02.377+00:00
Grant Yu 1 Reputation point
accepted 2025-02-25T03:27:26.3066667+00:00
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.
383 questions
asked 2025-02-21T06:01:09.32+00:00
Akshayaa Kalyanavenkatesh 0 Reputation points
commented 2025-02-25T03:13:29.1533333+00:00
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 2025-02-06T04:36:22.5+00:00
Manjunath PM 0 Reputation points
commented 2025-02-25T02:57:48.6033333+00:00
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 2025-02-24T17:17:48.0333333+00:00
Tommy Reynolds 0 Reputation points
answered 2025-02-25T02:04:04.56+00:00
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 2024-06-11T10:51:54.7633333+00:00
Munjal, Kanha (Gurugram) 5 Reputation points
commented 2025-02-25T01:05:08.87+00:00
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 2023-03-15T11:27:48.58+00:00
Rossend Bruch 255 Reputation points
commented 2025-02-25T00:53:31.9633333+00:00
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.
383 questions
asked 2025-02-21T14:01:44.59+00:00
Sushil Biswas 0 Reputation points
commented 2025-02-25T00:24:26.27+00:00
AgaveJoe 1,510 Reputation points