3,266 questions with ASP.NET tags

Sort by: Updated
0 answers

Develop an ASP.NET Core web app that consumes an API assessment fail

Hi, I recently attempted the applied skill assessment: Develop an ASP.NET Core web app that consumes an API Although not all requirements were very clear, I was confident I completed all the tasks. everything was tested by me and all the functionality…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,266 questions
asked 2024-05-03T09:03:54.2166667+00:00
robin lenaerts 0 Reputation points
3 answers

How to view/show image from file server path on button click

i am developing asp.net application. i am uploading many image documents in file server path like example (\server2\prj1\picture1.png) At the same time, i want to view/show the same file (image document) on button click event. How to show this image…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,266 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,272 questions
asked 2024-04-27T18:06:29.1133333+00:00
Gani_tpt 1,546 Reputation points
commented 2024-05-03T08:22:31.3566667+00:00
Lan Huang-MSFT 25,636 Reputation points Microsoft Vendor
0 answers

how to upload a picture to a picture1 box in html

code behind cshtml file @model IMS_Project.Models.Product @{ ViewBag.Title = "Product"; ViewBag.SubTitle = "Create"; @using (Html.BeginForm("Create", "Product",…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,266 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,272 questions
asked 2024-05-02T15:50:37.5866667+00:00
KwebenaAcquah-9104 306 Reputation points
commented 2024-05-03T06:39:57.3833333+00:00
Lan Huang-MSFT 25,636 Reputation points Microsoft Vendor
1 answer

How do I add a CAPTCHA to a web site written with ASP.NET/VB

A bot seems to be using my web site to send out emails via AmazonSES. I want to add a CAPTCHA to it to prevent this. I came across https://stackoverflow.com/questions/71515717/how-to-add-captcha-in-asp-net-project which appears to be what I want, but…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,266 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,577 questions
asked 2024-04-27T05:08:50.44+00:00
Robert Barnes 71 Reputation points
commented 2024-05-03T04:29:43.4033333+00:00
Robert Barnes 71 Reputation points
1 answer

*How do I add MVC 4 to an existing .net framework web application 4.8 that includes controller and view folders, and routing information.

This question starts in https://learn.microsoft.com/en-us/answers/questions/1662118/how-do-i-add-an-mvc-template-to-my-web-app-project  I thought that is should be more specific in my question, so, I created a new post with more a more specific title. I…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,266 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,620 questions
asked 2024-05-02T20:34:23.9733333+00:00
iqworks Information Quality Works 216 Reputation points
answered 2024-05-03T03:11:24.2733333+00:00
Lan Huang-MSFT 25,636 Reputation points Microsoft Vendor
0 answers

ASP.NET button control not able to make disabling in panel control using c#

i am trying to make disable button controls through panels. In the panel, i am using textbox, label, fileupload,gridview and button controls. i am able to disable only textbox, label and gridview. but, i am unable to make disable fileupload and button…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,266 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,272 questions
asked 2024-04-30T18:21:01.5633333+00:00
Gani_tpt 1,546 Reputation points
commented 2024-05-01T21:44:38.82+00:00
Albert Kallal 4,651 Reputation points
1 answer

*System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing

Hi, Why my Polly Timeout handler not working? I still getting: "System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,266 questions
asked 2023-11-07T09:14:10.64+00:00
winanjaya 146 Reputation points
answered 2024-05-01T17:24:47.3066667+00:00
William Saylor 0 Reputation points
0 answers

Asp.net MVC renders 2 "form action" statements for the same form when in responsive mode

ASP.Net MVC VS 2022 Windows 11 App runs fine in desktop mode. This line: <@using (@Html.BeginForm("SubmitForm", "Home", FormMethod.Post, new { id = "subform", verify = "Y" }))> is generated correctly…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,266 questions
asked 2024-04-29T18:06:54.7466667+00:00
Jean Vallee 21 Reputation points
commented 2024-05-01T09:17:14.9266667+00:00
Lan Huang-MSFT 25,636 Reputation points Microsoft Vendor
1 answer

ASP.NET - The specified network password is not correct - X509Certificate2

I have a .NET web application where trying to import the certificate using the "X509Certificate2". While importing, getting the "The specified network password is not correct.". The certificate is password protected .pfx file and I'm…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,266 questions
asked 2024-04-30T12:08:12.77+00:00
Nabeel Farooq 0 Reputation points
answered 2024-05-01T03:35:11.9833333+00:00
Lan Huang-MSFT 25,636 Reputation points Microsoft Vendor
2 answers

*.net referenced dll is not seen with a using statement

Hi, I have a project called MBSAnalysisMVCWebApp which is a web app. I reference MBSAnalysisMVCWebApp from my main MVC project called Mbsa. But when I try a using statement, It says MBSAnalysisMVCWebApp cannot be seen?  The MBSAnalysisMVCWebApp.dll…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,266 questions
asked 2024-04-29T15:37:56.6+00:00
iqworks Information Quality Works 216 Reputation points
answered 2024-05-01T02:34:04.56+00:00
Lan Huang-MSFT 25,636 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Scriptmanager alert not displaying properly in same page

I am doing some simple screen add functionality and after end of saving, i am using scriptmanager.RegisterStartupScript() for save message. when i run the program, the alert have not been throwing properly. it showing same page but, without controls like…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,266 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,272 questions
asked 2024-04-29T17:12:15.2666667+00:00
Gani_tpt 1,546 Reputation points
accepted 2024-04-30T17:07:12.91+00:00
Gani_tpt 1,546 Reputation points
3 answers

How to upload file and view those file in modal popup using gridview

I need help in gridview. i am using normal add, edit and delete functionalities in gridview. This is working fine. Initially i am saving the records using textbox controls and save button. This contains including file upload also. After saving the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,266 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,272 questions
asked 2024-04-17T14:56:04.6833333+00:00
Gani_tpt 1,546 Reputation points
commented 2024-04-30T03:33:10.6166667+00:00
Lan Huang-MSFT 25,636 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

How to calculate years from two different date in ASP.NET C#

I have Employee Admission Date which is stored in SQL table. In the ASP.NET click event, i want to calculate and find the years from the Admission Date and Current Date. For example, Admission Date : 10-MAR-2023 Current Date : 28-APR-2024 condition is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,266 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,272 questions
asked 2024-04-28T17:11:24.31+00:00
Gani_tpt 1,546 Reputation points
commented 2024-04-30T03:29:04.6233333+00:00
Lan Huang-MSFT 25,636 Reputation points Microsoft Vendor
2 answers

How to design patterns from scratch using C# asp.net MVC

I am new to building design pattern using factory design pattern, its C# asp.net mvc application which i am going developing my new web application, please can you help me how to start from scratch. I have worked one design pattern application which is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,394 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,266 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,272 questions
asked 2024-04-19T14:27:10.4633333+00:00
coder rock 196 Reputation points
commented 2024-04-30T02:54:25.35+00:00
Lan Huang-MSFT 25,636 Reputation points Microsoft Vendor
5 answers One of the answers was accepted by the question author.

Using MS Graph to send email from singe predefined/pre-set mailbox within .net web application

We need our application to send emails via MS Graph using a set single mailbox. I have the following, but this is not working, with the following: 'Exception of type 'Microsoft.Graph.Models.ODataErrors.ODataError' was thrown'. Digging into the details…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,640 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,266 questions
asked 2023-06-05T11:36:52.11+00:00
Julian Cram 25 Reputation points
edited a comment 2024-04-29T15:27:38.1266667+00:00
Trevor Westin 26 Reputation points
1 answer

.Net core deployed application not supporting Chinese font in PDF.

I have chines font in my code when the app is deployed in app service and there is a logic to download the PDF file with the Chinese font, but the font is not visible.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,266 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,901 questions
asked 2024-04-29T06:30:59.03+00:00
Deepak Ramesh (SX/EDA2) 0 Reputation points
edited an answer 2024-04-29T09:05:24.9833333+00:00
JasonPan - MSFT 4,366 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

can I upgrade my system.web.mvc from 4.5 to 5.0

Hi, I have a couple of related threads about this out there, but it is cluttered, so i created this one I am initially using vs2019. I have an MVC project called Mbsa. It is my primary project. I am using the runtime version v4.0.3.319. It uses .net…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,266 questions
asked 2024-04-25T21:44:22.7566667+00:00
iqworks Information Quality Works 216 Reputation points
commented 2024-04-26T15:22:00.5533333+00:00
iqworks Information Quality Works 216 Reputation points
1 answer

Part of this app has been blocked IIS Worker Process has tried to load Microsoft.Workflow.Compiler.exe

When launching an ASP.Net web application on a Windows 11 system with Smart App Control On, I'm getting the below toast notification. Part of this app has been blocked: IIS Worker Process has tried to load Microsoft.Workflow.Compiler.exe which doesn't…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,266 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,272 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,209 questions
Microsoft Intune Security
Microsoft Intune Security
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
341 questions
asked 2024-04-25T03:31:37.73+00:00
Pradeep Viswanathan 0 Reputation points
answered 2024-04-26T10:10:26.9233333+00:00
XuDong Peng-MSFT 10,101 Reputation points Microsoft Vendor
0 answers

I'm trying to read excel from sharepoint by using asp.net but its giving me following error fail: PowerBi_Report.Controllers.HomeController[0] An error occurred while processing the request: The remote server returned an error: (401) Unauthorized.

I have all the permissions for excel present in sharepoint still I'm getting same error can someone please help me out on this I'm pasting my code below using System; using System.Diagnostics; using System.Net; using Microsoft.AspNetCore.Mvc; using…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,266 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,272 questions
asked 2024-04-25T10:50:08.6333333+00:00
Rathor, Pradnya 0 Reputation points
edited the question 2024-04-26T02:57:44.18+00:00
XuDong Peng-MSFT 10,101 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to fix vite error in Angular ASP.NET project?

I have started my Angular ASP.NET project and ended up with the following error, just want to find out how to fix it: Thank you!

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,394 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,266 questions
asked 2024-04-24T03:07:40.3233333+00:00
Yardley Estiverne 20 Reputation points
commented 2024-04-25T17:49:06.5466667+00:00
Yardley Estiverne 20 Reputation points