Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

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

Follow us on FB

Search

Daily Windows 8 Development News 16 Oct 2012

AddThis Social Bookmark Button
Windows 8: Building a custom control using XAML and C# You can also subscribe to our Windows 8 Dev News feed or follow us on Twitter @winphonegeek . (We list the latest Windows Phone 7 development activities.) ...(Read whole news on source site)

Multi threaded design guidelines for libraries: Part I

AddThis Social Bookmark Button
The major difference between libraries and frameworks is that a framework is something that runs your code, and is in general in control of its own environment and a library is something that you use in your own code, where you control the environment. Examples for frameworks: ASP.Net, NServiceBus, WPF, etc. Examples for libraries: NHibernate, RavenDB Client API, JSON.Net, SharpPDF, etc. Why am I talking about the distinction between frameworks and libraries in a post about multi threaded design? Simple, there are vastly different rules for multi threaded design with frameworks and libraries. In general, frameworks manage their own threads,
and will let your code use one of their threads. On the other hands, libraries will use your own threads. The simple rule for multi threaded design for libraries? Just don’t do it. Multi threading is hard, and you are going to cause issues for people if you don’t know exactly what you are doing. Therefor, just write for a single threaded application and make sure to hold no shared state. For example, JSON.Net pretty much does this. The sole place where it does do multi threading is where it is handling caching, and it must be doing this really...(Read whole news on source site)

Microsoft Surface RT is now ready for pre-order. Enhance your developer experience with it!

AddThis Social Bookmark Button
Microsoft’s flagship Window 8 device, the Surface, is now available for pre-order. The Surface is going to deliver an amazing computing experience, and as a developer, what better way to test your app than with the actual Surface device from Microsoft! This version of the Surface is ARM based. That means it’s going to have amazing battery life, low heat, instant on, and light weight. One of the great things about using Visual Studio to develop Windows Store apps is that you can debug to a remote device. By remotely debugging your Windows
Store app on an ARM device, you can ensure your app will be able to reach the widest possible audience. You can debug with a local network connection, a direct Ethernet connection, or using an Ethernet to USB adapter. I know a lot of developers have Windows 8 on their older machines, but lack inputs like touch & accelerometer. Adding a Surface RT to your development story is an excellent way to get the best of both worlds. And when you take your Surface RT out into the world for daily use, you’ll have a super light device with...(Read whole news on source site)

How Index_id are generated...

AddThis Social Bookmark Button
When we use index query hint, we can give the index number or index name. I use index hint for testing performance purpose only and almost never use it actual code. I tend to use index numbers in test code. But, till some time ago I use to wonder why the index id of newly created index is quite bigger, for one wide table the index_id of newly created index is 70 and We do not have these many indexes:). So, what's the reason that newly created index is having ID 70? After looking into sys.indexs catalog
view, i am only able to find out the indexes on the table. But, When I looked into sys.stats catalog view, i found the answer. When we create a index, statistics with same index key columns also gets created. So, the index_id picked is the next value from sys.stats view. Have a look at this example use tempdb go if object_id('t1') is not null drop table t1 go Create table t1 ( c1 int primary key , c2 nvarchar(10) , c3 nvarchar(10) ) go insert into t1 (c1,c2,c3) select top 100 number,type,cast(number as nvarchar(4)) + 'test' from master.dbo.spt_values where type like 'p%' go Create index ix_t1_c2 on...(Read whole news on source site)

Windows 8 and Cisco AnyConnect client issue

AddThis Social Bookmark Button
As many of us are doing these days, I have fully moved to Windows 8 on my PCs (laptops and desktops).  And in my role as a consultant I work with many clients, many of them use different vpn technologies.  While pretty much every single vpn client I had installed needed a trick or two to work, well Cisco’s AnyConnect vpn client had some issues.  Installation went well, no problem there.  The problem appeared when I attempted to connect, as I received the following message: Pretty clear what
the issue is, right? right??!!?? Doing a bit of research (Google knows!), I cam across the following fix: Using our new favorite shortcut:  Windows Key + X Then Run > regedit. We then Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vpnva From the image you can tell there are additional characters in the DisplayName that interfere with the device being able to be correctly identified. This is what it looks like originally. ...(Read whole news on source site)

Upcoming Events for October 16th, 2012

AddThis Social Bookmark Button
Here are the events listed in Community Megaphone for the next couple of weeks for the Mid-Atlantic area, as well as webcasts of interest…this list includes events imported from the UGSS event calendar, and user group events entered in Community Megaphone are also automatically synced to the UGSS event calendar: DC Overcoming the Obstacles, Pitfalls, and Dangers of Unit Testing
Tuesday, October 16, 2012 6:30 PM, Washington, DC
Have you ever bumped into a wall with your automated tests? Many developers bump into various roadblocks and hurdles when writing test code. Are your test methods starting
to fail because the code-under-test uses DateTime.Now? Are your automated integration tests failing because the database they integrate with keeps changing? Do you have an explosion of test methods, with the ratio of test code to code-under-test way too high? Is your effort to refactor and improve code overwhelmed by the time it takes to rewrite all those failing unit tests?
This presentation is about clearing away automated testing obstacles, avoiding common pitfalls, and staying away from dangerous practices.

About the Speaker: Stephen Ritchie is the author of Pro .NET Best Practices (http://www.apress.com/9781430240235). He has been writing software professionally for...(Read whole news on source site)

Localizing the displayname of your app in Windows 8

AddThis Social Bookmark Button
source: michielpost.nl When creating your Windows 8 app, you might want to give it a different name in each language. This little tutorial shows you how to do it. In this tutorial I will use my app Woordenboek as an example. This dutch app is called "Dutch Dictionary" in English. Step 1
Reserve all the names you want to use in the Windows 8 Developer portal. Make sure it is one app with multiple names. Step 2
Create resource files in your application for each culture
you're going to support.
MSDN had a great tutorial about that here: http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh965329.aspx In my app I support the NL and the EN culture:
...Read more ...(Read whole news on source site)

Home