Abdessamad Jadid
Abdessamad Jadid

Reputation: 401

How to migrate existing Asp.net application to WebApi

Hello Stackers,

I have an Asp.net Mvc and i wanna migrate the index page from it to an Web Api i wanna know if there is any pattern or approach to follow for making it more easy. i google it but i didn't found a useful answer.

Any answer will be appreciate it.

Thanks

Upvotes: 0

Views: 877

Answers (1)

Kev
Kev

Reputation: 561

I am not sure if there is a pattern, but next some steps that could help.

  • Group all your services that returns, saves, delete or do some work in the backend. On your backend you could create a new layer (New project or new namespace) to call the existing ones and export those services as Web API endpoints.
  • On your frontend check how are you going to consume your Web API services. I mean if you are going to call it directly with javascript or maybe using some library or framework.

Those are going to be the first steps.

Upvotes: 1

Related Questions