How to run asp.net web application using visual studio code ?
I work on .NET 4.7. I have an issue: I can't run applications in Visual Studio Code. I don't know how to run it. Startup page is http://localhost:22851/WebPages/loginT.aspx This page opens in Visual Studio 2019, but how to open the page logint.aspx in…
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.…
Domain issue
Hi, On Windows server, what to adjust if I expect to use www.abc.shop instead of abc.shop each time when I refer to the web domain? This is not related to SSL certificates, right?
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…
Migrate .Net Framework 4.5.2 / 4.8.1 to .NET 8
Greetings. I received a Microsoft Azure mail about Retirement notice for .NET 6 (installed on Windows Server 2022) in order to update to .NET 8. I have two Web Programs, working with .Net Framework 4.8.1 and 4.5.2. is it required to migrate to .NET 8?,…
How to share "System.Web.HttpContext.Current.Session" between ASP.NET and .NET CORE application
Dear All, I would like to share session values between ASP.NET and ASP.NET CORE application. It is working fine only when the session value is set inside "Session_Start() method in Global.asax.cs. When I try to set session value in an other action…
Is it possible to forcibly define the action for all forms in IIS 10?
When submitting a form defined within an ASP page on a site registered in IIS, it doesn't navigate to the action URL you specified. Instead, it redirects to a different page. The redirected URL matches your defined action location, but the content…
ASP.NET session has expired or could not be found (unable to find the solution) - SSRS Report
unable to find out the solution we have tried 2 things but there was no ouput: We have tried to extend the session time out to 30mins Tried to scale up the Azure speed when this error occurs Attached Screenshot for reference, kindly assist for the…
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 ,…
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…
I can't find ASP.NET Web Application (.NET Framework) with c#
Hello I want to use ASP.NET Web Application (.NET Framework), and I have downloaded Visual Studio Community 2019 v16.11.3, and i have clicked the ASP.NET and web devleopment before i download it but I can't find the one i needed, I don't want the…
Unable to run .net 4.8 apps on IIS using Arm processor (M1 Max)
I have a macbook pro with M1 max processor running windows 11 pro in Parallels using the most updated version as to writing this message. When trying to run .net 4.8 app on IIS I get the following error in the event viewer: The Module DLL 'C:\Program…
unable to hide the error popup while run the visual studio
I am using visual studio 2022 for ASP.NET Application. whenever i'm running the application through visual studio, i am getting the below error. Even though, the application is running while showing the popup. How to hide this error...? Note : Visual…
AppShell- Failed to Navigate Back, Ambiguous routes matched for.... but i've only registered routes once
I am building an Xamarin Forms app for iOS and Android. I registered my routes in AppShell.xaml.cs globally like this: **-AppShell.xaml.cs-** Routes.Add(nameof(HousingFolderPage), typeof(HousingFolderPage)); Routes.Add(nameof(HousingFolderDetailsPage),…
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)…
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?
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