question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Example for Asp.Net Core with own controllers

See original GitHub issue

Hi,

I’m trying to use your tool in a project that also hosts some controllers, but I’m having no luck. I’m probably doing something wrong, but if you could give me a hint I’ll be grateful.

I have an Asp.Net Core 2.1 web api project, that exposes a couple of controllers. This project also starts the scheduler, and should include your management tool. The problem is, when I add it, I just can see the initial page but nothing from your Content folder (styles, scripts…) is loaded. And besides that, navigation doesn’t work either.

Thanks in advance

Edit: I’m looking for a similar way to deploy it than CrystalQuartz, that just adding app.UseCrystalQuartz(() => scheduler), it deploys the web in /quartz path

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:4
  • Comments:11

github_iconTop GitHub Comments

2reactions
DenisPavcommented, Apr 2, 2020

@pigiax 👋

You can find sample here. Everything is mostly explained there.

1reaction
DenisPavcommented, Mar 31, 2020

@pigiax Nope, I only have it in a private project. I can probably create an example repo when I catch some time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Part 2, add a controller to an ASP.NET Core MVC app
In Solution Explorer, right-click Controllers > Add > New File. Select ASP.NET Core and Controller Class. Name the controller ...
Read more >
Controllers in ASP.NET Core MVC
In this article, I am going to discuss Controllers in ASP.NET Core MVC application. A controller is a class having a set of...
Read more >
Handle requests with controllers in ASP.NET Core MVC
A controller is used to define and group a set of actions. An action (or action method) is a method on a controller...
Read more >
Controllers in ASP.NET Core
Controllers are stored inside the Controllers folder in the root of the app. They are basically C# classes whose Public methods are called...
Read more >
Controllers in ASP.NET MVC
Controller and its action method handles incoming browser requests, retrieves necessary model data and returns appropriate responses. In ASP.NET MVC, every ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found