Trying to understand ASP.NET 4.8 useability with visual studio 2022
Hello, I am a hobbyist who is still using visual web developer 2008 to create .aspx forms for my simple websites. My backend language of choice is VB. I realize that this approach is old school, but has been working for me. I am better with HTML, CSS,…
Blazor Title
Hello, I have a Blazor 8.0 project that has been giving me trouble when it comes to Title. I have a <PageTitle> tag on every page but it remains the Home no matter on which page I am redirected. Is there a solution for this problem? Thank you
Export Entire User Input Form to PDF in C#
I have a form that captures general user information like FirstName, LastName etc. When user is done entering all information and clicks on the button Button1; I need to export the entire form to PDF. Is there a way to do it? First Name: …
Como posso baixar software da Microsoft de forma segura e confiável?
Explore fontes confiáveis para downloads seguros de software e garanta uma experiência tranquila com nosso site, oferecendo opções de baixar sem complicações!
Versioned Artifacts for .NET Framework and .NET Core application(s)
Hi Microsoft, I am trying to create versioned artifacts for dotnet applications (.NET Framework & .NET Core) using msbuild and dotnet CLI commands. I ran it for msbuild while implementing CI/CD pipeline using GitHub Actions following Microsoft's…
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",…