3,285 questions with ASP.NET tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

How to mitigates Cross-Site Scripting (XSS) Attacks using msal-browser and msal-angular on production?

Implementing a login solution using the Microsoft Identity Provider with OpenID Connect (OIDC). Is it safe to use the msal-browser and msal-angular libraries in an Angular application on production? How can Cross-Site Scripting (XSS) Attacks be…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,412 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,202 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 questions
asked 2023-12-20T14:46:41.1133333+00:00
Khajo Elias 20 Reputation points
answered 2024-04-17T22:42:51.8566667+00:00
Bruce (SqlWork.com) 56,926 Reputation points
1 answer One of the answers was accepted by the question author.

Download captured HTML Div as PDF and also send as PDF attachment to email

I want to achieve 2 things: Capture HTML, convert to Image and download as PDF Send the captured and converted HTML div as PDF attachment to email When I tried capturing the entire div and convert into image and download as PDF but it appears the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,412 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 questions
asked 2024-04-16T22:16:51.26+00:00
Donald Symmons 2,856 Reputation points
accepted 2024-04-17T20:39:59.4033333+00:00
Donald Symmons 2,856 Reputation points
3 answers One of the answers was accepted by the question author.

what is the best way to store documents in asp.net application

I am developing asp.net application. i want to store documents some where in the file server folder or in the database. if i use binary option in sql server table for storing the documents, Is it good way to manage file in SQL server..? or shall i use…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 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,791 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,299 questions
asked 2024-04-15T12:28:39.9233333+00:00
Gani_tpt 1,586 Reputation points
accepted 2024-04-17T14:49:59.68+00:00
Gani_tpt 1,586 Reputation points
1 answer One of the answers was accepted by the question author.

C# ASP.NET MVC: develop app with running tasks and ASP.NET MVC web UI to control it

There's a url from which I need to run api get data in JSON format and store to MS-Sql Server. This project will run mostly on server(s). We also need an application to provide an interface so that whenever needed user can select which data to be stored…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,202 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 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,299 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
301 questions
asked 2024-04-13T10:07:08.52+00:00
RASHMI GUPTA 20 Reputation points
accepted 2024-04-16T07:21:19.3+00:00
RASHMI GUPTA 20 Reputation points
0 answers

.Net 6 Ubuntu jammy 22.04 base image upgrade. Getting GSSAPI error

We are planning to upgrade our .Net core MVC application from .Net 6 to .Net 8 version. To prepare for that upgrade we first upgraded from ubuntu 20.04 to ubuntu 22.04. This is our base image in the Docker file and the following line updates our package…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,202 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 questions
asked 2024-04-15T19:25:17.3266667+00:00
Saravanakumar Balachandran 40 Reputation points
1 answer One of the answers was accepted by the question author.

How to upload multiple documents and view it in viewer from Gridview using ASP.NET in C#

I am developing ASP.NET application which is end user want to upload multiple documents from the page. My problem is, i am already developing software like uploading single document. But, uploading multiple document haven't done so far. Also, after…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 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,299 questions
asked 2024-04-13T11:59:46.5366667+00:00
Gani_tpt 1,586 Reputation points
accepted 2024-04-15T12:20:06.4966667+00:00
Gani_tpt 1,586 Reputation points
2 answers

How to convert Wordpress website to ASP.net web form?? is it possible??

We don't have the source code for the WordPress website. We got the code from the inspect-->view page source method. We just pasted the code in Visual studio and it's working but the problem is we were unable to separate the CSS and script file. As…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 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,635 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,268 questions
asked 2023-04-25T07:18:03.89+00:00
Anitha Sivakumar 0 Reputation points
edited a comment 2024-04-13T16:15:42.64+00:00
Arslan Shabir 0 Reputation points
2 answers One of the answers was accepted by the question author.

click gridview to open new tab with query string

Hello I have two textbox From textbox1 and To Textbox2 This is sample sql data User will pass from date and to date using textbox1 and textbox2 based on that data will be showing in gridview for example i pass textbox1 as 01-APR-2023 and Textbox2 as…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 questions
asked 2024-04-04T15:08:25.84+00:00
RAVI 916 Reputation points
answered 2024-04-13T07:22:20.0033333+00:00
RAVI 916 Reputation points
2 answers One of the answers was accepted by the question author.

How to change asp calender display language

How can i change the display language for the asp calender to english? I try to check my VS 2022 language pack is only using english. Then my edge browser also is in english but the asp calender still display chinese. Including the date and time in…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,412 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 questions
asked 2024-04-07T06:03:37.7133333+00:00
kf 20 Reputation points
accepted 2024-04-13T01:11:25.61+00:00
kf 20 Reputation points
0 answers

Owin openidconnect SignOut sending id_token_hint without active session

Hey!, I've a solution integrating c# Microsoft.Owin.Security.OpenIdConnect last version (4.2.2), .net Framework 4.6.1 (mvc project) and I've a question. My solution closes correctly openid on keykloak when I've a session active, the problem is that I…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 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,299 questions
asked 2024-04-12T12:29:43.7933333+00:00
Alberto 0 Reputation points
edited the question 2024-04-12T13:05:25.6+00:00
Alberto 0 Reputation points
3 answers One of the answers was accepted by the question author.

Cannot load file or assembly 'System.Runtime'

I have an Asp.Net 4.7 WebForms legacy application written in vb.net. To add Azure B2C authentication, I add OWIN middleware NuGet packages like this: Install-Package Microsoft.Owin.Security.OpenIdConnect Install-Package Microsoft.Owin.Security.Cookies …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 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,642 questions
asked 2022-06-24T10:24:16.31+00:00
Dmitriy Reznik 236 Reputation points
edited an answer 2024-04-12T08:38:23.0833333+00:00
DHARMARAJAN Jayamanickam 0 Reputation points
3 answers

Which framework will support for next 20 years?

Hi experts! can you describe the difference between Blazor vs Razor. Which one is better for long term enterprise level application? How long Blazor will support? what the future of Blazor for enterprise level projects? Please mentions anything…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,202 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,401 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 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,299 questions
asked 2023-11-01T17:52:25.7933333+00:00
Engr. Mozammal Hossain 5 Reputation points
commented 2024-04-12T06:51:36.0733333+00:00
Teh Kok How 0 Reputation points
0 answers

.NET framework 4.7.2 assembly loading with BuildManager

Hi, My .net project uses a skeleton library that calls BuildManager.GetReferencedAssemblies in .NET framework 4.7.2 to get assemblies in order to initialize modules to start the application.  ⚠️It was observed that the function returned an AssemblySet…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 questions
asked 2024-04-11T07:09:39.3666667+00:00
Nam Nguyen 0 Reputation points
commented 2024-04-12T05:38:04.41+00:00
Lan Huang-MSFT 25,871 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Simple Graph Chart Required For Asp.net c# MS SQL

Hello This is my table data /****** Object: Table [dbo].[Table_2] Script Date: 03/28/2024 11:06:28 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Table_2]( [ID] [int] IDENTITY(1,1) NOT NULL, [JAN] [float]…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 questions
asked 2024-03-28T05:39:53.7333333+00:00
RAVI 916 Reputation points
accepted 2024-04-11T11:38:54.9233333+00:00
RAVI 916 Reputation points
1 answer One of the answers was accepted by the question author.

remove  from textbox

Hello In textbox user enter something like this ABFREE on insert sql query from C# i have to remove this special charater  I already used trim but not working cmd1.Parameters.Add(new SqlParameter("@CodeName",…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 questions
asked 2024-04-10T06:40:49.22+00:00
RAVI 916 Reputation points
accepted 2024-04-11T11:37:14.51+00:00
RAVI 916 Reputation points
0 answers

Error creating an Asp.Net MVC project with Microsoft Identity

Using VS 2022, I created a sample Asp.Net MVC project with Microsoft Identity (.net 4.8) and toward the end of the setup it wanted to configure the Microsoft identity platform. This step fails with the following error message below: Errordotnet tool…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
621 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 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,299 questions
asked 2022-01-13T17:28:43.613+00:00
moondaddy 911 Reputation points
commented 2024-04-11T10:56:12.7533333+00:00
Martin Bach 0 Reputation points
1 answer One of the answers was accepted by the question author.

show label data based on gridview data

Hello I have girdivew1 in that i have this data forexample And i have one dropdownlist and one label if i select from dropdownlist MANGO it has to in label as 10 if i select from dropdownlist APPLE it has to in label as 4 how to do so

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 questions
asked 2024-04-04T05:37:32.4866667+00:00
RAVI 916 Reputation points
accepted 2024-04-10T07:46:05.41+00:00
RAVI 916 Reputation points
0 answers

unhandled exception script

Traceback (most recent call last): File "app.py", line 40, in <module> File "database_manager.py", line 19, in load_data_to_memory File "encrypt_decrypt.py", line 11, in decrypt File…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,412 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 questions
asked 2024-04-10T06:37:17.25+00:00
Bibhu Bhai 0 Reputation points
3 answers One of the answers was accepted by the question author.

Visual Studio 2022 considering Desktop application as ASP.Net & generating errors

I have developed a desktop application using Visual Studio 2022. I then developed a web application ASP.net with Visual Studio 2022. Now, whenever I launch the desktop application, VS considers it an ASP.net application, and is generating errors by the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,837 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 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,635 questions
asked 2024-04-02T23:56:19.5466667+00:00
Simon 286 Reputation points
accepted 2024-04-09T17:41:01.4533333+00:00
Simon 286 Reputation points
2 answers One of the answers was accepted by the question author.

Setting Gridview color and font from database value

I am trying to set color in my gridview grid lines and also set font in my gridview from a database value. I tried a workaround is to do this by using the GridView's RowDataBound event but the color value from database did not apply in the gridview. At…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,412 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 questions
asked 2024-04-07T20:50:54.3466667+00:00
Donald Symmons 2,856 Reputation points
accepted 2024-04-08T07:47:40.7466667+00:00
Donald Symmons 2,856 Reputation points