Line Manager Name quickly hidden after 1 second or less ?
I working on asp.net MVC project . I face issue after display Line Manager Name on autocomplete . autocomplete functionality working success but issue happen after display data on input . Line Manager name hidden after 1 second or less so why this happen…
How to Configure asp.net website to allow updating
I have an asp.net Website which i publish to a local folder/ file share. I currently use visual studio 2022 Community edition (free). On previous versions of visual studio (specifically 2017), when publishing single pages/files, the compiler would…
Error timeout from asp.net 4.5 mvc to WCF service
I have an asp.net mvc 4.5 app that makes requests to a WCF service, the problem is that when the service takes more than 30 seconds the mvc cuts the connection to the service, the wcf service keeps running and makes the changes to the database and…
Search views in the callee Project
Hello, From my main MVC application, i am trying to call a controller action that is located in a second MVC project. I can call the controller action, but i am getting the error: The view 'myLogin.cshtml' or its master was not found or no view engine…
What do I describe UWP TextBox code by C++ without XAML?
Hello! Iuse VS2022. I learn UWP TextBoook by C++ witout XAML. I dont kwow what do I describe it's code. Please describe sample code.
Changing Default AccessDenied Path
Hello everyone and thanks for the help in advance. I am trying to change the AccessDenied path for a MVC application, however, it keeps defaulting back to /Account/Login. I changed options.AccessDeniedPath = new…
connect asp.net and .net core application with sql using sql session
if i save session in sql server then can we connect both application (asp.net and .net core) with one db and run parallel
webresource.axd scriptresource.axd files
need some documentation on webresource.axd and scriptresource.axd files are generated by asp.net runtime handlers. We need to confirm that as we can't implement CSP (apply nonce)
JQuery, Inline Edit, calender bbox not disppearing
Hi I am using Datatables.net For inline editing I'm using https://github.com/ejbeaty/CellEdit Git Repo to depemostrate the problem https://github.com/singhswat/InLineEditDatatables Problem: Once I click on a cell that has date to be entered. Cell becomes…
How to Configure multi tenant by using Open Id connect in ASP .NET Framework 4.8
How to Configure multi tenant by using Open Id connect in ASP .NET Framework I tried with this approach but when the second request pass to the middleware it didn't choose the 2nd tenant. app.Use(async (context, next) => { …
Will Applying a Patch to ASP.NET MVC Also Update Associated Components (Web Pages, Web API, SignalR)?
The question is asking whether, when applying a patch to ASP.NET MVC, the other associated components (ASP.NET Web Pages, Web API, and SignalR) will also be updated as part of the patching process. In other words, will the patch affect not only ASP.NET…
How to fire fire and forget in async method?
Hi All, Net Core 6, How to call an async method but I don't want to wait it? private static async Task Run_ForgetIt(object parameters) { }
Setting a virtual directory for images
I created a ASP.NET Core MVC (.NET 6) web application through Visual Studio 2022. Just the basic standard template. I want to serve images via /images, from a network share using network credentials. I know that in IIS I am able to right click the site,…
Disabling Chrome Autofill Issue in Text Box
I'm currently facing an issue with Chrome's autofill feature in text boxes. Despite setting autocomplete="off" and trying various approaches, Chrome continues to suggest and apply values that are unrelated. I'd greatly appreciate any…
How to set up (app) role-based authorization on ASP.NET MVC 5 (oauth2 + OIDC + Azure AD)
I've been trying to figure out how to implement authorization with oauth 2.0 and OpenID Connect on an ASP.NET MVC 5 (.net framework 4.8) web app I published on the tenant of my organisation. As our users already have existing Azure AD accounts the app…
Ef crud insert data into another table while insert or update
I have an appoinment table on which I did crud operations . I have another table appoinmentaudit if I insert or update appoinment the record should be created in appoinmentaudit Here is source code and here are table…
How to Properly Use Response Headers for Content Security Policy
A code scanning report is identifying a vulnerability indicating that a Content Security Policy is not explicitly defined within the web application. I've tried the code below, but for some reason it's affecting my SSO functionality. Once I get…
Application performance measurement
Hi, Hot to check performance of a particular page in MVC based or asp.net application & how to check over all application performance ? Thanks
Why is padding not working for MVC razor view??
Hi all I am trying to get my table to have cell padding. Not matter what I try the browser seems to be ignoring my request to have padding around my table. I an not sure why. I know some will say add csss to the top of the page or some. I don't not like…
jQuery AJAX call returns "Not Found" error when attempting to upload image
// Function to handle file upload alert("handlefileupload"); $.ajax({ type: "POST", url: "ImageUploader.ascx/HandleFileUpload", data: '', //formData, //contentType: false, //processData: false, …