MS Service Fabric for hosting both MVC and services

Will this be a valid approach to host both the interface (asp.net MVC 6) and the backend (WCF / WebAPI services) in the MS Service Fabric? The fabric is sold as a service platform. Since MVC and services must scale, does it make sense to have both layers in the Service Fabric? Not dealing with the placement of the frontend part separley, not to mention scaling, it sounds very convincing.

+4
source share
2 answers

Maybe I'm wrong, but I'm not 100% sure that you can host an ASP.NET MVC 6 or WCF application inside a Service Fabric, but you can certainly host a Web API application. Regardless of which Asp.Net application you need to support OWIN standalone hosting, I am not completely sure of MVC or WCF support. If you find that you can host all of these applications, then you must have it!

, - , , (HTML, JS) -API, Service Fabric. OWIN (, , Service Fabric), GZip, -, nginx, , , GZip . , , , Azure Web App, GZip.

, !

+1

Fabric Service, VS, ASP.Net Core MVC. Kestral -, , IIS OWIN. Kestral, GZip ( GZip),

0

All Articles