.NET MVC 5
I need to add dynamic text to the start_url in a manifest.json
file for a web app, and possibly even dynamic splash screens (but I will be happy with the start_url). The start_url needs to contain a seed that will essentially create a “deep” start_url, ultimately resulting in something like:
{
"background_color": "black",
....
"start_url": "/ABCDEFG”
}
where “ABCDEFG” is the dynamic text which will be different for different clients. "ABCDEFG" would be delivered server-side, of course.This would eliminate the need for a separate manifest.json
files which would be a nightmare.
I didn’t know if there was a way to “stream” the dynamic data into the link or I could probably figure out a way to dynamically create “temp” on the fly like manifest.json.ABCDEFG but that seems clunky and I thought that there might be a more elegant and cleaner way. Sorry if I sound a little vague or I am lacking the correct terminology.
I have viewed "How can I use php to populate a manifest.json file?" which is almost spot on to what I need to do but I don't know how to do this in .NET.
Even a few links directing me to a solution would be GREATLY appreciated. I am coming up otherwise empty on google.