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


AngularJS + TypeScript – how to setup a watch (and 2 ways to do it wrong)

AddThis Social Bookmark Button
Introduction After setting up my initial application as described in my previous post, I went about to set up a watch. For those who don’t know what that is – it’s basically a function that gets triggered when a scope object or part of that changes. I have found 3 ways to set it up, and only one seems to be (completely) right. In JavaScript, you would set up a watch like this sample I nicked from Stack Overflow:function MyController($scope) { $scope.myVar = 1; $scope.$watch('myVar', function() {
alert('hey, myVar has changed!'); }); $scope.buttonClicked = function() { $scope.myVar = 2; // This will trigger $watch expression to kick in }; } So how would you go about in TypeScript? Turns out there are a couple of ways that compile but don’t work, partially work, or have unexpected side effects. For my demonstration, I am going to use the DemoController that I made in my previous post. Incorrect method #1 – 1:1 translation./// /// module App.Controllers { "use strict"; ...(Read whole news on source site)

ASP.NET MVC and Identity 2.0: Understanding the Basics - CodeProject

AddThis Social Bookmark Button
ASP.NET MVC and Identity 2.0: Understanding the Basics - CodeProject

ASP.NET team released the RTM version 2.0 of the new Identity framework.
The new release brings with it some long-awaited new features, and
marks a substantial expansion of the security and authorization
capabilities available to ASP.NET applications of all types.

The new RTM release introduces the following features, among others:

Extended User Account Definition, including Email and contact informationTwo-Factor Authentication via email or SMS messaging, functionally similar to that used
by Google, Microsoft, and othersAccount Confirmation via emailAdministrative management of Users and RolesAccount Lock-Out in response to invalid log-in attemptsSecurity Token Provider to regenerate a user's security token in response to changes in security settings.Improved support for Social log-insEasy Integration of Claims-Based Authorization...(Read whole news on source site)

Factorial Of A Given Number(Even works for 0!)

AddThis Social Bookmark Button
Table PLC4_TBL should contain the columns **'id'** and **'Nums'**. **Step 1**: I have used recursive cte. So the **'Nums'** column will produce consecutive numbers from 1 to n(Nums). **Step 2:** To multiply the **'Nums'** from 1 to n, I used **EXP(SUM(LOG(Number)))**. You got the Factorial. **Note:** EXP(SUM(LOG(Number))) will not work for 0!. So I used **CASE** in the cte.

No Slack = No Innovation

AddThis Social Bookmark Button
"To accomplish great things we must dream as well as act." -- Anatole France Innovation is the way to leap frog and create new ways to do things better, faster, and cheaper. But it takes slack. The problem is when you squeeze the goose, to get the golden egg, you lose the slack that creates the eggs in the first place. In the book The Future of Management, Gary Hamel shares how when there is a lack of slack, there is no innovation. The Most Important Source of Productivity is Creativity
Creativity unleashes productivity.  And it takes time to unleash creativity.  But the big bold bet is that the time you give to creativity and innovation, pays you back with new opportunities and new ways to do things better, faster, or cheaper. Via The Future of Management: “In the pursuit of efficiency, companies have wrung a lot of slack out of their operations.  That's a good thing.  No one can argue with the goal of cutting inventory levels, reducing working capital, and slashing over-head.  The problem, though, is that if you wring all the slack out...(Read whole news on source site)

3 Challenges to Help You Set New Benchmarks in Innovation

AddThis Social Bookmark Button
If you want to change your game, you need to know what the key challenges are. Innovation is a game that you can play much better, if you know where and how to debottleneck it. In the book The Future of Management, Gary Hamel shares 3 challenges that he believes can help you unleash your organization’s capacity for innovation. How can you enroll every individual within your company in the work of innovation, and equip each one with creativity-boosting tools? How can you ensure that top management's
href="">hallowed beliefs don't straightjacket innovation, and that heretical ideas are given the chance to prove their worth? How can you create the time and space for grassroots innovation in an organization that is running flat to deliver today's results? According to Hamel, "Make progress on these challenges and your company will set new benchmarks in innovation." If I think back through the various teams I’ve been on at Microsoft, one team that I was on was especially good at helping innovation flourish, and we were constantly pushing the envelope to “be what’s next.”  ...(Read whole news on source site)

Compressed Backlog Refinement | LeadingAgileLeadingAgile

AddThis Social Bookmark Button
Compressed Backlog Refinement | LeadingAgileLeadingAgile

The focus here is about how to conduct that initial refinement meeting, then what might be different in
subsequent refinement sessions.

an interesting metaphor about dealing with uncertainty, take a look at
Brian Sondergaard’s post on Progressive Refinement of Estimates:

Spell Check, Hyphenation, and Thesaurus for .NET with C# and VB Samples - Part 1: Single Threading - CodeProject

AddThis Social Bookmark Button
Spell Check, Hyphenation, and Thesaurus for .NET with C# and VB Samples - Part 1: Single Threading - CodeProject

Spell checking, hyphenation, and synonym lookup via thesaurus are the
Open Office spell checker Hunspell functions. The NHunspell project
makes these functions available for .NET applications. As the Open
Office spell checker Hunspell is used in a vast amount of Open Source
applications, it could also be the first choice for .NET applications.
Beyond Open Office, Hunspell is currently used in the Mozilla
applications Firefox and Thunderbird, the browsers Google Chrome
Opera, and last but not least, in the new Apple MAC OS/X 10.6 "Snow
Leopard" Operating System.

(NHunspell - Hunspell for the .NET platform)...(Read whole news on source site)

BDotnet Wednesday Hangout – WebEd Replay – One ASP.NET

AddThis Social Bookmark Button
BDotnet is hosting its BDotnet Wednesday Hangout on July 30 , 2014 between 9.00 PM – 10.00 pm (IST) on the topic “One ASP.NET”. Visual Studio 2013 brings us closer to One ASP.NET. There’s no MVC project type or Web Forms project any longer, there’s just ASP.NET. If you want to mix Web Forms and Web API, or MVC and SignalR, go ahead! You are encouraged and supported. New features and functionality are brought in with NuGet without breaking existing apps. New tools like Browser Link make building for the web more enjoyable than ever. Speaker: Lohith G N ,
Evangelist, Telerik India Lohith is a Microsoft MVP in the area of ASP.NET/IIS. In his day job, he works as a Technical Evangelist for Telerik in India. He has a decade of experience building web applications and is well versed with the Web Forms and MVC models of web development. He is also an author and has written a book titled “Windows Phone 7 Application Development using F#”. He is a active member of BDotNet and also a regular presenter at local UGs in India. Google Plus Event Page Youtube URL Join BDotnet’s Facebook group to keep yourself...(Read whole news on source site)

How to Right Click on a Mac ?

AddThis Social Bookmark Button
If you are looking out for different ways to right click on Mac , here are some of the ways by which you can do it. How to Right Click on a Mac ? 1. Using the shortcut key “Control Key” + click the mouse button which is similar to the right click of a mouse . 2. Using Two Finger track pad . Just enable the Two Finger track pad in the Track pad preferences. In the Apple menu, click System Preferences, then click Track pad. Now , click the Point & Click tab and then enable the Secondary
click checkbox, and from the menu, select the option “click or tap with two fingers”. Now , go to the Finder and the place 2 fingers on the track pad . This will display the context menu....(Read whole news on source site)