Microsoft Cognitive Toolkit 2.0 (CNTK) is available now

CNTK aka Cognitive toolkit was released beta version by Microsoft last year. CNTK is mainly focus on deep learning and Microsoft artificial intelligence services. CNTK is now updated with new version 2.0. The Microsoft Cognitive Toolkit trains and evaluates deep learning algorithms faster than other available toolkits, scaling efficiently in a range of environments—from a CPU, to GPUs, to multiple machine while maintaining accuracy.

Main features are
Highly optimized, built-in componentssEfficiet resource usageEasily express your own networksTraining and hosting with Azure  Preview,

Configure Swagger UI in Core Web API

Documentation is very much important when Web.API has been exposed for public access. A clean documentation gives a more helpful to integrate APIs.Today, we are going to discuss and implement simple yet powerful API documentation library that's definitely going to help you to make your works easy. What is Swagger?Swagger provides rich documentation and seamless  API testing experience to developers. It is a open source framework backed by a large ecosystem of tools that helps you design, build, document, and consume your RESTful APIs. Swagger UI allows anyone — be it your development team or your end consumers — to visualize and interact with the API’s resources without having any of the implementation logic in place. It’s automatically generated from your Swagger specification, with the visual documentation making it easy for back end implementation and client side consumption. Add Swagger to ASP.NET Core Web.API Setup new ASP.NET Core Web.API project with visual studio default …

A Quick Introduction to C# 7 new features

In the recent developer event connect(), Microsoft has announced Visual Studio 2017 RC. Visual Studio 2017 RC release notes described you all their most up-to-date feature innovations and enhancements. With release of VS 15 preview 4, C# 7 is introduced with lot's of improvements and features.
In this article we will see brief introduction of
TuplesOut variablesRef return and Ref localLocal functionsThrow exceptionsPattern matchingDigit separatorsBinary literalsExtended expression bodied members list Note that C# 7 is still in development and all features are subject to change at any time.
Tuples The most common reason to use Tuples is to have multi results. Tuples are defined on the fly instead of pre creating any POCO classes. C# 7 supports multiple value returns.  the compiler will use the new ValueTuple struct.
public (int x, int y) Compute(){ return (1, 2); } Defined name on the method signature will be used directly if the method returns a single variable.
var result = …

Export data to multiple formats in C# using Spire.DataExport

If you are working on enterprise application for your client, you shall be facing one common problem in every meeting, your client always asks for the multiple format data export functionality for data grids and reports. Only a few libraries are available in the market to fulfill our requirements.
Introduction This article is intended to demonstrate and review the features provided by the Spire.DataExport for exporting data into multiple formats. Spire.DataExport is developed by e-icecube which are expert in developing office components and has the ability to export data into MS Word, Excel, RTF, Access, PDF, XPS, HTML, XML, Text, CSV, DBF, SYLK, SQL Script, DIF, Clipboard etc. It's the support to export data from Command, ListView and DataTable components faster than others.

Let's begin,
Create a console application and name the solution DataExport.

Download Spire.DataExport
Spire.DataExport available in free and premium version. You can download it from the official website…

Quick start to configure ASP.NET Core Mvc

Microsoft recently released its next generation platform ASP.NET Core 1.0. ASP.NET Core is a significant redesign of ASP.NET. ASP.NET Core is an open source, lightweight and cross platform application development platform. ASP.NET Core apps can run on .NET Core or on the full .NET Framework. You can develop and run your ASP.NET Core apps cross-platform on Windows, Mac and Linux. In previous version, Web API and MVC are almost same(except one or two). Shailendra Chauhan had explained meaningful difference between MVC and Web.API on his blog dotnet-tricks. Until now, in MVC5 we are facing issues with assemblies, Web API belong to System.Net.Http assembly and MVC belongs to System.Web.MVC. But in ASP.NET Core Microsoft makes it common assembly Microsoft.AspNetCore.Mvc for both. In this post we are going to cover basic configuration to add MVC in ASP.NET Core project manually. Let's begin In Visual Studio, create a new project (File > New > Project), and select ASP.NET Core Web…

Shadow properties in Entity framework core (EF 7)

Entity framework core introduces new feature known as shadow properties. Shadow properties are do not part of entity class, but treated as part of it. The value and state of these properties is maintained purely in the Change Tracker API. These properties can participate in all database operations, but should not be exposed via entity class to the rest of the application.
The main advantages of shadow properties are you can access it without declaring it as part of domain model and It allows developers to define properties in class which doesn't have source code for.
Let's take example of Employee, In database Employee table have five properties EmpoyeeId, FirstName, LastName, Age and CreatedDate. CreatedDate is not exposed and should be define as Shadow properties.
publicclass Employee { publicint EmployeeId { get; set; } publicstring FirstName { get; set; } publicstring LastName { get; set; } publicint Age { get; set; } } Currently, Shadow properties can no…

Entity Framework 7 (EF core 1.0) In-Memory Provider (for testing) simplified

Entity Framework is well-known Microsoft open source (from EF 5) data access technology for .Net applications. Rowan Miller announced their team plans and future of Entity framework 7 in TechEd America 2014. You can view recorded video on Channel 9. Entity Framework 7 (EF7) provides a familiar developer experience to previous versions of EF, including LINQ, POCO, and Code First support. EF7 also enables access to data across relational and non-relational stores. EF7 is much more lightweight than previous versions and is built from the ground up to work great in the cloud (using ASP.NET vNext) on devices (i.e. in universal Windows apps) as well as in traditional .NET scenarios.
Entity Framework is currently in pre-release and enhancing with new features in every release. In this article I am going to share one of useful feature "In-memory store" using Console Application. 
To test Entity Framework DB operations, we need to mock out Dbcontext which is not an easy tas…