26,685 questions with .NET-related tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

Does Windows Server 2025 support .NET Framework 4.8?

Does Windows Server 2025 support .NET Framework 4.8?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,054 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,571 questions
asked 2025-01-21T01:00:49.95+00:00
智也 松川 0 Reputation points
answered 2025-01-21T01:12:33.49+00:00
S.Sengupta 21,476 Reputation points MVP
2 answers

Permissions to access shared mailbox to read and send emails

I'm building an service which will read emails from a shared mailbox and then reply to those emails. It will run in a service, so I'm using app permissions instead of delegated permissions. It's a multitenant application so I've created an app in our…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,744 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,810 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,212 questions
asked 2025-01-19T22:09:30.6266667+00:00
jgauffin 0 Reputation points
answered 2025-01-20T23:04:13.81+00:00
Bruce (SqlWork.com) 69,656 Reputation points
1 answer

I can't find the Blazor Web Assembly option, I only see two options the Blazor Web App and the standalone Web Assembly application but none of them give me the ASP .NET Core Hosted option, why?

I do have a question related to this topic because I want to start a project with the Blazor WebAssembly App template but it is no longer only those two that you mention. according to a video it should look like this: I would like to know if the way I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,744 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,650 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,366 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,212 questions
asked 2025-01-20T17:12:21.9833333+00:00
Carlos Enrique Canales L�pez 0 Reputation points
commented 2025-01-20T22:56:12.7433333+00:00
Bruce (SqlWork.com) 69,656 Reputation points
1 answer

Blazor isn't listed in Visual Studio Community 2022

Hello I'm trying to start a new Blazor WebAssembly App in Visual studio 2022 but it isn't listed there. I did run dotnet new --list in the command line and it shows both Blazor WebAssembly App and Blazor Server App listed so I'm not sure why it isn't…

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,650 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,366 questions
asked 2025-01-19T12:33:04.3433333+00:00
FabioM 0 Reputation points
commented 2025-01-20T22:44:47.7766667+00:00
AgaveJoe 29,281 Reputation points
1 answer

Need code to move panels to extreme right

I have 5 panels that I am working with, all of them are in the same position, havinig the same size. When I want to select one of them, what code can I use to push all the others to the extreme right away from the left, so that I can work with one of…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,568 questions
asked 2025-01-19T20:32:32.04+00:00
Simon 346 Reputation points
commented 2025-01-20T21:54:16.4866667+00:00
Simon 346 Reputation points
0 answers

Ordinal 129 could not be located in DLL (loadlibrary | peak PCAN passthru | winforms application)

Hello all, I'm facing an issue with latest version of Peak PCAN driver, when I try to load the DLL of the latest driver in my winforms project the above error is shown. The catch is using the same loadlibrary function in any other project…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,918 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,977 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,366 questions
asked 2025-01-17T06:04:13.94+00:00
Soul 0 Reputation points
commented 2025-01-20T20:21:29.9766667+00:00
RLWA32 46,461 Reputation points
1 answer One of the answers was accepted by the question author.

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,744 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,677 questions
asked 2025-01-19T02:44:58.7666667+00:00
Kmcnet 886 Reputation points
accepted 2025-01-20T19:59:16.7966667+00:00
Kmcnet 886 Reputation points
1 answer

Cursor pagination for query based full-text search

I need to implement cursor based pagination on an endpoint which accepts a search query. The problem is that since rows will be ranked based on a relevance score derived from a full-text search in natural language, IDs won't be sequential. Does anyone…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
772 questions
asked 2025-01-19T21:52:14.1133333+00:00
iKingNinja 100 Reputation points
edited a comment 2025-01-20T17:57:44.2833333+00:00
iKingNinja 100 Reputation points
1 answer

Create exe for .NET MAUI windows

I am developing a windows application in .NET MAUI using Visual Studios 2022. I need to test it on another machine so I publish the app and create MSIX file. But when I install the certificate there, it is installed successfully but on executing the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,366 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,838 questions
asked 2025-01-20T11:21:50.29+00:00
developer 0 Reputation points
answered 2025-01-20T17:36:25.89+00:00
Bruce (SqlWork.com) 69,656 Reputation points
1 answer

Problems with binding Google's TapAndPay SDK on .NET MAUI

Has anyone had any luck integrating Google's TapAndPay SDK with .NET MAUI? I'm looking to support in-app card provisioning from my MAUI app to Google Pay Following the standard project setup does not map the methods correctly. I've tried mapping the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,838 questions
asked 2024-09-19T00:47:32.76+00:00
jsidri 0 Reputation points
answered 2025-01-20T17:32:23.36+00:00
Bruce (SqlWork.com) 69,656 Reputation points
2 answers

Get Absolute URL in Blazor 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,744 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,650 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,568 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,212 questions
asked 2025-01-20T14:00:42.1733333+00:00
Kuler Master 386 Reputation points
answered 2025-01-20T17:21:02.4366667+00:00
Bruce (SqlWork.com) 69,656 Reputation points
1 answer One of the answers was accepted by the question author.

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.
830 questions
asked 2025-01-19T05:49:16.4366667+00:00
Roma Golich 20 Reputation points
accepted 2025-01-20T17:06:21.8666667+00:00
Roma Golich 20 Reputation points
1 answer One of the answers was accepted by the question author.

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,838 questions
asked 2025-01-18T19:06:05.1566667+00:00
Arnab Mukherjee 40 Reputation points
accepted 2025-01-20T17:05:42.08+00:00
Arnab Mukherjee 40 Reputation points
1 answer One of the answers was accepted by the question author.

When i publish my project, files included with a nuget package are not copied

I have a project using a custom nuget package. The nuget package uses some dlls, added to the project with property "Copy to output directory" set to "Copy always". When I install the nuget package in the main project the dlls are…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,054 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,212 questions
asked 2025-01-17T10:41:13.2466667+00:00
Omar 0 Reputation points
commented 2025-01-20T15:57:28.2233333+00:00
Omar 0 Reputation points
1 answer One of the answers was accepted by the question author.

Recompiling an oooooold solution

I'm trying to compile an old solution (DotNet 4.0) I wrote 15 years ago, so I can update it to newer versions of DotNet. I haven't used C# or DotNet in that time, so bear with me. I'm using VS Code with the C# Dev Kit. I think I got all of the setup for…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,054 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,212 questions
asked 2025-01-14T20:50:31.5433333+00:00
Neil S 20 Reputation points
commented 2025-01-20T15:01:02.5566667+00:00
Neil S 20 Reputation points
0 answers

Hot restart issue

I always get this error message..., is the same for Individual or Enterprise keys. What goes wrong?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,838 questions
asked 2025-01-20T14:48:23.7533333+00:00
Istvan Jakab 0 Reputation points
commented 2025-01-20T14:50:21.2966667+00:00
Istvan Jakab 0 Reputation points
0 answers

Unable to Save Edited DOCX File in MAUI App

When using the OpenFile() method to open Word documents from a file path such as "content://com.app.fileapp.fileprovider/doc_files/demo_241211113315.docx," I am able to edit the document but encounter an issue when attempting to save it—I'm…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
927 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,838 questions
asked 2025-01-20T14:42:03.38+00:00
George Phillips 0 Reputation points
1 answer

How to fix Process with an Id of (Random number) is not running

Hi Team, I have been stuck with an error "Process with an Id of (Random number) is not running" and the number keeps on changing every single time. This is what I get in my output window :The program '[17716] iisexpress.exe' has exited…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,054 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,366 questions
asked 2025-01-17T18:58:22.0866667+00:00
Dhruvin lad 0 Reputation points
commented 2025-01-20T14:19:07.1566667+00:00
Jiale Xue - MSFT 48,691 Reputation points Microsoft Vendor
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,744 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,328 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,212 questions
asked 2025-01-18T15:28:13.7133333+00:00
Assadullah Sanusi 0 Reputation points
commented 2025-01-20T14:15:13.6133333+00:00
SurferOnWww 3,701 Reputation points
0 answers

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,744 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,650 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.
365 questions
asked 2025-01-20T13:57:47.14+00:00
Kuler Master 386 Reputation points