15 years too late but it's finally here: server-side logic in Power Pages. What does it change in practice? Unlike Azure Functions, it's just another Power Pages asset that can be added to Power Platform ALM. Perfect for anything that is logic-lite/secret-heavy. Think payments and integrations that need secrets. Server-side logic avoids awkward workarounds using plugins, Power Automate, etc. just to keep keys safe. Re-use your Javascript skills though it's not lift-n-shift from the client-side exercise. Just...
15 years too late but it's finally here: server-side logic in Power Pages.
What does it change in practice?
- Unlike Azure Functions, it's just another Power Pages asset that can be added to Power Platform ALM.
- Perfect for anything that is logic-lite/secret-heavy. Think payments and integrations that need secrets. Server-side logic avoids awkward workarounds using plugins, Power Automate, etc. just to keep keys safe.
- Re-use your Javascript skills though it's not lift-n-shift from the client-side exercise. Just couple new objects to learn: HTTP client for external calls and a Dataverse object for CRUD operations.
- There are plenty of scenarios where client-side Web API is better, like interaction with external services requiring callbacks, for example.
As Nick succulently summed it up:
It doesn't make anything possible we couldn't do before. It just makes doing a lot of things we did do before a lot easier.
References
- Power Pages server logic overview (preview) | Microsoft Learn
Get in touch
-
- voice@crm.audio
- Nick Hayduk @Engineered_Code
- George Doubinski @georgedude
View more