Questions tagged [asp.net]

Web application framework developed by Microsoft

ASP.NET is a web application framework developed by Microsoft that allows web developers to create dynamic web sites and applications.

First released in January 2002 it is the successor to Microsoft's Active Server Pages (ASP) technology.

ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code using any supported .NET language such as C# or VB.NET.

1234 questions
15
votes
3 answers

Do you use performance counters on production IIS web sites?

Do you keep the counter ON during heavy production loads Which performance counters do you find useful for ASP.Net/IIS 6.0 websites?
Kb.
  • 285
  • 1
  • 2
  • 8
14
votes
1 answer

Load-Balanced IIS 7.5 Web Server ASP.NET Session State problem

we have a problem with an ASP.NET website where the users' sessions are behaving oddly - session data appearing, disappearing and re-appearing. I think I know what the problem is: Our setup is 2 x Load balanced WebServers + single session state…
James McCormack
  • 243
  • 1
  • 2
  • 7
13
votes
5 answers

Windows Authentication kept asking for username/password

I am deploying my web application on iis6. I kept receive this "windows security" pop up to enter user name and password.. I have already disabled anonymous user, and checked integrated windows authentication but it just wont "automatically" login.…
Huatsin Yeo
13
votes
5 answers

How can I add ACL permissions for IIS APPPOOL\* accounts via Powershell?

I want to be able to set the IIS account for new websites to have modify permissions. I have the following script: function Set-ModifyPermission ($directory, $username, $domain = 'IIS APPPOOL') { $inherit =…
bdukes
  • 235
  • 1
  • 2
  • 9
13
votes
11 answers

Chinese Hacker-Bots attempting to exploit our systems 24/7

Our sites our constantly under attack from bots with IP addresses resolving to China, attempting to exploit our systems. While their attacks are proving unsuccessful, they are a constant drain on our servers resources. A sample of the attacks would…
George
  • 293
  • 3
  • 11
12
votes
1 answer

Disable TLS 1.2 stops RST packets

Environment, Web server - Server 2012 R2, IIS 8, ASP.NET application Firewall Cisco 5515 Un-Managed HP switches, No vlaning Client has been using Curl from the outside to hit our application. No one else should be using the server. Using wireshark i…
Anthony Fornito
  • 9,546
  • 1
  • 34
  • 124
12
votes
1 answer

Why are 32-bit application pools more efficient in IIS?

I've been running load tests with two different ASP.NET web applications in IIS. The tests are run with 5,10,25, and 250 user agents. Tested on a box with 8 GB RAM, Windows 7 Ultimate x64. The same box running both IIS and the load test…
mhenry1384
  • 535
  • 6
  • 15
12
votes
4 answers

IIS7 ASP.NET application - 2 identical apps in 2 identical app pools, 1 is responsive and 1 is not

I have an ASP.NET (v4.0) web app that is installed in a virtual directory (as an application) and is hosted in it's own app pool. This is repeated for each instance of the app (i.e. per customer). The app pools are integrated (not classic) mode and…
Ben
11
votes
1 answer

Is the serviceAutoStartProvider attribute required to auto-start an ASP.NET application?

I've been reading Scott Guthrie's post on Auto-Start ASP.NET Applications, which provides examples on how to setup an ASP.NET 4.0 application to auto-start.
ahsteele
  • 375
  • 1
  • 6
  • 14
11
votes
3 answers

Will an IIS reset force cached items to be resent?

I'm trying to develop a strategy to handle cached javascript files, css, images, etc when we release an update to our site. Before I get into implementing version numbers on the javascript files I was wondering if an IIS reset after each release…
DaveK
  • 213
  • 1
  • 2
  • 6
11
votes
4 answers

Asp.net 4.0 Handler Mappings Missing in IIS7

I have two Windows 2008 R2 Servers running an asp.net 4.0 app. The server that is having problems actually loads asp.net pages just fine, but if there are any ajax calls they don't work. I noticed there are no .net 4.0 specific Handler Mappings in…
Marc
  • 405
  • 2
  • 5
  • 11
11
votes
3 answers

IIS 7 returns 304 instead of 200

I have a strange issue with IIS 7. Sometimes it seems to return a 304 instead of a 200. Here is a sample request captured with Fiddler: (Note that the file requested is not located in my browsers cache yet.) GET…
Ola Herrdahl
  • 266
  • 1
  • 2
  • 6
10
votes
2 answers

Getting a 404 error after upgrading to ASP.NET 4.5

I recently upgraded my web app to .NET 4.5. After pushing the code to our testing environment, I get a "404 - File or directory not found." error. The code runs fine from my VS2013 desktop. The web server is running IIS 7.5 on W2K08 R2. I can…
jbonwell
  • 211
  • 2
  • 8
10
votes
3 answers

How to redirect users to different servers based on their location?

I have a website which is developed by using ASP.NET and MY DB is MySQL. Currently it hosted in USA Servers. But When I try to access it near India dynamic contents are loading too slowly. It is acceptable since request has to go to another side of…
10
votes
2 answers

Unable to get anything except 403 from a .Net 4.5 website

Scenario: Clean Server 2008 R2 Install with IIS Role. Installed Framework 3.5 (Server Features) Installed Framework 4.5 RC (MS Download) executed C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis.exe -i (I'd use -iru on existing servers…
Basic
  • 426
  • 2
  • 9
  • 23
1
2
3
82 83