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


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,…
How can caming towns null ?
When the city is selected, it comes with the town. But when the city is selected, I want the town to be empty and for the user to select it. I want when user choose city second drowboxlist caming null how can add ? my code is ; For example…


how can add validation 2 drowdownlist
The user comes and selects the city from the first dropdownlist. If the first value is selected from the second dropdownlist, I want it to give an error. I want to add validation but failed. Help me please ? Where is my mistake ? my code ; var…


How can add HTML paragraph alignment
I have a paragraph with too many words in it. I want it to be left and right aligned. Like Microsoft Word (same as ctrl+D). How can I do this? First ; I want like this ; This is (Ctrl+D) Is there a parameter in html that I can do the same way? My code…


SAML Toolkit for C# and ASP.NET
Is there any SAML Toolkit for C# and ASP.NET? I want to integrate SAML 2.0 into my existing ASP.NET application. I have done the research for plugins/toolkits for. NET. I haven't found any from Microsoft. Please help me on this.


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…


Request.IsAuthenticated is false when using Azure AD
Hello, In asp.net 4.8 (not Core) web application, I have set Client Id, RedirectUri, Tenant and Authority in Web.Config. In Startup.cs, I have following: string clientId =…


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


unable to upload
unable to upload a large file in one drive by using the below code can any body tell what is wrong in the below code . Please help [HttpPost] [Route("Uploadlargefile")] public async Task<string>…


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…


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


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

