Month: July 2016

From zero to hero in JSON with C#

Afzaal Ahmad Zeeshan In this post I talk briefly about JSON format of data-interchange and how this can be used with C#. I talked about Json.NET library only. Introduction and Background I have been reading many posts and articles about JSON and C# where every article tries to clarify the purpose of either one thing, or the other thing: JSON or C# libraries. I want to cover both of these technologies in one post so that if you have no idea of JavaScript Object Notation (JSON), and the C# libraries available for processing and parsing the JSON files you can understand these two concepts fully. I will try my best to explain each and every concept in these two frameworks and I will also try to publish the article on C# Corner and to share an offline copy of this post as an eBook, so excuse me if you find me sliding through different writing formats because I have to stick to both writing styles in order to qualify this post as an article and as a miniature guide. When I started to do a bit of programming, I knew there were many data-interchange formats, serialization and deserialization techniques and how objects can be stored including their states in the disk to fetch the same data back for further processing and further working on the same objects that you...

Read More

Quick start-up for .NET core on Windows and Linux

Gourav Jain MCTS® This article will give a kick off start to build an application using .NET core on Linux and Windows Download demo 3 – 184.9 KB Download demo 2 – 53.9 KB Download demo 1 – 61.2 KB Introduction This article will cover the following things Brief Concepts Implementation – Two ways to develop an application in Windows: Implementation – Develop application in Windows: Implementation – Install .NET Core on Linux Server (Ubuntu 16.04) Implementation – Deploy Application (Created on Windows) on Linux Server (Ubuntu 16.04) Implementation – Develop application on Linux Implementation – Develop a MVC application on Windows using Visual Studio: Brief Concepts What is Dot Net Core? Development platform/framework maintained by Microsoft. It supports following OS: Windows MAC Linux cloud Embedded/IOT scenarios Features Flexible deployment: Can be deployed on all the supported machines. Cross-platform: Runs on Windows, MAC and Linux; – – will be covered in today’s session Can be ported to other OS. – – will be covered in today’s session Can be installed by any command line tool. Compatibility: NET Core is compatible with .NET Framework, Xamarin and Mono, via the .NET Standard Library. Open source: The .NET Core platform is open source: Implementation (Using Code): 1. Two ways to develop an application in Windows Using command line Using Visual Studio IDE 2. Develop application in Windows 2.1. Using Command Line...

Read More