Microsoft Q&A

.NET

20,733 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,733 questions with .NET-related tags

Sort by: Updated
1 answer

Maui- app.cs write in constructor http call

Hi, I need to write http call asynchronously and i have only constructor their. Is not allowed to make asynchronous call in constructor? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,875 questions
asked 2023-10-01T06:25:22.0666667+00:00
דני שטרית 1,261 Reputation points
edited a comment 2023-10-02T06:50:03.6333333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 22,571 Reputation points Microsoft Vendor
0 answers

Unable to get provider com.microsoft.intune.mam.client.support.v4.content.MAMFileProvider

When trying to deploy an app using Microsoft.Intune.Maui.Essentials.android we get an exception as below. Java.Lang.RuntimeException: 'Unable to get provider com.microsoft.intune.mam.client.support.v4.content.MAMFileProvider:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,875 questions
Microsoft Intune Android
Microsoft Intune Android
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Android: An open-source mobile platform based on the Linux kernel, developed by Google, and maintained by the Open Handset Alliance.
169 questions
asked 2023-09-27T02:31:43.9166667+00:00
ANBALAGAN SARANYA 31 Reputation points
commented 2023-10-02T06:38:06.17+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 54,166 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Maui - Order of launch

Hi, What order of steps that Maui launch ? Maui program.cs. app.xaml...... Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,875 questions
asked 2023-10-01T06:21:36.58+00:00
דני שטרית 1,261 Reputation points
accepted 2023-10-02T06:24:15.3533333+00:00
דני שטרית 1,261 Reputation points
0 answers

Creating a list with two different tables

I have following two tables Employee and file Path Employee - employeeId is primary key with Identity specification EmployeeId FirstName lastName 1 Mario Gonazales 2 Mario2 Gonazales2 3 …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,585 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.
9,023 questions
asked 2023-10-02T06:09:20.51+00:00
Anjali Agarwal 1,061 Reputation points
edited the question 2023-10-02T06:16:46.7133333+00:00
Anjali Agarwal 1,061 Reputation points
1 answer One of the answers was accepted by the question author.

Blazor accessing global variable issue

Hi all I asked here how to save variable state and i get long answers and what I want is to know if it's possible in blazor to define a variable somewhere in the app structure so I can access it from any component. something like in console program…

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,111 questions
asked 2023-10-01T07:18:17.1633333+00:00
Haviv Elbsz 1,251 Reputation points
commented 2023-10-02T06:11:54.4966667+00:00
Tiny Wang-MSFT 1,146 Reputation points Microsoft Vendor
0 answers

What inspired your interest in the topic of windows or whatever specific aspect of windows you'd like to discuss?

What inspired your interest in the topic of windows or whatever specific aspect of windows you'd like to discuss?motocollection

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,639 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
3,082 questions
asked 2023-10-02T06:05:26.57+00:00
jamesgraham 0 Reputation points
1 answer

Maui for android entry screen keyboard issue

Hi all. how to prevent on screen keyboard when a specific entry get focus. Thank you very much.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,875 questions
asked 2023-10-01T15:56:30.79+00:00
Haviv Elbsz 1,251 Reputation points
edited an answer 2023-10-02T05:58:13.45+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 54,166 Reputation points Microsoft Vendor
0 answers

getting the data from two different tables in a list

I have following two tables Employee and file Path Employee - employeeId is primary key with Identity specification EmployeeId FirstName lastName 1 Mario Gonazales 2 Mario2 Gonazales2 3 …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,585 questions
asked 2023-10-02T05:58:07.0766667+00:00
Anjali Agarwal 1,061 Reputation points
1 answer

Unable to up the server .Net with Alpine linux environment with MSSQL

Hi, We have a .Net core Web API application we have created the server image (Alpine) and trying to host it in docker environment where MSSQL is already installed and configured. when we try to up the container, we get this error…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,585 questions
asked 2023-04-27T05:09:14.33+00:00
Manish Kumar 0 Reputation points
answered 2023-10-02T05:57:40.17+00:00
Veeran Puthumkara 0 Reputation points
1 answer

Unable to add data into SQL table - exception thrown, but query works OK

I created a temp table in Server Management Studio, and imported it into my application using Scaffol-DbContext ` Scaffold-DbContext 'Data Source=MyServer;Initial Catalog=MyCatalog;Integrated Security=True;Connect Timeout=30;Encrypt=False;Trust…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
591 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,068 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.
11,007 questions
asked 2023-10-01T22:54:03.6033333+00:00
Robert Salasidis 111 Reputation points
answered 2023-10-02T05:45:42.4+00:00
Olaf Helper 34,286 Reputation points
0 answers

Get null values in claims in azure ad authentication using DotNet core 6.0 Web Api

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,662 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,068 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,585 questions
asked 2023-09-30T13:45:48.4133333+00:00
Mansi Sulodia 1 Reputation point
commented 2023-10-02T05:35:02.0766667+00:00
JasonPan - MSFT 2,691 Reputation points Microsoft Vendor
1 answer

How rendering handling concurrency in razor page from API response?

Hi, I'm following up on all the discussions I've had about handling concurrency errors. 1 - I would like to know if it is possible to handle concurrency errors in a context where I have a DataGrid in edition mode on a line? 2 - I have defined a put…

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,111 questions
asked 2023-09-29T16:15:02.6566667+00:00
sblb 1,141 Reputation points
edited a comment 2023-10-02T05:33:11.5366667+00:00
sblb 1,141 Reputation points
1 answer One of the answers was accepted by the question author.

Getting Data in a List using four different tables

I have the following database tables Employee table -Database name Employee - EmployeeID is the primary key JobTitleID EmployeeNumber SectionID EmployeeId 9 1234 2 1 2 8976 3 …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,585 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.
9,023 questions
asked 2023-09-30T05:58:29.78+00:00
Anjali Agarwal 1,061 Reputation points
accepted 2023-10-02T04:38:26.22+00:00
Anjali Agarwal 1,061 Reputation points
1 answer

Display value of DropDownList SelectedItem on a label

Hello, I have been trying to show the value of DropDownList selecteditem in a label but all efforts could not yield desired result. I have a table Data as follows: IdFruits colors1Apple Red2Banana …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,068 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,640 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
620 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.
9,023 questions
asked 2023-10-02T00:25:37.77+00:00
Donald Symmons 2,026 Reputation points
answered 2023-10-02T03:51:32.57+00:00
Lan Huang-MSFT 17,956 Reputation points Microsoft Vendor
0 answers

How to find common parent class

I often have to find a class or interface common to controls or objects that make up controls. Is there an automatic tool to determine the first parent common to two or more classes or a shared interface?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,068 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,815 questions
asked 2023-09-29T14:43:12.0933333+00:00
Guglielmo Cancelli 0 Reputation points
commented 2023-10-02T03:26:54.1+00:00
Tianyu Sun-MSFT 20,696 Reputation points Microsoft Vendor
0 answers

How do I disable content filtering?

Can't get on websites

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,481 questions
asked 2023-10-01T10:20:55.9+00:00
Brady Lassa 0 Reputation points
edited a comment 2023-10-02T03:18:12.7733333+00:00
Hui Liu-MSFT 21,611 Reputation points Microsoft Vendor
0 answers

how to remove realm database used in swift iOS in .NET MAUI?

Hello, I rebuild iOS app using .NET MAUI. There was data stored in realm database in iOS app. In MAUI, i want to remove it because it's no longer needed. Is there any way to that? Thanks

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,875 questions
asked 2023-10-02T03:18:00.0066667+00:00
Nam Pham 71 Reputation points
2 answers One of the answers was accepted by the question author.

How to automatically copy clipboard text into textbox using timer

Using VB.Net, am trying to get the text in clipboard into a specific textbox. Once text get into clipboard, I want it to be getting pasted and queuing automatically into the textbox, using timer. The below code was supposed to do as expected but only…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,068 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,321 questions
asked 2023-10-01T14:44:33.0233333+00:00
Wilfred Eghenedji 306 Reputation points
edited a comment 2023-10-02T03:12:49.29+00:00
Wilfred Eghenedji 306 Reputation points
1 answer

TreeListView in .NET6

As per title, I am looking for a TreeView control with column support that is compatible with .NET4+, but also .NET 6 and 7. All the supposedly such controls I have found are too old and not compatible with the new versions. I also take this opportunity…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,068 questions
asked 2023-09-29T14:38:36.68+00:00
Guglielmo Cancelli 0 Reputation points
answered 2023-10-02T02:48:18.2033333+00:00
Hui Liu-MSFT 21,611 Reputation points Microsoft Vendor
2 answers

Session Timeout

Overview: Our ASP.NET 3.5 framework based web application is upgraded to .Net 4.8. There is no change to the code and the way sessions are handled. For some of the users the session timeout occurs though the inactivity on the page is less than 2-3…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,640 questions
asked 2022-08-30T13:10:57.187+00:00
Siripurapu Deepthi 1 Reputation point
commented 2023-10-02T02:13:07.45+00:00
Nam Văn 0 Reputation points