RESTFulMicroserviceOverCoreService Self Hosted REST Microservice using OWIN and ASP.NET Web API 2
Open Web Interface for .NET (OWIN) defines an abstraction between .NET web servers and web applications. OWIN decouples the web application from the server, which makes OWIN ideal for self-hosting a web application in your own process, outside of IIS.
ASP.NET Web API - CORS Support in ASP.NET Web API 2. Cross-origin resource sharing (CORS) is a World Wide Web Consortium (W3C) specification (commonly considered part of HTML5) that lets JavaScript overcome the same-origin policy security restriction imposed by browsers.
Methods which are available
GetComponentByTcmUri http://127.0.0.1:8080/Coreservice/getComponentByTcm/6-4451
GetSchemaByTcmUri http://127.0.0.1:8080/Coreservice/getSchemaByTcm/3-152-8
GetAllCategoriesWithInPubByTcmUri http://127.0.0.1:8080/Coreservice/GetAllCategoriesWithInPubByTcmUri/0-6-1
GetKeywordByCategoryID http://127.0.0.1:8080/Coreservice/GetKeywordByCategory/6-3147-512
GetPageTempletByPubID http://127.0.0.1:8080/Coreservice/GetPageTempletByPubID/0-6-1
GetComponentTemplateByPubID http://127.0.0.1:8080/Coreservice/GetComponentTemplateByPubID/0-6-1
GetTemplateBuildingBlockByPubID http://127.0.0.1:8080/Coreservice/GetTemplateBuildingBlockByPubID/0-6-1
GetPageByPubID http://127.0.0.1:8080/Coreservice/GetPageByPubID/0-6-1
GetStructureGroupByPubID http://127.0.0.1:8080/Coreservice/GetStructureGroupByPubID/0-6-1
GetMultimediaComponentByPubID http://127.0.0.1:8080/Coreservice/GetMultimediaComponentByPubID/0-6-1
GetPublicationList http://127.0.0.1:8080/Coreservice/GetPublicationList
GetUserList http://127.0.0.1:8080/Coreservice/GetUserList