Visual studio feeds

All Visual Studio blogs in one place


Enter your email address:

Delivered by FeedBurner

Increase your website traffic with



Anti-spam: How many eyes has a typical person?

Follow us on FB


#702 – Dragging an Image within a WPF Application

AddThis Social Bookmark Button
You can drag the contents of one Image control onto another Image control fairly easily.  When you drag an image to another application, you have to convert the image to a bitmap.  But within the same application, you can just use the value of the image’s Source property as the data being dragged. Filed under: Events Tagged: Drag-and-Drop, Events, [...]

Windows Phone 8 and our “localized” keyboard layout

AddThis Social Bookmark Button
This is a rant (somewhat). Windows 8 features a nicely convenient on-screen keyboard, which is mostly useful when using on a touch device, like a tablet. I’m quite often using it on my Surface, when my touch cover is not attached. Now, let’s take a look at a Slovenian layout of this keyboard: The keyboard layout is QUERTZ, with South Slavic layout, standardized in the 80’s and used in Slovenia, Croatia, Serbia, Bosnia and other (at that time) republics of former Yugoslavia. That means there are five additional letters on there. Letters č,
š and ž (circled green) are part of all South Slavic alphabets, while đ and ć (circled red) are not in Slovenian alphabet. Although this is a Slovenian keyboard layout, the presence of non-Slovenian characters is far from annoying or discomforting – besides the fact that there are also other (English) characters present, we’re used to this layout and have adopted it a long time ago, plus sometimes those characters come in rather handy. But again, those red characters are not part of Slovenian language and that’s why I was surprised to see the Slovenian on-screen keyboard on...(Read whole news on source site)

Windows.BackgroundTasks contract or is not installed

AddThis Social Bookmark Button
Yesterday I did some work on BackgroundTasks (CS) for customer application, while building the structure I faced an unfamiliar error and application crash when the Task was triggered. I’ve look into Windows Event Log and fond a error related to my application: Activation of app fcf446e9-4a89-4d56-b3ae-def1bab41ac2_d824bndbbbqn4!App failed with error: This app does not support the contract specified or is not installed. See the Microsoft-Windows-TWinUI/Operational log for additional information. So where can you find the “Microsoft-Windows-TWinUI/Operational“ log? Expend “Application and Services Logs” folder, Microsoft –> Windows –> Apps
Now I can see more details message of error: The app fcf446e9-4a89-4d56-b3ae-def1bab41ac2_d824bndbbbqn4!App is not registered for the Windows.BackgroundTasks contract or is not installed. First I’ve verified that "ALL APPLICATION PACKAGES" role is present for "Packages" directory in the Local\AppData directory of the current user. Second I make sure application package manifest declared Background Tasks and set the Task entry point. Last I check if there is project reference between the Tasks project and my application project. And I forgot to add...(Read whole news on source site)

The Morning Brew #1244

AddThis Social Bookmark Button
Software Next Up for the Surface Family: Surface with Windows 8 Pro - Pricing - Panos Panay discusses the pricing for the Surface Pro devices, featuring a full Windows 8 Pro PC in practically the same form factor as a Surface RT Don’t be blue, be Indigo! Indigo Studio from Infragistics released today (and it's free [...]

Nightly news, 30 Nov 2012

AddThis Social Bookmark Button
LightSpeed Fix for referencing issue on 2010/2012 which would lead to a crash on model generation if certain UDT’s or custom CLR types were involved in the model Web Workbench Handle a crash occurring within Copy Web Site dialog that is triggered by WW. Fix an issue where Add New Item context commands would not [...]

Teaching a six (well, almost seven) year old to solder

AddThis Social Bookmark Button
As a geek, there are a number of milestones or rites of passage for children: First drawing of any vehicle with more than three guns First original LEGO model First time you figure out how to turn on the Xbox and get into a game without help First time you solder something First program written First cosplay at a geek convention First computer you build from parts First date with someone who tolerates nerds or even out-nerds you There are many, many more, especially depending upon the class of nerd/geek. Anyway, you get the picture. :) My son sees me solder things all the time, and has always been interested. However, a soldering iron is
something that, like your first pocketknife, requires a level of respect and self-preservation when using. Tonight, I felt he was ready for it, so we worked on his first soldering project.  The kit chosen is the Parallax S2 Robot Badge. This is a nice little "learn to solder" kit which gives you something interesting at the end: a model robot with a button that you press to make an RGB LED cycle through colors. There are lots of other "learn to solder" kits, but most of them are more like practicing your writing by repeating scores of the same letter on a page until your hand cramps up;...(Read whole news on source site)

Extending Web API Help Page with information from attributes

AddThis Social Bookmark Button
Web API help page, available for your Web API via the Nuget package or built into the Web API template if you used the ASP.NET Fall Preview installer, is an extremely useful tool for documenting your API. That is, both … Continue reading →The post Extending Web API Help Page with information from attributes appeared first on StrathWeb.

Set-Cookie Headers getting stripped in ASP.NET HttpHandlers

AddThis Social Bookmark Button
Yikes, I ran into a real bummer of an edge case yesterday in one of my older low level handler implementations (for West Wind Web Connection in this case). Basically this handler is a connector for a backend Web framework that creates self contained HTTP output. An ASP.NET Handler captures the full output, and then shoves the result down the ASP.NET Response object pipeline writing out the content into the Response.OutputStream and seperately sending the HttpHeaders in the Response.Headers collection. The headers turned out to be the problem and specifically Http Cookies, which for some reason ended up
getting stripped out in some scenarios. My handler works like this: Basically the HTTP response from the backend app would return a full set of HTTP headers plus the content. The ASP.NET handler would read the headers one at a time and then dump them out via Response.AppendHeader(). But I found that in some situations Set-Cookie headers sent along were simply stripped inside of the Http Handler. After a bunch of back and forth with some folks from Microsoft (thanks Damien and Levi!) I managed to pin this down to a very narrow edge scenario. It's easiest to demonstrate...(Read whole news on source site)