Unable to get authenticated information from the added Azure AD B2C authentication.
I am modifying the existing web system to ensure that only access from outside the company’s network is authenticated via Azure AD B2C, and to redirect the user to the main screen upon successful authentication. *The web system is coded in C# (.NET 6)…
adding header (banner) image to webform
looking to add a banner to my webform using CSS i was able to add the background image using the code below. any help would be appreciated. <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebForm2.aspx.vb"…
Increase upload speed in azure app service
When using the FileUpload in a Blazor Server App to stream data to a FileStream using the www directory for testing it transmits less than 1 meg per second. This issue is constant regardless of VM size. Also the code is simple and clear showing a…
How to store Picture User Profile on Database Table AspNetUsers using mvc asp.net core 5?
I working on asp.net core 5 mvc web application , I face issue I can't store Picture User on database table [dbo].[AspNetUsers]. so can you tell me how to store personal picture of user on table [dbo].[AspNetUsers]. I already add new column…
show total and grand total without postback
Hello This Is my sql data SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[Table_1]( [ID] [int] IDENTITY(1,1) NOT NULL, [Field1] [varchar](50) NULL, [Field2] [varchar](50) NULL, [Field3] [varchar](50)…
Displaying record in GridView based on username
I have issue with how record is being displayed in my gridview, and the issue is that gridview displays all records, ignoring parameters. Gridview is supposed to display record based on the Id of a user, but instead it displays all record in the table.…
How to fix the random crashing error with 1000, 1023 and 1309 event ID in our web application? Debug log captured but no idea on how to fix
We have deployed a web application but experience random crash several times daily. Event ID 1000, 1023 and 1039 was found but there was not enough information to debug. It is running on Windows 2019 Standard Server with IIS 10, .NET Framework as 4.6.1.…
how to navigate between various views by clicking buttons
hi all, I am writing an mvc asp.net 8 core application. I would need some clarification on how do I navigate from one page to another. For starters: I have a page where I want to display a few buttons in the body of the page and I need to open a…
Migrating from XslTransform to XslCompiledTransform
We have an implementation of XslTransform similar to the sample provided in this link https://learn.microsoft.com/en-us/dotnet/api/system.web.ui.webcontrols.xml.transform?view=netframework-4.6.2. Snippet below. I want to migrate this implementation to…
how to fix "The project doesn't know how to run the profile with name IIS Express
Microsoft Visual Studio 2022, trying to debug an API, after upgrading to .Net Core 8 getting below error The project doesn't know how to run the profile with name 'IIS Express' and command 'IISExpress'. Any Suggestions please
creating an autopost back progamatically from button click
here is the issue i'm running into and what i've tried thus far and researching. i'm creating a webform with mulitple textbox's, check box's, etc.... i've set all the properties to them in the properties to AutoPostBack = true when testing the program,…
The worker process for app pool failed to initialize the http.sys communication when asked to start processing http requests
Hi all, I keep getting this error in Event Viewer, how to solve it? Event 2269: The worker process for app pool failed to initialize the http.sys communication when asked to start processing http requests.
How can i change timezone in mvc5 app
i want to replace datetime.now with uk time zone i have 3 layer in my app.
Unable to serialize the session state
Hi, I have Asp.net app.. Recently we have changed mode from "InProc" -> "State Server". Now I am facing issue in excel imports.. Error - Unable to serialize the session state. Please suggest.. <sessionState…
Need advice on best ASP.NET engine for personal website
I had rich experience with classic ASP.NET WebForms engine. But since then I worked on other technologies for many years. Now it seems there are several engines for building web applications: MVC, Razor and Blazor and maybe I am missing something else. I…
How do add multi sql table dependency in mvc5
how can i add sql table dependency i have two tables Product Orders i want to detect changes when product update and order create .
I want to send html table rows to ASP.NET MVC controller
I want to send html table rows to ASP.NET MVC controller. This is the table I want to send it to the controller: @model System.Data.DataTable @{ ViewData["Title"] = "Index1"; } <form asp-action="Index"…
Include Query Not Working In Many to Many Relationship Asp.net mvc5
i have 3 table one user ,partners and partner users public User GetLoginUser(string email, string password, int userCategoryID) { try { Guard.Against.NullOrEmpty(email, nameof(email)); …
Input type text above header for search columns not same size height and width of Header Data table ?
I work on asp.net mvc page view . but I face issue search for every column not have same size of header as Request No for search filter not same width and height of Request No column Header table and if you check also Line Manager on header and search…
Bulk insert row from webgrid to database
I am inserting row from webgrid to database ,then below error is comin Object reference not set to an instance of an object. @model IEnumerable<Account_App.Models.CustomerMV> @{ Layout = null; WebGrid webGrid = new WebGrid(source: Model,…