24,064 questions with .NET-related tags

Sort by: Updated
1 answer

in PhoneLineTransportdevice(Windows.ApplicationModel.Calls) RequestAccessAsync() always throw denied by system.

I am creating an app like my phone in Windows so I found this library name Windows.ApplicationModel.Calls use Bluetooth to connect with a phone line(Android/ios) to make and receive calls from Windows but in this first we need to request access from the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,413 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,302 questions
asked 2023-04-26T09:51:20.12+00:00
Aryaveer Chaudhary 0 Reputation points
commented 2024-05-09T15:06:53.93+00:00
Mingping1 Zhang 0 Reputation points
3 answers

How do I install .NET on a Windows 11 machine

How do I install .NET on a Windows 11 machine?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,413 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,273 questions
asked 2024-05-08T21:59:29.1766667+00:00
Marsha Harner (Applause App Quality LLC) 0 Reputation points Microsoft Vendor
answered 2024-05-09T14:13:49.4566667+00:00
Kapil Arya 7,756 Reputation points MVP
2 answers One of the answers was accepted by the question author.

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,920 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,302 questions
asked 2024-05-08T15:24:59.8466667+00:00
Tom Meier 120 Reputation points
accepted 2024-05-09T14:04:00.5966667+00:00
Tom Meier 120 Reputation points
1 answer One of the answers was accepted by the question author.

How to fix Error CS0029 Cannot implicitly convert type 'void' to 'System.Collections.Generic.List<Vase.Models.Person>'

var user = from u in conn.Table<Person>() querywhere u.name == "WALE" select u; return user.FirstOrDefaultAsync().Wait(); I got error in the bold line. i cant figure what i did wrong pleas help

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,920 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,302 questions
Entity Framework Core Training
Entity Framework Core Training
Entity Framework Core: A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.Training: Instruction to develop new skills.
3 questions
asked 2024-05-07T00:20:57.27+00:00
Gbenga Banuso Odumosu 0 Reputation points
commented 2024-05-09T13:28:20.9566667+00:00
Gbenga Banuso Odumosu 0 Reputation points
1 answer

Simulate dead lock with sampfore slim

Hi, How I simulate deadlock with with this code? public async Task<string> GetSessionToken(string developmentApiKey) { await _semLock.WaitAsync(); try { if…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,413 questions
asked 2024-05-02T08:41:24.51+00:00
Dani_S 2,746 Reputation points
commented 2024-05-09T12:56:21.5266667+00:00
Dani_S 2,746 Reputation points
1 answer

New Form is not shown while drag & drop a Custom Control from toolbox to Designer in WinForms in NetCore

In our Control, we have opened a new form to update the content of our control in the Designer. The new Form is not shown in the NetCore but works properly in the NetFrameWork. I have replicated the same issue in a simple control. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,837 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,413 questions
asked 2024-05-03T14:04:08.6633333+00:00
Karkuvel Rajan Shanmugavel 0 Reputation points
commented 2024-05-09T12:50:28.4266667+00:00
Jiale Xue - MSFT 34,276 Reputation points Microsoft Vendor
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,205 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,800 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,296 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,323 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,413 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,402 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,800 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,920 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,413 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,302 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,920 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,287 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,413 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,920 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,837 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,696 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,640 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,302 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.
945 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,287 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,530 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,920 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,413 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,287 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,287 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,204 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,125 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