Posts
1147
Comments
891
Trackbacks
1
Asp.NET Core + IIS + PEBKAC = WTF, Asp.NET Core + IIS – PEBKAC = Success

Thankfully, the issue, as it usually is, was with me.

At some point, the publishOptions section of project.json switched from having an exclude section and put in an include section instead (which makes sense enough).

Turns out if you don’t include, you know, all your content and views and whatnot, IIS doesn’t have anything to serve up.

BTW, logging helps.  Duh.

Once I figured out that it was serving static content (which a helpful doc tells you to do, which requires that you read the helpful doc), it became easy to track down.

It does publish an .exe instead of a .dll, and I haven’t figured out how to publish without manual steps yet, but that tooling is supposedly coming soon, and should be workable in the interim.

Whew.

posted on Tuesday, August 23, 2016 4:08 PM Print
Comments
No comments posted yet.

Post Comment

Title *
Name *
Email
Url
Comment *  
Please add 6 and 2 and type the answer here: