[Announcement] Change to IIS hosting model
Discussions for aspnet/Announcements#69
I have a server that is Windows 2008 Web Server, not R2. Does this mean I won't be able to run ASP.NET 5 on my server?
@joeaudette ASP.NET 5 was never supported on Windows Server 2008. The minimum requirement was always Windows Server 2008 R2.
I guess I understand that but it is a real bummer for me as it is the only server I have. I'm working on a new open source project for asp.net 5 and now I have nowhere to host it.
azure
yeah but Azure/SqlAzure is kind of expensive for me especially vs a free server that I already have, and especially for an open source project that isn't making me money.
I'm not entirely sure about the whole plus story here, but this seems like a big step backwards to me.
A few downsides and questions I can see:
- We're changing a robust application hosting platform for.... one that isn't (at least yet). What would the recycling story be here, for example?
- How about support? what tooling would a sysadmin have to quickly figure out which kestrel process belongs to what site/application so they can, for example, capture a dump?
- What's the management story? Seems like now the admin will need to deal with a whole other mess of things.
- What's the performance level of Kestrel as of now? Can it keep up with IIS on the front-end?
why Microsoft.AspNet.Server.WebListener server is still an option? I'm just curious.
Does the removal of web.config have any consequence in this new model? For .net we still have app.config, but in <system.webserver> we could configure quite a lot of IIS things. I know most of the stuff is now handled (and configurable) by ASP.NET 5 but probably not everything.
Let's say for a minute that I want to do the static file serving from IIS. Is it possible? If yes, previously I could configure MIME types, compression, etc. from web.config how do I do that now?
Can we at least have the sources for Helios for those who still want to use it? The reasons given for dropping support sound reasonable, but I kind of agree with @tomasr that there are also downsides, particularly in this early phase of vNext where tooling doesn't have the same level of maturity as tooling that has been around for IIS for a while. That's also not to mention performance impacts @DamianEdwards mentioned, but also downplayed. Maybe aspnet/Home#58 should be revisited?
So is w3wp.exe totally out of the picture? We have a large number of tuning/performance settings configured for our application pools such as recycling, logging recycle events, CPU limit, idle time out, etc. Do these get flowed to the new model or are those unsupported? What about all the tools, including Microsoft's own such as SCOM APM and DebugDiag. Will those support this new model or will they need significant upgrades?
its just an IIS module that will create a process and proxy requests to said process. I'd assume all of that still needs to run in an app pool as its an IIS module, so its more than likely that app pool recycling will work.
@joeaudette Can you use azure for hosting?
@aggieben Nope, Helios isn't open source and it won't be. You could always write a native IIS module from scratch but I'd recommend against it.
@jods4 web.config and <system.webServer> still work in this new model. IIS configuration is still there, but for .NET based configuration it's not going to be used.
@davidfowl I'm going to consider Azure/SqlAzure but I'm worried about the costs.
Cool, but what about IIS7? Isn't it possible to host aspnet apps under IIS7 on Win7 anymore?
I'm actually a huge fan of these changes. The big reason I like this, is that it simplifies the hosting model between OS's
Most likely people hosting DNX in linux will (most likely) proxy the requests through something like Nginx, so I'm glad to see the same idea being implemented in IIS.
This lets all the platforms be equal, and not have Windows seem like a first class citizen.
@davidfowl OK thanks. That's important because it's a lot easier to ship an application to a customer and say "just copy those files over" rather than try to explain them how to configure IIS, which -- although they're supposed to be the server admin -- they are often somehow unable to do properly.
I assume web sockets go through cross-process as well?
@jods4 websockets flow across the process just fine
@evil-shrike Windows 7 has IIS 7.5, not IIS 7. We require IIS 7.5 as a minimum and the HttpPlatformHandler is being updated to support running on IIS 7.5