Microsoft Q&A

ASP.NET

1,175 questions

A set of technologies in the .NET Framework for building web applications and XML web services.

Browse all .NET tags

1,175 questions with ASP.NET tags

Sort by: Updated
0 answers

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
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
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,923 questions
asked 2023-01-30T02:39:33.7466667+00:00
Brian Ashcraft 0 Reputation points
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,923 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
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 MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
582 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-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
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);">

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
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
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

Sodium.js error

Does anyone know what is sodium.js and what is this error means? This error started showing in my asp.net MVC app. I have autocomplete on my text field which uses json call which queries database and I've noticed that even the autocomplete works,…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
582 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-27T19:24:15.99+00:00
Joe Green 141 Reputation points
commented 2023-01-29T05:40:14.3266667+00:00
Lan Huang-MSFT 8,876 Reputation points Microsoft Employee
1 answer

Possible Handle Leak on Azure App Service App

We have an ASP.NET 4.8 application hosted in Azure App Service. At times we see a spike in latency in usually a single instance which also shows spikes in CPU time, TCP connections, Thread Count and Handle count. The average thread count and and average…

Azure Web Apps
Azure Web Apps
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,306 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 FastTrack
Azure FastTrack
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.FastTrack: A Microsoft program that helps customers adopt Microsoft Cloud solutions and drive user adoption.
127 questions
asked 2023-01-23T04:59:13.44+00:00
Krishnadas K P_FT 0 Reputation points
commented 2023-01-28T01:32:42.3433333+00:00
Ryan Hill 15,991 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Converting Virtual Directory into an Application.

I am attempting to run a application and encounter this error when trying to execute a install script in browser. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. …

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-07T20:08:38.327+00:00
peter liles 371 Reputation points
accepted 2023-01-27T23:20:03.4233333+00:00
peter liles 371 Reputation points
1 answer

How to setup Vnet integration between ASP.NET 4.8 Azure Service V3 app and SQL Managed Instance?

I just created a simple ASP.NET Web Forms app to Azure Service - Premium V3 plan. This app runs fine as long it does not access our database in SQL Managed Instance (MI). When trying to access the database (a simple SQL SELECT statement in the…

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
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
1,173 questions
Azure Web Apps
Azure Web Apps
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,306 questions
Azure SQL Database
asked 2023-01-17T16:43:22.7466667+00:00
Jan J. Vopalensky 0 Reputation points
answered 2023-01-27T14:29:08.0133333+00:00
Jan J. Vopalensky 0 Reputation points
2 answers

Getting User Details from Azure AD in ASP.NET

In my ASP.NET 4.8 MVC application, I was able to get user authenticated using Azure AD. Now I need to get user details like job title, department, email, etc. From the research I did so far, it looks like MS Graph API is the way to go. Am I correct? Can…

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.
582 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,583 questions
asked 2023-01-17T14:32:53.06+00:00
Joe Green 141 Reputation points
edited an answer 2023-01-27T08:04:51.4433333+00:00
Givary-MSFT 11,341 Reputation points Microsoft Employee
0 answers

Upload a File One drive using MS Graph API in C#

when I am Uploading a File using Onedrive MS graph API in C# the file get Uploaded but every time i got a mail to that one drive account. I have set all notifications off from the one drive settings but still i am getting an email on every time file…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
559 questions
asked 2023-01-26T18:56:59.4+00:00
Pradyut Sinha 11 Reputation points
commented 2023-01-27T07:37:34.7333333+00:00
Zehui Yao_MSFT 3,351 Reputation points Microsoft Employee
2 answers

Unable parse Json

Can any body help me parse the below json in ASP.net C# i need the grantedTo": email and Id also. I have tried many ways but unable to parse. Can anybody…

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-26T19:22:34.45+00:00
Pradyut Sinha 11 Reputation points
edited an answer 2023-01-27T05:55:24.6833333+00:00
QiYou-MSFT 851 Reputation points Microsoft Employee
2 answers

MFA\2FA website authentication

would like to setup MFA authentication for users accessing my site on the internet. is there a way to embedd in my web site a start up code is there any solution ready for that perpse the site is public , so meany clients can ping it so ...

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 MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
582 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-25T08:21:43.1+00:00
Eyal 0 Reputation points
edited an answer 2023-01-27T05:38:42.4666667+00:00
SurferOnWww 636 Reputation points
2 answers

Can I use Visual Basic.net in V.S. Community 2022 tu build asp.net web applications

Hi all, I install V.S. Community 2022 on my desktop PC but I do not found the possibility to build an ASP.NET web application with VB.NET (only C#) Is it possible add this language to the installation? Thank you for the answer...

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
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,827 questions
asked 2023-01-11T16:44:03.6466667+00:00
Gino Palmia 0 Reputation points
commented 2023-01-26T13:50:06.76+00:00
Gino Palmia 0 Reputation points
3 answers One of the answers was accepted by the question author.

How do I modify this jQuery to allow for more controls?

Greetings again mates. I have been trying quite unsuccessfully for the last three days to try to figure out how to dynamically add rows based on selecting DropDownList values. There are quite a good number of examples on how to do this by clicking a…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,827 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
482 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-03T19:53:00.06+00:00
Simflex 81 Reputation points
edited the question 2023-01-25T22:15:50.1566667+00:00
Simflex 81 Reputation points
2 answers

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
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,583 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 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
answered 2023-01-25T17:13:00.61+00:00
Bruce (SqlWork.com) 27,941 Reputation points
5 answers

Why Microsoft systematically abandons its own technology?

I understand that they are not going to answer me, I also understand that perhaps this question does not correspond to this place but it is something that worries me, for some time I have noticed that Microsoft is focusing a lot on Linux but not in the…

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,923 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
482 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-11T19:37:04.3466667+00:00
Juan Carlos RR 26 Reputation points
edited a comment 2023-01-24T18:28:43.34+00:00
Bruce (SqlWork.com) 27,941 Reputation points
1 answer One of the answers was accepted by the question author.

ASP.Net Core API Error (Unable to resolve service for type 'TapAPI.Models.TodoContext' while attempting to activate 'TapAPI.Controllers.TapController')

Hi Y'all, If someone could please help me with the below issues? I built a Web API using ASP.Net Core (from Microsoft Tutorial). When calling the API, I got this error below: The error can be read here: …

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 Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,531 questions
asked 2022-03-25T22:12:09.157+00:00
Huynh, Phuong Thao 81 Reputation points
commented 2023-01-24T16:31:47.32+00:00
Yoann Cassis 0 Reputation points
3 answers One of the answers was accepted by the question author.

How to Dynamically Add a Photo with Labels Underneath So Labels Don't Shift Up & Down

I have a simple HTML/ASPx page that loads an image, and then sets a caption underneath in the Page_Load method. The filename of the image is passed as a parameter. The height of the image is unknown at design time.  When loading the page, the labels…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
601 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-20T23:46:50.7266667+00:00
Jan Tervonen 20 Reputation points
edited an answer 2023-01-24T09:15:25.34+00:00
QiYou-MSFT 851 Reputation points Microsoft Employee
1 answer

RDLC Report Error: After process some reports getting exception: An error occurred during local report processing.

Server stack trace: at Microsoft.Reporting.WebForms.LocalReport.EnsureExecutionSession() at Microsoft.Reporting.WebForms.LocalReport.InternalRender(String format, Boolean allowInternalRenderers, String deviceInfo, PageCountMode pageCountMode,…

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,923 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
482 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 2022-06-08T09:24:21.017+00:00
Ramanamurthy vadugu 1 Reputation point
answered 2023-01-24T05:03:53.2733333+00:00
Poorna Chandran 0 Reputation points
2 answers One of the answers was accepted by the question author.

How Do I Return ContentDisposition.FileName -PDF from a Method To be Attached to MailMessage

Please I have a method SendRenewalNotification() that calls another Method PolicyScheduleGenerator() to get PDF that it will attach to a MailMessage. The SendRenewalNotification() is pasted below: private void…

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.
582 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
asked 2023-01-23T18:37:21.48+00:00
abiodunajai 146 Reputation points
commented 2023-01-23T21:34:41.0433333+00:00
abiodunajai 146 Reputation points