Glimpse - Azure function migration from .net6 in-process to .net8 isolated
Microsoft/Azure periodically announces the end of support for some services and ask us to migrate to a new version/release when they come up with a robust solution than the deprecated.
In this post we are going to see a glimpse/UI configuration change of azure function 𝗺𝗶𝗴𝗿𝗮𝘁𝗶𝗼𝗻 𝗳𝗿𝗼𝗺 .𝗻𝗲𝘁𝟲 𝗶𝗻-𝗽𝗿𝗼𝗰𝗲𝘀𝘀 𝗺𝗼𝗱𝗲𝗹 𝘁𝗼 .𝗻𝗲𝘁𝟴 𝗶𝘀𝗼𝗹𝗮𝘁𝗲𝗱. Here, I'm not going to deep dive about the migration whereas going to see the illustration of changing .net version from UI. For learning, GUI is the best place to start. So, as a dev guy we would prefer azure portal mostly.
Consider a scenario that, you're requested to migrate your existing .net6 function app to be migrated .net8 isolated, you would go to settings panel and try to change the version in configuration, but the option would be disabled, it was disabled for me initially. Shocking and Afraid! After some point of time, I followed as below illustrated.
- Going to Configuration and verifying .𝗡𝗲𝘁 𝟴 𝗜𝘀𝗼𝗹𝗮𝘁𝗲𝗱 - it is disabled.
- Going to Environment Variables section under the same settings blade. 2.1 𝘊𝘩𝘢𝘯𝘨𝘦 𝘵𝘩𝘦 𝘷𝘢𝘭𝘶𝘦 𝘧𝘳𝘰𝘮 "𝘥𝘰𝘵𝘯𝘦𝘵" 𝘵𝘰 "𝘥𝘰𝘵𝘯𝘦𝘵-𝘪𝘴𝘰𝘭𝘢𝘵𝘦𝘥" for 𝙁𝙐𝙉𝘾𝙏𝙄𝙊𝙉𝙎_𝙒𝙊𝙍𝙆𝙀𝙍_𝙍𝙐𝙉𝙏𝙄𝙈𝙀 and save it.
- Now, you can see .Net 8 Isolated is enabled.
You may not face this scenario, but this post will help you if you come across it.
I welcome your thoughts always.
Comments
Post a Comment