3,393 questions with ASP.NET tags

Sort by: Updated
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,393 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,276 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,393 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,393 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,276 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,331 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,393 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
825 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,393 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,393 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,807 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.
994 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,851 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,393 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,554 questions
asked 2024-06-13T17:34:51.2533333+00:00
Gani_tpt 2,092 Reputation points
commented 2024-06-16T18:10:15.7+00:00
Gani_tpt 2,092 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,393 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,393 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,171 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,554 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,393 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,554 questions
asked 2024-06-07T17:12:49.2366667+00:00
Gani_tpt 2,092 Reputation points
commented 2024-06-14T17:12:01.3966667+00:00
Gani_tpt 2,092 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,393 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,341 Reputation points Microsoft Vendor
1 answer

Call from one MVC5 project method to another MVC5 project method not loading aspx page

  Hi, I have two projects, MVC5-1 and MVC5-2. Both are using .net 4.7.. I have installed MVC5 on both.  I am trying to call a controller method from MVC5-2 (ShowMBStest())from MVC5-1. There is a method in MVC5-2 that calls an x.aspx page. I can see it…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,393 questions
asked 2024-06-14T03:01:54.9366667+00:00
iqworks Information Quality Works 276 Reputation points
edited an answer 2024-06-14T08:32:22.1666667+00:00
QiYou-MSFT 4,311 Reputation points Microsoft Vendor
2 answers

Gridview ID problem

Hello, I have two gridviews set up. Both of them use the default scrolling buttons. In one gridview if you look at the properties of the scroll > buttons the ID property is missing like this: <input type="image"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,393 questions
asked 2024-06-06T17:56:28.6366667+00:00
Wheeler, Lee 0 Reputation points
commented 2024-06-12T12:40:26.5066667+00:00
Wheeler, Lee 0 Reputation points
2 answers One of the answers was accepted by the question author.

URL Rewrite rule not working Http to Https Redirect IIS 10 - Asp.Net Framework 4.8 - aspx - Web Forms

Using URL rewrite module 2.1 in IIS 10 is not working as expected. Here is my requirement I have several web applications running under "Default Web Site". One of them is "WebAppDemo" The Default Web Site has bindings as in the…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,393 questions
asked 2024-06-07T19:10:18.9433333+00:00
techthiru 40 Reputation points
edited a comment 2024-06-12T11:33:34.28+00:00
AgaveJoe 27,421 Reputation points
2 answers

What does this setting do in IIS - Ssl Settings - Require SSL ?

I would like to understand the effect of this setting in IIS  What happens when this check box named "Require SSL" is checked? Does this enable https: protocol on a http site? such that the website can be browsed with https: in the URL? Does…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,393 questions
asked 2024-06-05T13:24:46.4533333+00:00
THIRUNARAYANAN SOWRIRAJAN 0 Reputation points
commented 2024-06-12T09:38:02.6066667+00:00
Sam Wu-MSFT 7,211 Reputation points Microsoft Vendor
11 answers

I can't find ASP.NET Web Application (.NET Framework) with c#

Hello I want to use ASP.NET Web Application (.NET Framework), and I have downloaded Visual Studio Community 2019 v16.11.3, and i have clicked the ASP.NET and web devleopment before i download it but I can't find the one i needed, I don't want the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,393 questions
asked 2021-10-01T00:33:18.083+00:00
WEI HAN TAN 36 Reputation points
edited a comment 2024-06-12T06:56:08.3433333+00:00
Vatsal Soni 0 Reputation points
1 answer One of the answers was accepted by the question author.

adding model based controller gives me an error in MVC 5

I am trying to add model based controller, according to a tutorial: https://learn.microsoft.com/en-us/aspnet/mvc/overview/getting-started/introduction/accessing-your-models-data-from-a-controller I tried reinstalling Visual studio, tried deleting…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,393 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,554 questions
Entity Framework Core Training
Entity Framework Core Training
Entity Framework Core: A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.Training: Instruction to develop new skills.
3 questions
asked 2024-06-10T10:18:57.1966667+00:00
David Kamushadze 20 Reputation points
commented 2024-06-11T14:37:24.1933333+00:00
David Kamushadze 20 Reputation points
1 answer One of the answers was accepted by the question author.

How to hide the modal popup if another modal popup is open in ASP.NET

I am using multiple modal popup window (bootstrap) in the gridview. one is for onclick (link button) second one is for onclick (image button) i have used two different design popup model (dialog). i am facing the issue, when i click linkbutton, it is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,393 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,554 questions
asked 2024-06-07T09:43:53.13+00:00
Gani_tpt 2,092 Reputation points
accepted 2024-06-10T17:47:17.2266667+00:00
Gani_tpt 2,092 Reputation points
1 answer

How to redirect requests to an old url(which uses the default ports) to a new url (which uses custom ports)?

We have a legacy .aspx web forms "web application" running IIS 10 and .Net Framework 4.8. We want to separate it out of the "Default Web Site" and want it to run under it's own website say "MyApplicationSite" Now are the…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,393 questions
asked 2024-06-05T16:40:23.4666667+00:00
techthiru 40 Reputation points
edited a comment 2024-06-10T09:47:02.45+00:00
Sam Wu-MSFT 7,211 Reputation points Microsoft Vendor
1 answer

Confused about how to use Microsoft.AspNetCore.SystemWebAdapters while trying to port from old ASP.NET website to new ASP.NET Core web app

https://stackoverflow.com/questions/78589165/confused-about-how-to-use-microsoft-aspnetcore-systemwebadapters-while-trying-to Can some one tell me how to approach this?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,331 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,393 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,554 questions
asked 2024-06-07T21:23:00.4833333+00:00
Sameer Ranade 0 Reputation points
answered 2024-06-10T00:49:04.55+00:00
Bruce (SqlWork.com) 59,966 Reputation points