I'm creating an Azure webjob, and there is something that's not clear to me. I envisioned it would allow me to create a class (or actually console exe application), and a Main method.
My idea was that I would have multiple Public methods that could be triggered by the web job. For example. I might have a method Import and one called Process. Import might happen once a week, and Process would happen daily. Import could even potentially internally trigger Process, etc. I assumed I could just decorate this public methods with attributes that I could configure individually within the Azure portal.
Is this wishful thinking? I'm seeing a ton of examples where we do some initial configuration with Main and then have either a listener or just go directly into your processing code.
Is it possible to do what I am envisioning? The documentation is not exactly clear on this.