title: What is the difference between HostingEnvironment class and HttpRuntime class?
body: <p>As you can see here <a href="http://msdn.microsoft.com/en-us/library/ms178473.aspx">ASP.NET Application Life Cycle</a>, there are two pictures. On the first there is created HostingEnvironment class in AppDomain, on the second is created HttpRuntime class in it. From their definitions i dont understand the difference between them. When is created one and when is created the second during application life cycle? What is the difference between HostingEnvironment class and HttpRuntime class in context of apllication life cycle?</p>