Comments (3)
From @Praburaj on August 6, 2014 16:1
The text file was served in the first place without app.UseStaticFiles()
is because IIS staticfile module handled the request. This does not work when you move out of IIS and use WebListener/Kestrel. So registering static files middleware is necessary for a reliable/predictable static file behavior.
from diagnostics.
From @richlander on August 6, 2014 16:38
I didn't move out of IIS in this scenario, however. The environment was IIS throughout.
from diagnostics.
UseWelcomePage takes an optional argument to specify the path it should listen on (exact match). However, the default is wildcard/any. Maybe the default should be "/", the current root.
Side note, this issue should be moved to the Diagnostics repo.
from diagnostics.
Related Issues (20)
- Revisit health check logging HOT 3
- Alive check, readiness check... where is the busy check? HOT 3
- UseDeveloperExceptionJson middelware HOT 1
- UseStatusCodePagesWithReExecute behaves differently in 2.1.x (migration from 1.1.x) HOT 8
- Health Check service should not catch exceptions caused by cancellation HOT 1
- Cache headers HOT 2
- Add support for push-based health checks HOT 7
- [Feature request] HealthCheckResult and health checks execution time HOT 6
- Development in both Windows and Mac HOT 1
- Configuration of the health check option ResultStatusCodes HOT 1
- In Preview3 IHealthCheck doesn't seem to be able to return granular HealthStatus HOT 3
- Consider changing the option name related to cache headers
- Nested paths screw up health check filters HOT 4
- Multiple health check endpoints HOT 3
- Consider changing HealthStatus HOT 8
- Cannot configure multiple paths over same custom port HOT 2
- Ability to throttle calls to IHealthCheck HOT 3
- ArgumentNullException when not setting Name in IHealthCheck HOT 2
- JsonResponseWriter in Health checks assembly HOT 2
- Did something change when registering health checks in preview3? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diagnostics.