26,672 questions with .NET-related tags

Sort by: Updated
1 answer

How to view my content from my database to my home view in .Net core MVC

Hi guys SO I was learning to use .NET Core MVC through the tutorial, and I decided to take it up a notch. While the tutorial has been helpful, it did not really have what I was looking for, and surprisingly, neither do all the AI bots. So what's the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,739 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,320 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,208 questions
asked 2025-01-18T15:28:13.7133333+00:00
Assadullah Sanusi 0 Reputation points
edited a comment 2025-01-19T08:40:38.9066667+00:00
Assadullah Sanusi 0 Reputation points
0 answers

Maui app in mac using VS Code stop working

Hi, Maui app in mac using VS Code stop working. I got this error. Using .Net 8.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,834 questions
asked 2025-01-05T08:46:43.92+00:00
Dani_S 3,911 Reputation points
commented 2025-01-19T08:31:35.1733333+00:00
Dani_S 3,911 Reputation points
1 answer

Get certificate's public key in the PKCS8 format

Environment: Windows 11 24H2 .Net Framework 4.8, 4.7.2   Problem: I do not understand how to get server's certificate public key in PKCS8 format using the X509Certificate class.    Explanation: I'm implementing the custom server's certificate check for…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,053 questions
asked 2025-01-16T07:32:41.87+00:00
Dmitrii 0 Reputation points
commented 2025-01-19T07:58:16.1766667+00:00
Dmitrii 0 Reputation points
1 answer

Xamarin support for Android API 34 (14)

Hi I have a project and trying to update to API 34 with no luck even I create a blank project (Start new project with basic hello world template) also giving me the same error. Here is the error The TargetFrameworkVersion (Android API level 33) is lower…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,371 questions
asked 2024-10-28T11:21:17.2066667+00:00
Yohanes AI 0 Reputation points
commented 2025-01-19T06:07:49.4333333+00:00
Knox Cameron 0 Reputation points
0 answers

I run in a trouble. WPF, compiled XAML: on changed text handler run but not all controls initizlzed

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,813 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.
829 questions
asked 2025-01-19T05:49:16.4366667+00:00
Roma Golich 0 Reputation points
1 answer

How to use SelectedIndexChanged or CommandParameter with CommunityToolkit.Mvvm

I am using CommunityToolkit.Mvvm with ObservableObject and ObservableProperty. In the MVVM pattern, how can I trigger the SelectedIndexChanged event for a Picker when an item is selected, or handle changes in an Entry when typing into the textbox? …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,834 questions
asked 2025-01-18T16:28:39.4233333+00:00
Bhuwan 736 Reputation points
answered 2025-01-19T05:42:52.01+00:00
Bhuwan 736 Reputation points
0 answers

Counting Occurrences in a Table

Hello everyone and thanks for the help in advance. I need to develop a MVC application that reads a SQL database of patients who have received vaccines. The table looks like: [ID] [int] IDENTITY(1,1) NOT NULL, [MRNumber] [varchar](50)…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,739 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,676 questions
asked 2025-01-19T02:44:58.7666667+00:00
Kmcnet 886 Reputation points
1 answer

adding a maui class library to maui project - fails to find reference to a method when compiling

Hi, I am using VS 2022, net 9.0 I have a Maui App project with a reference to Maui Class Library project. The reference is loaded correctly and I can reference the method in MauiProgram.cs, ( can do right click and go to implementation) I have set the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,834 questions
asked 2025-01-18T14:09:25.53+00:00
Ryan Lee 20 Reputation points
commented 2025-01-18T22:50:13.8633333+00:00
Ryan Lee 20 Reputation points
1 answer

can I return object in razor pages?

can I return object in razor pages? public async Task<object>OnPostDeleteAsync() { return MySuccessMessage(); }

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,739 questions
asked 2025-01-18T02:34:55.8966667+00:00
mc 5,061 Reputation points
edited a comment 2025-01-18T22:28:36.71+00:00
SurferOnWww 3,701 Reputation points
0 answers

How to Remove the Gray Line Between FlyoutItem and ShellContent in .NET MAUI Shell

I am working on a .NET MAUI Shell application and have noticed an issue where there is an unwanted gray line appearing between the FlyoutItem and the ShellContent. This line appears when navigating between the FlyoutItem and the ShellContent in my app's…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,834 questions
asked 2025-01-18T19:06:05.1566667+00:00
Arnab Mukherjee 20 Reputation points
0 answers

render alamamak

windows 11 kurulumundan sonra bilgisayara yüklediğim lumion render programı artık render almıyor beyaz ekran oluşup yanıt vermiyor ve performans testi düşük oluyor. bunun nedeni kurulum mu ya da ssd kart olabilir mi nasıl çözeceğim

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,208 questions
F#
F#
A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
79 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
117 questions
asked 2025-01-18T18:38:27.1366667+00:00
Zeynep Sude 0 Reputation points
1 answer

How can I retrieve RDP files for an Azure Virtual Desktop session using the Desktop Virtualization APIs in a C# .NET application?

I'm trying to implement functionality in my C# .NET application that retrieves RDP files for an Azure Virtual Desktop session, similar to how the Remote Desktop client retrieves them. Specifically, I need to programmatically access RDP file details, such…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,257 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,053 questions
Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,644 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,679 questions
asked 2024-11-29T10:08:10.45+00:00
DILIPK9603 1 Reputation point
answered 2025-01-18T18:24:21.0333333+00:00
Amira Bedhiafi 27,596 Reputation points
2 answers

How can I symbolicate my iOS crash report?

I have uploaded my application to TestFlight but it always crashes when I start it on my iPad. I have tried to open the crash report file crashlog.crash in Xcode-->Window-->Devices and Simulators. But the crash report is not symbolicated. How can I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,834 questions
asked 2025-01-15T11:04:45.6933333+00:00
Kim Strasser 1,201 Reputation points
commented 2025-01-18T10:43:35.4833333+00:00
Firehouse Subs Menu 0 Reputation points
0 answers

In a Class change console message for textbox message yes or no, VB2017 Vb.Net

I want to delete a table in a database if it exists, with a textbox (yes or no) to create a new one programmatically. If the table exists "delete it" with the condition (yes), if this table does no exists with option no create a new one. For…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,053 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,767 questions
asked 2025-01-18T03:51:01.44+00:00
MannySo 25 Reputation points
0 answers

Weird disappearing error

I have a very weird error where everything disappears after a while and I think the fault is here <?xml version="1.0" encoding="utf-8" ?> <ContentPage x:Class="METROWIND.Views.NewsPage" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,834 questions
asked 2025-01-17T23:11:03.83+00:00
Eduardo Gomez Romero 1,215 Reputation points
edited the question 2025-01-17T23:31:56.0733333+00:00
Eduardo Gomez Romero 1,215 Reputation points
1 answer

How to Use Cube.js API with .NET Core Application? Facing "Query Param is Required" Error

Hello, I am trying to integrate the Cube.js API into my .NET Core application. My goal is to fetch data from Cube.js using a custom query. However, I keep encountering an error and can't seem to get the integration working. Here’s the method I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,053 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,739 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,053 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,739 questions
asked 2025-01-12T00:32:58.51+00:00
NALB 71 Reputation points
commented 2025-01-17T22:22:57.7366667+00:00
NALB 71 Reputation points
1 answer

How to Use Cube.js API with .NET Core Application? Facing "Query Param is Required" Error

Hello, I am trying to integrate the Cube.js API into my .NET Core application. My goal is to fetch data from Cube.js using a custom query. However, I keep encountering an error and can't seem to get the integration working. Here’s the method I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,053 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,739 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,053 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,739 questions
asked 2025-01-12T00:32:58.51+00:00
NALB 71 Reputation points
commented 2025-01-17T22:22:57.7366667+00:00
NALB 71 Reputation points
1 answer

Developing Cross-Platform MAUI Applications with VB.NET

Is it possible to develop cross-platform MAUI applications using VB.NET? Guidance and resources on this topic have been difficult to find.

Azure Web PubSub
Azure Web PubSub
An Azure service that provides real-time messaging for web applications using WebSockets and the publish-subscribe pattern.
82 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,834 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,767 questions
asked 2025-01-17T18:15:22.62+00:00
whvbntsql 0 Reputation points
edited the question 2025-01-17T21:53:00.1+00:00
Erland Sommarskog 115.6K Reputation points MVP
1 answer One of the answers was accepted by the question author.

why asp.net webapi generate a zh-Hans directory in bin directory?

I know this zh-hans means simplified Chinese, but I still don't understand the purpose of generating it

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,566 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.
364 questions
asked 2022-05-26T10:08:48.267+00:00
heyangben 81 Reputation points
commented 2025-01-17T21:45:27.2133333+00:00
mikefinch87 115 Reputation points
4 answers

Custom fonts not working when uploading Maui Android project to Play Store

I have added custom fonts in the font directory of my Maui project's Resources directory and updated the MauiProgram.cs file accordingly. The fonts work fine when I deploy the application using Visual Studio, but when I publish the app and upload it to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,834 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,208 questions
asked 2024-05-21T16:58:13.6333333+00:00
Mujtaba Ali Panjwani 25 Reputation points
commented 2025-01-17T20:08:47.53+00:00
JamesInSC 0 Reputation points