Hi @demirmusa, let's go one step at a time. Can I upgrade my .NET framework to 4.7.1 without causing any breaking changes to .NET Zero? Are there any known issues?
Once we've established this I'll ask how to put AppConfig service into Startup.cs.
I managed to get it working with angular. Where does the problem lie?
I never worked this out. When you compile in angular you would expect the chunk names to change thus cache-busting, but it doesn't. In addition all of the files in the assets folder remain static so if there are changes to images it's likely you'll get the old ones. Hope that helps but if you can find a solution do post back.
@joynext, check your appsettings,json file in angular. I often see this when I'm using staging and testing slots, it's usually a config problem so could also be a connection string problem.
Hi @demirmusa,
Not for the purposes of this exercise - are you mad!!!! I'm still on 6.8.0 .NET framework 4.6.1. Can I upgrade to 4.7.1. Once upgraded how do I implement the Microsoft.Extensions.Configuration.AzureAppConfiguration in Zero 6.8.0? The instructions above are for explanatory purposes only.
Hi Aaron, As always you were correct. After I had properly registered by service in Startup.cs by using the namespace evenything worked. Fantastic, I have been looking for a way of implementing CQRS with Zero for a long time and this will definitely help with Azure function apps. If anyone is interested in the SQRS model for Azure Queue Storage I can recommend the following three videos on YouTube: Azure functions with Queue Storage Aaron, thanks again for stepping me through. Always a pleasure and good to see you working in Zero fold again!
Hi Aaron, The using statement is one thing but the other is how to call the method. To do that i need t oinject the service. Let's say:
using AzureQueueLibrary.Infrastructure;
...
private readonly IQueueCommunicator _queueCommunicator;
public TenantAppService(IQueueCommunicator, queueCommunicator)
{
_queueCommunicator = queueCommunicator;
}
...
I can't invoke my _ queueCommunicator because it hasn't been injected.... Sorry for my poor coding and lack of knowledge, it's one reason why i use Zero in the first place.... Any sample code would be most appreciated.
Hi @ryancq - the function app reads the db directly. I will create a new call in the API and use pulic/secret keys. Thanks for the advice, I'll close this issue.
Hi @ryancq,
My Zero database contains control data for a documentation management system, the documents are held in Azure Blob Storage. When a new tenant is added they select the document collection they want. Zero places a message in Azure Queue Storage with the tenant name and the relevant collection Id. The function app is triggered from the queue,
Immediately after each document is placed into Blob Storage the uri is saved in Zero and the control data updated in Zero. At the end of the process, which is extremely CPU heavy, I want to tell the user that the documents are now ready to use. All the hard work is done, my question is one of best practise, how best to send a call to Zero from the function app to notify the user the job is done?
Hi Aaron, Long time no see!!!! A clear and precise answer as always, thanks a lot. I'll close this issue now I know what to refer to next time I have to look at this (it's a low priority and a lower priority after your post!). Bob