26,956 questions with .NET-related tags

Sort by: Updated
0 answers

ML.NET Time Series algorithms to predict future forecasts

I got the suggestion from github copilot , SSA timeseries algorithm from ML.NET I got NIFTY BANK csv from the below file and tried to run forescast. https://www.nseindia.com/reports-indices-historical-index-data The last record is Last Record:…

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
18 questions
asked Feb 23, 2025, 3:10 PM
Kalyan A 360 Reputation points
commented Feb 24, 2025, 4:02 AM
Pradeep M 6,240 Reputation points Microsoft Vendor
1 answer

How to fix a cryptographic keys error

I have recently upgraded the my web app to .Net9. I am now getting this error message from a call to CosmosDB to get a specific record... System.Security.Cryptography.CryptographicException: The key {92c2f09a-14ff-4cea-8f15-e09dcec74987} was not found in…

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.
18 questions
asked Feb 22, 2025, 6:17 PM
Raymond Starkey 0 Reputation points
answered Feb 24, 2025, 3:51 AM
Pradeep M 6,240 Reputation points Microsoft Vendor
0 answers

Xamarin 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 =…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,379 questions
asked Feb 23, 2025, 11:06 PM
Phunction 301 Reputation points
commented Feb 24, 2025, 3:46 AM
Phunction 301 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 Feb 21, 2025, 2:01 PM
Sushil Biswas 0 Reputation points
commented Feb 24, 2025, 3:01 AM
XuDong Peng-MSFT 11,336 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,943 questions
asked Feb 21, 2025, 2:21 PM
Eduard Kaufmann 231 Reputation points
answered Feb 24, 2025, 3:00 AM
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 80,101 Reputation points Microsoft Vendor
0 answers

How can you write functional tests for an ASP.NET CORE gRPC webservice with .NET 8

I'm having issues trying to write a functional test for a ASP.NET Core gRPC web service, after investigating a number of articles on the issue, but with all of them referring to use of the Startup class that fell out of fashion with the introduction of…

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 Feb 24, 2025, 2:25 AM
Jon Skeet 26 Reputation points
commented Feb 24, 2025, 2:43 AM
Zhi Lv - MSFT 32,986 Reputation points Microsoft Vendor
1 answer

Visual studio 2022 Maui project unable to compile for .net 9.0-ios target

Hi, I am trying to deploy a test app to iPhone from windows visual studio but getting the following error when trying to compile. The specified network password is not correct. I have completed the automatic provisioning : I obviously have no problem…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,943 questions
asked Feb 2, 2025, 7:27 AM
Ryan Lee 30 Reputation points
commented Feb 24, 2025, 2:31 AM
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,836 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,829 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,305 questions
asked Feb 6, 2025, 4:36 AM
Manjunath PM 0 Reputation points
edited a comment Feb 24, 2025, 2:19 AM
Hongrui Yu-MSFT 4,370 Reputation points Microsoft Vendor
0 answers

Could not load type 'Microsoft.EntityFrameworkCore.Metadata.Internal.AdHocMapper'

I'm using .NET 8.0, Entity FrameworkCore 9.0.2, MySql.EntityFrameworkCore 9.0.0 and when I try to get data from the database I get the following error. How to resolve this problem? System.TypeLoadException: Could not load type…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
779 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
779 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,105 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,105 questions
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
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 Feb 18, 2025, 9:23 AM
Misha Kurytsia 0 Reputation points
commented Feb 24, 2025, 1:56 AM
Tiny Wang-MSFT 3,151 Reputation points Microsoft Vendor
0 answers

Could not load type 'Microsoft.EntityFrameworkCore.Metadata.Internal.AdHocMapper'

I'm using .NET 8.0, Entity FrameworkCore 9.0.2, MySql.EntityFrameworkCore 9.0.0 and when I try to get data from the database I get the following error. How to resolve this problem? System.TypeLoadException: Could not load type…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
779 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
779 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,105 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,105 questions
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
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 Feb 18, 2025, 9:23 AM
Misha Kurytsia 0 Reputation points
commented Feb 24, 2025, 1:56 AM
Tiny Wang-MSFT 3,151 Reputation points Microsoft Vendor
2 answers

How can I see why a project cannot use "Application Timeline"

I have two startup projects in a solution - both are WPF applications that produce an .exe output tied to an xaml application. I would like to use the Application Timeline feature to analyze my app and for one project I can select the feature, but for…

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,829 questions
asked Feb 18, 2025, 12:29 PM
cbra-caa 0 Reputation points
commented Feb 24, 2025, 1:14 AM
Hongrui Yu-MSFT 4,370 Reputation points Microsoft Vendor
1 answer

WPF Cannot see SelectedItem in TreeView

I'm using WPF .Net 9.0, I cannot see the SelectedItem element of the TreeView. Anybody would know why ?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,105 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,105 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,829 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,829 questions
asked Feb 17, 2025, 12:51 AM
Bernard Lessard 1 Reputation point
commented Feb 24, 2025, 1:13 AM
Hongrui Yu-MSFT 4,370 Reputation points Microsoft Vendor
1 answer

WPF Cannot see SelectedItem in TreeView

I'm using WPF .Net 9.0, I cannot see the SelectedItem element of the TreeView. Anybody would know why ?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,105 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,105 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,829 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,829 questions
asked Feb 17, 2025, 12:51 AM
Bernard Lessard 1 Reputation point
commented Feb 24, 2025, 1:13 AM
Hongrui Yu-MSFT 4,370 Reputation points Microsoft Vendor
1 answer

Showing WPF window having webView2 control gives error dialog with description - Microsoft Edge can't read and write to its data directory

Showing WPF window having webView2 control gives error dialog with description - Microsoft Edge can't read and write to its data directory I have Webview2 control in WPF Window as shown below in webViewStrings.xaml file <Window…

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,829 questions
asked Feb 7, 2025, 3:57 PM
Ajay Gera 45 Reputation points
commented Feb 24, 2025, 1:09 AM
Hongrui Yu-MSFT 4,370 Reputation points Microsoft Vendor
0 answers

ASP.NET WebApp web.config error

Hello, I am getting a web.config error on my visual studio 2022 local environment. Configuration Error __**Description: **__An error occurred during the processing of a configuration file required to service this request. Please review the specific error…

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 Feb 23, 2025, 6:56 PM
Oscilloscope 0 Reputation points
commented Feb 24, 2025, 12:59 AM
SurferOnWww 3,796 Reputation points
1 answer

Change the width of scrollbar in MAC

Hi, How to change the width of scrollbar in MAC ? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,943 questions
asked Feb 23, 2025, 12:23 PM
Dani_S 4,091 Reputation points
edited an answer Feb 23, 2025, 11:00 PM
Bruce (SqlWork.com) 71,686 Reputation points
0 answers

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,829 questions
asked Feb 23, 2025, 9:52 PM
Eduardo Gomez Romero 1,235 Reputation points
2 answers

app.UseCookieAuthentication - SessionStore

Hi Team, I have a scenario where in asp.net MVC application the session Key (GUID every time user logs in) is stored to a SQL database Table. The below methods are used. I need suggestions for two things 1.The underlying database Can have any number…

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 Feb 21, 2025, 4:16 PM
amal James 0 Reputation points
edited an answer Feb 23, 2025, 12:54 AM
SurferOnWww 3,796 Reputation points
1 answer

.NET MAUI HTML Circles

Here is the code to create Venn Diagrams, I want A-B in B-A A ∩ B IN Intersecting circles. A-B 1,2 in purple B-A 5 in brown A ∩ B muddy in 3,4 The intersecting circles can be enlarged @page "/Venn" <PageTitle>Set…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,943 questions
asked Feb 21, 2025, 7:05 PM
Kalyan A 360 Reputation points
answered Feb 22, 2025, 1:49 PM
Kalyan A 360 Reputation points
0 answers

Web App taking high CPU when I am loading a particular web page.

My web app CPU going high when I am uploading a web page while the copy of uploading page working fine without any issue of CPU. Actual Page = mpn Page Copy = mpn1 I don't know what's going on

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 Feb 22, 2025, 8:41 AM
jasmeet ghai 0 Reputation points
edited a comment Feb 22, 2025, 11:11 AM
AgaveJoe 1,510 Reputation points