Content
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: { …


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/.......", …


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…


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


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,…


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…


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. …


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…


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…


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…


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…


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 ...


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...


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…
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.


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…


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: …


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…


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,…


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…

