Embedding of Blazor Server Component in Web Forms
We have a legacy application on ASP.NET Web Forms (version .NET 4.8), now we want to shift it to latest tech stack Blazor using Server Hosting Model only (version .NET 8). I am facing issues in embedding the Blazor Server components in Web Forms. Is…
Cannot call an aspx file in MVC .NET 4.7.2 Web App from MVC .NET 4.7.2
Hi, I have two MVC projects, MVCWebappDLL project and MVCRegularDLL project. Both in two different solutions. I reference MVCWebappDLL from inside the MVCRegularDLL. I have an .aspx with its .aspx.cs that resides in MVCWebappDLL. In my…
Auto-generated Reference number repeats itself more than twice
Hello, I have been trying to create an automated Reference number that can be used to identify each user but in some aspect, there is a repetition in the number. From my code, the Reference number is supposed to be unique but there are multiple of the…
Passing values to the class in a loop
I need to pass the JSON to a vendor and the vendor gives the GUID back, In order to achieve this, I declared following class: public class PayParam { public LineItemParam[] LineItems { get; set; } public string Phone { get; set; } …
Want to add Checkbox List asp.net but not alignign correctly
I have a forms as described in this post https://learn.microsoft.com/en-us/answers/questions/2086934/how-to-add-the-date-selected-to-an-asp-net-form-wi the problem is I tried to add asp,net checkbox list but it does not style correctly. I have used Flow,…
How do I check that a browser has ClickOnce enabled?
My software, [https://jazzsoftware.co.nz/], is written with VB.Net, and is delivered with ClickOnce. I've tried to make it very clear in the relevant web pages and the setup instructions [https://www.jazzsoftware.co.nz/Docs/JazzSetup.htm] that users…
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…
validate texbox using this code in c#
Hello I have one asp.net textbox and one asp.net button when user click i want to check if Textbox1 has value 11 or 22 or 33 then okay if any other number i want to show alert as "Wrong Data" how to do so using asp.net c# thanking you
Using .Net 8 on ASP.Net Web Application (.Net Framework)
I want to use .Net 8 on my ASP.Net Web Application (.Net Framework). Presently the new project template only provides for .Net Framework 4.8.1 Is this even possible
How to fix .NET 4.6 application pool crash on Windows Server 2022
We recently upgraded our Windows Server from 2012 to 2022. We are now experiencing App Pool crashes with IIS hosted applications running .NET 4.6. The crashes require us to stop the application pool, terminate the w3wp.exe task manually for that…
Send email form Gmail account using C#
When sending an email using the followng code, I'm getting an error, I'm asking for your help. Authentication Required. Learn more at string adSoyad = txtAdSoyad.Text; string konu = "Koçaslanlar Web Konu başlığı"; string epostaAdresi =…
Autocomplete list Selection using Key Up/Down in Textbox and Scroll should move in asp.net c#
When pressing the up or down keys in an autocomplete textbox, if dropdown options are available, the selection should move through the values, and the scroll should adjust accordingly, moving from top to bottom or bottom to top based on key…
valdiate gridview data using asp.net c# code behind on button click
Hello This Is my MS sql data /****** Object: Table [dbo].[Table_11] Script Date: 09/22/2024 19:00:36 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[Table_11]( [ID] [int] IDENTITY(1,1) NOT…
Addressing security vulnerabilities in ReportViewerWebControl.axd dependencies
Hello Microsoft community, We're using the ReportViewerWebControl.axd(Version=15.0.0.0) in our application and have identified potential security vulnerabilities in its dependencies, specifically outdated versions of jQuery and Knockout. Our security…
asp.net mvc cshtml foreach View nullerror.There is data but it appears not to exist.
asp.net mvc chtml foreach View null error.There is data in foreach line but it appears not to exist. @{ ViewBag.Title = "personeller"; Layout = "~/Views/Shared/_LayoutAdmin.cshtml"; } <h2>Personeller</h2> <br…
How to fix Error System.Web.HttpApplication does not implement IHttpModule in IIS
Hi, I need some help with error "Error System.Web.HttpApplication does not implement IHttpModule" with some steps for diagnose cause this error. Note: MY_SERVER has a single web site called "SitioNuevoVacio2" Context I have a web…
Integrating MAUI Project with Another Project Reference and MSI Setup in Visual Studio
I'm currently tackling a project that requires creating a MAUI (Multi-platform App UI) project in Visual Studio while also referencing another project, such as a service for installation and background processes, within the same solution. Furthermore, I…
ASP.NET Session Timeout Issue with ReportViewer in an iframe
I'm using the following setup to load SSRS reports with the <rsweb:ReportViewer> control in an ASP.NET web application: <rsweb:ReportViewer id="RptViewer" runat="server" width="100%" …
Is there a way to have the Identity Library cookies be tied to the root domain?
Hi all; I have a Blazor Interactive Server app that uses the ASP.NET Identity Library for Authentication & Authorization. I have the app set up where you normally connect to it using connect.tradewindsstudios.us. However, it is an app showing events…
LoginUser_Authenticate() method not being hit when app deployed to app service
Assistance Needed with ASP.NET Web Application on Azure App Service Good day guys, I recently deployed an ASP.NET web application, which I upgraded to .NET Framework 4.8, to Azure App Service. However, when I attempt to log in to the web app, the page…