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?
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…
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 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 -…
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?
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
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…
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…
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…
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…
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…
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…
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"…
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…
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…
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…
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…
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…
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…
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?