Microsoft Q&A

.NET

12,881 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

12,881 questions with .NET-related tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

Edge browser showing windows security popup

We have implemented MSAL authorization in our web application but when we are executing visual studio code locally, solution running fine with IE but not with edge browser, its showing windows security credentials popup.

ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
144 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,584 questions
Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
1,329 questions
asked 2023-01-24T07:21:08.0833333+00:00
Nitin Patil 0 Reputation points
accepted 2023-01-30T03:49:38.5666667+00:00
Nitin Patil 0 Reputation points
1 answer

Displaying Deserialized JSON Data In Razor Page

Hello Everyone, I am using Visual Studio 2022 (x64) Community Version Entity Framework Core 6 C# Razor Pages (Not MVC) I am pulling data from the Google YouTube API, and want to display it on a .cshtml page. Here is a sample of the data: { …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,531 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,398 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.
6,925 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
144 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
asked 2023-01-30T02:39:33.7466667+00:00
Brian Ashcraft 0 Reputation points
answered 2023-01-30T03:47:45.0766667+00:00
Bruce (SqlWork.com) 27,941 Reputation points
0 answers

How to System.BadImageFormatException (No string associated with token) error solved

Our Web Application build in .NET 4.8 and hosted as an azure app service throws this exception in some views. Here is the stack trace for one of these exceptions. We have run out of options to try certain things but it is stuck like that. We have tried…

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.
6,925 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
583 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
955 questions
Internet Information Services
asked 2023-01-28T13:47:57.62+00:00
Tabish Ashraf 0 Reputation points
edited the question 2023-01-30T03:46:09.9833333+00:00
AjayBathini-MSFT 0 Reputation points Microsoft Employee
1 answer

How to remove validation-info in text?

in Index.cshtml <form> <div class="row"> <div class="col-sm-2"> <label class="col-form-label">客户:</label> <div> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,531 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.
391 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
583 questions
asked 2023-01-27T12:33:03.2066667+00:00
打玻璃 1,446 Reputation points
edited an answer 2023-01-30T03:28:42.7066667+00:00
Zhi Lv - MSFT 18,541 Reputation points Microsoft Employee
1 answer

physical server cannot be added to a team PCI-E nıc card

hello everyone server hp gen 10v2 it has a LOM onborad 10g nic card and extra PCI-E 10g cards installed on PCI slot but we can not add PCI-E cards in a team we get this mesages "cannot be added to a team" normally we could added to team LOM and…

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
8,147 questions
Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
258 questions
asked 2023-01-27T07:29:30.18+00:00
Deniz Armagan 0 Reputation points
answered 2023-01-30T02:51:41.8+00:00
Wesley Li-MSFT 931 Reputation points Microsoft Employee
3 answers

after running code , this error show i am using window 10, C#, Asp.net, Bootstrap, JavaScript, Html lang

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
443 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.
391 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.
6,925 questions
asked 2023-01-24T09:23:53.4466667+00:00
Rupa Kumari 0 Reputation points
commented 2023-01-30T02:47:04.53+00:00
QiYou-MSFT 851 Reputation points Microsoft Employee
1 answer

How can I use WeakReferenceMessenger instead of MessagingCenter in my iOS project?

I get the following message when I use MessagingCenter in my .NET 7.0 iOS project: [deprecated] class Microsoft.Maui.Controls.MessagingCenter Associates a callback on subscribers with a specific message name. CS0618: 'MessagingCenter' is obsolete: 'We…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
883 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.
6,925 questions
asked 2023-01-29T16:30:19.28+00:00
Kim Strasser 341 Reputation points
edited an answer 2023-01-30T02:44:41.5466667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,396 Reputation points Microsoft Employee
1 answer

CSS for grid layout?

Hello all: I have an ASP.NET MVC site, so on the image of the page the green header and footer on the overall page is from _LayoutStatic.cshtml, and I tried a blank page but that made no difference. I am trying to create a simple Grid layout in the main…

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.
391 questions
asked 2023-01-23T14:29:02.4533333+00:00
John Straumann 21 Reputation points
commented 2023-01-30T02:41:49.2133333+00:00
QiYou-MSFT 851 Reputation points Microsoft Employee
3 answers

How to loop through JSON data?

Hi, I am calling an api and this is the return data. Could you please help me to loop through the JSON data? The JSON string - { "Outputdata": { "@xmlns": "http://xmlns.oracle.com/apps/pa/.......", …

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.
6,925 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
asked 2023-01-25T17:43:30.51+00:00
Paul 0 Reputation points
commented 2023-01-30T02:33:26.9133333+00:00
QiYou-MSFT 851 Reputation points Microsoft Employee
0 answers

APT2144 invalid file path

VS 2022 Preview... Trying to build and run "Notes" tutorial getting 2 APT2144 invalid file path error in file Xamarin.Android.Aapt2.targets. Error message gives a file path, which I can find using File Explorer. Help on error message says it…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
883 questions
asked 2023-01-28T21:39:20.0033333+00:00
Scott Phillips 0 Reputation points
edited the question 2023-01-30T02:26:34.94+00:00
Tianyu Sun-MSFT 12,846 Reputation points Microsoft Employee
3 answers One of the answers was accepted by the question author.

when user if user leaves blank any step cursor to where error is taken (jquery)

when user if user leaves blank any step cursor to where error is taken For Example var name = $('#name').val(); if (name == '') { $('#name').css('border-color', 'red'); alert('Please write your first and last name') return false; } else…

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.
391 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
583 questions
asked 2023-01-24T06:12:55.2933333+00:00
Harun Ergün 65 Reputation points
edited the question 2023-01-30T02:22:04.0733333+00:00
Lan Huang-MSFT 8,876 Reputation points Microsoft Employee
1 answer

What is the MAUI equivalent of .NET Core's `_Layout.cshtml`?

You see, there's this image which needs to show up on every page of my MAUI app, and if it were a .NET Core app, I'd simply add it in _Layout.cshtml. However, with MAUI, I don't see a way of doing that easily. How would I go about this?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
883 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
601 questions
asked 2023-01-29T15:01:10.3966667+00:00
Uchchay Dugal 1 Reputation point
answered 2023-01-30T02:20:52.5166667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 11,061 Reputation points Microsoft Employee
0 answers

Export data to excel in .NET Core

Hi All, I am developing an application in .NET Core with angular client. I have a scenario where user click on Download button and data from SQL Server will be exported to excel sheet in .NET Core WebAPI. The generated and downloaded sheet will…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,531 questions
asked 2023-01-28T14:37:20.9733333+00:00
Pratham Jain 61 Reputation points
edited a comment 2023-01-30T02:10:57.0866667+00:00
Xinran Shen - MSFT 806 Reputation points Microsoft Employee
2 answers

How to use ReportViewerForMVC in ASP.NET CORE Web Application

I am trying to integrate SSRS report into my asp.net core web app. I followed some tutorial on how to setup report viewer in asp.net mvc using the ReportViewerForMVC nuget package. However I encounter the following error. Hope someone can help to guide…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,531 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,095 questions
asked 2023-01-27T10:58:24.45+00:00
Gee Soon 0 Reputation points
answered 2023-01-30T02:09:28.2733333+00:00
Zhi Lv - MSFT 18,541 Reputation points Microsoft Employee
0 answers

How can i call a stored procedure Oracle In Entity framework6

I have a proc in oracle that return somme parameters and one of this parameter is a record of table in sql developper declare -- Non-scalar parameters require additional processing p_tab_charge_account…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
601 questions
asked 2023-01-27T14:37:29.33+00:00
BITAR Yoan 0 Reputation points
edited a comment 2023-01-30T01:55:17.81+00:00
Jack J Jun 19,046 Reputation points Microsoft Employee
4 answers

Web form issue

Hi, I get "undefined" unexpectedly to the column/field below, while there is the proper row value returned from the table. What is the reason? html += "<td >货币</td><td style='font-weight:…

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.
391 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
443 questions
asked 2023-01-20T07:49:30.2666667+00:00
Peter_1985 1,831 Reputation points
commented 2023-01-30T01:52:36.41+00:00
Peter_1985 1,831 Reputation points
2 answers

404 issue to the file

Hi, Due to issue like What to adjust below? <body style="background-color: ???; background-image:url(beautiful_Currency0e.jpg);">

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
443 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.
391 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
asked 2023-01-28T08:50:16.07+00:00
Peter_1985 1,831 Reputation points
commented 2023-01-30T01:50:37.76+00:00
Peter_1985 1,831 Reputation points
1 answer

Check if two frames are overlapping in .net maui

is it possible to detect it when two frames are overlapping (even when they don't have the same parent)? I need it for my .net maui project (A game in .net maui) this is how I have the hitboxes and players set up (the Frames will get added into…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
883 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
601 questions
asked 2023-01-26T10:32:06.7033333+00:00
Mielesplayz 241 Reputation points
commented 2023-01-30T01:49:15.5+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 11,061 Reputation points Microsoft Employee
0 answers

Why does MAUI iOS not build with scaling factors in the project file?

Since the last upgrade of VS, the MAUI iOS project can't build if the second group of splash image scaling factors are present, e.g. ""Resources\Splash$placeholder$.scale-xxx", in the project file. VS version and extensions in use…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,398 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
883 questions
asked 2023-01-22T17:01:02.1966667+00:00
Marc George 61 Reputation points
commented 2023-01-30T01:48:21.52+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 11,061 Reputation points Microsoft Employee
0 answers

How to sign using a certificate?

I have been trying to digitally sign my code using a certificate, but I am going to the project properties window, and not seeing the signing tab when I'm there. Is there anything I need to have downloaded in order to do this? Or is there a way to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
601 questions
asked 2023-01-27T14:42:44.78+00:00
Navya Ajay 0 Reputation points
commented 2023-01-30T01:42:06.08+00:00
Jack J Jun 19,046 Reputation points Microsoft Employee