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


Resolve Multiple Interface Bindings With Ninject

AddThis Social Bookmark Button
The old adage "program to an abstraction, not a concretion" reigns true and used in most modern application design via the use of Interfaces and concepts like IoC and DI. The polymorphic behavior of Interfaces and their ability to have multiple implementations allows us to do some really cool things as well as be staged for highly testable code with mocking frameworks like Moq.

However I'd say 99% of the time we typically have 1 Interface bound to a single concrete class using our DI framework. There will be cases where you will want to take
advantage of having more than 1 implementation of an Interface and need to configure this.

Ninject is a great DI framework and you can achieve this through the use of named bindings. In this case if we have an Interface named ICalculate you could have 2 (or more) implementations. However upon injecting the class into a constructor, how would you dictate which instantiation/binding to use? The named bindings accomplish this as follows.

1. Provide a name for the bindings using the same Interface to allow them to be unique:
2. Specify the named...(Read whole news on source site)

AI - Artificial Intelligence: ML - Machine Learning: Project Cortana: Siri vs Singularity

AddThis Social Bookmark Button
Deep learning enables large-scale computer image recognition with Project Adam | Microsoft Research Luminaries | Channel 9

Trishul Chilimbi, Partner Research Manager for Microsoft Research,
discusses Project Adam, and how deep neural networks have enabled
large-scale computer image recognition with astounding accuracy.

New Enterprise Mobility Virtual Labs on TechNet - Enterprise Mobility - Site Home - TechNet Blogs

AddThis Social Bookmark Button

Emaroo 2.2.0 Released

AddThis Social Bookmark Button
Emaroo is a free utility for browsing most recently used (MRU) lists of programs like Visual Studio, Word, Excel, PowerPoint and more. Quickly open files, jump to their folder in Windows Explorer, copy them (and their path) to the clipboard - all with just a few keystrokes or mouse clicks. You can download Emaroo 2.2.0 on Getting Started Download, unzip and run the MSI Start Emaroo (e.g. by hitting the Windows key, typing “Emaroo” and pressing Enter) Tip: Right-click the “Emaroo” task bar item and choose “Pin this program to the task bar” from the context menu. If you drag the
task bar item to the left-most position, you can start Emaroo anytime by hitting Win+1. Press F1 for a quick reference of the features. What’s New? Added: Files can be dragged outside the application window (e.g. to copy them to a folder or open them in another application). This will not affect the most recently used list. Fixed: Context menu not updating items to match the "always open as administrator" option when using the menu key on the keyboard. Fixed: Bitmap cache files of old versions not being removed. You can read the complete version history on the Emaroo website....(Read whole news on source site)

Random Link Roundup–1/29/2015

AddThis Social Bookmark Button
Are we really almost 1/12th of the way through 2015?  Where does the time go?!?  For the .NET crowd… Brant Wheeler has a nice write-up on doing  Calendar-Quarter Aggregation in MongoDB. C# 6.0 is coming!  If you haven’t memorized the new features, MSDN has a good overview. I’m a big fan of partial rendering in ASP.NET MVC, but Dino Esposito gave me some new ideas.   For my fellow devs cranking out JS… Did you know you can generate
UUIDs in JavaScript?  Well, you can! If you want to combine AngularJS and SignalR, this project might help. CodyHouse has a lot of great samples, including this new one on creating a slide-in content filter with jQuery and some CSS trickery. If you're doing Angular 1.3 today, you can start prepping for the 2.0 transition by building component-based directives.   And the other links that aren’t like the others… Picking colors is hard.  Thankfully, there are tools like TintUI. ...(Read whole news on source site)

Passing Data to Angular from ASP.NET MVC Views

AddThis Social Bookmark Button
Angular is a great tool for enriching an ASP.NET MVC application, but you must bridge the gap between your client-side code and your server-side code in order to use it effectively.  In this post, I’ll show you a couple of ways that you can pass data from your Razor views to your AngularJS components. The Challenge The challenge we’re trying to solve is handing data off from our .NET code, which executes server-side, to our JavaScript code, which executes client-side.   Now, I know what you’re thinking, “That’s easy!  Just return the data from
Web API as JSON and grab it using $http!  DUH!”  But that’s not the challenge we’re tackling here.  That approach requires two round-trips to the server: one to get the page, and another to get the data.  Instead, we’re going to hand the data off as part of the initial page load.  We’re going to “bootstrap” our client-side app by handing data directly from our Razor view to our JavaScript. There are several reasons why you may wish to do this rather than using AJAX requests.  First, there’s the aforementioned benefit of grabbing all the data as part...(Read whole news on source site)

Interview with The Entrepreneur's Library on Getting Results the Agile Way

AddThis Social Bookmark Button
What is Agile Results all about?   What are the most important keys to using Agile Results to master productivity, time management, and work-life balance? If you've ever wondered what Getting Results the Agile Way is all about, or want to know how to make the most of the book, this is it.  I answer these questions and more in my interview with The Entrepreneur's Library on Getting Results the Agile Way: Interview with The Entrepreneur's Library on Agile Results
In this interview, Wade Danielson, the creator of The Entrepreneur’s Library, asks me the following questions: What was the inspiration behind writing this book? What makes this book different from others regarding this same topic? If the reader could only take one concept/principle/action item out of the entire book, what would you want that to be? Do you have a favorite quote from your book? If there was only one book you recommend to our listeners based on the...(Read whole news on source site)