26,801 questions with .NET-related tags

Sort by: Updated
1 answer

Multiple App.Razor components

Hello, Is it possible to have an additional App.razor file that I can use for e.g. Admin area only? Currently, if I create a new folder named Admin and create a new layout there, it inherits from the existing App.razor and linked css files. Basically, I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 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,656 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 questions
asked 2025-01-31T08:47:54.43+00:00
Kuler Master 386 Reputation points
edited an answer 2025-01-31T20:53:30.83+00:00
Bruce (SqlWork.com) 70,376 Reputation points
1 answer

Update to latest runtime of .net 8 in mac

Hi, Problem:when running may app in .net 9 in debug it works but without debugging is not. error: Error: :XAML: .NET Runtime version currently executing is 8.0.5, but version 8.0.10 or later is required Diagnostic: % dotnet…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,877 questions
asked 2025-01-31T03:31:16.32+00:00
Dani_S 4,036 Reputation points
answered 2025-01-31T20:48:56.6733333+00:00
Bruce (SqlWork.com) 70,376 Reputation points
1 answer

Calculating total sum of money between dates and displaying the result in label control

Hello, I have been trying to calculate the sum of a particular column in database and display the result in a label control. The column is set as Nvarchar(max). I also need to search for and display the sum based on two dates. I only have one date column…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,083 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 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,261 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,083 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 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,261 questions
asked 2025-01-31T18:14:16.9866667+00:00
Donald Symmons 3,026 Reputation points
edited a comment 2025-01-31T20:03:23.45+00:00
AgaveJoe 29,681 Reputation points
1 answer

Calculating total sum of money between dates and displaying the result in label control

Hello, I have been trying to calculate the sum of a particular column in database and display the result in a label control. The column is set as Nvarchar(max). I also need to search for and display the sum based on two dates. I only have one date column…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,083 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 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,261 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,083 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 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,261 questions
asked 2025-01-31T18:14:16.9866667+00:00
Donald Symmons 3,026 Reputation points
edited a comment 2025-01-31T20:03:23.45+00:00
AgaveJoe 29,681 Reputation points
2 answers

face registration and face authentication

hello, I am developing a app in .NETMaui. I am searching for a way where I can create a database for faces with face registration(taking picture of left profile, right profile and front face) and save it. Authenticate the user using this face database…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,877 questions
asked 2024-12-18T12:16:22.29+00:00
Pearl 61 Reputation points
commented 2025-01-31T19:25:32.6366667+00:00
Bruce (SqlWork.com) 70,376 Reputation points
1 answer One of the answers was accepted by the question author.

CommunityToolkit MVVM Command not Trigger .NET 9.0 and warning not gone

I am using CommunityToolkit MVVM to add and delete records. However, when I add records and navigate to another page as a popup, the command does not trigger. I have attached the project and a screenshot for your reference. <CollectionView…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,877 questions
asked 2025-01-30T05:44:50.1066667+00:00
Bhuwan 756 Reputation points
accepted 2025-01-31T18:00:20.7433333+00:00
Bhuwan 756 Reputation points
0 answers

Assistance Needed – Sending Direct Messages from My Teams App in a Multi-Tenant Setup

Hello, I’m developing a native integration between my SaaS platform and Microsoft Teams by building a custom Teams App. Goal of the Integration: When a user is mentioned in my SaaS (e.g., using @username), I want to send them a direct message on Teams…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,769 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 questions
Azure Managed Applications
Azure Managed Applications
An Azure service that enables managed service providers, independent software vendors, and enterprise IT teams to deliver turnkey solutions through the Azure Marketplace or service catalog.
161 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,922 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,524 questions
asked 2025-01-30T13:58:04.9166667+00:00
Vincent Portier 0 Reputation points
commented 2025-01-31T17:13:43.8633333+00:00
Meghana-MSFT 4,001 Reputation points Microsoft Vendor
1 answer

When we will update on the next version of MVC5.3.0 if there is no updates on the version please provide documentation for that.

Hi please provide the relavent info regarding the ASP.NET MVC 5.3.0 is there any updated on version if not please provide the documentation. Regards vinayak

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,083 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 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.
369 questions
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.
30 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,083 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 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.
369 questions
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.
30 questions
asked 2025-01-31T07:08:06.0033333+00:00
Vinayak Padamata 0 Reputation points
answered 2025-01-31T16:41:27.8066667+00:00
Bruce (SqlWork.com) 70,376 Reputation points
1 answer

When we will update on the next version of MVC5.3.0 if there is no updates on the version please provide documentation for that.

Hi please provide the relavent info regarding the ASP.NET MVC 5.3.0 is there any updated on version if not please provide the documentation. Regards vinayak

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,083 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 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.
369 questions
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.
30 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,083 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 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.
369 questions
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.
30 questions
asked 2025-01-31T07:08:06.0033333+00:00
Vinayak Padamata 0 Reputation points
answered 2025-01-31T16:41:27.8066667+00:00
Bruce (SqlWork.com) 70,376 Reputation points
0 answers

Win11 Scaling Issues with .NET 4 WinForms Application

A WinForms application developed in .NET 4 is experiencing display issues when running on Windows 11 with a zoom level of 125%. The application does not properly support DPI scaling due to limitations in .NET 4. Attempts to use the Windows API function…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,083 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,261 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,775 questions
asked 2025-01-31T15:21:55.1666667+00:00
The Master 0 Reputation points
5 answers

HttpClient // Timeout // The remote name could not be resolved

Hello, The remote name could not be resolved using (HttpClient client = new HttpClient()) { client.BaseAddress = new Uri(System.BaseAddress); client.Timeout = new TimeSpan(0, 0, System.Timeout); public void Exception(Exception ex, string…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 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,261 questions
asked 2025-01-23T18:48:34.5966667+00:00
Noah Aas 545 Reputation points
commented 2025-01-31T15:17:19.87+00:00
MotoX80 35,231 Reputation points
0 answers

How can I convert from SQL Server ORDER BY [Date] ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW to LinQ Query?

I have a SQL query and want to convert it to LINQ. It would be great if some experienced people could help. CREATE TABLE [dbo].[tbl_payment]( [Id] [int] IDENTITY(1,1) NOT NULL, [Companyid] [int] NULL, [Date] [datetime] NULL, [PaymentAmount]…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 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,400 questions
asked 2025-01-31T11:49:59.4766667+00:00
jewel 1,086 Reputation points
edited a comment 2025-01-31T14:28:20.3733333+00:00
AgaveJoe 29,681 Reputation points
1 answer

Performance issues in Session State

Hi. We are running a .Net Framework 4.8 mvc web application with redis session state setup. We are experiencing performance issues and the profiling we have done indicates that session state, specifically GetSessionStateItemAsync, is waiting for long…

Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
268 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 questions
asked 2024-09-06T00:41:07.7633333+00:00
Danielle Schlie 0 Reputation points
commented 2025-01-31T13:34:36.78+00:00
Kunal Ashar 0 Reputation points
2 answers One of the answers was accepted by the question author.

.net 3.5 install +0x80072EE2

Cannot install .NET 3.5. Go to control panel, "Turn Windows Features On or Off", check the checkbox, starts, end ends with 0x80072EE2 I have disabled the AV Defender, and am connected to internet. Same problem if I start from Offline…

.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,189 questions
asked 2025-01-28T16:02:57.6566667+00:00
A. Karaulli 20 Reputation points
accepted 2025-01-31T13:27:31+00:00
A. Karaulli 20 Reputation points
1 answer One of the answers was accepted by the question author.

Blazor get absolute URL from within the class

Hello, I have a class inside the Services folder. It contains a LogError(Exception ex) method in which I need the absolute URL in order to get the requested page. However, I am unable to access the HttpContext.Request.Url or any other method/extension…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 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,656 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.
369 questions
asked 2025-01-20T13:57:47.14+00:00
Kuler Master 386 Reputation points
accepted 2025-01-31T10:24:06.3333333+00:00
Kuler Master 386 Reputation points
1 answer

IDX20803 When attempting to verify token

Our production environment started giving us the error below for seemingly no reason halfway through the day. The same code works when running on localhost (using the same tenant, clientId, etc.) Our production environment is running on AWS. Any advice…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,069 questions
asked 2025-01-30T17:18:05.4833333+00:00
Mark B 0 Reputation points
answered 2025-01-31T09:41:25.3733333+00:00
Mark B 0 Reputation points
0 answers

Entity Framework with Dynamic Table Mapping Based on a Parameter (PostgreSQL Partitioning)

I am using Entity Framework with PostgreSQL and need a way to dynamically map a model to different tables based on a parameter. For example, I have a Cars model, and each company should have its own separate table: Cars_A for Company A Cars_B for…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
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.
11,261 questions
asked 2025-01-31T08:50:51.2966667+00:00
Florin 0 Reputation points
edited the question 2025-01-31T09:30:28.7166667+00:00
Florin 0 Reputation points
1 answer

VSCode debug dotnet: You may only use the Microsoft Visual Studio .NET/C/C++ Debugger (vsdbg) ...

I downloaded the Visual Studio Code for Mac, and use it on my Mac. Created a dotnet project and try to debug it, but I got this error message and the debugger cannot start: You may only use the Microsoft Visual Studio .NET/C/C++ Debugger (vsdbg) with…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,083 questions
asked 2025-01-30T16:43:31.67+00:00
Endre 0 Reputation points
commented 2025-01-31T09:19:45.5133333+00:00
Endre 0 Reputation points
2 answers

Why does my app serve an .mp3 file correctly from localhost, but return a 404 when deployed to Azure?

I've a static web app created using Blazor in Visual Studio 2022. A static audio (.mp3) resource (located at wwwroot/audio/abc.mp3) is recognised and plays when using IIS Express / https localhost, but is not found in the Azure-deployed version. No…

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,656 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,060 questions
asked 2025-01-29T10:10:53.61+00:00
Tim Dale 0 Reputation points
commented 2025-01-31T09:01:25.0933333+00:00
Bhargavi Naragani 235 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

DATE PICKER MINIMUM AND MAXIMUM DATES

In .NET MAUI 8 I have created a little test code to select a range of dates. <Grid Margin="10"> <Frame BorderColor="Black"> <Grid RowDefinitions="Auto,Auto,Auto"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,877 questions
asked 2025-01-30T21:30:00.72+00:00
Giorgio Sfiligoi 286 Reputation points
accepted 2025-01-31T08:13:32.8733333+00:00
Giorgio Sfiligoi 286 Reputation points