3,254 questions with ASP.NET tags

Sort by: Updated
3 answers

No duplicate items in a list

Good day everyone! Hoping to get some help on a problem. I have an application where users can enter events and then are assigned a random card, 1-14, but each user must have a card that isn't a duplicate of another user's card. So when Joe enters an…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,162 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 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,240 questions
asked 2023-03-05T22:03:46.9266667+00:00
Nick R 66 Reputation points
commented 2023-03-07T05:18:49.3433333+00:00
Ruikai Feng - MSFT 2,526 Reputation points Microsoft Vendor
0 answers

How to catch the exception include exact line number and element where the error occurred in XML file C#

Anyone please help me out How to catch the exception include exact line number and element where the error occurred. I tried so many things but didn't worked. Please do the needful When deserialize I got the exception.. here is my code public static…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,162 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 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,240 questions
asked 2023-03-06T05:33:34.1766667+00:00
Harsh Raj 0 Reputation points
commented 2023-03-07T02:55:54.3566667+00:00
Zhi Lv - MSFT 32,011 Reputation points Microsoft Vendor
1 answer

Asp.Net Machine Account

Hello everyone. ASP.NET Machine Account. take over my computer. Every time I open an application, it asks for a password and I don't know what the password is. I have only local account. I need help...

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
asked 2023-03-06T14:57:52.3466667+00:00
Erol Ç 0 Reputation points
edited an answer 2023-03-07T02:00:26.26+00:00
Lan Huang-MSFT 25,551 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Database update/insert fails

I have the following Model class: public partial class EmployeeInfo { public int EmployeeInfoId { get; set; } public int PolicyYear { get; set; }= DateTime.Now.Year; public DateTime DateFormFilled { get; set; } = DateTime.Now; …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,162 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
asked 2023-03-03T01:00:43.0833333+00:00
Anjali Agarwal 1,366 Reputation points
edited a comment 2023-03-06T21:04:03.5+00:00
Anjali Agarwal 1,366 Reputation points
2 answers

Is Webforms javascript scripts secure?

I did a security scan on an app that uses webforms. I found 10 security-related issues in several javascript files. I have not modified these scripts in any way. Can these issues be considered false positives? Most of the issues raised by the security…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
asked 2022-05-12T16:01:17.957+00:00
MrD 1 Reputation point
edited an answer 2023-03-06T11:07:10.56+00:00
Emelia Clark 0 Reputation points
1 answer

How to test a subdomain / webpage in VS, with localhost

Hi, I'm building a ASP.NET MVC app, using VS2019. For this app, the url in Prod should be: www.myapp.com; and the functionality for this application requires a list of pages customied for each client, for example: For client 1, they should go to:…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
asked 2023-02-20T15:19:24.94+00:00
Claudia Pinson 46 Reputation points
commented 2023-03-06T09:53:14.7+00:00
Lan Huang-MSFT 25,551 Reputation points Microsoft Vendor
3 answers

How to get parameter value after submit the form in asp.net c# using jQuery

I have created two aspx pages{page1.aspx and page2.aspx} with master page {main.master} and I redirected to page2 from page1 with `<a>` tag button click (in page1) my logic is executing fine but while I'm calling that parameter in page2.aspx using…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
asked 2023-03-02T04:18:42.8066667+00:00
Ashok Kumar 141 Reputation points
edited an answer 2023-03-06T07:32:35.2033333+00:00
XuDong Peng-MSFT 10,101 Reputation points Microsoft Vendor
0 answers

Blazor WASM + MVC integration throws error

Hi there I am trying to implement the Blazor WASM+MVC integration mostly as described in here: [http://rtur.net/posts/adding-blazor-webassembly-to-existing-mvc-application] It is working Ok on my development environment but when deploy to Staging, it…

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,386 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
asked 2023-03-05T13:45:06.0733333+00:00
Nikolay Renziglov 21 Reputation points
commented 2023-03-06T06:55:41.4033333+00:00
Zhi Lv - MSFT 32,011 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Foreach button click ajax help

Good day everyone! For some silly reason, I'm having a brain fart and can't remember how to add data to table when clicking on a button inside of a foreach loop. I have added some code below: I do get the id passing to item but I don't think it's being…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
697 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,162 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
asked 2023-03-01T21:32:48.6833333+00:00
Nick R 66 Reputation points
accepted 2023-03-03T18:15:02.2866667+00:00
Nick R 66 Reputation points
1 answer One of the answers was accepted by the question author.

How to get the values into text boxes from asp:treeview link?

Hello, i am working on a web application where using ASP:treeview control to display files link so that user can click and get the values into respective textboxes. my link file name format is "001193 - La Cabana - Ins Boiler and Machinery -…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 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,240 questions
asked 2023-03-02T21:59:16.84+00:00
Raki 481 Reputation points
accepted 2023-03-03T15:50:19.16+00:00
Raki 481 Reputation points
1 answer

Using the SUMIF() of EPPLUS For Excluding Rows Programmatically in MVC C#

Please I have a report spool from an SQL Table and exported it to Microsoft Office Excel through EPPLUS. Category FIELD Contains the different types of Clients. When the client is a staff, the Commission is waived. Category='001' and '002', etc. were…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 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,708 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,240 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,486 questions
asked 2023-02-25T11:44:00.35+00:00
abiodunajai 371 Reputation points
commented 2023-03-03T09:48:45.52+00:00
Lan Huang-MSFT 25,551 Reputation points Microsoft Vendor
0 answers

why WCF Hosting service in a mixed way like saas and laas

Hi, I right now have a WCF backend in a Windows administration uncovered through net.pipe for an ASP.NET web application, on premise. I might want to move to Sky blue in Full Face Snorkel Mask is it conceivable to introduce the WCF administration on at…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,371 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
asked 2023-03-02T15:40:18.34+00:00
Mr.Maick 0 Reputation points
commented 2023-03-03T08:50:58.4266667+00:00
QiYou-MSFT 4,306 Reputation points Microsoft Vendor
6 answers One of the answers was accepted by the question author.

select table row value populate in form control(Dropdown,text field)

I am selecting or Clicking on row of table, then relevant data from get populate in downdown and text field, issue is that text field is getting populate ,but dropdown field is not getting populating ,i am sharing my whole code.. View @model…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 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,240 questions
asked 2023-02-25T09:43:11.6066667+00:00
Analyst_SQL 3,531 Reputation points
accepted 2023-03-03T07:14:07.1933333+00:00
Analyst_SQL 3,531 Reputation points
3 answers One of the answers was accepted by the question author.

Ocx which developed by FMC add to Asp.Net

I have developed an OCX by MFC AcxtiveX in Vs2019. This OCX can be added to Toolbox in Winform. But can be added to ASP.NET toolbox. When I tried to add it to toolbox. A Error massage occurs “The controls is successfully added to toolbox ,but it can be…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 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,604 questions
asked 2023-02-27T03:04:45.88+00:00
GuoJunjie 20 Reputation points
accepted 2023-03-03T05:49:12.8333333+00:00
GuoJunjie 20 Reputation points
0 answers

Medicine issue module website

In my Asp.net+VB+SQL database website. I have a table named Clinic_Medicine USE [FTH_BLR] GO /****** Object: Table [dbo].[Clinic_Medicine] Script Date: 3/2/2023 11:18:46 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
asked 2023-03-02T06:02:22.9366667+00:00
Baiju EP 141 Reputation points
commented 2023-03-03T02:47:34.68+00:00
XuDong Peng-MSFT 10,101 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

value is always null when using HttpContext.User.Identity.Name

Hello, I am trying to get the value in x and y variable from window.security and HTTPContext, but not sure what am I doing wrong that the value is always NULL. var x = System.Security.Principal.WindowsPrincipal.Current.Identity.Name; var y =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,162 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
asked 2023-03-02T03:53:54.1166667+00:00
Anjali Agarwal 1,366 Reputation points
edited a comment 2023-03-03T01:33:22.16+00:00
Anjali Agarwal 1,366 Reputation points
1 answer One of the answers was accepted by the question author.

Why does button inside update panel refuses to fire on click?

I have 2 buttons inside an update panel. There is also a gridview in the update panel. When I click on the button it does not execute the command which its supposed to. Here is my HTML and code <div style="margin: 0 auto; padding:…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,371 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 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,240 questions
asked 2023-03-01T12:09:37.5033333+00:00
Donald Symmons 2,856 Reputation points
accepted 2023-03-02T12:36:58.03+00:00
Donald Symmons 2,856 Reputation points
1 answer

Problemas al ejecutar los servcios de texto a voz de azure en un webform

Tengo un código hecho en asp.net que convierte texto a voz usando los servicios cognitivos de Azure. si pruebo el código en un winform me trabaja bien. pero si lo ejecuto en un webform me manda el siguente mensaje: System.DllNotFoundException: 'No se…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
asked 2023-02-23T19:42:06.99+00:00
Orlando José Polo Padilla 0 Reputation points
edited an answer 2023-03-02T09:42:20.6766667+00:00
JasonPan - MSFT 4,201 Reputation points Microsoft Vendor
3 answers

"Adding sign-in with Microsoft" example does not work on my working VDI

Good day everyone! Background: I have old legacy ASP.NET MVC on premise application running on local windows IIS. I'm investigating ways to integrate this application with Azure AD authentication. As far as I can understand (Windows IIS integration with…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 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,240 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,465 questions
asked 2023-02-21T08:33:06.04+00:00
Aleksandr Romanov 0 Reputation points
answered 2023-03-02T08:04:34.84+00:00
Shweta Mathur 27,456 Reputation points Microsoft Employee
1 answer

This Infragistics control requires a ScriptManager object on the page in order to operate correctly.

Server Error in '/' Application. This Infragistics control requires a ScriptManager object on the page in order to operate correctly. **Description:**An unhandled exception occurred during the execution of the current web request. Please review the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
866 questions
asked 2023-03-02T05:48:24.94+00:00
Kurakula, Julia 21 Reputation points
commented 2023-03-02T07:48:23.9333333+00:00
Lan Huang-MSFT 25,551 Reputation points Microsoft Vendor