3,385 questions with ASP.NET tags

Sort by: Updated
2 answers

Calling an Action to Render View located in a Different Top Level Folder - MVC 5

I use something like this if controllers and views are in the same top level folder. <li>@Html.ActionLink("Classroom", "Index", "MyViewFolder")</li> How do achieve the same if controllers and views are in…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 questions
asked 2024-06-18T14:06:09.7233333+00:00
Malam Malam 226 Reputation points
edited an answer 2024-06-19T08:38:51.3133333+00:00
Lan Huang-MSFT 28,126 Reputation points Microsoft Vendor
0 answers

Microsoft.AspNet.OData NuGet Package Upgrade Causing delay in the Functionality

Hi, I have upgraded Microsoft.AspNet.OData NuGet Package in our application from 7.5.14 to 7.7.5 and since then it is causing delay in few of the Api calls in the application. Before upgrade everything works fine without causing any delay. The scenario…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,547 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,308 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 questions
asked 2024-06-18T07:10:11.82+00:00
AKHIL TALLURI 0 Reputation points
commented 2024-06-19T07:18:57.7133333+00:00
Jerry Fu - MSFT 571 Reputation points Microsoft Vendor
1 answer

How to export viewstate data to pdf in ASP.NET C#

I am developing asp.net application and i already done from viewstate to excel (not from gridview to excel). But, i am struggling to export pdf from viewstate. my viewstate columns is nearly having 20 to 25 columns. below is my code and correct me where…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 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,525 questions
asked 2024-06-18T18:03:07.49+00:00
Gani_tpt 2,106 Reputation points
answered 2024-06-19T06:56:31.3433333+00:00
Lan Huang-MSFT 28,126 Reputation points Microsoft Vendor
3 answers

How to eliminate if end user open the same ASP.NET page in another tab

This is simple question. I am developing ASP.NET application and sharing the hosted URL to end user. some times end user opens the same page in multiple tab. i want to control, either should not allow the same page in another tab or redirect some…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 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,525 questions
asked 2024-06-18T14:39:10.5133333+00:00
Gani_tpt 2,106 Reputation points
commented 2024-06-19T02:42:53.65+00:00
QiYou-MSFT 4,311 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How to Run Asp.net website project as a web Application Project

Hello, I have just assumed a duty to take over development of a asp.net project. It happened that the project is a asp.net website project, and I discovered the the former developer did not create App_code folder, when I brought the solution to my VS…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 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,525 questions
asked 2024-06-17T13:06:17.44+00:00
Emeka Okoye 86 Reputation points
accepted 2024-06-18T20:47:40.9+00:00
Emeka Okoye 86 Reputation points
1 answer One of the answers was accepted by the question author.

Error 3002: Problem in mapping fragments in .EDMX

I have only one table in model's .edmx file. I updated the table in SQL Server by adding a column to it, opened up the .edmx file and used "update Model from Database" to update. The updated .edmx does show newly added field but I get a…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 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.
13,122 questions
asked 2024-06-18T06:04:21.64+00:00
Malam Malam 226 Reputation points
commented 2024-06-18T14:22:37.8233333+00:00
Soaad Nahas 10 Reputation points
3 answers One of the answers was accepted by the question author.

An error occurred on the server when processing the URL. Please contact the system administrator ?

An error occurred on the server when processing the URL. Please contact the system administrator. This is the error I receive in the localhost inetpub trying to launch a asp portal.Why?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 questions
asked 2022-03-10T18:44:42.477+00:00
Albay Commandante 21 Reputation points
commented 2024-06-18T12:34:15.56+00:00
IS 0 Reputation points
2 answers One of the answers was accepted by the question author.

Losing GridView Textbox value after GridView Pagination Changes

Please help look into what i need to modify in my code. My textbox is losing values typed into its control after gridview pagination click. Thanks and code below <asp:GridView ID="GridView1" runat="server"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 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,525 questions
asked 2024-06-16T01:03:18.18+00:00
Imoleayo Emmanuel 20 Reputation points
accepted 2024-06-18T12:12:14.8533333+00:00
Imoleayo Emmanuel 20 Reputation points
1 answer

Azure app service reverts to previous version

I have blazor web app I'm deploying to Azure App service using VS2022 Preview publish feature. I have upgrade my project target framework to .NET 8. And I have my publish setting target framework to .NET 8. However after publishing the app the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,547 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 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,797 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,212 questions
asked 2024-01-29T22:02:12.3066667+00:00
JuwonPark-6692 5 Reputation points
commented 2024-06-18T10:02:14.5866667+00:00
Phumudzo Mamphaga 0 Reputation points
3 answers

Change cookie path

In my ASP.NET application, I want to change the cookie path from the root to some specific folder. How can I do that?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 questions
asked 2024-06-13T11:23:12.5066667+00:00
Adeel Mirza 21 Reputation points
commented 2024-06-18T07:28:06.71+00:00
Lan Huang-MSFT 28,126 Reputation points Microsoft Vendor
1 answer

to adapt an html site to mobile or smartphone screen

Hello, I develop an html site and my site is not much visible on mobile phones, the texts are smalls and the body screen is not adjusted. I'm trying to use the viewport meta balise but there is no change, the texts are smalls and the body screen is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 questions
asked 2021-11-22T06:15:44.923+00:00
marc-antoine yonga 81 Reputation points
answered 2024-06-18T06:50:06.5+00:00
Jim Climb the Mountain 10 Reputation points
2 answers

How to configure application insight logins in Asp .Net Mvc applciation. (Not in .Net Core)

I need to do logging inside the controller methods.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 questions
asked 2024-06-05T13:36:00.81+00:00
Athula Chandrawansha 20 Reputation points
commented 2024-06-18T05:31:51.8766667+00:00
Lan Huang-MSFT 28,126 Reputation points Microsoft Vendor
1 answer

ASP.NET azure hosted app / sql server Works on localhost only

When I run my simple CRUD app on localhost it works really good. Hint: It is using SQL server to insert data and server is hosted on my Azure Subscription inside same Resource Group Deployed app : myAzureWebsitesLink.net Not working route : School -…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,308 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
818 questions
asked 2024-06-11T20:15:24.4333333+00:00
Anel Hodžić 0 Reputation points
commented 2024-06-18T05:17:19.6033333+00:00
Zohaib khan 0 Reputation points
1 answer One of the answers was accepted by the question author.

Create data Context Class in asp.net MVC 5 without using Entity Framework

How do I create a context class dbContext in asp.net MVC 5 without using the Entity Framework?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 questions
asked 2024-06-17T05:04:37.0733333+00:00
Malam Malam 226 Reputation points
accepted 2024-06-17T12:39:20.2533333+00:00
Malam Malam 226 Reputation points
2 answers

When creating a project as an ASP. NET Web Application (. NET Framework) Empty, MVC in Visual Studio Community 2022 I get this error: Excepction from HRESULT: 0x80040402 I would like to know how to fix it please

When creating a project as an ASP. NET Web Application (. NET Framework) Empty, MVC in Visual Studio Community 2022 I get this error: Excepction from HRESULT: 0x80040402 I would like to know how to fix it please

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 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,797 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
990 questions
asked 2024-06-08T03:23:05.2466667+00:00
ESTEBAN UGALDE 0 Reputation points
commented 2024-06-17T08:48:04.66+00:00
Tianyu Sun-MSFT 28,846 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Getting error while search name in the textbox using bootstrap in ASP.NET C#

I am using gridview for reports and it contains more than 10000 (ten thousands) records. i am using one textbox for searching and multiple column values such as (CustNo,CustName,Department,MaterialName,Salary and DateofJoining) All search has to be done…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 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,525 questions
asked 2024-06-13T17:34:51.2533333+00:00
Gani_tpt 2,106 Reputation points
commented 2024-06-16T18:10:15.7+00:00
Gani_tpt 2,106 Reputation points
0 answers

Error Running the Selected Code Generator - ASP.Net MVC

I am getting the following "generating code" error when creating a Controller using "MVC 5 Controller with Views, using Entity Framework" in Visual Studio 2019. I've tried several solutions to similar problem reported online: Removed…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 questions
asked 2024-06-13T16:24:17.7366667+00:00
Malam Malam 226 Reputation points
commented 2024-06-15T06:02:30.82+00:00
Malam Malam 226 Reputation points
2 answers

How to read pdf,jpeg,gif document using tesseract OCR with C# asp.net MVC

Currently we have one page and this page contains one file-upload and one submit button, then the user will select a file from file-upload and submit the pdf,jpeg,gif file. Now my requirement is the user will upload pdf,jpeg,gif read the content of the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 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.
13,122 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,525 questions
asked 2023-11-11T21:00:28.0866667+00:00
coder rock 276 Reputation points
commented 2024-06-14T20:03:04.34+00:00
coder rock 276 Reputation points
4 answers One of the answers was accepted by the question author.

What is the best way to show the loader while uploading the file in gridview

I am using gridview for displaying and inserting new records. i'm using loader wherever it is required in the gridview. it is working fine. i'm trying to use animation loader for specific upload column in gridview. will it possible to show the loader…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 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,525 questions
asked 2024-06-07T17:12:49.2366667+00:00
Gani_tpt 2,106 Reputation points
commented 2024-06-14T17:12:01.3966667+00:00
Gani_tpt 2,106 Reputation points
1 answer

Keep old url but redirect to new url - IIS - Asp.Net - .aspx

Running - IIS 10 - Asp. Net - Web Forms "Web Application" - .NET Framework 4.8 WebAppDemo is a web forms "application" under "Default Web Site" Default Web Site WebAppDemo Allows only a http:80 binding on default port…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 questions
asked 2024-06-06T18:52:46.7233333+00:00
techthiru 40 Reputation points
edited a comment 2024-06-14T11:20:12.7866667+00:00
XuDong Peng-MSFT 10,181 Reputation points Microsoft Vendor