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

Displaying Microsoft Band heart rate via Raspberry PI2 using Mono, C#, OWIN and a Windows Phone

AddThis Social Bookmark Button
Intro – what? WHY? As regular readers of my blog might have seen, I got myself a Raspberri PI 2 and a Sunfounders sensor kit, and was happily dabbling a little with it. And then suddenly, out of the blue, Microsoft dropped a development kit for the Microsoft Band – and Gerard Verbrugge (Microsoft DX Netherlands) challenged me to make something with it. So I thought to combine a number of gadgets: my Microsoft Band, my Windows Phone and  the Raspberry PI plus some of the stuff from the sensor kit. I created an application that
shows your heart rate with a blinking led connected to the Raspberry PI, with a connected buzzer making sound as well. The LED blinks at the heart rate as reported by the Band, and using the  buzzer, the PI also emits and audible tick-sound as the LED blinks. At low heart rate the LED blinks blue, at medium rate green, and at high rate red:
Raspberry PI2 controlled by Microsoft band at heart rate <80
Raspberry PI2 controlled by Microsoft band at heart rate > 80
If you crank up the sound, you can hear...(Read whole news on source site)

File Upload in ASP.NET 5 (vNext)

AddThis Social Bookmark Button
          Introduction:                    In beta 3 version of ASP.NET 5 (vNext), uploading and saving file(s) become very easy. In other words, ASP.NET 5 (vNext) now support model binding of multipart form data. So, now we can easily upload and save file(s).  In this article, I will show you a sample to how to upload and save file(s) in ASP.NET 5.           Description:                       Assuming that you are running Visual Studio 2015 CTP 6 (you can also get that from Azure VM) or later and you
have created an ASP.NET 5 web application. Add a html form and input type=form element in your mvc view,  
                      Then inside your controller add these lines,   public class HomeController : Controller { IApplicationEnvironment _hostingEnvironment; public HomeController(IApplicationEnvironment hostingEnvironment) { ...(Read whole news on source site)

Slides for "Communicating with the Internet of Things"

AddThis Social Bookmark Button
Thanks to all the folks who came out to hear my talk last night at CapArea.NET on "Communicating with the Internet of Things". I'm embedding my slides from the talk below, including some additional resource links: If you have questions about the talk, or want to know more about how to get started working with NETMF and Gadgeteer, drop me a note. I'm available to do custom classes if your organization needs a primer on embedded development in the .NET world as well. If you missed this talk, and would like to catch it live,
I'll next be bringing my big box of gear on the road to Philly Code Camp on Saturday, March 21st, and on April 14th, I'll be at the Hampton Roads .NET User Group....(Read whole news on source site)

10x Developer, Reconsidered | DaedTech

AddThis Social Bookmark Button
10x Developer, Reconsidered | DaedTech



Mehdi Khalili once introduced me, through his blog,
to the term “Net Negative Producing Programmer,” to describe a person
who is actually a drag on the team rather than any kind of help, however
middling. 



You can read some salient points and a whole ton of interesting links from this jumping off stack exchange question.

PowerShell - Get, Set and Remove environment variables

AddThis Social Bookmark Button

The environment provider made it easy to work with the environment variables on a local machine or a remote server to load the environment as a PSDrive and work on it. This simplifies accessing data from environment variables using PowerShell using the same cmdlets as working with files and directories like Get-Item, Set-Item, Remove-Item etc.
We'll make use of this feature to get, set and remove environment variables.

FunctionTest-EnvironmentPath
{
      [CmdletBinding()]
      param
      (
            [Parameter(Mandatory = $true)]
            [ValidateNotNullOrEmpty()]
           
[String]$Path
      )
     
      if(-not ($Path.StartsWith("Env:\")))
      {
            $Path= "Env:\$($Path)"
      }
      Test-Path $Path   
}

FunctionGet-EnvironmentPath
{
      [CmdletBinding()]
      param
      (
            [Parameter(Mandatory = $true)]
            [ValidateNotNullOrEmpty()]
            [String]$Path
      )
   
      if(-not ($Path.StartsWith("Env:\")))
      {
            $Path= "Env:\$($Path)"
      }
     ...(Read whole news on source site)

Visual Studio Toolbox: Historical Debugging with IntelliTrace in Visual Studio 2015

AddThis Social Bookmark Button
IntelliTrace automatically records the execution of your application without you performing any additional steps. Any time the debugger breaks the execution of the application (e.g. because a breakpoint is hit), the IntelliTrace UI is updated and displays the data that has been collected up until that point. In this episode, I am joined by Angelos Petropolous, who was on the show three weeks ago. Angelos returns to show us in more detail the enhancements made to how you use IntelliSense in Visual Studio 2015 for historical debugging.

Home