10

I tried Prefix from Stackify as an alternative to Glimpse, which doesn't support native ASP.NET Core.

According to this article and the docs, I installed the server application using chocolately. Then installed the NuGet-Package StackifyMiddleware and activated it in the Configure method - bevor MVC is added, like mentioned in the official docs. Finally, I activated .NET profiling using the tray icon and re-opened Visual Studio.

The browser opened the data overview page of Prefix (http://localhost:2012), but no information is collected. I have no hint what I am doing wrong.

Vel
  • 9,027
  • 6
  • 34
  • 66
Lion
  • 16,606
  • 23
  • 86
  • 148
  • Are you running an ASP.NET Core app via Visual Studio? With IIS Express or directly? Here is our docs about this: http://support.stackify.com/hc/en-us/articles/209962473-Using-Prefix-with-ASP-NET-Core-Kestrel – Matt Watson Jan 20 '17 at 14:31
  • @MattWatson Thanks for the answear, cool that you're directly supporting our product here! :) I used Krestel (so without IIS) and already found this article in our kb. Now I tried this on a brand new ASP.NET core app (Visual Studio 2015 default template) and it works. Is Prefix not compatible with .NET Core 1.1? That's the only difference I can see. The new test-app is running 1.0.1 cause Visual Studio doesn't have updated their templates yet. My real project-app use 1.1.0. – Lion Jan 20 '17 at 16:12
  • @MattWatson - did everything your docs recommend - still no luck. IIS express hosted version works fine, self-hosted doesn't seem to hit prefix at all. Any pointers? (Neither Core 1.0, nor Core 1.1, nor Core 2.0 work) – vzwick Sep 01 '17 at 14:50
  • 1
    @MattWatson Followed your docs and did all the steps in it. Did not work for me! My project is also built with 1.1.0. – Syed Sep 18 '17 at 10:15
  • I'm trying StackifyMiddleware with IIS as reverse proxy and I don't get much data. For example, it doesn't even show the Request (header and etc) and Response that were made. It only says that I request was made. Is that normal? – Lineker Jan 29 '18 at 15:35
  • 2
    Same here, using IIS. ASP Core 2. Visual studio community 2017. – alelom Feb 14 '18 at 19:19
  • I have the same issue if "IIS Express" is used, if I use "IIS" - it works! – Johan Helsén Jan 15 '19 at 09:39
  • @MattWatson Same issue VS 2017 (15.9.5) with ASP.NET Core 2.1 or 2.2 + IIS Express – Adam Łepkowski Jan 22 '19 at 20:25

1 Answers1

0

I solved the problem creating a file named Stackify.json in the deployment folder of your application with

{ "AppName": "MyApp" }