3,270 questions with ASP.NET tags

Sort by: Updated
0 answers

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)…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,276 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,559 questions
asked 2023-12-01T11:35:45.7033333+00:00
Miura, Mayu 0 Reputation points
commented 2023-12-05T13:16:20.79+00:00
Miura, Mayu 0 Reputation points
3 answers One of the answers was accepted by the question author.

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"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,578 questions
asked 2023-11-29T00:09:13.8933333+00:00
Joseph Hedbon 161 Reputation points
commented 2023-12-05T01:51:36.47+00:00
Joseph Hedbon 161 Reputation points
2 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,187 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,396 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,908 questions
asked 2023-12-01T12:11:53.7233333+00:00
Paul Goldberg 0 Reputation points
answered 2023-12-04T19:02:09.9233333+00:00
ajkuma 22,416 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,187 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
asked 2022-12-03T10:37:12.17+00:00
ahmed salah 3,216 Reputation points
commented 2023-12-04T17:06:39.9233333+00:00
nour ma 0 Reputation points
1 answer One of the answers was accepted by the question author.

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)…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
asked 2023-11-29T16:44:27.1966667+00:00
RAVI 896 Reputation points
accepted 2023-12-01T09:05:16.5933333+00:00
RAVI 896 Reputation points
1 answer One of the answers was accepted by the question author.

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.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,395 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,276 questions
asked 2023-11-30T04:15:19.0166667+00:00
Donald Symmons 2,856 Reputation points
accepted 2023-11-30T15:54:54.9866667+00:00
Donald Symmons 2,856 Reputation points
1 answer

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.…

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,395 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,125 questions
asked 2023-11-29T10:10:41.49+00:00
Emily Fung 5 Reputation points
edited a comment 2023-11-30T03:10:39.0633333+00:00
Sam Wu-MSFT 7,036 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,187 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
asked 2023-11-27T18:20:18.7233333+00:00
elsvieta 326 Reputation points
accepted 2023-11-29T18:19:18.8533333+00:00
elsvieta 326 Reputation points
1 answer One of the answers was accepted by the question author.

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
asked 2023-11-27T23:21:17.4733333+00:00
Anish Soman 20 Reputation points
commented 2023-11-28T18:24:36.8666667+00:00
Anish Soman 20 Reputation points
2 answers

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

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,187 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,621 questions
asked 2023-11-27T20:19:45.94+00:00
Linsemon Jose 0 Reputation points
commented 2023-11-28T09:24:12.02+00:00
Anna Xiu-MSFT 25,801 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

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,…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,578 questions
asked 2023-11-20T21:42:01.63+00:00
Joseph Hedbon 161 Reputation points
accepted 2023-11-28T01:31:46.4366667+00:00
Joseph Hedbon 161 Reputation points
1 answer One of the answers was accepted by the question author.

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.

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,276 questions
asked 2023-11-26T14:28:03.0233333+00:00
Developer two 40 Reputation points
accepted 2023-11-27T11:42:05.6466667+00:00
Developer two 40 Reputation points
2 answers

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.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
asked 2023-10-26T21:08:29.9866667+00:00
AHSAN ALI 81 Reputation points
commented 2023-11-27T02:31:37.3133333+00:00
Lan Huang-MSFT 25,636 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
asked 2023-11-23T03:18:15.9866667+00:00
Manikanta Ginnepalli 20 Reputation points
commented 2023-11-23T13:04:03.8366667+00:00
Manikanta Ginnepalli 20 Reputation points
2 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,187 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
asked 2023-11-18T15:43:51.72+00:00
Neo 421 Reputation points
commented 2023-11-23T09:04:58.5366667+00:00
Qing Guo - MSFT 886 Reputation points Microsoft Vendor
0 answers

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 .

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,756 questions
asked 2023-11-22T21:17:58.23+00:00
AHSAN ALI 81 Reputation points
commented 2023-11-23T05:14:56.48+00:00
Lan Huang-MSFT 25,636 Reputation points Microsoft Vendor
2 answers

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"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,187 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,276 questions
asked 2023-11-15T17:04:19.4366667+00:00
Moaz mohamed 0 Reputation points
commented 2023-11-23T01:27:43.75+00:00
Lan Huang-MSFT 25,636 Reputation points Microsoft Vendor
1 answer

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)); …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,395 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
asked 2023-11-12T13:28:44.5133333+00:00
AHSAN ALI 81 Reputation points
commented 2023-11-23T01:26:55.11+00:00
Lan Huang-MSFT 25,636 Reputation points Microsoft Vendor
1 answer

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
asked 2023-11-10T21:44:42.0933333+00:00
Ahmed Salah Abed Elaziz 390 Reputation points
commented 2023-11-23T01:26:23.94+00:00
Lan Huang-MSFT 25,636 Reputation points Microsoft Vendor
1 answer

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,…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
asked 2023-11-10T06:31:12.24+00:00
Analyst_SQL 3,551 Reputation points
commented 2023-11-23T01:26:00.22+00:00
Lan Huang-MSFT 25,636 Reputation points Microsoft Vendor