YAFLogo

rico515
  • rico515
  • 62.8% (Friendly)
  • YAF Forumling Topic Starter YAF Version: 4
a year ago
What's the best way to deploy a custom YAF? Is it best to deploy as a .NET Core app to Azure Functions App or deploy a .NET Core app to an Azure Web App? Is there a web.config somewhere that can be used?

I am currently running the app locally using IIS and Azure db. I would like to deploy the site in Azure. 

It seems like a wiki page was deleted for this topic: https://github.com/YAFNET/YAFNET/wiki/Installation-on-Windows-Azure  (link doesn't work)
Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
a year ago
There is no custom setup. You deploy yaf like any other asp.net core app.

https://learn.microsoft.com/en-us/aspnet/core/tutorials/publish-to-azure-webapp-using-vs?view=aspnetcore-7.0 

And in that case there is no web.config. Only if you want to publish it to an iis server then vs generates the web.config.

The wiki page was for the old yaf 2.x. Which is no longer relevant in yaf 3/4
rico515
  • rico515
  • 62.8% (Friendly)
  • YAF Forumling Topic Starter YAF Version: 4
a year ago
Originally Posted by: tha_watcha 

There is no custom setup. 


Sorry, I misstated what I'm doing. By "custom" I meant "from my repo" because I forked the project to add features, mainly a "our sponsors" carousel to display different logos periodically. Is that something you'd want added to the project? I can create a pull request to the project once it's ready.


Originally Posted by: tha_watcha 

You deploy yaf like any other asp.net core app.


I was hoping to deploy to Azure from GitHub using GitHub Actions, as I have my SQL server and mail service set up in Azure. Is this a new method for deploying YAF.NET or is there something established for this already? I'll share the yaml file if I figure this part out. Otherwise, I'll deploy with the instructions you linked.
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
a year ago
According to the documentation it should be possible to deploy via github actions

https://learn.microsoft.com/en-us/azure/app-service/deploy-github-actions?tabs=applevel 

But i dont have azure so i can not test this.
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button