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


Cancelling Route Navigation in AngularJS

AddThis Social Bookmark Button
This post has been updated to cover AngularJS 1.3+.
Routing provides a nice way to associate views with controllers in AngularJS using a minimal amount of code. While a user is normally able to navigate directly to a specific route, there may be times when a user triggers a route change before they’ve finalized an important action such as saving data.  In this type of situation you may want to cancel the route navigation and ask the user if they’d like to finish what they were doing so that their data isn’t lost. In another situation the user may try
to navigate to a view that requires some type of login or other special handling. If the user hasn’t logged in yet the app can automatically redirect them to a login screen (keep in mind that for security the server always has to double-check things since JavaScript can easily be changed). When route navigation occurs in an AngularJS application a few key events are raised. One is named $locationChangeStart and the other is $routeChangeStart. Starting with AngularJS 1.3+ this is the order that events fire (see this commit by Tobias Bosch for more details):
$locationChangeStart...(Read whole news on source site)

When do you drop old technologies from your resume as a programmer ?

AddThis Social Bookmark Button
Here’s an question that aroused during an discussion with one of my friend . When do you drop old technologies from your resume as a programmer ? . Do you really mention every technologies that the programmer has worked on in their resume ? In the beginning of their career , some of the developers [...]
in Software Field?
...(Read whole news on source site)

SharePoint MVP AMA on October 29th

AddThis Social Bookmark Button
You should mark the 29th of October at 1pm EST (18:00 CET) in your calendar. The MVP Chats are back! A couple of years back we regularly held MVP chats where anyone could ask SharePoint MVPs anything (almost at least). These chats was really successful and we received really good feedback. Unfortunately the tool we used for the chats was abandoned and we have been looking for a new way to do this. We think we’ve found a really interesting format for this by using the AMA format at Reddit (/r/sharepoint). There will be at least
fifteen SharePoint MVP’s answering YOUR questions so feel free to tune it the 29th. We will try to make sure that at least one MVP answers your question, the ones most skilled in the topic of the question, and we’ll make sure that not everyone answers it (which normally is an issue with forums like this). We will have experts from infrastructure, to design, to development, to no-code (all definitions of that!) solutions and more, for both SharePoint and Office 365 This will be a great opportunity for all of you to finally get that hard question answered. If...(Read whole news on source site)

Download – Official Happy New Year game for Android

AddThis Social Bookmark Button
Happy New Year is one of the upcoming Bollywood movie which features Shahrukh Khan, Deepika Padukone, Abhishek Bachchan, Boman Irani, Vivaan Shah, Sonu Sood and Jackie Shroff. Happy New year movie is directed by Farah Khan and produced by Gauri Khan under the banner of Red Chillies Entertainment. The movie is slated to release for [...]

Print out the maximum depth of recursion allowed

AddThis Social Bookmark Button
Karl Seguin tweeted the following earlier this week: "An interview question I sometimes ask: Write code that prints out the maximum depth of recursion allowed."

This question is interesting for a couple of reasons. First, it's a shorter FizzBuzz; can the candidate open an IDE, write a few lines of code, compile and run them? And second, does he know what recursion is?

Now let's say, the interviewee knows how to write code and is familiar with the concept of recursion. If he had to do this exercise in C#, he might come up
with something along these lines.

Before you let him run his code, you ask him to guess the output of this little program. If he's smart, he won't give you much of an answer. Instead he will point out that the result depends on the runtime, compiler, compiler switches, machine architecture, the amount of available memory and what not.

If he's not familiar with the C# compiler and runtime, he might even say there's a chance the integer will overflow before the call stack does.
The recursive method call is the last call in this method, making it...(Read whole news on source site)

The holidays, plans & what is next

AddThis Social Bookmark Button
So, we are done with the holidays here. The last month was basically very little work, because a lot of our people were out for the holidays. Internally, we are gearing up to finish the website for RavenDB 3.0, while another part of the team is focused on stability and performance. We just hired another new guy, and he is going to be working pretty much on distribution from now on. I’ll report more on that in a few weeks. Looking at the blog, I’ve mostly been talking about RavenDB, and I want to do a small shift and talk
about other topics, so I’m declaring the next two weeks to be RavenDB free weeks. I’m going to continue to blog regularly, of course, but I’m going to be talking about other topics for a change. Don’t worry, we haven’t stopped working on RavenDB, it is just that it is pretty boring to hear about things like test clusters, or how we work on issues from the people trying out the RC builds. ...(Read whole news on source site)

Windows Phone 8 Dev Guide – Maps Tasks Launcher in Windows Phone

AddThis Social Bookmark Button
There are 4 different maps related launchers available for developers for integrating the maps functionality in their Windows Phone App. These launchers are defined in the Microsoft.Phone.Tasks namepace. These include MapsTask MapsDirectionTask MapDownloaderTask MapUpdaterTask MapsTask If you are looking out to open a map from your windows phone app and find out something that is [...]...(Read whole news on source site)

Windows Phone 8 Dev Guide – Retrieving the Current Location

AddThis Social Bookmark Button
If you want to retreive the current location from your Windows Phone app , you can use the GetGeopositionAsync method that is defined inn the Windows.Devices.Geolocation.Geolocator class. How to Get the Current Location from Windows Phone 8 ? To use the Location and Maps API in your Windows Phone 8 app , it is necessary [...]...(Read whole news on source site)

APress Deal of the Day 19/October/2014 - BizTalk 2013 EDI for Healthcare

AddThis Social Bookmark Button
Originally posted on:’s $10 Deal of the Day from APress at is BizTalk 2013 EDI for Healthcare. “BizTalk 2013 EDI for Healthcare – EDI 834Enrollment Solutions demonstrates how to build both inbound and outbound EDI 834 processes in BizTalk server that follow the required patterns for integrations with health exchanges. Archiving, mapping,reconstituting EDI 837 data, exception handling and advanced logging and reporting are all covered”

OSX Yosemite Automount NAS Share

AddThis Social Bookmark Button
On my fresh installed Yosemite on my Macbook Air I want a mounted folder in my homedir when I am at home near my NAS. When I'm not at home it must not bother me with the none existing share. And when I'm back home it must silently reconnect.

This can be done by using autofs.

edit the file /etc/auto_master

## Automounter master map
+auto_master # Use directory service
/net -hosts -nobrowse,hidefromfinder,nosuid
/home auto_home -nobrowse,hidefromfinder
/Network/Servers -fstab
/Users/broersa/Documents/Shares auto_resources
/- -static 

The line starting with /Users is added. This will automount on the path selected.
It will pick the resources from auto_resource. This is a new file we have to create:

all -fstype=smbfs ://username: This e-mail address is being protected from spambots. You need JavaScript enabled to view it /all 

This will automount the share all on the path /Users/broersa/Documents/Shares/all

do a "chmod 600 auto_resource" to protect the username password from other users then root.

reload the config.

automount -vc

Don't forget to do everything as sudo.

Now you have your share always available when in range.

...(Read whole news on source site)