VS11 VSPerfASPNetCmd https website is not a valid URI
-
18 марта 2012 г. 16:15
Hi,
I am using x64 VS11 Beta Profiler tools.
I run VSPerfASPNetCmd to profile https website like this:
VSPerfASPNetCmd.exe /o:c:\PerfLogs\xxx.vsp /tip /p:on https://10.xx.xx.xx
I receive the following error:
Warning:
Argument https://10.xx.xx.xx was not recognized. Please check /? for command line help.Error
VSP 7005: Specified website "" is not a valid URIWhen I use the same command and pass https instead of https, it now tries to access my IIS.
Is https supported?
Martin Kulov
www.kulov.net
Microsoft Regional Director
VS ALM MVP, MCT, MCSD, MCPD, INETA Speaker
Все ответы
-
19 марта 2012 г. 5:31Модератор
I have not found any document said if it is supporting the "https", but after viewing the code by reflect tool(ILDasm, Reflector) of the "Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Performance Tools\VSPerfASPNetCmd.exe" file, I see that it does not support the "https".
Have a good day!
Mike Zhang[MSFT]
MSDN Community Support | Feedback to us
- Помечено в качестве ответа Mike Dos ZhangMicrosoft Contingent Staff, Moderator 20 марта 2012 г. 2:07
-
19 марта 2012 г. 9:48
Hey Mike,
I am trying to understand how profiler really works so I double checked the code in VSPerfASPNetCmd.exe.
The only thing I managed to find out is code within AspNetCmd.Execute and it looks to me that any url should be ok. I really cannot understand why would the profiler care what is the url request type as it is profiling the IL code.
Can you please tell me which method are you refering to?
Martin Kulov
www.kulov.net
Microsoft Regional Director
VS ALM MVP, MCT, MCSD, MCPD, INETA Speaker- Изменено Martin KulovMVP 20 марта 2012 г. 9:49
-
19 марта 2012 г. 10:14Модератор
You can use the Reflect tool view the code, but it is just a similar logic, since it is reflected, instead of the source code, but it is enough for explain your this doubt.
The following is the way you can use to find it.
You can use the Reflector tool find it called a method to parse the argument you passed in the application, it is a abstract class's member, so you will need to find which class implemented it, and find the corresponding method body, then the similar logic is there.
Mike Zhang[MSFT]
MSDN Community Support | Feedback to us
- Помечено в качестве ответа Martin KulovMVP 19 марта 2012 г. 11:31
- Изменено Mike Dos ZhangMicrosoft Contingent Staff, Moderator 20 марта 2012 г. 2:18

