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.

1240 questions
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.
4
votes
1 answer

Is ASP.NET debug mode a security risk?

Turning off debug mode in ASP.NET is one of the things that's mentioned even in the most beginner tutorials on ASP.NET security. Unfortunately, in website projects debug mode is the only way to obtain line numbers with exception stacktraces: you…
RomanSt
  • 1,217
  • 1
  • 15
  • 32
3
votes
0 answers

asp.net core publish cause ERROR_FILE_IN_USE

I deploy using VS2015 by publish to production share folder, but if the site is running the publish script will stop at ERROR_FILE_IN_USE because of asp.net Core is using an executable as web server. how do i auto stop the site before publish and…
2
votes
3 answers

IIS service is running as Local System account, so how do I give it shared directory permissions?

My ASP page reads a file from a shared directory and sends it to the user. Response.Clear(); Response.ContentType = "application/octet-stream"; Response.AddHeader("Content-Disposition:", string.Format("attachment;…
yyyykk
  • 41
2
votes
2 answers

Accelerate font transfer speed on web page loading

I got a web site (ASP.Net web form hosted on IIS7) that is getting slow to load. If I remove all image of the loading time, the things that got the bigger part of time is the loading of the font file (.woff in Chrome). I activated the gzip…
Muffun
  • 123
1
vote
0 answers

In a web.config file how can I append to PATH

I have a 3rd party dll that needs to be loaded by my Web app. It requires a bunch of other files that are in its directory and I don't want to try to copy them all over to the Web app. If I set the system PATH, it can find it at run time. But I…
Solx
  • 111
  • 2
1
vote
3 answers

what are the best practices in web farms

When move from single server to web farms, what are the best practices to deal with DB connection and log files and other issues.
northTiger
1
vote
2 answers

Network Load Balancing - Same Server Two Sites

We've had to come up with a solution at work to do day-time releases of our intranet application whilst maintaining 100% uptime. This is because we do builds during the day with high-priority bug fixes that have to go out on the same day. An option…
1
vote
0 answers

ASP.NET State Service on Single Server

A little background first: We have collapsed a couple of our servers in our staging environment. Previously a state service was setup between two separate servers sharing a session. These have since been collapsed into a single server – and this is…
1
vote
1 answer

asp.net with load balancer

I have created an ASP.NET-based relying party application and this application is deployed on farm-server where load balancing is enabled and sticky session is also used. When request come from single server in that time its working fine but during…
1
vote
1 answer

Is this ASP.Net Server Resource Usage Too High?

I don't have any background at all in ASP or MS server technologies, but this seems a bit odd to me - A vendor told my company that their software (written in ASP.Net) required the following on our server(s) for every 5 users of the system. 2…
Kyle Lowry
  • 279
  • 1
  • 2
  • 9
0
votes
2 answers

Slow response of asp.net website on blocking ports

We have about 8 asp.net websites running on Windows 2008 R2 server. Recently we were informed of case registered against our instance for DOS attack via UDP port 53 on two IPs. On exploring, we found a DbSecuritySpt folder in our C: drive. We…
0
votes
1 answer

how can I know if this specific thread is still running on the server?

I am using a thread in my ASP.Net application to be run in the backGround every 2 hours, using C# See code below, but my question is how can I know if this specific thread is still running on the server ?? Note: I am using Windows server 2008 R2…
0
votes
1 answer

Web site administration tool - Create admin user

How can I create a user as an administrator using web site administration tool?
arun
0
votes
1 answer

WindowsServer 2008 - Temporary ASP.NET files

In Windows Server 2008, I see compiled binaries land in "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files" instead of "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files". WHats the reason and what should…
Sam
  • 1
1
2