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…
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…
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…
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…
.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…
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…
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…
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…
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…
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…
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 …
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…
.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…
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]…
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",…
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…
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
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…
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…
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…