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
5
votes
1 answer

IIS - CPU Usage Gradually Increases Over Several Days Until 100%

The picture explains it all. We have had a problem with an IIS MVC 5 website hosted on Microsoft Azure over the last several months. The site appears to continually eat up CPU over a few days until it reaches 100% CPU. I have used Perfmon/DebugDiag…
5
votes
3 answers

Missing "Machine Key" in IIS manager

A number of guides on setting the ASP.NET machineKey via the IIS manager tell me to open up the "Machine Key" section in the Feature View, for example:             My IIS install doesn't have this icon. How do I add it? I've had a good look through…
RomanSt
  • 1,207
  • 1
  • 15
  • 32
5
votes
5 answers

New Session Failed

We've started to see instances on our Intranet server where for any page the server just responds with the error page 'HTTP/1.1 New Session Failed'. It seems we can fix it by running IISRESET but this feels like we're only treating the symptom. The…
PhilPursglove
  • 442
  • 2
  • 7
  • 17
5
votes
1 answer

IIS 7.5 truncating POST body containing JSON data with ASP.NET MVC 3

I'm facing a problem which I hope is a configuration thing with IIS but is right now giving a lot of trouble. Basically I have a controller that accepts a JSON and does some processing. While it generally works fine, but every now and then when the…
5
votes
0 answers

Corrupt General Tab in Event Viewer

Whenever ASP.NET reports a dangerous query string value to the Application log and the request contains a certain combination of characters; the event viewer will not show the error information and only shows 1 or 2 special characters. Clicking…
5
votes
4 answers

Very, very simple asp.net page takes forever to load

I've got a page that couldn't be more simple: <%@ Page Trace="true" %>

Hello World

Other Page

<%=DateTime.Now.ToString()%> ... but it takes forever to load.…

John Hoge
  • 619
  • 3
  • 7
  • 14
5
votes
2 answers

ASP.NET app eating memory. Application / Session objects the reason?

So we're stress testing an ASP.NET application developed by an external company. We're doing roughly 50 requests per second, and after about half an hour each of the 48 worker process (w3wp.exe) is up to about 400 MB and counting. Running on…
Nilzor
  • 185
  • 2
  • 9
5
votes
1 answer

Is ASP.NET's Membership system secure enough?

Is the Membership system included in ASP.NET secure enough to use in a real-world web site? Since I'm not interested in creating my own providers, I'm only interested in the providers Microsoft built in to the system.
Graham Powell
  • 410
  • 2
  • 8
5
votes
4 answers

500 Internal Server Error after changing .NET Framework Version to 4.0 in IIS7

I just changed my .NET Framework Version of the Application Pools in IIS7 Manager, following Specify a .NET Framework Version for an Application Pool (IIS 7) instructions by Microsoft Technet. Now when I try to re-upload my ASP.NET page, it shows me…
René
  • 241
  • 2
  • 3
  • 10
5
votes
2 answers

How do I secure a .NET (MVC) website prior to launch?

I have a .NET (MVC2) website that is in development. I have deployed it to some production infrastructure, and tested it over the internet with anonymous access (as it will be once it is live) and it works fine. Between now and the go-live date I…
5
votes
1 answer

ASP.NET cache trimming aware of app pool memory limit?

I’m running a ASP.NET application on Win2003 32bit that tends to allocate a lot of memory. To avoid OutOfMemoryExceptions that start to appear when the W3P process exceeds 1 GB, I have set a maximum virtual memory limit of 850 MB for the this…
realMarkusSchmidt
  • 540
  • 1
  • 7
  • 16
5
votes
1 answer

Cannot get IIS7 to send cookies to IE

I have a web application that I have created that uses the basic asp.net authentication. The authentication systems are working fine code-wise, however I cannot get IIS7 to send the cookies to IE web browsers. When I browse to my site in Chrome…
KallDrexx
  • 306
  • 1
  • 3
  • 12
5
votes
2 answers

IIS Application Initialization isn't running even though all settings are configured

The end goal is to make it so that whenever my app pool is recycled (which should happen whenever I release an update for the site), my site gets visited once to "warm up". Typically the first visit after a recycle takes 2.5 seconds and then…
Coder7862396
  • 51
  • 1
  • 4
4
votes
5 answers

ASP.NET Future on linux?

I was wondering. What do you guys think about ASP.NET future on linux? I dont know much about IIS and i know some things about linux. I dont want to program anything in php and while searching for host i have a difficult time finding a host i like…
user274
4
votes
3 answers

Azure high availability solution with synchronization of website and SQL server data

We have a web solution that we sell and it comes with 1 dedicated Azure VM containing everything it requires to run the application: ASP.NET web application Production environment QA environment SQL server containing data for both PROD and QA…
Zeep
  • 107
  • 2
  • 6