C# Rest api

Leandro Ostyn 6 Reputation points
2020-11-23T21:33:39.413+00:00

Hello, i made an Rest api in .net Core while i ran the api on local it worked fine, but from the moment i published it the

/api/Page

Doesnt work i get a removed error, i found (i think) this is because there is no www.root in my project ? but i'm kinda stuck, if you need anymore information please shout , this is my first post so if i make rookie mistakes, i'm sorry!

i published this api as a appservice is that the reason?

with Kind regards Leandro.

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,153 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Leandro Ostyn 6 Reputation points
    2020-11-24T18:45:16.647+00:00

    Hello thank you for your reply ! i found my mistake in the mean while :

    i published it in app -services but also on my api-service, and thats the reason it got confused, so my services got made everytime, but never actually published, after deleting the api service on azure , it worked like a charm !

    ps. how do i close this awnser?

    1 person found this answer helpful.
    0 comments No comments