Scott Forsyth's WebLog

Postings on IIS, ASP.NET, SQL Server, Webfarms and general system admin.

Browse by Tags

All Tags » ASP.NET (RSS)
Application vs. AppDomain
A question was asked on a forum that I frequent which I thought was worth writting a blog about. Q: What is the difference between an application and an Appdomain? I understand from my research so far that an Appdomain is a container within which ASPX...
Posted: Sep 02 2007, 07:21 AM by OWScott | with 7 comment(s)
Filed under:
Tool: Creating a custom MachineKey in ASP.NET
There are many times when it is worthwhile to create a custom machineKey for your web.config file. This is worthwhile on a webfarm but also worthwhile on a stand-alone server so that your machineKey remains the same after an iisreset or application pool...
Posted: Dec 13 2006, 09:24 PM by OWScott | with 3 comment(s)
Filed under: ,
Forms Authentication Timeout
This has haunted me a few times in the past, so for my own sake I figured I would write a quick blog that I can reference in the future. Hopefully others find it valuable as well. I ran into an issue today where the forms authentication timeout didn't...
Posted: Jul 15 2006, 05:34 PM by OWScott | with 3 comment(s)
Filed under:
ASPNET_regiis.exe Tool, Setting the Default Version Without Forcing an Upgrade on All Sites
Starting in the first version of ASP.NET, Microsoft has provided a tool to control which version of the framework is registered in IIS. This tool, aspnet_regiis.exe, is quite flexible and with the right understanding of how IIS and ASP.NET work, can be...
Posted: May 30 2006, 08:52 PM by OWScott | with 6 comment(s)
Filed under: ,
ASP.NET v2.0 - AppDomain recycles, more common than before
I stumbled across a very interesting find yesterday morning and Todd Carter confirmed it by sending a link to his blog entry . (it's a good read) First let me cover briefly what an AppDomain is. ASP.NET (.NET Winforms too but I won't cover that here)...
Posted: Feb 21 2006, 09:20 AM by OWScott | with 30 comment(s)
Filed under:
Running multiple versions of the Framework in ASP.NET
Like any good technology, ASP.NET continues to evolve as new versions are released. But, like anything else, this brings with it a number of considerations. Microsoft has done a great job of allowing multiple versions of the framework to run side by side...
Posted: Jan 26 2006, 01:59 PM by OWScott | with 41 comment(s)
Filed under: ,
ASP.NET files and inheritance
I've been completely silent on my blog for a few months while having my head down in projects, but I thought I should start up some activity, even if it's a quickie. I feel that I've been covering so much ground but not enough time to report...
Posted: Dec 29 2005, 09:40 AM by OWScott | with 13 comment(s)
Filed under:
Using connection strings from web.config in ASP.NET v2.0
ASP.NET v2.0 has a couple new ways to reference connection strings stored in the web.config or machine.config file. A typical web.config file in v2.0 could have the following section which is placed directly under the root <configuration> section...
Posted: Aug 26 2005, 11:18 AM by OWScott | with 16 comment(s)
Filed under:
Enabling Roles in ASP.NET v2.0
By default the Roles provider is defined in machine.config but it isn't enabled. Attempting to use the Roles feature before it is enabled will throw the following error: " The Role Manager feature has not been enabled." It's easy to...
Posted: Aug 19 2005, 03:14 PM by OWScott | with 2 comment(s)
Filed under:
Encrypting the connection string in ASP.NET V2.0
ASP.Net V2.0 has much improved encryption over v1.x including the ability to encrypt any part of the connection string. Of course there is some performance overhead to do this so only sections that have sensitive information should be encrypted. I really...
Posted: Jul 29 2005, 01:41 PM by OWScott | with 6 comment(s)
Filed under:
More Posts Next page »