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

Dependency injection directly into actions in ASP.NET Web API

AddThis Social Bookmark Button
There is a ton of great material on the Internet about dependency injection in ASP.NET Web API. One thing that I have not seen anywhere though, is any information about how to inject dependencies into the action, instead of a … Continue reading →The post Dependency injection directly into actions in ASP.NET Web API appeared first on StrathWeb.

Sharing code between an Xamarin Forms/MVVMLight app and EF-code first backend using Shared Reference Project Manager

AddThis Social Bookmark Button
Disclaimer I am in the very early early stages of toying with Xamarin and it may well be that whatever I am doing here, is not the smartest thing in the world. This is a much as a report of my learning (may ‘struggle’ is a better word) as how-to. But what I describe here works – more or less – although it was a mighty hassle to actually get it working. The objective While I was having my first trials with Xamarin stuff, I turned to Entity Framework Code First because, well, when setting up a backend
I am lazy. Without much thinking I made the models, using data annotations, and soon found out I had painted myself into a corner with a model that (very simplified) looks like this using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace DemoShared.Models { [Table("Pictures")] public class Photo { public long ID { get; set; } [Required] public string Name { get; set; } } } Guess what - data annotations don't work in PCL. Now what?...(Read whole news on source site)

Merge Team Projects into one in TFS

AddThis Social Bookmark Button
In TFS 2012 the product team introduced the concept of Teams into TFS. Before this many organisations created multiple Team Projects and now want to merge Team Projects into one, or at least fewer. There are many reasons you might have done this in the past but there is no reason to live with this. The post Merge Team Projects into one in TFS appeared first on naked ALM - Experts in ALM, TFS & lean-agile with Scrum.

Getting Started with the Tessel

AddThis Social Bookmark Button
Somewhere last year (I honestly no longer remember when), I saw a few tweets that piqued my interest: a crowdfunding project for the Tessel, “an internet-connected microcontroller programmable in JavaScript”. Since everyone was doing Arduino and Netduino and JavaScript is not the worst language ever, I thought: let’s give these guys a bit of money! A few months later, they reached their goal and it seemed Tessel was going to production. Technical Machine, the company behind the device, sent status e-mails on their production process every couple of weeks and eventually after some delays, there it was!
Plug, install (a little), play! After unpacking the Tessel, I was happy to see it was delivered witha micro-USB cable to power it, a couple of stuickers and the climate module I ordered with it (a temperature and humidity sensor). The one-line manual said “http://tessel.io/start”, so that’s where I went. The setup is pretty easy: plug it in a USB port so that Windows installs the drivers, install the tessel package using NPM and update the device to the latest firmware.
npm install -g tessel tessel update

Inside Microsoft's hackathon: Big ideas and new traditions at a tech giant in transition - GeekWire

AddThis Social Bookmark Button
Inside Microsoft's hackathon: Big ideas and new traditions at a tech giant in transition - GeekWire



Nadella said during his remarks to employees as the event began



Nadella encouraged employees to take a hard look at existing Microsoft
products such as Windows, Office and Bing, to get a sense for
how flexible the code could be.

What is my query doing?

AddThis Social Bookmark Button
Recently we had to deal with several customers support requests about slow queries in RavenDB. Now, just to give you some idea about the scope. We consider a query slow if it takes more than 50ms to execute (excluding client side caching). In this case, we had gotten reports about queries that took multiple seconds to run. That was strange, and we were able to reproduce this locally, at which point we were hit with a “Duh!” moment. In all cases, the underlying issue wasn’t that the query took a long time to execute, it was that the result of
the query was very large. Typical documents were in the multi megabyte ranges, and the query returned scores of those. That means that the actual cost of the query was just transporting the data to the client. Let us imagine that you have this query:
session.Query()
.Where(x => x.Age >= 21)
.ToList();

And for some reason...(Read whole news on source site)

Home