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


Slack? An even better cross-team collaboration tool?

AddThis Social Bookmark Button
Two weeks ago, I talked about Flowdock, an online tool to aggregate multiple sources into a single environment where agile teams can work together. I also promised to look at an alternative service named Slack. When we introduced Flowdock, somewhere in November 2013, Slack was still in its very early stages. However, after one year, I decided to check it out once again…and it has changed, boy has it changed. But before I continue, let me quickly recap Flowdock's biggest pain points: A separate inbox No option for sending messages between flows. No
support for Markdown in technical discussions. No support for SharePoint and OneNote URLs. No per-flow notification settings Unintuitive search functionality No Windows Phone and Windows desktop versions. So here's one of Slack's many views: You will immediately notice that messages from external services such as Github or TeamCity appear inline with the remainder of the conversations. I'm not entirely satisfied with the look-and-feel and the noise created by the RSS feed, but I suspect the guys behind Slack will work on that soon enough. The right pane is used to either...(Read whole news on source site)

Public Holidays Kenya 2015

AddThis Social Bookmark Button
Below is the list of some of the National and Public Holidays in Kenya in the year 2015 Public Holidays Kenya 2015 January 01, 2015 (Thursday) New Year’s Day Friday, April 03, 2015 Good Friday Monday, April 06, 2015 Easter Monday Friday, May 01, 2015 Labour Day in Kenya Monday, June 01, 2015 Madaraka Day [...]
or Even
...(Read whole news on source site)

SpecsFor 4.3.1, SpecsFor<Web> Helpers 1.4.1 released!

AddThis Social Bookmark Button
I have two bug-fixe releases for you tonight.  First, SpecsFor now supports partial matching on List types, including generic lists.  It works exactly the same as an array.  Here are the passing specs to illustrate what you can do now: [Test] public void then_it_does_not_throw_on_a_matching_pair_of_objects() { var obj1 = new TestClass { Name = "Name", Items = new List { new NestedClass { Id = 1, Name = "One" } } }; Assert.DoesNotThrow(() => obj1.ShouldLookLike(() => new TestClass { Name = "Name", Items = new List { new
NestedClass { Id = 1 } } }) ); } [Test] public void then_it_does_throw_on_a_non_matching_pair_of_objects() { var obj1 = new TestClass { Name = "Name", Items = new List { new NestedClass { Id = 1, Name = "One" } } }; Assert.Throws(() => obj1.ShouldLookLike(() => new TestClass { Name = "Name", Items = new List { new NestedClass { Id = 2 } } }) ); } Thanks go to Brant Wheeler for pointing out this bug! Next, there was...(Read whole news on source site)

Adding Azure Active Directory and OWIN Code into an AngularJS/ASP.NET MVC Application to Handle User Authentication

AddThis Social Bookmark Button
In a previous post I discussed how to setup the necessary configuration code and assemblies in an AngularJS/ASP.NET MVC application in order to authenticate users against Azure Active Directory (AAD). Once the initial configuration is complete you can write code to redirect users to the AAD login screen to retrieve an ID token. In Part 4 of an article series I’m writing for I discuss the necessary code that’s required to authenticate a user and retrieve the ID token. Additional topics covered include hooking AAD into the ASP.NET MVC pipeline, creating an Entity
Framework token cache, triggering authentication against AAD in MVC controllers, and more. Here’s an excerpt from the article. The complete code for the application discussed in the article series can be found on the OfficeDev Github site.
Adding AAD Configuration and Assemblies into an Application Part 3 of this series covered how to access the Client ID, Key, and Tenant ID values from Azure Active Directory (AAD) and add them into web.config. It also showed how to get the necessary AAD and OWIN NuGet packages in place and create a SettingsHelper class to simplify the process of...(Read whole news on source site)

Adding Azure Active Directory Configuration Code and Assemblies into an AngularJS/ASP.NET MVC Application

AddThis Social Bookmark Button
In a previous post I discussed the process for registering an application with Azure Active Directory (AAD) so that users can be authenticated. AAD supports a wide range of features that can be used to perform authentication, authorization, and claims-based security tasks. Once an application has been registered with AAD you’ll need to add configuration code into the application’s web.config file, add related NuGet packages, and add custom C# code into the application in order to take advantage of AAD authentication functionality. In Part 3 of an article series I’m writing for I
discuss these tasks and walk-through the complete process. Here’s an excerpt from the article.
Integrating AngularJS with Azure Active Directory and Office 365/SharePoint, Part 3 – Adding AAD Configuration and Assemblies into an Application You can choose from many different techniques to authenticate users in an application. You can build a custom solution using a file or database, you can use Active Directory, you can deploy a third-party solution, or you can use a cloud-based service, to name just a few. Every situation is unique so the authentication choice made really depends upon the requirements of the application. In cases...(Read whole news on source site)

Access to the remote server is denied because no login-mapping exists - SQL Server Error

AddThis Social Bookmark Button
Recently when I was working with security and changed some level of access and permission of some logins\users, I received an error while accessing data through linked servers with some logins which was working earlier. Error is reported as below. Msg 7416, Level 16, State 2, Line 1 Access to the remote server is denied because no login-mapping exists. After finding solution following, it worked. Here is a some change of linked server and below is a script to used for same. Just adding a logins to linked server which has
an issue to access it. Use master GO EXEC master.dbo.sp_addlinkedserver @server = N'LinkedServerName', @provider=N'SQLNCLI', @srvproduct = 'MS SQL Server', @provstr=N'SERVER=ServerName\InstanceName;User' EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname = N'LinkedServerName', @locallogin = NULL , @useself = N'False', @rmtuser = N'myUser', @rmtpassword = N'*****' GO Here is the just script and change your user name in place of ‘myuser’ and appropriate server\instance name. Please share your comments if you received such errors and workaround for same. ...(Read whole news on source site)

Xamarin MVP

AddThis Social Bookmark Button
What can I say, I’m truly grateful and proud…   Keeping good company   Special thanks to Lino Tadros and Falafel Software for paying me to have way too much fun with Xamarin. For the complete article and hyperlinks, please visit my blog at

The Beauty (And The Beast) Of Code Generators

AddThis Social Bookmark Button
Lately, I’ve spent a lot of time using Yeoman for generating AngularJS and MEAN applications. I’ve had a love/hate relationship with code generators for a long time, but have never really been able to articulate exactly why, so I thought I’d take a minute to write it out. The Benefits The benefits are easy to explain. They ...

Entity Framework Pitfalls: Mapping Discriminator Columns

AddThis Social Bookmark Button
When you use a discriminator column, that is, a column that holds a value that tells Entity Framework what type the row refers to, or what restriction it shall use when querying the entity, you cannot map this column as a property in your entity.For example, imagine you want to use “soft deletes”, that is, use a database column to represent the “deleted” state of a record instead of actually physically deleting it from the table; you might have an IS_DELETED column of some integer type, that would hold either a 1 or a 0, depending on whether
the record is deleted (1) or not (0). In that case, you would build a mapping like this in OnModelCreating: