24,073 questions with .NET-related tags

Sort by: Updated
10 answers

A connection was successfully established with the server, but then an error occurred during the login process Error from .Net core WebAPI

Hi, I've an application that uses WebAPI in .Net core 6 and uses Kestrel server. When calling HttpPost request, the code tries to inject data in DB but fails with error: The certificate chain was issued by an authority that is not trusted. Inner…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,207 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,808 questions
asked 2021-12-14T12:23:52.077+00:00
Amit Potdar 136 Reputation points
edited a comment 2024-05-09T11:19:03.5566667+00:00
LAFRIMI, Mosaab Yassir 0 Reputation points
1 answer One of the answers was accepted by the question author.

Xamarin.Android: Opening an Excel document using Intents in Android 10+ fails

I have the following code for exporting an Excel file. The final result is opened in the Excel App. This is the code for opening the file: if (file.Exists()) Intent intent = new Intent(Intent.ActionView); if (Build.VERSION.SdkInt <…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2021-05-26T21:14:21.873+00:00
Federico Navarrete 616 Reputation points
edited a comment 2024-05-09T10:56:18.0166667+00:00
Federico Navarrete 616 Reputation points
0 answers

Trouble Implementing Federated Credentials with Managed Identities in Azure Function App API Authentication

I have an API inside my function app and have been accessing the API using the secrets created in the app registration associated with the function app. Now we're looking to eliminate the secrets and modify it to use managed idenities as the client app…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,321 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 questions
asked 2024-04-22T18:40:22.54+00:00
Dheepssika JL 0 Reputation points Microsoft Employee
edited the question 2024-05-09T09:41:50.4466667+00:00
Dheepssika JL 0 Reputation points Microsoft Employee
2 answers

Best Practice For Database Access In Blazor MAUI Hybrid App

I'm porting a project from MVC into a Blazor MAUI Hybrid app with the intent to share common components and data. I have a Razor Class Library which does this, but was wondering if I should also put my SQL Server data access in here as well or keep that…

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,403 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,808 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,922 questions
asked 2024-04-30T17:24:11.6166667+00:00
Daniel Kovach 0 Reputation points
answered 2024-05-09T08:37:05.3666667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,231 Reputation points Microsoft Vendor
7 answers

How to fix Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine In accessdatabaseengine 2016

Team, Kindly please help me to figure out issue regarding Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine I just updated ACCESS DATABASE ENGINE 2010 to ACCESS DATABASE ENGINE 2016 version in my system. so please help…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 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,306 questions
asked 2021-07-13T16:59:19.737+00:00
Sagar Pithadiya 6 Reputation points
commented 2024-05-09T08:34:50.21+00:00
Rownak Tanjil 0 Reputation points
1 answer

MAUI: Background color is not updating when changing the mode (iOS)

When changing the mode I am updating the background color and text color of the UI via code. It was working fine on Android side but when I check it on iOS, the Listview background color is not updating properly. Expected Output of light and dark mode is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,922 questions
asked 2024-04-29T13:42:50.5933333+00:00
Sreejith Sreenivasan 691 Reputation points
answered 2024-05-09T08:31:32.6566667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,626 Reputation points Microsoft Vendor
3 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,288 questions
asked 2024-05-08T10:52:46.27+00:00
RAVI 916 Reputation points
answered 2024-05-09T07:44:42.1466667+00:00
Yurong Dai-MSFT 2,786 Reputation points Microsoft Vendor
0 answers

Tooltip taking more time to render in .Net MAUI Mac catalsyt

I've been using Tooltip text with some views, but it's taking a considerable amount of time to render initially. However, after the first rendering, it works perfectly. Sometimes, it doesn't appear for a longer period, but when I unfocus and refocus the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,922 questions
asked 2024-05-08T06:58:54.9+00:00
Kiran Mohanty 0 Reputation points
commented 2024-05-09T07:15:16.1933333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,231 Reputation points Microsoft Vendor
2 answers

Visual Studio problem

I am using Visual Studio 2019. And in the toolbox, there is this thing called "NavigationMenu". But I don't see it in the toolbox, and I need it for my project. Please help me

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,838 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,697 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,642 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,306 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.
947 questions
asked 2024-05-04T04:29:26.4733333+00:00
Hamoude Assaf 0 Reputation points
edited an answer 2024-05-09T07:11:46.7066667+00:00
Anna Xiu-MSFT 25,891 Reputation points Microsoft Vendor
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,288 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,532 questions
asked 2024-05-07T21:01:02.6533333+00:00
Falanga, Rod, DOH 80 Reputation points
commented 2024-05-09T06:59:48.2+00:00
Lan Huang-MSFT 25,876 Reputation points Microsoft Vendor
1 answer

MAUI: The CollectionView items collide with each other when scrolling

When I try to scroll top to bottom at that time, the CollectionView items collide on the iOS platform, but it works fine on the Android platform. Below, I am adding a screenshot and Screen record of this issue. Screenshot: Screen Record: screen record…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,922 questions
asked 2024-04-29T14:07:42.5733333+00:00
Sreejith Sreenivasan 691 Reputation points
edited a comment 2024-05-09T06:44:36.59+00:00
Sreejith Sreenivasan 691 Reputation points
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,415 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
asked 2024-05-08T14:30:44.39+00:00
Preeti Gupta 0 Reputation points
edited the question 2024-05-09T06:37:24.76+00:00
Jiale Xue - MSFT 34,276 Reputation points Microsoft Vendor
0 answers

ASP.NET MVC area issue on IIS 10

I have an existing ASP.NET MVC application (on .NET 4.8), and I have recently added an area to the application (area is registered and the route is mapped). When I deployed the app to IIS, it works as expected on the local server (server-localhost:port),…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,205 questions
asked 2024-05-06T10:06:31.3666667+00:00
Mahdi Khardani 0 Reputation points
edited a comment 2024-05-09T06:19:26.4366667+00:00
Yurong Dai-MSFT 2,786 Reputation points Microsoft Vendor
11 answers One of the answers was accepted by the question author.

TypeScript VS Jquery using for Razor page

Now I am developging using the Razor page with .Net Core . Please help me to to suggest Shoud i used Typescript ro JQuery which one shoud i use ? Please advise . Thank you .

.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,126 questions
asked 2020-12-03T00:46:45.613+00:00
Htet Lin 46 Reputation points
commented 2024-05-09T05:49:46.71+00:00
Bharatkumar Ghode 5 Reputation points
1 answer

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,207 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,808 questions
asked 2024-05-07T17:35:39.8066667+00:00
Juan A. Reyes Paulino 20 Reputation points
commented 2024-05-09T03:02:23.4833333+00:00
Brando Zhang-MSFT 2,961 Reputation points Microsoft Vendor
1 answer

how to fix this?

Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference.…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,642 questions
.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,126 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.
94 questions
asked 2024-05-01T10:26:25.1133333+00:00
XareXD 0 Reputation points
commented 2024-05-09T02:54:53.8833333+00:00
Anna Xiu-MSFT 25,891 Reputation points Microsoft Vendor
0 answers

Editor is vanish when I move to full screen

Hi, When I resize the page to full screen the editor cotent disappered? why? Thanks, <ScrollView x:Name="scrollView"> <Editor x:Name="editor" IsReadOnly="False" AutoSize="TextChanges"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,922 questions
asked 2024-04-30T06:58:54.0366667+00:00
Dani_S 2,746 Reputation points
commented 2024-05-09T02:49:27.0833333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,231 Reputation points Microsoft Vendor
1 answer

Numbers are not displayed properly when using Arabic culture with Right-to-Left (RTL) flow direction in WPF.

When using a textbox in Arabic culture with RTL, numbers are displayed in Arabic numerals. However, I want them to be displayed in standard numerals only. FlowDirection="LeftToRight": FlowDirection="RightToLeft": Code…

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,681 questions
asked 2024-05-02T13:12:21.38+00:00
Vignesh 0 Reputation points
commented 2024-05-09T02:29:30.2966667+00:00
Hui Liu-MSFT 40,786 Reputation points Microsoft Vendor
0 answers

Azure Function: ServiceBusTrigger Microsoft.Azure.Amqp exceptions on bind with .NET8 + dotnet-isolated

Hi, I am using .NET8 with dotnet-isolated. Local ServiceBusTrigger binding results in a (very) fast infinite repeat of this console output: Microsoft.Azure.Amqp: Object reference not set to an instance of an object. Message processing error…

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
553 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,321 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 questions
asked 2024-05-08T23:02:08.5366667+00:00
Francis Gingras 0 Reputation points
0 answers

Workaround to fix the Microsoft.Azure.WebJobs.Extensions.FunctionMetadataLoader.dll error on Azure Functions v4

I am facing an issue with the Azure Functions build pipeline during migration to an isolated worker model. The error is: Reason: File Microsoft.Azure.WebJobs.Extensions.FunctionMetadataLoader.dll is copied (via an MsBuild Copy task) to an unsupported…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,321 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 questions
asked 2024-05-08T22:51:23.28+00:00
Venkata Sridhar Perepu 0 Reputation points Microsoft Vendor