Git Product home page Git Product logo

Comments (5)

glennblock avatar glennblock commented on July 20, 2024

Hi Paul

Don't use Api in the uri. On the version, yes I need to get it updated and
out there.

On Saturday, March 22, 2014, Paul Bouwer [email protected] wrote:

Just a heads up.

The NuGet package on NuGet (
https://www.nuget.org/packages/ScriptCs.WebApi/) is version 0.1.0. The
code here is at version 0.5.0.

I am getting the following error when using the NuGet package (0.1.0) and
executing scriptcs start.csx:

Message: No HTTP resource was found that matches the request URI '
http://localhost:8080/api/Test'.
MessageDetail: No type was found that matches the controller named
'api'.

I don't get this error when using the code here (0.5.0) directly.

Reply to this email directly or view it on GitHubhttps://github.com//issues/14
.

from scriptcs-webapi.

paulbouwer avatar paulbouwer commented on July 20, 2024

Thanks Glenn. That works for me :)

The api bit wasn't obvious since the routeTemplate in the current code base is: "api/{controller}/{id}".

from scriptcs-webapi.

glennblock avatar glennblock commented on July 20, 2024

Which code?

On Saturday, March 22, 2014, Paul Bouwer [email protected] wrote:

Thanks Glenn. That works for me :)

The api bit wasn't obvious since the routeTemplate in the current code
base is: "api/{controller}/{id}".

Reply to this email directly or view it on GitHubhttps://github.com//issues/14#issuecomment-38370323
.

from scriptcs-webapi.

glennblock avatar glennblock commented on July 20, 2024

I see it. That must have come in via a merge. By design it shouldn't be
there since for self host there is no need for an API route. At least there
hasn't been. With OWIN though maybe it should be API.

On Saturday, March 22, 2014, Paul Bouwer [email protected] wrote:

Thanks Glenn. That works for me :)

The api bit wasn't obvious since the routeTemplate in the current code
base is: "api/{controller}/{id}".

Reply to this email directly or view it on GitHubhttps://github.com//issues/14#issuecomment-38370323
.

from scriptcs-webapi.

paulbouwer avatar paulbouwer commented on July 20, 2024

Yes - I saw that it come back in one of the merges after you mentioned it
shouldn't be there.

On Sun, Mar 23, 2014 at 11:39 AM, Glenn Block [email protected]:

I see it. That must have come in via a merge. By design it shouldn't be
there since for self host there is no need for an API route. At least there
hasn't been. With OWIN though maybe it should be API.

On Saturday, March 22, 2014, Paul Bouwer [email protected] wrote:

Thanks Glenn. That works for me :)

The api bit wasn't obvious since the routeTemplate in the current code
base is: "api/{controller}/{id}".

Reply to this email directly or view it on GitHub<
#14 (comment)

.

Reply to this email directly or view it on GitHubhttps://github.com//issues/14#issuecomment-38370384
.

from scriptcs-webapi.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.