Microsoft Q&A

.NET

15,350 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

15,350 questions with .NET-related tags

Sort by: Updated
0 answers

Blazor Reconnection Issue After Locking Smartphone

I'm experiencing a problem with my Blazor Server application and I need your help. When I access my website on a smartphone and lock the device for some time, upon unlocking it, seems that the Blazor connection gets lost at that moment and tries to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,164 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.
985 questions
asked 2023-06-07T10:57:22.6633333+00:00
Happy Development 10 Reputation points
commented 2023-06-07T13:27:12.6066667+00:00
Happy Development 10 Reputation points
3 answers

Asp.NET Gridview shows only odd rows

Hi all, I have a problem populating a Gridview with a Datatable. I have a DataTable with 21 rows. I select it as Gridview DataSource a call the DataBinb() method. The property GridView.Rows.Count give me 21 as result. But, when I look at the browser, I…

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.
558 questions
asked 2023-06-07T10:23:57.0366667+00:00
Nazza 0 Reputation points
answered 2023-06-07T13:05:38.84+00:00
Nazza 0 Reputation points
0 answers

How do I use a regular expression in Entity Framework?

For the method: public static IQueryable<ClaimIdentityUser> FindClaimsRegExAsync(this UserDbContext dbContext, string searchEmail, string searchClaimValue) { // if both search terms are empty, return all claims if…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
521 questions
asked 2023-06-06T00:00:20.3766667+00:00
David Thielen 1,066 Reputation points
commented 2023-06-07T12:40:40.4933333+00:00
David Thielen 1,066 Reputation points
0 answers

remove IconTint for multicolored icons on tabbedPage

Hi all, I just want to add an multicolored icon on my tabbedPage but my tabbedPage display the icon with one color like IconTint thanks for ur help

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,434 questions
asked 2023-06-07T12:38:44.77+00:00
Chisa Kogano 25 Reputation points
1 answer

Entity Framework - is AnyAsync() the most efficient approach? Or is Contains() better?

Hi all; My situation is I have 4 different model objects that each have a property: public string UniqueId { get; private set; } This UniqueId must be unique across all 4 tables (sort of a super unique key). First, I do set it to be unique in each model…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
521 questions
asked 2023-06-05T20:36:09.82+00:00
David Thielen 1,066 Reputation points
commented 2023-06-07T12:38:10.4866667+00:00
David Thielen 1,066 Reputation points
1 answer

Net maui visualstate for IsVisible not working ?

Net maui visualstate for IsVisible not working ? when backgroundcolor is working but when setter property as Isvisible is not working , can you help me thanks .. <CollectionView.ItemTemplate> <DataTemplate> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,434 questions
asked 2023-06-04T22:24:23.5333333+00:00
Sami 301 Reputation points
edited a comment 2023-06-07T12:33:18.9266667+00:00
Sami 301 Reputation points
1 answer One of the answers was accepted by the question author.

Why does a [BindProperty] require an EventCallback?

Hi all; I have an inner component that has the following in it: public partial class Address { [BindProperty] [Parameter] public MapAddressDto? Value { get; set; } // lots of other stuff } And then in the outer razor file I…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
985 questions
asked 2023-06-07T00:30:33.3566667+00:00
David Thielen 1,066 Reputation points
accepted 2023-06-07T12:31:42.9666667+00:00
David Thielen 1,066 Reputation points
4 answers One of the answers was accepted by the question author.

how to get live stream which push by obs?

I want to get live stream that obs(obsproject.com) push. how to get the live video stream and send it to users? do not use azure.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,164 questions
asked 2023-04-21T01:25:21.27+00:00
mc 1,981 Reputation points
commented 2023-06-07T12:20:22.98+00:00
lucyarmour 0 Reputation points
1 answer One of the answers was accepted by the question author.

What is " !start.cmd " ?

Hello Team, Recently I have been going through some analysis of command prompt and RDP connections. I have identified an !start.cmd entry on the system OS log files, after these process there are some activites has undergone throught command prompt.…

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
9,520 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
3,440 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.
8,219 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.
49 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
4,900 questions
asked 2023-06-07T05:52:36.67+00:00
AJ7 0 Reputation points
accepted 2023-06-07T12:19:02.4533333+00:00
AJ7 0 Reputation points
0 answers

When adding DataSet in ASP.NET Framework 4.7.2 project in Visual Studio 2022 it automatically adds NuGet Package for Microsoft.Data.SQLClient after updating the version from 17.4.3

Whenever we add a new DataSet and Table Adapter in ASP.NET Web Site (Framework 4.7.2) in Visual Studio 2022, it automatically adds NuGet Package for Microsoft.Data.SQLClient. It was not happening in the version 17.4.3 and previous versions of VS2022.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,168 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,172 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.
558 questions
asked 2023-06-07T12:16:37.1+00:00
Kalsofte 0 Reputation points
0 answers

Maui android debugging exception in correct situation

Hello all in the middle of debug stepping in a correct situation suddenly I got this ex. what this mean and what I need to do. Thank you very much.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,434 questions
asked 2023-06-07T11:36:40.9066667+00:00
Haviv Elbsz 806 Reputation points
0 answers

how to set authorize for each page and each module?

If I have several pages like users.cshtml,orders.cshtml,products.cshtml how to set the authorize for each user to each page? If I want to user1 have orders.cshtml read authority but he can not update and delete. user2 has orders.cshtml read update but…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,164 questions
asked 2023-06-07T04:14:40.96+00:00
mc 1,981 Reputation points
edited a comment 2023-06-07T10:24:03.17+00:00
AgaveJoe 22,786 Reputation points
0 answers

is signalr support http?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,164 questions
asked 2023-06-07T00:40:45.09+00:00
mc 1,981 Reputation points
edited a comment 2023-06-07T10:12:57.25+00:00
AgaveJoe 22,786 Reputation points
0 answers

Problems with VS 2015 project

Hello, I have an asp.net 4.5 project with visual basic 2015, in this project a group of 3 programmers work, we use the TFS with source code control, at the beginning I could load the project, debug without problems, for some time both processes take…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,488 questions
asked 2023-06-05T14:02:47.48+00:00
Alfredo Sanchez 0 Reputation points
commented 2023-06-07T10:07:25.33+00:00
QiYou-MSFT 2,761 Reputation points Microsoft Vendor
4 answers One of the answers was accepted by the question author.

Using MS Graph to send email from singe predefined/pre-set mailbox within .net web application

We need our application to send emails via MS Graph using a set single mailbox. I have the following, but this is not working, with the following: 'Exception of type 'Microsoft.Graph.Models.ODataErrors.ODataError' was thrown'. Digging into the details…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,364 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,488 questions
Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
565 questions
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
807 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
887 questions
asked 2023-06-05T11:36:52.11+00:00
Julian Cram 0 Reputation points
answered 2023-06-07T10:07:00.1433333+00:00
share dil 0 Reputation points
0 answers

Is it possible to use WebView2 on HoloLens2 with Xamarin ?

I'm working on a cross platform application on Xamarin and more particularly on the UWP side with the HoloLens2. Since some months ago, some web pages doesn't display (infinite load) with WebView. From what I understand, the WebView which is use on…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,011 questions
Universal Windows Platform (UWP)
HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
277 questions
asked 2023-06-07T10:02:52.72+00:00
Guillaume Dewaghe 21 Reputation points
0 answers

can taghelper add js code?

I can write html to taghelper and can I write js code to it?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,164 questions
asked 2023-06-07T06:04:34.7566667+00:00
mc 1,981 Reputation points
commented 2023-06-07T09:53:23.9166667+00:00
Farid Uddin Kiron MSFT 441 Reputation points Microsoft Vendor
1 answer

Wanted: Example of using ASP.NET inside Azure Function for Role Based Authorization with Azure AD

Since I'm implementing an AJAX REST service in a Azure Function for various Azure AD B2C front ends (blazor server, blazor webasm & angular), I believe it is necessary to implement authentication and authorization in the front end and back end azure…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,856 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,036 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,164 questions
asked 2023-06-02T16:51:48.3233333+00:00
Siegfried Heintze 1,526 Reputation points
commented 2023-06-07T09:52:51.6066667+00:00
navba-MSFT 235 Reputation points Microsoft Employee
0 answers

Column Type For Database-Retrieved Column : Windows Forms DataGridView Control

Hi. My issue is that related to the 3-tier Application development using ASP.NET (.NET Framework). As an IT student, I have been tasked to code for CRUD function using 3-tier. For the Update functionality, I am facing an issue where for the row ' string…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,474 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.
558 questions
asked 2023-06-01T03:47:23.7333333+00:00
IT STUDENT 0 Reputation points
commented 2023-06-07T09:41:27.5466667+00:00
Lan Huang-MSFT 15,221 Reputation points Microsoft Vendor
0 answers

Net maui runtime loading problem ?

I have created languageconverter as above binding from C# listing...Firstly binding values by Text="{DynamicResource Key=welcome}" like that.. it is working as expected but when loaded page with custom collectionview is not changing language…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,434 questions
asked 2023-06-02T16:18:57.21+00:00
Sami 301 Reputation points
commented 2023-06-07T09:33:52.4266667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 20,521 Reputation points Microsoft Vendor