User Tools

Site Tools


dotnetcore_webapi_to_windows_plesk

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dotnetcore_webapi_to_windows_plesk [2023/02/10 09:33]
sausage
dotnetcore_webapi_to_windows_plesk [2023/02/12 20:59] (current)
sausage
Line 1: Line 1:
-====== Deploying an open, secure-less ​.NET Core WebAPI to a Plesk host ======+====== Deploying an open, insecure ​.NET Core WebAPI to a Plesk host ======
  
 {{:​webapi:​webapi-to-plesk.png?​nolink&​300 |}}If you don't have an account with the likes of the Azure or AWS, but you have your own Windows-based hosting, and you'd like to deploy your own .NET Core WebAPI, it's likely to be quite possible. Even if the host doesn'​t officially support your version of .NET. {{:​webapi:​webapi-to-plesk.png?​nolink&​300 |}}If you don't have an account with the likes of the Azure or AWS, but you have your own Windows-based hosting, and you'd like to deploy your own .NET Core WebAPI, it's likely to be quite possible. Even if the host doesn'​t officially support your version of .NET.
Line 238: Line 238:
  
 If you get a blank page when browsing your api for the first time, try setting a breakpoint. If the breakpoint does hit, check that ''​[Route("​api"​)]''​ and ''​[Route("​games"​)]''​ are on your controller and endpoint respectively. If you get a blank page when browsing your api for the first time, try setting a breakpoint. If the breakpoint does hit, check that ''​[Route("​api"​)]''​ and ''​[Route("​games"​)]''​ are on your controller and endpoint respectively.
 +
 +===== References and Further Reading =====
 +  - https://​www.steps2code.com/​post/​in-process-and-out-of-process-hosting-model-in-asp-net-core
 +  - https://​learn.microsoft.com/​en-us/​aspnet/​core/​test/​troubleshoot-azure-iis?​view=aspnetcore-7.0
 +
dotnetcore_webapi_to_windows_plesk.1676021620.txt.gz ยท Last modified: 2023/02/10 09:33 by sausage