Red Gate forums :: View topic - Profile ClickOnce Application
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Memory Profiler Previous Versions
ANTS Memory Profiler Previous Versions forum

Profile ClickOnce Application

Search in ANTS Memory Profiler Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
acgentry



Joined: 23 Nov 2009
Posts: 2

PostPosted: Mon Nov 23, 2009 9:53 pm    Post subject: Profile ClickOnce Application Reply with quote

Is there a way to profile a clickonce application that has been installed on a workstation?

Thanks!
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6644

PostPosted: Wed Nov 25, 2009 11:17 am    Post subject: Reply with quote

Hi Adam,

I can't see a way of profiling a deployed clickonce application, you will probably be better off profiling it before it's been deployed.

If you use the "install on the computer" option, it should be a matter of opening the program shortcut and using the shortcut program name and arguments in the memory profiler's .NET desktop application settings.

If you make it so your users always have to go through the web browser to run the application, this is a bit more tricky. I have tried a few things to make it work -- one was the obvious:

Then the less obvious way of running ClickOnce that I got from reverse-engineering it:

The ClickOnce app launches, but even with the "profile child processes" option turned on, neither ANTS Memory nor ANTS Performance profiler seem to pick up on the .NET app being run by ClickOnce.

I hope that someone more familiar with ClickOnce can chime in on this topic. Smile
Back to top
View user's profile Send private message
acgentry



Joined: 23 Nov 2009
Posts: 2

PostPosted: Mon Feb 01, 2010 6:12 pm    Post subject: Any updates? Reply with quote

Sorry to be a nudge, has your firm found a solution? I think our issues are coming from something in the core of microsoft deployment and autoupdating, but I can't recreate the issue without the app being deployed via clickonce.

Thanks!
Adam
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6644

PostPosted: Thu Jun 24, 2010 5:25 pm    Post subject: Reply with quote

Hi all,

I'm happy to say that you can successfully profile ClickOnce in ANTS Performance Profiler v6 using the earlier instructions:
Quote:

program: c:\windows\system32\rundll32.exe
arguments: dfshim,ShOpenVerbApplication http://localhost/myapplication/my.application
*where "http://localhost/myapplication/my.application" is the ClickOnce URL.*

This means that you can easily profile clickonce whether or not you have actually chosen to install the application locally.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group