Monday, December 15, 2008

I will finally submit to Dominick's harrassment and stop running Visual Studio elevated. I started doing it because I couldn't be bothered to mess about with HttpCfg and netsh when writing self-hosted WCF apps exposed over HTTP. Registering part of the HTTP namespace with http.sys requires admin privilege. I could have sorted it out with a wildcard registration but never got round to it.

Since writing the BlobExplorer, Christian has been my major source of feature requests. His latest was he wanted drag and drop. Now I'm not an expert in WPF so I hit google to find out how to do it. And it seemed really simple - just set AllowDrop=true on the UIElement in question and handle the Drop event. But I just couldn't get the app to accept drag events from Windows Explorer. After much frustration I finally realised that the problem had nothing to do with my code but was rather a security issue. the BlobExplorer was running elevated because I started it from Visual Studio which was also running elevated. Elevated applications will not accept drag events from non-elevated applications.

So I'm setting VS to run normally again and will do the proper thing with http.sys for my WCF applications.

 |  |  | 
Monday, December 15, 2008 11:49:41 AM (GMT Standard Time, UTC+00:00)  #    Comments [7]Trackback
Tuesday, December 16, 2008 5:58:48 AM (GMT Standard Time, UTC+00:00)
Halleluja!
Christian Weyer
Tuesday, December 16, 2008 12:13:48 PM (GMT Standard Time, UTC+00:00)
Hmmm - just found out that VS 2008 needs to be elevated to deploy into the Azure Development Fabric ... sigh
Richard
Sunday, January 29, 2012 8:56:09 PM (GMT Standard Time, UTC+00:00)
Do you have more great atrciles like this one?
Monday, January 30, 2012 7:51:30 AM (GMT Standard Time, UTC+00:00)
MwWTfC <a href="http://tstcetpxmlpz.com/">tstcetpxmlpz</a>
Tuesday, January 31, 2012 3:54:29 PM (GMT Standard Time, UTC+00:00)
XFpVE9 , [url=http://bfxsaxtorclc.com/]bfxsaxtorclc[/url], [link=http://gafyaasbvvem.com/]gafyaasbvvem[/link], http://rngjstorqxma.com/
Wednesday, February 01, 2012 8:07:03 AM (GMT Standard Time, UTC+00:00)
EW18Uv <a href="http://sfybwpnbcfke.com/">sfybwpnbcfke</a>
Friday, February 03, 2012 8:44:19 AM (GMT Standard Time, UTC+00:00)
EMuUY5 , [url=http://ogdxtemlrhvp.com/]ogdxtemlrhvp[/url], [link=http://lgcuhwzzyuov.com/]lgcuhwzzyuov[/link], http://cvrsxcebnpnp.com/
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):