Microsoft Q&A

.NET

20,312 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,312 questions with .NET-related tags

Sort by: Updated
0 answers

How to make bar slide into a position I set?

I don't really know .net framework so I'm asking here

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,952 questions
asked 2023-09-07T10:07:46.73+00:00
Andrew 0 Reputation points
0 answers

Unable to connect the sql server using windows authentication from asp.net application

Hi Team, Please find the details below. Current Infrastructure Setup: AzurewebappVM AzureDBVM Created new Windows domain account (ABC\Test) in the on-premises Active directory. Merged on-premises activity directory and Azure Active Directory…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,616 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.
10,757 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,510 questions
asked 2023-09-06T08:04:26.6666667+00:00
Thyagarajulu B M 121 Reputation points
edited the question 2023-09-07T09:56:40.68+00:00
ajkuma 17,116 Reputation points Microsoft Employee
0 answers

Getting issue while running the Xamarin profiler on solution.. it's always say your runtime device is too old, deploy your app again with newer version.

Here is log info.......... XamarinProfiler.Core.Profiler Information: 0 : [2023-09-06 15:15:33.4542] ########################################## XamarinProfiler.Core.Profiler Information: 0 : [2023-09-06 15:15:33.4552] # Xamarin Profiler version - …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,115 questions
asked 2023-09-06T10:00:30.8266667+00:00
Pawan Gupta 0 Reputation points
edited a comment 2023-09-07T09:20:10.8766667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 22,071 Reputation points Microsoft Vendor
2 answers

Set JWT Token Into Access Token Provider

Hello, I am returning the JWT Token after login via api. I want to set DefaultAuthenticationHeader in httpclient. I have gone through blazor docs on Microsoft learn but the I am not able to configure correctly. Currently, I am setting token each…

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,084 questions
asked 2023-09-06T14:40:31.98+00:00
Prathamesh Shende 326 Reputation points
edited an answer 2023-09-07T09:16:04.2233333+00:00
Ruikai Feng - MSFT 1,121 Reputation points Microsoft Vendor
0 answers

MetaTag from QueryString aspnet

Just Wondering if the seo would be able to track the title or meta tags when the page is generated from passing in querystring,,, the thing is that the page has not been generated / redirected,,, when it needs from post action from previous page <head…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,952 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,616 questions
asked 2023-09-07T03:08:03.2866667+00:00
steven c 1 Reputation point
commented 2023-09-07T09:06:24.98+00:00
QiYou-MSFT 3,306 Reputation points Microsoft Vendor
1 answer

Not remembering source control plug-in (Git)

Since the last release, Visual Studio 2022 is not remembering the source control selection. Every time a project is opened, I must open the options dialog, go to Source Control, and select Git from the "current source control plug-in." Once I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,952 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,693 questions
asked 2023-09-06T18:51:27.7633333+00:00
Brad Knode 0 Reputation points
answered 2023-09-07T09:05:56.3066667+00:00
Tianyu Sun-MSFT 20,261 Reputation points Microsoft Vendor
0 answers

when execute multi query on same time using threading get error 40 ?

I work on unity csharp . i try to execute multi query async await threading on same time but i get error so How to solve this error please and why this error generated SqlException: Snix_Connect (provider: SNI_PN7, error: 40 - SNI_ERROR_40) Snix_Connect…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,616 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,833 questions
asked 2023-09-06T23:01:45.35+00:00
Ahmed Abd El Aziz 245 Reputation points
commented 2023-09-07T09:02:17.84+00:00
Ahmed Abd El Aziz 245 Reputation points
1 answer

.Net MAUI app unable to run on Windows server 2016 machine

Hi Team, I am working on Visual Studio 2022 on windows server 2016 machine. I have created a new .Net MAUI project, while running it( by selecting windows machine), getting below error - dep0600: deployment failed. entrypointnotfoundexception - unable…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,693 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,776 questions
asked 2023-09-06T17:59:50.5266667+00:00
salilsingh-9961 221 Reputation points
answered 2023-09-07T09:02:17.3333333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 52,776 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Why does OpenWindow on button click lead to an empty page?

Hello, The default text of my "second page": "Welcome to .NET MAUI!" does not show. Instead, I see a page that is completely empty. What must I do for the default text to show? Here is my code: private void ClkSecond (object sender,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,952 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,693 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,776 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,833 questions
asked 2023-09-06T21:57:27.16+00:00
Regentesse.x 0 Reputation points
accepted 2023-09-07T09:00:35.97+00:00
Regentesse.x 0 Reputation points
2 answers

Maui for android NavigationBar backgroundColor

Hello all. Please how do I change NavigationBar backgroundColor to color "#ECE5DD" Thank you very much.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,776 questions
asked 2023-09-06T20:25:25.14+00:00
Haviv Elbsz 1,126 Reputation points
answered 2023-09-07T08:56:29.3666667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 22,071 Reputation points Microsoft Vendor
2 answers

multi select filter for my gridview

Hello Im using this in my page all works fine Sql code SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[ABC]( [ID] [int] IDENTITY(1,1) NOT NULL, [Field1] [varchar](150) NULL, [Filed2] [varchar](50) NULL,…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,616 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
681 questions
asked 2023-09-06T10:34:50.5533333+00:00
RAVI 416 Reputation points
answered 2023-09-07T08:38:48.25+00:00
RAVI 416 Reputation points
0 answers

Future of .NET for Android and .NET for iOS

We've been using Xamarin native (Xamarin.iOS and Xamarin.Android) for about 8 years to build a cross-platform mobile application. With the gradual shift towards .NET for iOS and .NET for Android as replacements for Xamarin.iOS and Xamarin.Android, we're…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,952 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,776 questions
asked 2023-09-07T08:33:59.1333333+00:00
Florian Sey 0 Reputation points
1 answer

How to detect the existence of html files

I called a html file through js interop in Blazor component and opened a web page. But in any case, I can't pass the status information of the page's closing to the component. What should I do?

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,084 questions
asked 2023-09-06T11:25:05.13+00:00
李畋岷 76 Reputation points
commented 2023-09-07T08:30:13.37+00:00
李畋岷 76 Reputation points
0 answers

PrincipalNotFound error is coming

RoleAssignmentResourceFormatResource.UpdateAsync Method is giving PrincipalNotFound Principal {principalId} does not exist in the directory {tenantId}. Check that you have the correct principal ID. If you are creating this principal and then immediately…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,287 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,499 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,833 questions
asked 2023-09-07T06:36:46.1566667+00:00
Sharma, Kavita (ext) 0 Reputation points
commented 2023-09-07T08:10:44.6366667+00:00
JasonPan - MSFT 2,276 Reputation points Microsoft Vendor
2 answers

Can I use winUI 3 class library to WPF ?

I want to port my wpf app to uno platform because of uno compatible with winUI 3 xaml. So it will be easy to porting to uno. Can I use winUI 3 class library to WPF ?

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,457 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
584 questions
asked 2023-08-29T12:18:02.3233333+00:00
mehmet yılmaz 20 Reputation points
answered 2023-09-07T07:57:40.23+00:00
Castorix31 76,066 Reputation points
0 answers

wpf relativesource binding in style datatemplate not working

hi, my .Net Framework wpf app, xaml binding doesn't work, here is the code: <UserControl x:Class="SegSolution.UI.Views.DocumentNavigationView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,952 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
678 questions
asked 2023-08-30T22:34:08.64+00:00
essamce 621 Reputation points
commented 2023-09-07T07:37:05.75+00:00
Hui Liu-MSFT 21,051 Reputation points Microsoft Vendor
3 answers

Seed Data without entity (join table)

Hello, I've this configuration in my DBContext class : modelBuilder.Entity<Topic>() .HasMany(t => t.Keywords) .WithMany(k => k.Topics) .UsingEntity(j =>…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
574 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,833 questions
asked 2023-09-02T12:44:51.36+00:00
Laurent Guigon 206 Reputation points
answered 2023-09-07T07:35:08.3166667+00:00
Laurent Guigon 206 Reputation points
1 answer

I am failing to install SQL Server 2022 because of a missing RegEntry file, Im getting this error 'Cannot find registry key 'SOFTWARE\Microsoft\Microsoft SQL Server\160\ConfigurationState'.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,952 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.
10,757 questions
asked 2023-09-06T05:20:12.7833333+00:00
Dave Budah 0 Reputation points
commented 2023-09-07T07:22:50.7733333+00:00
Dave Budah 0 Reputation points
0 answers

xaml mvvm efcore IOC

Hello In IOC, I have this exemple in the modelview public ReqCaisse(IDataContext database) { dataBase = database; } and from the view, it creates a new modelview <b:Interaction.Triggers> <b:EventTrigger EventName="Loaded"> …

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
574 questions
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,457 questions
asked 2023-09-06T09:24:07.0733333+00:00
PharmaSoft 1 Reputation point
commented 2023-09-07T07:19:09.76+00:00
Hui Liu-MSFT 21,051 Reputation points Microsoft Vendor
1 answer

Is "Messages.PostAsync" broken in WinForms App (Sending Emails / Creating Drafts)

While refactoring code from "Microsoft.Graph 4.48" to the latest 5.25 (via NuGet) I was unable to send a message nor alternately create a draft message. The code stalls at PostAsync().Wait when sending email and stalls at PostAsync().Result…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,952 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,972 questions
asked 2023-09-04T06:27:56.6033333+00:00
Micheal Pepper 0 Reputation points
commented 2023-09-07T07:05:51.28+00:00
Jiale Xue - MSFT 8,931 Reputation points Microsoft Vendor