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

Replace Kayak #18

Closed
hibri opened this issue Mar 21, 2014 · 12 comments
Closed

Replace Kayak #18

hibri opened this issue Mar 21, 2014 · 12 comments
Labels

Comments

@hibri
Copy link
Owner

hibri commented Mar 21, 2014

No description provided.

@knocte
Copy link
Collaborator

knocte commented Mar 21, 2014

why?

@hibri
Copy link
Owner Author

hibri commented Mar 21, 2014

Not maintained any more. last commit in kayak was 2 years ago
HttpListener is a better candidate, and the code can be cleaner.
http://msdn.microsoft.com/en-us/library/vstudio/system.net.httplistener

@knocte
Copy link
Collaborator

knocte commented Mar 21, 2014

+1

@nikklassen
Copy link

I was going to use HttpListener to create a fake http server but I found your package instead. I think I could help you with using HttpListener if you're interested.

@hibri
Copy link
Owner Author

hibri commented Mar 27, 2014

@nikklassen That would be great. I'm spiking it, but haven't had time to work on it a lot. Feel free to have a go.

@jozefizso
Copy link
Contributor

What about using the new Katana and OWIN projects? They provide great self hosting capabilities for web based applications: http://www.asp.net/aspnet/overview/owin-and-katana/an-overview-of-project-katana

@hibri
Copy link
Owner Author

hibri commented Oct 3, 2014

Hey @jozefizso Apologies for the late reply. I've been away. HttpMock isn't intended to serve web applications. I need an HTTP server, that I can hook into at runtime, without needing to define routes and handlers.

@jozefizso
Copy link
Contributor

I see. I though that OWIN would provide such hooks.

@mfilippov
Copy link

@hibri What you think about Nowin https://github.com/Bobris/Nowin? This is pure .NET web server. You can build you own OWIN middleware without routing and etc.

@hibri
Copy link
Owner Author

hibri commented Sep 4, 2015

@mfilippov thanks for that. I'll look into it. Feel free to send me a PR with a spike :)

@oschwald
Copy link
Contributor

oschwald commented Sep 4, 2015

FWIW, I am running into this issue with Kayak when trying to use this library (everything installed from NuGet):

System.TypeLoadException : Could not load type 'Kayak.KayakScheduler' from assembly 'Kayak, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.

Result StackTrace:  
at HttpMock.HttpServer..ctor(Uri uri)
at HttpMock.HttpServerFactory.Create(Uri uri) in c:\dev\HttpMock\src\HttpMock\HttpServerFactory.cs:line 23
at HttpMock.HttpServerFactory.Get(Uri uri) in c:\dev\HttpMock\src\HttpMock\HttpServerFactory.cs:line 16
at HttpMock.HttpMockRepository.At(Uri uri) in c:\dev\HttpMock\src\HttpMock\HttpMockRepository.cs:line 19
at HttpMock.HttpMockRepository.At(String uri) in c:\dev\HttpMock\src\HttpMock\HttpMockRepository.cs:line 14
at MaxMind.GeoIP2.UnitTests.WebServiceClientTests.AddressNotFoundShouldThrowException() in C:\Users\Gregory\Documents\GitHub\GeoIP2-dotnet\GeoIP2.UnitTests\WebServiceClientTests.cs:line 32

@hibri
Copy link
Owner Author

hibri commented Sep 5, 2015

@oschwald could you please reproduce this and raise a separate issue for this ? I'd like to fix it with the current implementation if possible. Thanks for reporting it :)

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

No branches or pull requests

6 participants