c# - Azure - How to access content files of WorkerRole? -


i'm writing worker role sending emails. has email template html files build action = content , copy output = copy always

how can access files code of workerrole?

i don't want store files in blob because need upload service possible , have able edit email template without wiring code that.

edit: guys i'm talking azure. doesn't work regular method of loading folder of current running assembly because give azure host process located in different place.

i figured out - here's how it:

path.combine(environment.getenvironmentvariable("roleroot") + @"\", @"approot\filetemplates\"); 

Comments

Popular posts from this blog

design - Custom Styling Qt Quick Controls -

Unable to remove the www from url on https using .htaccess -