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


How can I use MVVM with Xamarin.Forms?

AddThis Social Bookmark Button
Intro to MVVM The Model-View-ViewModel pattern provided a clean separation of concerns between the user interface controls and their logic. Several reasons you would want to implement it are: A clean separation between application logic and the UI will make an application easier to test, maintain, and evolve. Rich data binding and dependency properties provides the means to connect a UI to a View Model. It enables a developer-designer workflow. When the UI XAML is not tightly coupled to the code-behind, the designers can work without independently. It increases application testability. Moving the
UI logic to a separate class that can be instantiated independently of a UI technology makes unit testing much easier. It should be no surprise that users of Xamarin will want to use this in their next Xamarin.Forms projects. In this video, I’ll show you step-by-step how to use MVVM in a new Xamarin.Forms project. Wrap-up I hope this clears things up and don’t forget to leave comments in the YouTube comment section. Feel free to email me any question that you would like answered at This e-mail address is being protected from spambots. You need JavaScript enabled to view it . How can I use MVVM with Xamarin.Forms? was originally published...(Read whole news on source site)

Dependency injection in ASP.NET 5

AddThis Social Bookmark Button
ASP.NET 5 has dependcy injection available at framework level and ASP.NET 5 makes heavy use of it. Most of things surrounding controllers, views and other MVC components are implemented as services that web applications consume. This post is quick overview of dependency injection in ASP.NET 5 with some examples. The post Dependency injection in ASP.NET 5 appeared first on Gunnar Peipman - Programming Blog.

Setup your Chocolatey repository in Azure - Part 3

AddThis Social Bookmark Button
PackageManagement (previously referred as OneGet) is a new feature introduced in PowerShell 5.0 to discover and install software packages from around the web. It is a manager or multiplexor of existing package managers (also called package providers) that unifies Windows package management with a single Windows PowerShell interface. With PackageManagement, you can do the following.

Manage a list of software repositories in which packages can be searched, acquired, and installed
Discover software packages you need

Seamlessly install, uninstall, and inventory packages from one or more software repositories
To see the commands supported by PackageManagement, use the Get-Command as given below.

C:\> Get-Command -Module PackageManagement | ft -Property Name, Version, Source

Name                     Version Source          
----                     ------- ------          
Find-Package    PackageManagement
Get-Package     PackageManagement
Get-PackageProvider PackageManagement
Get-PackageSource PackageManagement
Install-Package PackageManagement
Register-PackageSource PackageManagement
Save-Package    PackageManagement
Set-PackageSource PackageManagement
Uninstall-Package PackageManagement
Unregister-PackageSource PackageManagement

By default a set of providers with sources are configured in PackageManagement. You can use the Get-PackageSource cmdlet to see the available sources.

PS C:\> Get-PackageProvider | select name


PS C:\> Get-PackageSource -ProviderName Chocolatey | ft ProviderName, IsTrusted, IsRegistered, Location

ProviderName IsTrusted IsRegistered Location                    
------------ --------- ------------ --------                    
Chocolatey       False        ...(Read whole news on source site)

Running Kinect for Windows applications on Windows 10 – Things you should verify

AddThis Social Bookmark Button
Running a Kinect v2 device and a Kinect for Windows application on Windows 10 is not difficult nor different than what we have seen in the earlier version of Windows Operating System.  You can run a Kinect for Windows application (either a desktop app, or a store app ) on Windows 10. However, incase you [...]

Setup your Chocolatey repository in Azure - Part 2

AddThis Social Bookmark Button
In the first part of this series we've seen how we can have our chocolatey repository hosted on Azure, we can start pushing and using some packages from the server.

To create and publish packages you’ll need nuget executable on your workstation. You can download the nuget.exe from the link

The next step is to create a nuspec file with the details of the package you want to create. In this sample I’ll create a nuspec file for creating a package for the Foxe XML editor and push that to the chocolatey repository.

Create a folder
foxe-package in your workstation and add the nuspec file with the contents as given below.

xml version="1.0" encoding="utf-8"?>
        Firstobject's free XML editor for Windows
        Free XML editor for Windows
          It loads big files (multi-megabyte) fast and lets you format XML and edit HTML and any loosely formed XML or other markup.
          The tree view is editable and customizable for useful navigation.
        XML, Windows, Free, Tools, Editor       

Setup your Chocolatey repository in Azure - Part 1

AddThis Social Bookmark Button

Chocolatey is a package manager for Windows designed to be a decentralized framework for quickly installing applications and tools that you need. Chocolatey is actually built on top of the NuGet package system, but it is designed to fill a different need. Chocolatey wraps up applications and other executables and makes it easy to install them on your computer.

The goal behind this post is to successfully setup up a Chocolatey repository in Azure websites to distribute software easily throughout the network. You can use the same approach to host a repository on premises, by choosing a deployment
option not to host on Azure but on local IIS.

Follow the steps in the given order to complete the process.
Open Visual Studio and create an empty project (ASP.NET Web Application)

In the package manager console, type the cmdlet Install-Package Nuget.Server to install the NuGet server package

Alternatively you can use the Manage Nuget Packages options by right clicking the project.

After successful installation, your project structure should look like

Open the added Web.config file and change the following values in the appSettings section. Make sure that your package path is not...(Read whole news on source site)

Windows 10 RTM Upgrade and Driver Update Issues

AddThis Social Bookmark Button
True to full Murphy form, my upgrade to Windows 10 on my MacBook Pro Bootcamp partition went anything but smoothly. When I got my new machine a few weeks back I installed the Windows 10 Preview on it – specifically build 10162. The install through the Bootcamp manager went smoothly without any issues whatsoever and Windows 10 had been running nicely on it. The Mac makes for a pretty damn nice and fast Windows machine – it’s quite a bit speedier than a similarly configured Dell XPS 15 I’ve been using. The Mac is partitioned half and half for
Windows and Mac and running the Bootcamp partition from the Mac via Parallels and it all works pretty well. I’ve been spending most of my time in the native Windows partition recently and using Windows 10. I’ve been pleased with Windows 10 – it seems Microsoft has finally found some polish instead of the cartoonish interfaces they’ve been cultivating since Windows Vista through Windows 8. For the most part the OS seems very smooth in terms of operation and the overall feel of the shell. I really like the way the Windows Chrome looks – which actually makes even legacy...(Read whole news on source site)

Windows 10 SDK With New Windows Performance Toolkit Available!

AddThis Social Bookmark Button
Originally posted on: has been a long wait to finally get the new version of the new Windows Performance Toolkit. I had not much time to test the betas since until now managed call stack resolution was not working. WPT for Windows 10 makes some nice progress which you can download here. Click on the Download Standalone SDK and run it. Then uncheck everything except Windows Performance Toolkit and it will install on your machine within minutes. If you download the complete Windows 10 SDK you are not downloading 170MB but several GB.
  Management Summary Graphs are more readable. Graphs with short spikes are much better rendered without the need to zoom into to see them. Colors for graphs are changeable (finally). Filtering can be undone now in the context menu. Quick Search in all tables. Symbol load dialog was improved. You can configure your own stack tag files in Trace Properties. No new Graph Types (at least with...(Read whole news on source site)

How to force your system to start downloading #Windows 10 update?

AddThis Social Bookmark Button
Many of you asked me, why you didn’t receive the Windows 10 upgrade notification even though you reserved your free copy of Windows 10. Please note that, this is going in phases and you will get it soon. Might be, your update files already started downloading. If you can not wait and want to force the same, you can do so by following some simple steps. Continue reading to know more.   If you are using a system with genuine Windows 7 or Windows 8.x, you should start receiving the update files over air or already upgraded your
system for free. In case you didn’t receive it yet and the “Get Windows 10” app still showing you “Thank you for reserving your free upgrade. …. OK, notify me when ready” message as shown below, no need to worry about. You can either wait or force a upgrade.  Go to control panel –> Windows Update screen and if you are seeing the following screen, that means, your update is not yet ready to download.  For a cleaner upgrade, go to your Windows installation directory. You will see a folder name “SoftwareDistribuition”. Inside this, another folder is present named “Download”. Go up...(Read whole news on source site)