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

Prioritizing projects and tasks with minimum loss of time and money

AddThis Social Bookmark Button
Last week, I was so fortunate to attend a marvelous talk by Donald Reinertsen on a amazingly effective approach for prioritizing projects within an agile organization (and which is part of SAFe). Most managers will tend to prioritize their projects based on non-quantifiable attributes such as the strategic importance of a project or the risk of loosing a contract. But if you have a multitude of those projects, all equally important, how do you make a decision on what project should be done first? In his opinion, prioritization should happen on a principle named Weighted Shortest Job First.
In this principle two figures are of upmost important: The duration of the project The cost of delaying that project By dividing the former by the latter, you get the weighted value on which you prioritize. Consider for example three projects, A, B and C, all with the same cost of delay but with varying lengths. If you would put them on a graph like the picture below shows, it becomes pretty obvious which project should be done first. So although my first instinct would be to try to get that...(Read whole news on source site)

Parsing command line arguments with F#

AddThis Social Bookmark Button
Last year, I set out to write my first node.js application; a small web application for keeping lists of everything I consume. I had something working pretty quickly, deployed it to Heroku and still find myself using it today. Since there's very little use for having it running on a server, and because I wanted something to toy with getting better at F#, I decided to port it to an F# console application.

With the UI
gone, I need to resort to passing in arguments from the command line to have my program transform those into valid commands and queries that can be executed.

The set of commands and queries is limited; consume an item, remove an item and query a list of everything consumed.

Ideally I go from a sequence of strings to a typed command or query. However, when the list of arguments can't be parsed, I expect a result telling me what failed just the same.

Since we need the name to identify the command or query, I expect the input to...(Read whole news on source site)

Rx Challenge #6 Solution

AddThis Social Bookmark Button
the previous challenge was about weakening the reference to the subscriber. you can see the challenge here. my solution for this challenge involve WeakObserver class + extension method which will create mediator of the weak observer each subscription. the following code snippet describe my solution: public class WeakObserver : IObserver{ private readonly WeakReference> _target; #region […]

MVP Showcase 2015

AddThis Social Bookmark Button
(This post is in Portuguese and in English) As I mentioned earlier, the Portuguese MVPs are organizing the MVP Showcase 2015 event, this Wednesday, April 22nd, in Lisbon, at Microsoft's premises. I will be presenting on Entity Framework 7, and the slide deck will be available here after the event. Besides myself, the other presenters will be: Rodrigo Pinto (@scoutmanpt) Sara Silva (@saramgsilva) Murilo Miranda (@murilocmiranda) Alexandre Marreiros (@alexmarreiros) Bruno Lopes (
target="_blank">@brunomlopes) Paulo Morgado (@paulomorgado) Nuno Árias Silva (@nunoariassilva) Nuno Godinho (@nunogodinho) Niko Neugebauer (@nikoneugebauer) Nuno Silva (@n_silva) Virgílio Esteves (@vraposo) The keynote will come from Cristina Gonzalez Herrero (@crisgherrero), the head of the MVP program for Portugal, Spain and Italy. Looking forward to seeing you all there! Como disse antes, os MVPs portugueses estão a organizar o evento MVP Showcase 2015, na...(Read whole news on source site)

CodedUI - Attribute based page objects and Jquery selectors to find controls

AddThis Social Bookmark Button
In UI automation Page Object is a popular design pattern which helps you create UI tests that are easy to maintain and help reducing code duplication. The basic idea behind page objects is that you can create a page class that represents the complete HTML page under test in an object oriented way. For e.g. the controls on the HTML page will be represented by properties in the page class and actions as methods. By doing this it’s very easy to use the benefits of OOPS to create composable menus, headers, footers etc. to reuse those parts
in the page objects. In short Page objects encapsulate the behaviors of the HTML page by exposing methods that reflects the user actions and hides the details of telling the browser how to do these things.
Attributes in C# provides a powerful method of associating declarative information in code (types, methods, properties, and so forth). Once associated with a program entity, the attribute can be queried at run time and used in many ways. We'll see how to use attributes in Page objects to provide information on how to find a control on the DOM and later use...(Read whole news on source site)

Slides and Code for NoVA COde Camp - Building Services with Web API

AddThis Social Bookmark Button
My thanks to everyone who attended my session at NoVA Code Camp 2015, "Building Services with ASP.NET Web API". Below you'll find my slides, as well as a link to the Github repository containing my demo code. Please note that the demo code contains many non-standard naming practices, so I would advise against using it as an example of how to name folders/classes in your Web API. The code can be found at:
https://github.com/devhammer/NoVa-Code-Camp-2015 Have questions? Need some help getting your Web API designed and built? Drop me a note, I can help.

C# 6.0 Features

AddThis Social Bookmark Button
C# 6.0 Features How to try C# 6.0 and Rosyln? Getter-only (Read Only) Auto Properties in C# 6.0 Lambda and Getter Only Auto-Properties in C# 6.0 Initializers for Read-Only Auto Properties in C# 6.0 Initializers via Expression Auto Properties in C# 6.0 C# 6.0 – A field initializer cannot reference the non-static field, method, or property Lambda Expression for Function Members in C# 6.0 Dictionary Initializers (Index Initializers) in C# 6.0 Expression Bodies on Methods returning void in C# 6.0 using keyword for static class in C# 6.0 Unused namespaces in Different Color in Visual Studio 2015 Null-Conditional Operator in
C# 6.0 Null-Conditional Operator and Delegates nameof Operator in C# 6.0 Contextual Keywords in C# String Interpolation in C# 6.0 Exception Filters in C# 6.0 Await in Catch and finally block in C# 6.0...(Read whole news on source site)

Life Quotes That Will Change Your Life

AddThis Social Bookmark Button
Life’s better with the right words. And life quotes can help us live better. Life quotes are a simple way to share some of the deepest insights on the art of living, and how to live well. While some people might look for wisdom in a bottle, or in a book, or in a guru at the top of a mountain, surprisingly, a lot of the best wisdom still exists as quotes. The problem is they are splattered all over the Web. The Ultimate Life Quotes Collection My ultimate Life Quotes collection
is an attempt to put the best quotes right at your fingertips. I wanted this life quotes collection to answer everything from “What is the meaning of life?” to “How do you live the good life?”  I also wanted this life quotes collection to dive deep into all angles of life including dealing with challenges, living with regrets, how to find your purpose, how to live with more joy, and ultimately, how to live a little better each day. The World’s Greatest Philosophers at Your Fingertips Did I accomplish all that? I’m not sure. ...(Read whole news on source site)

Home