Comments (5)
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.
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.
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.
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.
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)
- Change type logic to include the script controllers always. HOT 1
- Error <The name 'Require' does not exist> when trying the sample for webapi server HOT 1
- Add Web API 2.0 support
- Add OWIN support
- Add helpers for formatters and handlers
- Getting started with Web API using the pack does not work, part 1
- Getting started with Web API using the pack does not work, part 2 HOT 2
- fix CI build HOT 2
- Fix for scriptcs 0.15.0 HOT 2
- Cannot resolve dependency on Owin
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scriptcs-webapi.