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

Lesser-Known NHibernate Features: Serializable Values

AddThis Social Bookmark Button
If you want to store anything in a property of an entity, you can declare it as Object or dynamic; as long as you set it to a value of a serializable type, as supported by BinaryFormatter, you’re good! You can even change the value afterwards to a different type, and it will be saved.You map it like this, in mapping by code:
text; direction: ltr; max-height: 200px; background-color: rgb(244, 244, 244);"> 1: ca.Property(x => x.Payload, x => 2: {

Using Mocks to test Xamarin

AddThis Social Bookmark Button
Many of us believe that Unit Testing is critical in any non-trivial programming.  But Unit Testing can be difficult, especially the use of fakes.  The most common fake is a Mock; unfortunately they are also the most confusing. There are a number … Continue reading → For the complete article and hyperlinks, please visit my blog at http://JesseLiberty.com

Easily format strings – String interpolation in C# 6.0

AddThis Social Bookmark Button
Formatting the string values are very common during development. We generally use String.Format() method, that replaces each format item in a specified string with the text equivalent values from the objects. While this is a common, sometimes this is confusing and produce error. Because, we need to specific the place holder for each item and […]

Working with Non-Compliant OWIN Middleware

AddThis Social Bookmark Button
Microsoft.Owin, a.k.a. Katana, provides a number of very useful abstractions for working with OWIN. These types are optional but greatly ease the construction of applications and middleware, especially security middleware. The Katana team did a great job of ensuring their implementations work well with Microsoft.Owin as well as the standard OWIN MidFunc described below. However, […]

Visual Studio Toolbox: Connected Services

AddThis Social Bookmark Button
In this episode, I am joined by Steve Lasker and Merwan Hade, who show us how Visual Studio 2015 makes it much easier to connect to cloud services. The new Connected Services dialog hides much of the complexity involved in connecting to services, blending together Getting Started guidance, with a wizard-based approach for finding relevant services, getting the right connection libraries, and configuring the services. Steve and Merwan show connecting to a Salesforce service and talk about other service providers you can expect to be added. Resources Steve (@SteveLasker) and Merwan (@merwanhade) on Twitter Connecting to Cloud Services on VS team blog Connected Services documentation

New Nuget Package for Neo4j Users - Neo4jClient.Extension

AddThis Social Bookmark Button
Originally posted on: http://geekswithblogs.net/cskardon/archive/2014/11/26/new-nuget-package-for-neo4j-users---neo4jclient.extension.aspxThe defacto standard for .net users of Neo4j is the Neo4jClient nuget package, if you don’t have that, you’re basically rolling your own connection code, in some cases you might need to, but most of the time, the client will work well. Today I was adding Neo4jClient to a new project, and searched via the Nuget package UI and up popped Neo4jClient.Extension, so, I went to the github repo, read the .md file and thought - I’ll download that bad boy and give it a go. The general gist is to
be able to pass things like your actual entities to the client without needing to write the Cypher, thereby adding even more type safety to your code, so instead of: Client.Cypher.Merge(string.Format("(n:Label {{item}}.Id = {0})", entity.Id)); You can now just put in: Client.Cypher.MergeEntity(entity); Which certainly prevents typos. I’ll describe a bit more about it below, but the TL:DR of it is, whilst it’s in it’s early stages, it’s worth looking at for a .net developer, in particular with a new project. There are some issues to be aware of (see the bottom of the post) but all in all I look forward...(Read whole news on source site)

Speaking at SDC 2014

AddThis Social Bookmark Button
Next week I have honor to speak at Software Development Conference 2014. It is held on 01-02.12 at Arnhem, Netherlands. I have sessions on both days – in total four sessions - and here is the short overview of these. It’s all mostly about ASP.NET, ASP.NET vNext, and cloud but there’s also something about legacy code. I hope you will join me! The post Speaking at SDC 2014 appeared first on Gunnar Peipman - Programming Blog.

The Top 5 Mistakes AngularJS Developers Make Part 1: Relying on $scope

AddThis Social Bookmark Button
Although AngularJS is an extraordinarily popular framework, there is plenty of discussion and controversy over whether or not it truly adds value to projects. Having witnessed its value firsthand as I described in my recent post, Angular from a Different Angle, I believe it can be a powerful tool when used correctly. Voltaire said, “With great power comes great responsibility.” A tool like Angular can be easily abused. This series is designed to help you avoid common traps and pitfalls before they become a problem. The top five mistakes I see people make are: Heavy
reliance on $scope (not using controller as)  Abusing $watch Overusing $broadcast and $emit Hacking the DOM Failing to Test In this series I’ll cover examples of both how these items are abused and my suggested “better practice.” Let’s get started with the first mistake. Relying on $scope (Not Using Controller As) The canonical Angular tutorial inevitably introduces controllers and forces them to take on a dependency to $scope, like this:

   

       
       
   

(function () {
    var app = angular.module('myApp', []);
    function BadController($scope) {
        $scope.notValid = function ()...(Read whole news on source site)

the struggle to slow down and stop kicking butt

AddThis Social Bookmark Button
This week I want to stop for a moment to appreciate the things that I've been able to do in my life... in my career... with my family, my friends and my business. Because honestly, it's hard not to get sucked in to the constant race of business and the world, never ending and never slowing down. Related Storiestrust, but verify …learning to keep my mouth shutWhen everything is “most important” … nothing is

Home