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

New Article Published about Why iOS Developers Still Need to Know Objective-C

AddThis Social Bookmark Button
I have a new in-depth article published online today called, “Why iOS Developers Still Need to Know Objective-C”. See below for more information and a link to the online article. Article Introduction Intro: I remember it all so well, I was at WWDC 2014, when Apple first announced a new programming language for iOS called Swift. The first thought that passed through the minds of most attendees was something along the lines of: Wait…what? I love Objective-C, now I gotta learn another language?
Is this the only way to build apps for iOS 8? The Full Article The full article is hosted on the TDN website and you can access it by clicking here. Don’t forget to rate it and leave comments if you have any problems.
...(Read whole news on source site)

#1,184 – Where Data Templates Are Used, part II

AddThis Social Bookmark Button
A data template is typically set as the value of the ContentTemplate property of a ContentControl or the ItemTemplate property of an ItemsControl. The ContentTemplate and ItemTemplate properties are typically used as follows: The ContentTemplate is used as the ContentTemplate of a ContentPresenter, which is itself contained in the control’s control template The ItemTemplate is used as the ContentTemplate for each item presented by an ItemsPresenter (e.g. used […]

Modeling exercise: The grocery store’s checkout model

AddThis Social Bookmark Button
I went to the super market yesterday, and I forgot to get out of work mode, so here is this posts. The grocery store checkout model exercise deals with the following scenario. You have a customer that is scanning products in a self checkout lane, and you need to process the order. In terms of external environment, you have: ProductScanned ( ProductId: string ) event Complete Order command Products ( Product Id –> Name, Price ) dataset So far, this is easy, however, you also need to take into account: Sales (1+1, 2+1, 5% off for
store brands, 10% off for store brands for loyalty card holders). Purchase of items by weight (apples, bananas, etc). Per customer discount for 5 items. Rules such as alcohol can only be purchased after store clerk authorization. Purchase limits (can only purchase up to 6 items of the same type, except for specific common products) The nice thing about such an exercise is that it forces you to see how many things you have to juggle for such a seemingly simple scenario. A result of this would be to see how you would handle relatively complex rules. Given the number...(Read whole news on source site)

The Morning Brew #1720

AddThis Social Bookmark Button
Software Microsoft Azure Websites WebJobs is now GA in the Microsoft Azure Platform – Magnus Mårtensson shares in the announcement of the General Availability of Microsoft Azure WebJobs [Announcement] ODataLib 6.8.1 Release – Layla Liu announces the release of the ODataLib 6.8.1, addressing a couple of issues, and two new features around dates and collections […]

Ad-hoc Polymorphism in F# (how to survive without Type Classes)

AddThis Social Bookmark Button
A recurring source of confusion for me when reading about and writing F# has been ad-hoc polymorphism, and it seems that I am not the only one: “F# does not have support for type-classes, or for multi-methods, or anything in between and while you can do certain tricks to achieve such an effect, like passing around a global virtual table, truth is F#’s ad-hoc polymorphic capabilities really suck.” Martin Trojer Ad-hoc polymorphism is the programming language feature that allows a function to work with arguments of varying types. The example given by wikipedia is: 1 + 2 = 3 3.14 + 0.0015 =
3.1415 The first line shows the addition of two integers. The second line shows the addition of two floating point numbers. For this to work the (+) operator must be a function that can operate on both integers and floats. This is an example of ad-hoc polymorphism. F#’s predecessor OCaml has almost no support for ad-hoc polymorphism, so the previous (+) example does not work in OCaml. +, -, / and * only work for integers and you need +., -., /. and *. for floating point operations. Where F# Becomes Difficult Consider the following example (borrowed from...(Read whole news on source site)

Building a Better NuGet

AddThis Social Bookmark Button
Building a Better NuGet



NuGet is the standard package manager for the Microsoft development
platform. It has transformed the ease of finding and installing the
latest version of .NET packages, tools and frameworks. However, it
relies on package authors to get packages right, and there is little
documentation for them to go by, leading to a few inevitable problems.
Ed Charbeneau offers advice from experience. 

Home