0
patrickglaudemans created
Hi,
(by mistake I also posted this question in non premium zero. If preferred, you can delete it there - sorry)
I'm developing a .net windows service. I want to connect this service to my zero application layer. The application layer still follows the initial setup. Api controllers are therefore dynamically created.
- I want to connect to the application layer with REST. What is the best way to set that up with ExternalBearer token etc.
- I want to connect an angular file upload call to my application service. Therefore, I have to enhance the Web Api wrapper controller. Should I then manually create the web api controller? How should i do that? I want to create something like this: public class FilesController : ApiController { [HttpPost] // This is from System.Web.Http, and not from System.Web.Mvc public async Task<HttpResponseMessage> Upload() { if (!Request.Content.IsMimeMultipartContent()) { this.Request.CreateResponse(HttpStatusCode.UnsupportedMediaType); } (...) etc.
Thanks for all your help in advance - hope others can gain something from it as well!
3 Answer(s)
-
0
Answered here: #655@fb5b3fb3-c0ea-4967-a2cf-987b1dec4bfe
-
0
<cite>hikalkan: </cite> Answered here: <a class="postlink" href="http://forum.aspnetboilerplate.com/viewtopic.php?f=3&t=784&p=2709#p2709">http://forum.aspnetboilerplate.com/view ... 2709#p2709</a>
@hikalkan this link is not working. Pls advice the correct link.
Thanks /tommy