Skip to content

Use on a specific page of web application? #21

Answered by ShrineFox
ShrineFox asked this question in Q&A
Discussion options

You must be logged in to vote

Ahh okay, I was hoping to hear that should be the case normally. Haven't tested on live servers yet, right now this through Visual Studio's IIS on Windows 10. Unless that has to do with it I think I might've configured something wrong then, but not sure what.

I have made a sample project to illustrate what's going on.
First I created a new ASP.NET Core 5.0 project, this time chose Razor Pages instead of MVC (same outcome).
Then I overwrote the default project files with SampleBotSimple from your repository, changing the token and prefix in appsettings.json.
I have it set up so you can test it yourself if you'd like, in Release mode it uses the original HostBuilder which finishes loading a…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Hawxy
Comment options

@ShrineFox
Comment options

@Hawxy
Comment options

Answer selected by ShrineFox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants