Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Non ASP .NET sample? #65

Closed
isaacabraham opened this issue Feb 2, 2017 · 5 comments
Closed

[Feature Request] Non ASP .NET sample? #65

isaacabraham opened this issue Feb 2, 2017 · 5 comments
Labels
question Further information is requested. Stack Overflow candidate

Comments

@isaacabraham
Copy link

Can we have a sample that doesn't use ASP .NET to interact with the bot API etc.? Just something super simple so that we have a distilled example of the bot API calls without the ASP .NET stuff around it.

@willportnoy
Copy link
Member

There is some unit test code that doesn't require asp.net. Are you primarily hoping to see the essential aspects of the bot logic?

@isaacabraham
Copy link
Author

Exactly. Writing a bot, hosting it in a simple console, receiving a message, responding to a message etc.. Can you use the .NET SDK in that way? How would you handle auth? etc.

@willportnoy
Copy link
Member

@isaacabraham we're doing some work to separate out dependencies on particular versions of asp.net, but in the end, you still need to expose a web endpoint for your bot service.

FormTest (C#) and the ConsoleConnector (node) show how you might interact with your bot through the console. But often people who want a completely custom client use something like DirectLine.

@isaacabraham
Copy link
Author

There are several web frameworks on .net, of which ASP .NET. Where things could be improved would be using a bare bones example. Even using OwinHost would be a start, but ideally moving away from the magic attributes etc. would be best so people can write their own bot wrappers.

@nwhitmont nwhitmont changed the title Non ASP .NET sample [Feature Request] Non ASP .NET sample Jul 5, 2017
@nwhitmont nwhitmont added enhancement question Further information is requested. Stack Overflow candidate labels Jul 5, 2017
@nwhitmont nwhitmont changed the title [Feature Request] Non ASP .NET sample [Feature Request] Non ASP .NET sample? Jul 5, 2017
@sgellock
Copy link
Member

closed due to inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested. Stack Overflow candidate
Projects
None yet
Development

No branches or pull requests

4 participants