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

Project Management Quotes

AddThis Social Bookmark Button
I’ve put together a comprehensive collection of project management quotes.  I didn’t count them, but at a glance, it looks like more than 100 project management quotes covering key topics:  what is project management and what do project managers do, actions and tasks, change and change management, failure and learning, plans and planning, process, project cycles, risk management, schedule and time, scope, teams and leaders, and vision. If you have a favorite project management quote, I’d love to hear it. I’m a big believer that project management skills are some of the best skills for life
(See Program Manager Skills for Work and Life).  One of the best skills we learn from project management is how to break work down into little steps we can execute.   We learn how to document a vision in a way that inspires others to see what’s possible.  We learn to anticipate, and better yet, deal with problems, risks, and issues.  Dreams are one thing.  Execution is another.  Project management is where dreams meet execution and it provides the framework and tools to create a new reality.  It’s powerful stuff.
...(Read whole news on source site)

Using a Predicate as a key to a Dictionary

AddThis Social Bookmark Button
I really love Linq and Lambda Expressions in C#.  I also love certain community forums and programming websites like DaniWeb.
A user on DaniWeb posted a question about comparing the results of a game that is like poker (5-card stud), but is played with dice.
The question stemmed around determining what was the winning hand. 
I looked at the question and issued some comments and suggestions toward a potential answer, but I thought it was a neat homework exercise. [A little explanation]
I eventually realized not only could I compare the results of
the hands (by name) with a certain construct – I could also compare the values of the individual dice with the same construct.
That piece of code eventually became a Dictionary with the KEY as a Predicate and the Value a Func that returns a string from the another structure that contains the mapping of an ENUM to a string.  In one instance, that string is the name of the hand and in another instance, it is a string (CSV) representation of of the digits in the hand.
An added benefit is that the digits re returned in...(Read whole news on source site)

Styling Windows Phone Pivot Control Titles

AddThis Social Bookmark Button
source: timmykokke.com For a Windows Phone 7 application I'm currently working on I needed to change the font the titles of a couple of PivotItems on a Pivot control. Normally I won't recommend using another font than Segoe WP for this, but sometimes the branding of the app leaves you no other choice. Changing the font of the title turned out to be a lot harder than I thought. To spare you the trouble, here's how it's done in Expression Blend. Walkthrough For this walkthrough I created a very cool app, containing a Pivot control
with three PivotItems. Changing the font of the title of the Pivot itself is easy. With the Pivot selected in the Objects and Timeline pane set the font property to whatever you need.   Setting the same font for the titles of the PivotItems is a bit more complex. With the Pivot control still selected, click on the Pivot(just below the tabbar above the design area) and follow Edit Template -> Edit a Copy. ...Read more ...(Read whole news on source site)

Yet Another ASP.NET MVC CRUD Tutorial

AddThis Social Bookmark Button
I know that I have not posted much on MVC, mostly because I don’t use it on my daily life, but since I find it so interesting, and since it is gaining such popularity, I will be talking about it much more. This time, it’s about the most basic of scenarios: CRUD. Although there are several ASP.NET MVC tutorials out there that cover ordinary CRUD operations, I couldn’t find any that would explain how we can have also AJAX, optimistic concurrency control and validation, using Entity Framework Code First, so I set out to write one! I won’t go
into explaining what is MVC, Code First or optimistic concurrency control, or AJAX, I assume you are all familiar with these concepts by now. Let’s consider an hypothetical use case, products. For simplicity, we only want to be able to either view a single product or edit this product. First, we need our model:
1: public class Product 2: { 3: public Product() 4:...(Read whole news on source site)

Clearing the page cache in Windows 8 Metro apps

AddThis Social Bookmark Button
source: blog.jayway.com In Windows 8 Metro apps, the navigation model has been improved over the previous one found on Windows Phone. One difference is that page caching has to be manually enabled for each page, as we explained in part 8 of our Windows Phone to Windows 8 conversion series. And, the page cache is active for both forward and backward navigation, which recently gave me some headaches. The solution is to clear the cache when backing away from the page, and
forcing other pages to always be cached. Activating page caching Activating the page cache is as easy as setting the NavigationCacheMode property

NavigationCacheMode = NavigationCacheMode.Enabled;
in the constructor of the page. ....Read more ...(Read whole news on source site)

Loading WinRT Types via Reflection in Windows 8

AddThis Social Bookmark Button
source:  Peter Torr's Blog Hopefully this will get added to the documentation eventually, but recently I was playing around with some reflection code in Windows 8 Consumer Preview and a few web searches for the "obvious" keywords didn't yield any results, so I thought I'd post this up in case anyone else falls into the same boat. It's not rocket science to figure out, but maybe this will help someone anyway. Say you want to create a Windows.Globalization.Language object via reflection and get its DisplayName. You can use the following: using System.Reflection; // Needed for GetTypeInfo
extension method var t = Type.GetType("Windows.Globalization.Language, Windows, ContentType=WindowsRuntime");
var lang = Activator.CreateInstance(t, new[] { "en-US" }); ;
var name = t.GetTypeInfo().GetDeclaredProperty("DisplayName").GetValue(lang); Deducing this was easy, by looking at the result of the following property evaluation in the Immediate window: typeof(Windows.Globalization.Language).AssemblyQualifiedName .....Read more ...(Read whole news on source site)

TFS API Part 47 (VS11) – Manage Iterations Dates

AddThis Social Bookmark Button


Over the last posts I talked about “TFS API Part 46 (VS11) – Team Settings”, in this post I’ll show how to get and change Iteration Dates from TFS API. We’ll show all Teams under a specific Team Project and once you click on a Team you will see its Iterations and Dates. Download Demo Project Step 1: Create Project and Add Reference Create an WPF application and add the following references: First add reference for: Microsoft.TeamFoundation.Build.Client (11.0.0.0)
Microsoft.TeamFoundation.Build.Common.dll  (11.0.0.0) System.Windows.Forms.dll (C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ReferenceAssemblies\v2.0\) Step 2: Connect and Get Teams We need to get the TeamSettingsConfigurationService so we’ll have all teams settings and also we need to obtain the ICommonStructureService4 service - Defines methods for working with the common structures Areas and Iterations.
private void btnConnect_Click(object sender, RoutedEventArgs e) {     var tpp = new TeamProjectPicker(TeamProjectPickerMode.SingleProject, false);     tpp.ShowDialog();       if (tpp.SelectedTeamProjectCollection...(Read whole news on source site)

API Design: Sharding Status for failure scenarios

AddThis Social Bookmark Button
An interesting question came up recently. How do we want to handle sharding failures? For example, let us say that I have a 3 nodes clusters of RavenDB, serving posts for a blog (just to give some random example). The way the sharding has been setup, we are doing sharding using Round Robin based on posts (so each post goes to a different machine, and anything related to post goes to the same node as the post). Here is how it can be set: Now, we want to display the main page, and we would like to show
the most recent posts. We can do this using the following code: The question is, what would happen if the second server if offline? I’ll give several alternative in the next few posts....(Read whole news on source site)

Home