WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion articles/imagesharp.web/gettingstarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ public void ConfigureServices(IServiceCollection services) {

public void Configure(IApplicationBuilder app, IWebHostEnvironment env) {

// Add the image processing middleware.
// Add the image processing middleware. Make sure this appears BEFORE app.UseStaticFiles(),
// otherwise images will be served by ASP.NET's static file middleware before ImageSharp can process them.
app.UseImageSharp();

app.UseStaticFiles();
}
```

Expand Down