ioc comparison

IoC Container Benchmark – Performance comparison
“Ninject is definitely the slowest container.

MEF, LinFu and Spring.NET are faster than Ninject, but still pretty slow.
AutoFac, Catel and Windsor come next, followed by StructureMap, Unity and LightCore. A disadvantage of Spring.NET is, that can only be configured with XML.

DryIoc, LightInject and SimpleInjector offer a very performance combined with support for advanced scenarios like interception and generic decorators.
Simple Injector and LightInject also provide extensive documentation and support all important platforms.”
http://www.palmmedia.de/blog/2011/8/30/ioc-container-benchmark-performance-comparison

List of .NET Dependency Injection Containers (IOC)
http://www.hanselman.com/blog/ListOfNETDependencyInjectionContainersIOC.aspx
IoC Battle in 2015 results: Using Ninject – think again!
“Dynamo IoC: Another IoC container – but faster!”
http://cardinalcore.co.uk/2015/01/28/ioc-battle-in-2015-results-using-ninject-think-again/

 

wpf development and mvvm pattern

WPF Enterprise MVVM Session 1: Building a base ViewModel class
https://www.youtube.com/watch?v=lool8Ut58Xw

ADO.NET Entity Framework
“This sample shows a WPF application built on top of the Microsoft ADO.NET Entity Framework. The application shows how the Entity Framework can be used in some common design patterns that promote testability and maintainability of code.”
https://code.msdn.microsoft.com/windowsdesktop/ADPNET-Entity-Framework-2d1160cb

 

MVVM Best Practices
“In this episode, recorded at TechEd in Houston, Robert is joined by Brian Lagunas of Infragistics, who shares with us best practices for building applications using MVVM. Brian starts off by reviewing what MVVM is and what it isn’t. He then demonstrates several things you should not do and why you should not do them. In addition to the demos, Brian gives his advice on how he approaches some common scenarios.”
https://channel9.msdn.com/Shows/Visual-Studio-Toolbox/MVVM-Best-Practices

 

WPF MVVM step by step (Basics to Advance Level)
http://www.codeproject.com/Articles/819294/WPF-MVVM-step-by-step-Basics-to-Advance-Level

 

5: Implementing the MVVM Pattern Using the Prism Library 5.0 for WPF
https://msdn.microsoft.com/en-us/library/gg405484(v=pandp.40).aspx

 

Prism 5.0 for WPF – April 2014
“Prism provides guidance designed to help you more easily design and build rich, flexible, and easy to maintain Windows Presentation Foundation (WPF) desktop applications.”
https://www.microsoft.com/en-us/download/details.aspx?id=42537

 

WPF MVVM Example App
https://relentlessdevelopment.wordpress.com/2010/06/08/wpf-mvvm-example-app/

 

Simplified MVVM Commanding with DelegateCommand
https://relentlessdevelopment.wordpress.com/2010/03/30/simplified-mvvm-commanding-with-delegatecommand/

 

Testing Tools
“Programmatic access and keyboard access to your application are two critical requirements for accessibility. Without adequate access, many users of assistive technology (AT), such as screen reader and on-screen keyboard users, would be unable to use your application. It is important to thoroughly test your application to ensure that it provides adequate information about its UI elements, and that all of your application scenarios can be accomplished with only the keyboard.”
https://msdn.microsoft.com/en-us/library/dd373661(v=vs.110).aspx

 

 

 

DependencyProperties or INotifyPropertyChanged

 

DependencyProperties or INotifyPropertyChanged ?
“When you want to make an object binding-aware you have two choices : implements INotifyPropertyChanged or creates DependencyProperties.”
http://www.codeproject.com/Articles/62158/DependencyProperties-or-INotifyPropertyChanged
Optimizing Performance: Data Binding
https://msdn.microsoft.com/en-us/library/bb613546.aspx

WPF Dependency Properties vs INotifyPropertyChanged
“If you are doing WPF development you will not get very far before running into this decision. Should you use DependencyObject(and DependencyProperty) or should you implement INotifyPropertyChanged to support binding. This question boils down into two really. When do you “need” to use one or the other, and when might you “want” to choose one over the other.”
http://codemonkeycorner.com/post/wpf-dependency-properties-vs-inotifypropertychanged

 

 

 

Azure Machine Learning

Microsoft Azure Machine Learning Algorithm Cheat Sheet
https://azure.microsoft.com/en-us/documentation/articles/machine-learning-algorithm-cheat-sheet/

How to get started with Azure ML
https://curah.microsoft.com/282848/how-to-get-started-with-azure-machine-learning

Machine Learning APIs
http://gallery.azureml.net/

 

– Check out the Azure Machine Learning Studio: https://studio.azureml.net
– Check out the Azure Machine Learning Gallery: https://gallery.azureml.net
– Channel 9 getting started videos for Azure Machine Learning: http://channel9.msdn.com/Search?term=Azure%20Machine%20Learning#ch9Search&lang-en=en

 

More complex features available:
– Link to the CodePlex site with the Azure ML ExceL Add-In: https://azuremlexcel.codeplex.com/
– Using the Azure Machine Learning re-training API:
http://azure.microsoft.com/en-us/documentation/articles/machine-learning-retrain-models-programmatically/
– Check out the Azure Machine Learning webinars available online to sign up to: https://azureinfo.microsoft.com/BigDataAdvancedAnalyticsWebinars.html

 

Data Science London
“Data Science London is a community of data scientists that meets regularly to discuss data science ideas, concepts, and tools, methods and technologies used by many startups to analyse large scale data (big data), extract predictive insight, and exploit business opportunities from data products.”
http://datasciencelondon.org

https://twitter.com/ds_ldn

 

Data Science Training Courses
http://datascienceacademy.com/

 

Data Machina by @ds_ldn
“A FREE weekly digest of data science curiosities, big data folklore, and computer science amenities. For those bemused by data sorcery, algorithmic esoterics and intelligent machinery. Curated by @ds_ldn human algorithms. Before you ask: That’s the diagram of Turing’s Electronic Brain.”
http://tinyletter.com/datamachina

 

 

Storage for Big Data? Here is Hadoop on Azure

HDInsight: Our 100% Apache Hadoop-based service in the cloud
http://azure.microsoft.com/en-gb/services/hdinsight/
HDInsight Pricing
http://azure.microsoft.com/en-gb/pricing/details/hdinsight/
HDInsight Server (Apache Hadoop on Azure)
https://technet.microsoft.com/en-gb/library/dn247618.aspx

Getting Started with HDInsight
http://azure.microsoft.com/blog/2013/03/19/getting-started-with-hdinsight/

What’s new in the Hadoop cluster versions provided by HDInsight?
https://azure.microsoft.com/en-gb/documentation/articles/hdinsight-component-versioning/

Getting Started with the Windows Azure HDInsight Emulator
http://social.technet.microsoft.com/wiki/contents/articles/14143.getting-started-with-the-windows-azure-hdinsight-emulator.aspx

 

Other Links

 

Introducing Oracle Data Mining
http://docs.oracle.com/cd/B28359_01/datamine.111/b28129/intro_concepts.htm#DMCON001

KnowledgeMiner Software Insights
http://www.knowledgeminer.eu/

 

ML Algos

“What are the top 10 data mining or machine learning algorithms?”
http://www.quora.com/What-are-the-top-10-data-mining-or-machine-learning-algorithms

 

 

 

 

Docker for Apps, Vagrant for VMs

Docker for Developers – Jérôme Petazzoni
https://www.youtube.com/watch?v=FdkNAjjO5yQ

The best way to understand Docker is to try it!
http://www.docker.com/tryit/

Docker introduction
http://www.slideshare.net/dotCloud/docker-intro-november?next_slideshow=1

Fun with ASP.NET 5, Linux & Docker
http://blog.markrendle.net/fun-with-asp-net-5-and-docker/

Running ASP.NET 5 applications in Linux Containers with Docker
http://blogs.msdn.com/b/webdev/archive/2015/01/14/running-asp-net-5-applications-in-linux-containers-with-docker.aspx

Publishing an ASP.NET 5 app to Docker on Linux with Visual Studio
http://www.hanselman.com/blog/PublishingAnASPNET5AppToDockerOnLinuxWithVisualStudio.aspx

 

Vagrant

Creating a base box
https://docs.vagrantup.com/v2/virtualbox/boxes.html

Azure Virtual Machine creation and set up using Vagrant – with Cory Fowler
http://azure.microsoft.com/en-gb/documentation/videos/azure-virtual-machine-creation-and-set-up-using-vagrant-with-corey-fowler/

Vagrant Azure Provider is now Platform Independent
https://msopentech.com/blog/2015/02/03/vagrant-azure-provider-now-platform-independent/

 

Azure Virtual Machine creation and set up using Vagrant – with Cory Fowler
https://azure.microsoft.com/en-gb/documentation/videos/azure-virtual-machine-creation-and-set-up-using-vagrant-with-corey-fowler/
Vagrant Azure Provider
https://github.com/Azure/vagrant-azure

msopentech vagrant
https://msopentech.com/opentech-projects/vagrant/

 

Boxstarter

Boxstarter
“Repeatable, reboot resilient windows environment installations made easy using Chocolatey packages. When its time to repave either bare metal or virtualized instances, locally or on a remote machine, Boxstarter can automate both trivial and highly complex installations. Compatible with all Windows versions from Windows 7/2008 R2 forward.”
http://boxstarter.org/

 

 

 

 

 

 

.NET Open Source and Cross-Platform

Opening up Visual Studio and .NET to Every Developer, Any Application: .NET Server Core open source and cross platform, Visual Studio Community 2013 and preview of Visual Studio 2015 and .NET 2015
http://blogs.msdn.com/b/somasegar/archive/2014/11/12/opening-up-visual-studio-and-net-to-every-developer-any-application-net-server-core-open-source-and-cross-platform-visual-studio-community-2013-and-preview-of-visual-studio-2015-and-net-2015.aspx

Microsoft takes .NET open source and cross-platform
http://blogs.msdn.com/b/dorischen/archive/2014/11/12/microsoft-takes-net-open-source-and-cross-platform.aspx

.NET Core is Open Source
http://blogs.msdn.com/b/dotnet/archive/2014/11/12/net-core-is-open-source.aspx

Announcing .NET 2015 – .NET as Open Source, .NET on Mac and Linux, and Visual Studio Community
http://www.hanselman.com/blog/AnnouncingNET2015NETasOpenSourceNETonMacandLinuxandVisualStudioCommunity.aspx

 

What’s the difference between Visual Studio Code vs Visual Studio 2015 RC?
http://www.quora.com/Whats-the-difference-between-Visual-Studio-Code-vs-Visual-Studio-2015-RC

 

Technical Indicators FX Traders Must Know

4 Types Of Indicators FX Traders Must Know
http://www.investopedia.com/articles/forex/10/indicators-fx-traders-must-know.asp

Top 5 Forex Indicators And How To Use Them
https://www.globalfxclub.com/forex-education/347-top-10-forex-indicators-and-how-to-use-them

Quotation Styles
EUR, GBP, AUD, NZD, FJD, TOP, WST, PGK, BWP, SBD, USD
There is a market convention that determines for any currency pair which currency is CCY1 and CCY2, based on the value of each currency and a hierarchy of exceptions. For example, a rate between CHF (Swiss Franc) and JPY (Japanese Yen) will be quoted as CHF/JPY because one Swiss Franc is worth more than one Japanese Yen. The less valuable currency is typically CCY2 (giving a rate higher than 1) except for the currencies listed on the left, which are always CCY1. If any of these currencies are quoted against each other, then the currency higher in this list will be CCY1.
ref: http://www.londonfx.co.uk/quoting.html

 

 

 

Code Analysis and Code Visualization

Code Analysis and VisualizationTools
http://thinkingcraftsman.in/articles/codeanalysistools.htm

Code Rocket® for Visual Studio .NET (2005, 2008, 2010)
http://www.rapidqualitysystems.com/Products/CodeRocketNET

 

Static Analysis Tools

NDepend is a static analysis tool for .NET managed code. This tool supports a large number of code metrics, allows for visualization of dependencies using directed graphs and dependency matrix.
http://www.ndepend.com

 

StyleCop
https://stylecop.codeplex.com/

C# Code Reviews using StyleCop – Detailed Article
http://www.codeproject.com/Articles/30762/C-Code-Reviews-using-StyleCop-Detailed-Article

 

Sonar

SonarQube Platform
“The SonarQube® platform is an open source quality management platform, dedicated to continuously analyzing and measuring the technical quality of source code, from project portfolio down to the method level. To understand what the platform tracks and why it’s important, take a look at the Developers’ Seven Deadly Sins.”
http://docs.sonarqube.org/display/HOME/SonarQube+Platform

SonarQube Installation
https://www.youtube.com/watch?v=IFlN4bUufi8

 

Related Links

Developers’ Seven Deadly Sins
http://docs.sonarqube.org/display/HOME/Developers%27+Seven+Deadly+Sins

 

Code reviews

 

The Ten Commandments of Egoless Programming
http://blog.codinghorror.com/the-ten-commandments-of-egoless-programming/

Egoless programming
https://en.wikipedia.org/wiki/Egoless_programming

Code Review
http://www.slideshare.net/rantav/code-review

 

Give it five minutes
https://signalvnoise.com/posts/3124-give-it-five-minutes

On Code Reviews and Developer Feedback
http://dev.bizo.com/2012/03/on-code-reviews-and-developer-feedback.html

Why code reviews matter (and actually save time!)
https://www.atlassian.com/agile/code-reviews/

A quick guide to peer code review (and why you should do it)
https://www.netguru.co/blog/a-quick-guide-to-peer-code-review#

Things Everyone Should Do: Code Review
http://goodmath.scientopia.org/2011/07/06/things-everyone-should-do-code-review/

 

 

 

Running Scripts from C# Application

Run Powershell-Script from C# Application
http://stackoverflow.com/questions/11120452/run-powershell-script-from-c-sharp-application

How to run PowerShell scripts from C#
http://www.codeproject.com/Articles/18229/How-to-run-PowerShell-scripts-from-C

Python for C# Developers, By Michael Kennedy
http://www.codemag.com/article/1407051

A 3 minute guide to embedding IronPython in a C# application
http://www.secretgeek.net/host_ironpython

Is it possible to dynamically compile and execute C# code fragments?
http://stackoverflow.com/questions/826398/is-it-possible-to-dynamically-compile-and-execute-c-sharp-code-fragments
http://msdn.microsoft.com/en-us/library/y2k85ax6.aspx
http://blogs.msdn.com/b/lukeh/archive/2007/07/11/c-3-0-and-codedom.aspx
It depends on your precise needs. Two ways I can think of:

Use a language like Python which is interoperable with C#, and call the Python script from C#. Actually, you can even make things simpler by just calling an executable, passing to it an XML or JSON data, and wait for XML or JSON response.

If you need to use C#, then compile C# on the fly, just like LINQPad does. Is it possible to dynamically compile and execute C# code fragments? is a good starting point. Loading the code in a sandbox (in a different AppDomain) is also a good idea if you need to provide enough security and don’t trust the code which can be written by the user.
ref http://programmers.stackexchange.com/questions/210901/scripting-support-in-a-c-application

 

json to c# data class generators

http://json2csharp.com/

http://www.httputility.net/json-to-csharp-vb-typescript-class.aspx

http://jsonutils.com/

What’s the difference between DataContractJsonSerializer and JavaScriptSerializer?
http://stackoverflow.com/questions/9301878/whats-the-difference-between-datacontractjsonserializer-and-javascriptserialize

Json.NET: Popular high-performance JSON framework for .NET
http://www.newtonsoft.com/json

JSON serialization – DataContractJsonSerializer vs JavaScriptSerializer
http://theburningmonk.com/2011/05/json-serialization-datacontractjsonserializer-vs-javascriptserializer/

Serializing and Deserializing JSON
http://www.newtonsoft.com/json/help/html/serializingjson.htm

run python from csharp code
http://www.codeproject.com/Articles/657698/Python-Visual-Studio-and-Csharp-So-Sweet

Running IronPython Scripts from a C# 4.0 Program
http://blogs.msdn.com/b/charlie/archive/2009/10/25/hosting-ironpython-in-a-c-4-0-program.aspx

 

TypeScript vs. CoffeeScript vs. ES6
http://www.slideshare.net/NeilGreen1/type-script-vs-coffeescript-vs-es6

 

Project-less scripted C# with ScriptCS and Roslyn
http://www.hanselman.com/blog/ProjectlessScriptedCWithScriptCSAndRoslyn.aspx

 

Which online Python course is the best?
https://www.quora.com/Which-online-Python-course-is-the-best

 

 

 

aspnet websockets signalir

Learn to Use ASP.NET 4.5 WebSockets The Easy Way
https://www.youtube.com/watch?v=RKzxOUeVrIU

Building Real-time Web Apps with ASP.NET WebAPI and WebSockets
http://blogs.msdn.com/b/youssefm/archive/2012/07/17/building-real-time-web-apps-with-asp-net-webapi-and-websockets.aspx

Learn About ASP.NET SignalR
http://www.asp.net/signalr

Tutorial: Getting Started with SignalR 2.0
http://www.asp.net/signalr/overview/signalr-20/getting-started-with-signalr-20/tutorial-getting-started-with-signalr-20

 

Signalr Supported Platforms
“Supported server operating systems

The SignalR server component can be hosted in the following server or client operating systems. Note that for SignalR to use WebSockets, Windows Server 2012 or Windows 8 is required (WebSocket can be used on Windows Azure Web Sites, as long as the site’s .NET framework version is set to 4.5, and Web Sockets is enabled in the site’s Configuration page).

Windows Server 2012
Windows Server 2008 r2
Windows 8
Windows 7
Windows Azure
Supported server .NET Framework version

SignalR 2 is only supported on .NET Famework 4.5. See the Recommended Updates section for updates that enhance reliability, compatibility, stability, and performance.”
“Supported server IIS versions

When SignalR is hosted in IIS, the following versions are supported. Note that if a client operating system is used, such as for development (Windows 8 or Windows 7), full versions of IIS or Cassini should not be used, since there will be a limit of 10 simultaneous connections imposed, which will be reached very quickly since connections are transient, frequently re-established, and are not disposed immediately upon no longer being used. IIS Express should be used on client operating systems.

Also note that for SignalR to use WebSocket, IIS 8 or IIS 8 Express must be used, the server must be using Windows 8, Windows Server 2012, or later, and WebSocket must be enabled in IIS. For information on how to enable WebSocket in IIS, see IIS 8.0 WebSocket Protocol Support.

IIS 8 or IIS 8 Express.
IIS 7 and 7.5. Support for extensionless URLs is required.
IIS must be running in integrated mode; classic mode is not supported. Message delays of up to 30 seconds may be experienced if IIS is run in classic mode using the Server-Sent Events transport.
The hosting application must be running in full trust mode.”
http://www.asp.net/signalr/overview/getting-started/supported-platforms

“IIS 8.0 The WebSocket Protocol was introduced in IIS 8.0.”
http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-websocket-protocol-support

 

 

 

How do you handle authentication via cookie with CURL?
“If you mean the username and password are entered in a form on a login page, then cURL can “submit” that form like:

curl -d “username=miniape&password=SeCrEt” http://whatever.com/login

and if you want to store the cookie that comes back you do so by specifying a cookie file:

curl -c cookies.txt -d “username=miniape&password=SeCrEt” http://whatever.com/login

and to use those cookie in later requests you do:

curl -b cookies.txt -d “username=miniape&password=SeCrEt” http://whatever.com/login

or do both if you want to both send and receive cookies:

curl -b cookies.txt -c cookies.txt -d “username=miniape&password=SeCrEt” http://whatever.com/login

ref: http://ask.metafilter.com/18923/How-do-you-handle-authentication-via-cookie-with-CURL

 

Raspberry Pi + Nancy + OWIN + SignalR
http://www.youtube.com/watch?v=s_ZQtiupyzE

My very own Taskmanager in HTML 5, SignalR and Nancy
http://www.hugohaggmark.com/2013/12/19/my-own-taskmanager-in-html-5-signalr-nancy/

Nancy-SignalR-Coffee-Chat
https://github.com/biofractal/Nancy-SignalR-Coffee-Chat

Building a simple Nancy app from scratch using Mono and MonoDevelop in OSX
http://littlegists.blogspot.co.uk/2012/12/building-simple-nancy-app-from-scratch.html

Project-less scripted C# with ScriptCS and Roslyn
http://www.hanselman.com/blog/ProjectlessScriptedCWithScriptCSAndRoslyn.aspx

Use OWIN to Self-Host ASP.NET Web API 2
http://www.asp.net/web-api/overview/hosting-aspnet-web-api/use-owin-to-self-host-web-api

 

Async Route Handling with Nancy
http://blog.jonathanchannon.com/2013/08/24/async-route-handling-with-nancy/

 

Best Practices in Asynchronous Programming
http://msdn.microsoft.com/en-us/magazine/jj991977.aspx

 

 

 

 

enterprise and turn key ecommerce solutions

enterprise
http://commerceserver.net/
http://www.hybris.com/en/architecture-technology
http://www.oracle.com/uk/products/applications/commerce/atg/index.html
http://www-03.ibm.com/software/products/en/websphere-commerce

turn key
http://www.znode.com/
http://www.ucommerce.net/

 

hybris

hybris Software Developer Module 01 – Warm Upmore
http://www.academia.edu/5894302/hybris_Software_Developer_Module_01_-_Warm_Up

hybris development setup how to
https://github.com/pviotti/hybris/wiki/Development-Setup-How-To