Setting a timer to display a popup after page finishes loading everything on it
Hi, I have a popup that shows when the page finishes loading. However, it pops up immediately the page comes up. Please how can I set a timer for the popup to show seconds after everything on the page is loaded? I would like to achieve two things: Set…
Popup appears behind other page contents
Hello, I was trying to create a pop-up that will pop up after the page finishes loading everything on it. But the popup and its contents hides behind, and the close (X) button does not respond. How can I make the popup appear in front and the close (x)…
How to arrest '.axd' files from script level/Web.config/IIS & how to set Referrer Http header in Sever Side/Web.config
Hi Team, 1: We are using Script manager for 'Alerts & Js' because of this we are identifying ScripResource.axd & webResource.axd files while running the application. 2: We have a created Rule for 'Referer HTTP' header in Web.config file ,…
Using Business Logic Classes in C# with .NET MAUI
What are the best practices for creating business logic classes in C# for a bank application? Specifically, how do business logic classes interact with data access classes, and how can expression-bodied members be utilized in this context?
AADSTS500208 Error for Entra External ID Users in .NET 8 Multitenant App
TLDR: Users from Entra External ID without role assignments receive the error "AADSTS500208" when trying to log into a multitenant .NET 8 application. The login works fine for users from the workforce tenant and those with role assignments from…
ASP.NET Web Deployment using Visual Studio: Deploying to Test
I want to test publishing my ASP.Net web app from my development environment (it uses the default IIS Express that comes with VS 2017) to a QA environment that has IIS (like a Hoster will have). My goal is 2-fold - to test deploying my web app to IIS as…
ASP.NET web site build error in VS2022 due to missing assembly reference
I am maintaining an ASP.NET Web site. It has many assemblies (and DLLs) in Bin folder. The web site project is legacy one without any project file. One of the DLLs is DLL that uses CLR. Even though the dll is there in bin folder, building web site…
Program Install and Uninstall troubeshooter not working
I cannot uninstall any of the .NET or Runtime programs listed below using this tool because I get this error
Application getting logout frequently - ASP.NET session has expired or could not be found - Microsoft.ReportViewer.WebForms
Dear all, we are getting below error frequently from few days without any deployment on production environment, unable to find the solution. even after increasing session time out and tried various suggestions on internet still facing the same issue.…
how to text-align: left on a Button
in a aspx page how to text-align: left on a Button i set like this Style="text-align: left" it dont help, the text are still centered
how is way to create menus on a aspx page
i am using vb.net 2022 and renamed the extantion of a form to aspx now how is posible to create menus on this page
Template deployment Error
Hello ! Need help with that.. I can finish to set up my azure enviroment The template deployment 'Microsoft.Web-WebAppDatabase-Portal-ab0034bc-91c3' is not valid according to the validation procedure. The tracking id is…
Uninstalling older dotnet versions
Hi, I am running a vulnerability scan on one of our servers which is running Microsoft .NET version 8.0.8. The scan is reporting a vulnerability with this version so I installed version 8.0.11. However, when I run dotnet --info command, the output…
I am planning to migrate a set of large-scale applications built on .NET Framework v4.8.1 (WebForms) to .NET 8 (MVC or Blazor/Razor). Each project includes over 600 ASPX pages, and we have multiple such projects of similar size and complexity.
I am looking for guidance and expertise on the following: Approach and Tools: What is the best approach to migrate such large projects? Are there tools that can automate parts of the migration, or would it require manual effort? Should we work…
Share cookies or session data between cross domain using ASP.NET C#
We have a shared state management server and aim to transfer session values between two domains: modern.com and 180algos.com. Both domains redirect to a common page, freelogin.aspx, which is hosted exclusively on modern.com. On this page, I need to…
Blazor ValidationMessage being conditional
Hello, I have a registration form where the users can select if they are private or company. What I need is to make the Company Name validation conditional. Meaning, if they select a company it gets enabled and if they select a private it gets disabled.…
Best way to populate a radio button in a MVC app in .NET from lists
My appsettings.json has 2 arrays one to store a list of values for a radio button, and the other to show a list of matching labels : ItemTypesVals": ["EmailUse", "NoteType", "PrimaryClientGroup"…
Application_start event not firing in server, but works just fine in debug.
We have an .net framework web application running on IIS 10. I've added some code in the Application_start method of Global.asax.cs and it's not getting fired at all in the server. This is working just fine in debug using visual studio 2022 using target…
How to allow authorization for a single page only
Hi there, I want to allow not logged in users access one page only. This is the content of the web.config I have inside this specific folder named Documents: <?xml version="1.0" encoding="utf-8"?> <configuration> …
Sending Image screenshot to email
Hi, I was trying to capture div contents and send to email but when I tested it, I got this Ststem.Byte[] Here is what I got I then tried this, but may I please know the correct one to use, please? I have image controls to the AlternateView protected…