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

Port Jabbot from Console app to ASP.NET MVC #12

Open
andrewtobin opened this issue Jan 9, 2012 · 9 comments
Open

Port Jabbot from Console app to ASP.NET MVC #12

andrewtobin opened this issue Jan 9, 2012 · 9 comments

Comments

@andrewtobin
Copy link
Member

http://nuget.org/packages/SignalR
https://github.com/davidfowl/Jabbot/

Starts a app-pool-recycle resillient worker process for checking messages sent to it, and returning messages.

Can we do a persistent connection from an ASP.NET page, or would we have to do a hosted bot somehow?

@andrewtobin
Copy link
Member Author

Doing it in SignalR - so we have a bot in SignalR talking live back to the chat room was a great suggestion.

SignalR <--> SignalR - keeping both live.

@andrewtobin
Copy link
Member Author

***************** WE'RE LEAVING IT IN CONSOLE TO BEGIN WITH - WILL ADVISE WHEN WE'RE RIGHT TO CHANGE OVER

@ghost
Copy link

ghost commented Jan 11, 2012

This has been started, but with NancyFx rather than ASP.NET MVC

@DavidBurela
Copy link

Any reason for the switch from MVC to NancyFx?
Is it just to avoid the app pool recycling? You're going to have that issue anyway if AppHb reboots a deployment?

@ghost
Copy link

ghost commented Jan 12, 2012

Nancy's really nice. Also thats what @shiftkey had made it before he told me to go nuts.

@shiftkey
Copy link
Member

To clarify, we went with NancyFx because @sethwebster contributed the initial web code.

@DavidBurela
Copy link

We need to get Paul Stovell to submit some initial code, so that we're all
using StovellFx ;-)

On 12 January 2012 22:31, Brendan Forster <
[email protected]

wrote:

To clarify, we went with NancyFx because @sethwebster contributed the
initial web code.


Reply to this email directly or view it on GitHub:
#12 (comment)

@sethwebster
Copy link
Contributor

I've got a working Nancy host working on AppHarbor -- it's running twitterbot.

I went with Nancy for fun, more than as a design decision. I've gotten around the App recycling using my MomentApp nuget package. Basically, upon app start, the app creates a scheduled moment job to ping the service again in 2 minutes, once that happens, another scheduled job is created and so forth.

Something more robust would be needed for a mission critical app, but this strategy is simple, and free.

@shiftkey
Copy link
Member

Gotta agree with @sethwebster on this - plus we've had the NancyFx guys hanging out in the chatroom to help with a couple of questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants