How to specify AddIn process names?

I am using the Microsoft AddIn Framework to load AddIn assemblies. I am running them in their own process as to separate them from the service. The thing I don't like it that every AddIn process shows up as AddInProcess32.exe in the task manager. When using process isolation, how can we rename the name that shows in the taskmanager so that it's more descriptinve for users?


Unfortunately you can not.

Filename for that process is hardcoded in private method GetProcessName(Platform platform) which is called in constructor of the System.AddIn.Hosting.AddInProcess class. And System.AddIn.Hosting.AddInProcess is a sealed class so it can't be inherited and that method can't be overriden.

The only way to customize process name for your add-in is to decline idea about using System.AddIn framework and create your own.

Here is a good list of articles about creating plugin architecture in c# with a lot of examples: Creating a plug-in framework in C#: Resources.

Need Your Help

Setting param from portlet URl into HttpServletRequest

url parameters render portlet liferay

I am referring to a url which has paramID from my portlet. The content of that paramID is handled in different portlet and it has its own controller.

Are new items added to a S3 bucket automatically served over CDN?

amazon-s3 amazon-web-services cdn amazon-cloudfront

I have a bucket of images on S3. I set up the bucket contents to be delivered over a CDN using Cloudfront. Now if I add new images to the bucket do I need to re-setup Cloudfront for the bucket or a...