24,043 questions with .NET-related tags

Sort by: Updated
0 answers

Compatibility of .NET Standard 2.0 library that uses StoreAPI and WPF .NET 8.0?

I am working with a .NET Standard 2.0 Library that we wrote and use both in a WPF + .NET Framework 4.8 windows application and in a UWP windows application. This .NET Standard 2.0 library has references to Microsoft.Windows.SDK.Contracts version…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,406 questions
Universal Windows Platform (UWP)
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,679 questions
Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
317 questions
asked 2024-05-08T17:36:27.52+00:00
Richard Freytag 1 Reputation point
1 answer

ASP.NET - The specified network password is not correct - X509Certificate2

I have a .NET web application where trying to import the certificate using the "X509Certificate2". While importing, getting the "The specified network password is not correct.". The certificate is password protected .pfx file and I'm…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,284 questions
asked 2024-04-30T12:08:12.77+00:00
Nabeel Farooq 0 Reputation points
commented 2024-05-08T17:04:30.0833333+00:00
Nabeel Farooq 0 Reputation points
1 answer

What NuGet package to I use for Microsoft.Office.Interop.Excel?

I maintain an old ASP.NET WebForms application, which is at .NET Framework level 4.5.2. The original developers incorporated an Excel report in this application. I'm trying to get the app to build using a GitHub Self-Hosted Runner running on one of our…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,284 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,522 questions
asked 2024-05-07T21:01:02.6533333+00:00
Falanga, Rod, DOH 80 Reputation points
commented 2024-05-08T16:52:14.28+00:00
Michael Taylor 48,736 Reputation points
0 answers

How to deploy Azure function (.net 8 isolated worker process) in aks cluster

I created a Service Bus trigger function with .Net 8 and the isolated worker model. It is running fine locally (on my Windows laptop) However when I deploy it to my AKS cluster the memory usage keeps on growing (starts around 140 MB and after some hours…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,313 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,406 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,872 questions
asked 2024-03-05T12:41:08.27+00:00
Patrick Koorevaar 6 Reputation points
commented 2024-05-08T16:43:42.32+00:00
Patrick Koorevaar 6 Reputation points
2 answers

SQL Connectivity Issue From Cloud app to on-prem server

hi, I have deployed a .net core MVC app in azure app service as a webapp. I have to connect to a on-prem sql server to retrieve data. I have setup Azure relay/hybrid connection for the same. Also I have installed hybrid connection manager in on-prem…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 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.
12,784 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,937 questions
asked 2024-05-07T10:38:07.05+00:00
Santhi Dhanuskodi 145 Reputation points
answered 2024-05-08T16:12:29.83+00:00
Bruce (SqlWork.com) 56,846 Reputation points
1 answer

Custom Hybrid Connection Manager

Hi, I would like to know if we can have a custom hybrid connection manager in .net core code. I would like to connect to on-prem sql server from a cloud deployed .net solution. I am using Azure app service /Relay/Hybrid Connection for the same. I would…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 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.
12,784 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,937 questions
asked 2024-05-08T15:25:31.47+00:00
Santhi Dhanuskodi 145 Reputation points
commented 2024-05-08T16:00:08.8766667+00:00
Santhi Dhanuskodi 145 Reputation points
2 answers

Access network folder and files from .NET Core application in IIS

Greetings, I have an application deployed in IIS with .NET Core 7 and SQL Server, I want to access a network path, write and read files within a folder in the path (\path\folder) What steps should I follow to achieve this?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 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.
12,784 questions
asked 2024-05-07T17:35:39.8066667+00:00
Juan A. Reyes Paulino 20 Reputation points
edited a comment 2024-05-08T15:58:49.0233333+00:00
Bruce (SqlWork.com) 56,846 Reputation points
1 answer

ViewModel Inheritance

Hi friends, I am trying to use inheritance in my ViewModel Class by adding the viewmodel EmployeeEditViewModel but I get a compilation error stating Class 'PayerEditViewModel' cannot have multiple base classes: 'ObservableObject' and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,912 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.
10,294 questions
asked 2024-05-08T15:24:59.8466667+00:00
Tom Meier 80 Reputation points
answered 2024-05-08T15:24:59.8566667+00:00
Q&A Assist
0 answers

.Net 8 - HttpClient - Kerberos Auth - Authentication validation failed with error - InvalidToken.

We have an existing C# application in firm in .Net 6. This app consumes rest api exposed by another system within the firm (sso / kerberos). Its a simple GET call with Http Client. We upgraded the solution to .Net 8 and started facing Authentication…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,406 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.
10,294 questions
asked 2024-05-08T12:17:33.0066667+00:00
Goutham Anandhan 0 Reputation points
commented 2024-05-08T14:46:28.7266667+00:00
Jiale Xue - MSFT 33,751 Reputation points Microsoft Vendor
1 answer

How to enable CSP in asp:UpdatePanel without having to write 'unsafe-inline'

I have an asp:UpdatePanel and asp:ScriptManager in my web form. When I enable CSP in the web.config as below, the functionality of the pages are not working like 'OnSelectedIndexChanged' event of asp:DropDownList and many more. <add…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,406 questions
asked 2024-05-08T14:30:44.39+00:00
Preeti Gupta 0 Reputation points
answered 2024-05-08T14:43:04.2933333+00:00
Michael Taylor 48,736 Reputation points
0 answers

Print Preview will not appear and no exception is thrown

Hello, We have an application that is using a winforms webbrowser control to display an html document. To show a print preview, we are using: SHDocVw.IWebBrowser2.ExecWB(SHDocVw.OLECMDID.OLECMDID_PRINTPREVIEW...) command where we are passing in a path to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,406 questions
asked 2024-05-08T12:39:26.9366667+00:00
Lpatz-4663 20 Reputation points
commented 2024-05-08T14:32:11.5933333+00:00
Jiale Xue - MSFT 33,751 Reputation points Microsoft Vendor
0 answers

How do I change the embed media properties (size, text wrapping, border, and so on) in CKEditor 5 (checking for script tag)?

Hi! I have an implementation of CKEditor fields in my project in the form: DecoupledEditor .create( document.querySelector( '#editor' ), { extraPlugins: [ MyCustomUploadAdapterPlugin ], removePlugins: […

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
880 questions
asked 2024-05-08T13:14:56.79+00:00
Volk Volk 571 Reputation points
edited the question 2024-05-08T14:14:25.5566667+00:00
Volk Volk 571 Reputation points
4 answers

When will .NET 8 (Early Access) be available on Azure Government?

Currently .NET 8 (Early Access) is available on Azure Commercial. I like to know when will .NET 8 (Early Access) be available on Azure Government App Service?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,406 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,937 questions
asked 2023-12-07T00:52:36.1866667+00:00
Arman Ghazanchyan (Contractor) 10 Reputation points
commented 2024-05-08T14:01:21.8633333+00:00
adam robin 0 Reputation points
0 answers

Blazor Server Side AuthorizationHandler - PreLoad - HttpContext is Null

I have a Multi-Tenant Blazor Server Side application, that uses Pre-Load to use HttpContext in the Razor Pages. I am setting up Authentication and Authorization using Azure Entra. For Authorization I need to Authorize the user against the Tenant. The…

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,401 questions
asked 2024-05-08T13:56:02.2933333+00:00
Tom McCartan 5 Reputation points
2 answers

How do I draw anti-aliased text in a ListBox with DrawMode set to OwnerDrawFixed?

I have a ListBox on my form with its DrawMode property set to OwnerDrawFixed. How can I get the text I draw to be antialiased? I've already set the TextRenderingHint property of the Graphics object to AntiAliasGridFit but it's not drawn…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,837 questions
asked 2024-05-01T18:51:36.1366667+00:00
DaveF 21 Reputation points
answered 2024-05-08T13:39:55.13+00:00
KOZ6.0 4,895 Reputation points
1 answer One of the answers was accepted by the question author.

.Net Maui ViewModel and MVVM

Currently I have a shell application with a Tabbed Page with several Content Page Views. Instead of using one big Model (Populated with Data from a Database) in my ViewModel for all these Content Page Views, what is the best practice to separate…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,912 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.
10,294 questions
asked 2024-05-07T20:27:49.38+00:00
Tom Meier 80 Reputation points
accepted 2024-05-08T13:39:54.4066667+00:00
Tom Meier 80 Reputation points
0 answers

visual studio 2022 error mt1007 failed to launch application

I recently upgraded windows visual studio to 17.5.4 Windows Xamarin Forms to 5.0.0.2545 When I try to debug the Xamarin iOS application I get the following: error MT1007: Failed to launch the application…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
943 questions
asked 2023-04-18T19:51:51.3333333+00:00
Seth Isaacks 46 Reputation points
commented 2024-05-08T11:42:52.1466667+00:00
MartinMilan 0 Reputation points
0 answers

Call the Microsoft GraphApi from the .net application and get the user details based on the email address

Hi, I have a below requirement. I need to call the microsoft GraphApi from the .net application and get the user details based on the email address he/she types in the textbox. In Azure portal - i have enabled (Any Microsoft Entra ID tenant -…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,284 questions
asked 2024-05-08T11:14:49.2033333+00:00
pk 5 Reputation points
0 answers

how to set ssl need basic idea and step by step implementation

hello I have hosted my site in IIS and that system has static ip from internet provider for example 55.XXX.XXX.XX anywhere around the world if i enter this ip its working fine now client requirment is he want as website so what i did is i purchase one…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,284 questions
asked 2024-05-08T10:52:46.27+00:00
RAVI 916 Reputation points
0 answers

Unable to bypass the certificate validation when trying to access APIs from a web application which has its own certification

Unable to bypass the certificate validation when trying to access APIs from a web application which has its own certification Hi All, I m facing issue when I m trying to access a Service management API to create/ fetch a ticket through my web application…

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.
301 questions
asked 2024-05-07T14:02:15.3033333+00:00
nitar_prof 0 Reputation points
commented 2024-05-08T10:13:04.9466667+00:00
AgaveJoe 26,141 Reputation points