C# Corner

Resources  
  • LINQ Fundamentals - Single() Vs SingleOrDefault() - Part TwoApr 05, 2018. In first part we discussed First() and FirstOrDefault() extension method, In this part we will discuss Single() and SingleOrDefault().
  • LINQ Fundamentals - First() Vs FirstOrDefault()Apr 04, 2018. There are four famous concepts in LINQ, almost every C# developer knows about them and has used them in their daily development work.
  • C# Object To JSON Parser (JSON Serializer)Mar 30, 2018. This article demonstrate how to parse a C# object into JSON string without using any .Net serializer and third party libraries.
  • Terraform - Starting From The Basics - Part One Mar 16, 2018. In my experience, it gives flexibility to directly start with only knowledge of JSON operation in place of many other tools.
  • ASP.NET Core - CRUD Using Angular 5 And Entity Framework CoreMar 13, 2018. CRUD Operations in ASP.NET Core application using Angular 5 , Web API and Entity Framework Core DB first approach with the help of VS 2017.
  • How To Insert Bulk Records Into SQL Server Using XML Data TypeMar 11, 2018. Sometimes, there is a need to insert bulk records into a database. In some cases, we have multiple unique records and that all needs to be inserted into the database. Instead of hitting the database for each record, we need to insert bulk records into database.
  • Building Xamarin Mobile Application With Bing Web Search Using Cognitive ServicesMar 08, 2018. The Bing Web Search API provides an experience similar to Bing.com/Search by returning search results that Bing determines are relevant to the user's query. The API results include Web pages, images, videos, news, and entities, along with related search queries, spelling corrections, time zones, unit conversion, translations, and calculations. The web Search API uses JSON format for data exchange, and API Keys for authentication.
  • Liquid Templates In Logic AppsMar 05, 2018. Azure Logic Apps support basic JSON transformations through native data operation actions such as Compose or Parse JSON. For advanced JSON transformations, we can use Liquid templates with our logic apps. Microsoft has released the support of Liquid Templates to transform JSON and XML objects.
  • Web Services Using C# - Creating Web ServicesFeb 19, 2018. An XML Web service should be identified by a namespace that is controlled by its company. For example, a company's Internet domain name could be used as part of the namespace. Although many XML Web service namespaces look like URLs, they need not point to actual resources on the Web.
  • Introduction To Angular PipesFeb 19, 2018. This article explains how to use Angular built-in pipes like uppercase, lowercase, titlecase, date, percent, number, currency, slice and json pipe and how to create your customized pipes as well.
  • All About Appsettings.json In ASP.NET Core 2.0Feb 19, 2018. This article talks about the use of maintaining multiple configuration files for a single solution file and how to do this.
  • Deploying VM Using ARM TemplateFeb 14, 2018. Azure Resource Manager (ARM) Templates are JSON files which define the resources which you need to deploy for your solution. ARM templates are community contributed and can be used by anyone from GitHub. This repository holds various predefined ARM templets to choose from has per your needs. But to get started with ARM templates we will be configuring a simple virtual machine deployment from scratch so we can understand easily.
  • Synchronous VS Asynchronous Statistics UpdatesFeb 07, 2018. Implement to help with performance is changing from Update Statistics Synchronous to Auto Update Statistics Asynchronously.
  • SQL Sequence Vs Identity ColumnFeb 06, 2018. Let’s take a look at what a Sequence is in relation to an Identity Column in SQL Server. Did you know Sequence even existed? I didn’t until I was asked about them. It’s amazing how much you can skip over and never notice in SSMS. See this little folder, ever notice it under Programmability in Management Studio. Yep it’s there, SQL Server has this very handy thing called Sequences. Sequences are a relatively new feature that have only existed since SQL Server 2012, but have long existed in Oracle (where there a no identity columns).
  • How Can You Integrate A JSON Framework With iOSFeb 01, 2018. JavaScript Object Notation, or JSON in short, is commonly used for representing structural data and data interchange in client-server applications, serving as an alternative to XML. It has grown in popularity as it is simple to use and human-readable. It is technically a part of the JavaScript language and provides a way to serialize JavaScript objects. It is supported in a wide variety of programming languages. A lot of the services used every day have JSON-based APIs.
  • Build Angular App With .Net Core 2.0 Template(VS 2017) + Deploy On Azure - Step By Step GuideJan 30, 2018. In this article, we will see how to create your Angular application using Visual Studio 2017(.NET Core 2.) and will deploy it to Azure.
  • How To Validate XML Using XSD In C#Jan 29, 2018. Extensible Markup Language (XML) is used to describe data. The XML standard is a flexible way to create information formats and electronically share structured data via the public Internet, as well as via corporate networks. The XML tags are not pre-defined in XML. You will have to create tags according to your needs.
  • Xamarin.Forms Tip - The Easiest Way To Convert A PCL Project Into .NET Standard ProjectJan 25, 2018. Microsoft updated the Xamarin.Forms project templates in VS 2017 to use .Net Standard instead of PCL for writing the shared code (including the Xamarin.Forms UI more details here) as NET Standard is the future of cross platform code sharing see this blog for more information on .Net Standard.
  • Deploying Multiple ASP.NET Core Apps To Docker And AzureJan 22, 2018. API - has controller with CRUD operations for a movies database. It uses a class library Data, which contains repositories. Database is hosted in Azure and connection string stored in application settings (appsettings.json).
  • CRUD Operation In MVC Using Elastic SearchJan 17, 2018. Elastic search is a search engine based on Lucene. It provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents. Elastic search is developed in Java and is released as open source under the terms of the Apache License.
  • JavaScript Vs jQuery - Difference Between JavaScript And jQueryJan 11, 2018. This article is mainly for developers who are new into web development. People who start their career will questions like why jQuery while there is JavaScript or difference between JavaScript and jQuery, which is better to use - JavaScript or jQuery, is jQuery an alternative for JavaScript or will jQuery replace JavaScript etc.
  • Singleton Design Pattern In C# - Part Three (Static vs Singleton)Jan 11, 2018. In this series of learning singleton patterns, we learned lazy initialization and eager initializations with practical examples. We also learned why it is necessary to make the singleton class sealed with sealed keyword. In this article, I’ll try to explain the differences between static and singleton class and where to use static and where to use singleton classes.
  • How To Take Screenshot Using jQuery And PHPJan 10, 2018. Hello all, today in this article we will learn how to take screenshots using jquery and php. So, basically we will create a webpage and in the webpage we create a button which will take screenshot using the help of library called html2canvas . So once we take the screenshot we will save the screenshot in a json file using the help of jquery, javascript and php. We will be using for jquery and javascript to handel client side request and php to handel server side request. We will also learn about file handling using php.
  • Azure Pack Vs Azure StackJan 04, 2018. The article describes key differences between Microsoft's two key hybrid cloud strategies, Azure Pack and Azure Stack
  • List Of Items In Query String From JavaScript And Fetch It In Code Behind In ASP.NETJan 02, 2018. When there is a situation where we have to pass more parameters and it exceeds browser character limit we can consider using JSON Array.
  • Kendo UI TreeList Remote DataBinding With ASP.NET MVC 5 Using ASP.NET WEB APIDec 24, 2017. This article tells you how to construct the kendo TreeView with complex JSON object, which is the response of the REST API developed using ASP.NET Web API.
  • Implementing JWT Auth In Web APIDec 21, 2017. This article will demonstrate how to implement JWT Auth with Web API.
  • Documenting ASP.NET Core 2.0 Web APIDec 20, 2017. Documents generated by Swagger can include XML documentation.
  • Generating XML Root Node Having Colon-Via SerializationDec 20, 2017. This article discusses some of the issues faced while generating an XML on the fly with some defined schema.
  • Twitter Cards Implementation With WebsitesDec 19, 2017. This articles describes how to implement Twitter cards in a website to share a web page information with images or videos.
  • Stored Procedures Vs User Defined Functions And Choosing Which One To UseDec 19, 2017. In SQL Server, we usually come across queries, tables, views, stored procedures and functions. People often wonder what are the real differences between User Defined Functions (UDF) or simply functions and stored procedures or just procedures. There are two types of functions: Built-in and user defined. Built-in functions cannot be modified where as you can create and modify your own UDF. To utilize the full advantage of these features, we should understand their capabilities and what we can do with them and what we cannot. I am going to explain this in terms of SQL Server.
  • Partitioning In Azure Cosmos DBDec 18, 2017. This article gives an overview of partitioning in Azure Cosmos DB. The partition key is the JSON property (or path) within your documents that can be used by Cosmos DB to distribute data among multiple partitions.
  • Aborting Thread Vs Cancelling TaskDec 12, 2017. The below post is based on one of the question I answered on StackOverflow, in which the questioner wants to cancel a task when its taking too long to respond; i.e., taking too much time in execution and returning result.
  • What XSLT Transformation Is And How To Use ItDec 12, 2017. XSLT (Extensible Stylesheet Language Transformations) is a language for transforming XML documents into other XML documents. Sometimes the user wants to some kind of xml structure instead of whole xml; In that case we can use XSLT transformation. This article gives us idea about this.
  • Getting Started With CosmosDBDec 12, 2017. DocumentDB is a NoSQL database which is massively scalable and it works with schema free JSON documents.
  • Getting Started With Angular 5 Using Visual Studio CodeDec 07, 2017. In this article, we are going to set up Angular 5 app using Visual Studio Code.
  • PyCharm Vs Visual Studio Code For Python DevelopmentDec 02, 2017. One of the most primary questions in the minds of a development startup, a beginner, is which language to use
  • Convert XML File To Excel FileNov 27, 2017. Here, we are going to learn to read XML files in C# WindowsForm applications. We are going to make a small single-form application which takes an XML file from the user and convert XML Data to Excel Data and Returns an Excel File.
  • Pug Vs HTMLNov 26, 2017. In the holy wars of "Pug vs HTML", it is really confusing sometimes to realize which one of these to use. The same is true for SQL vs NoSQL, and the similar is true for Java vs Python. Then people think why not talk about Pug vs HTML as well. HTML is always the perfect language to consider, however for the case of Pug there might be a bit of confusion. Some developers don't know Pug, and some who know it, know it as a Jade framework.
  • Create App Using Xamarin.Android Using C# - Part FourNov 17, 2017. Xamarin.Android has native user interface controls. These controls can be easily added to Xamarin.Android apps using the Android Designer or programatically via XML layout files. Xamarin.Android exposes all of the user interface object properties and methods in C#.
  • Creating CRUD API In ASP.NET Core 2.0Nov 17, 2017. ASP.NET Core gives a unified mechanism for creating MVC and Web API application. The key difference is that Web API will return JSON (or XML) and HTTP status codes instead of views, in order to communicate with the client.
  • Using Optional Query Parameters With Microsoft Graph API - Part TwoNov 14, 2017. When you fire an API call to MS Graph, it will return the JSON result with all the properties. You may not need all the properties of a result set always. When you want MS Graph API to return only certain properties, then use $select parameter to specify which properties you want in result set.
  • Performance - SortedDictionary Vs DictionaryOct 31, 2017. Recently when I was analyzing a clients code base for performance, I found that they were using the collection SortedDictionary in many places in their projects. After looking on how they are using this collection type, I discovered that they really only needed the collection sorted once. So I figured, that if would be better performance to use just Dictionary and sort it once. Before recommending this change to their code, I needed to prove my theory.
  • Getting Started With Adaptive Card Design Using Microsoft Bot FrameworkOct 12, 2017. The Bot Framework supports different types of rich cards and provides a richer interaction experience to the user. In this article, I will show how to integrate adaptive card UI design in a Bot Application. The Adaptive Card contain a combination of text, speech, images, buttons, and input controls.Adaptive Cards are created using the JSON format specified in the Adaptive Cards schema and Microsoft provided Microsoft.AdaptiveCards NuGet package for .Net Developer to building cards and handles the serialization.
  • Excel To XML Using LINQOct 11, 2017. In this article we will show you the easiest way to convert Excel data into Xml files. There is a certain way to convert Excel file to Xml, for example using Excel Library (Com Component)
  • Generate Access Token For Google Service Account Form JSON Or P12 Key In C#Oct 11, 2017. Service Accounts are used for server to server communication so users don't need to interact for Authentication. Let's learn to get access token for Google Service Account.
  • Installing And Using .NET 4.7.x, .NET Core 2.0, And C# 7.x With VS 2017Oct 09, 2017. This article explains how to install and use .NET Framework 4.7, .NET Framework 4.7.1 & .NET Core 2.0 and troubleshooting if you are getting an exception while installing these latest components. This article also explains how to use the different versions of C#, e.g. C# 7, C# 7.1, C# 7.2 with Visual Studio 2017 and installing multiple instances of Visual Studio 2017 side by side.
  • Xamarin.Forms - Create MVVM Data Binding Application Oct 07, 2017. Xamarin Forms Platform using Create MVVM Data Binding application using xml and c# code
  • ASP.NET - Connect To Azure Cosmos DBOct 07, 2017. This article will show how to configure and use CosmoDB on an ASP.Net MVC web application, The tasks will be stored as JSON documents in Azure Cosmos DB.
  • Getting Started With ASP.NET Core MVC Apps Using VS CodeOct 05, 2017. In this article, we will discuss how we can create a HelloWorld app with ASP.NET Core 2.0 using Visual Studio Code. We will learn how to create an ASP.NET Core MVC application, how to create new Controller, how to create new View, and how to run the HelloWorld app etc.
  • Office 365 Development With Visual Studio 2017 - Part TwoOct 03, 2017. When Visual Studio 2017 was launched earlier this year, I wrote an article to provide glimpses on how to get started with Office 365 development with VS 2017 and different project templates available in VS 2017. You can read it here.
  • Manifest File In Progressive Web AppOct 01, 2017. In this article we will learn what the purpose of manifest.json file in a Progressive Web Application is.
  • What Is New In Visual Studio 2017Sep 22, 2017. Learn What Is New In Visual Studio 2017
  • SharePoint Permission Mode Vs Project Permission Mode In Project Server 2016 / 2013Sep 14, 2017. In this article, we will discuss the Permission Modes in Project Server 2016 / 2013.
  • ASP.NET Core 2.0 ConfigurationSep 11, 2017. ASP.NET Core has a simple mechanism to read application settings from various sources like JSON files, Environment variables or even custom data sources. It is also simple to use the settings, thanks to Dependency Injection.
  • Azure Cosmos DB With SQL Query Cheat Sheet PDFSep 08, 2017. Microsoft Azure Cosmos DB supports querying documents using SQL (Structured Query Language) as a JSON query language. Cosmos DB is truly schema-free. By its commitment to the JSON data model directly within the database engine, it provides automatic indexing of JSON documents without requiring explicit schema or creation of secondary indexes.
  • Construct Readable XML Output From SQL Query From Two Or More Tables Using “For XML PATH” StatementSep 04, 2017. In my previous article I discussed about how to get a XML format output from query and process that by using XML AUTO statement, and I give different types of “for XML”.
  • How To Perform Web Scraping Using Python ProgramSep 04, 2017. Web Scraping (also known as Screen Scraping, Web Data Extraction, Web Harvesting etc.) is a process to scrap (extract) data from web pages, web document, HTML document or XML document in a structured manner and then store in database, text file as a spreadsheet , as a XML , or in whatever file format we want to save in.
  • How To Perform CRUD Operation Using JSON File With Sorting And Paging In Angular - Part TwoSep 02, 2017. Today, in this article, I will explain performing CRUD operations in Angulars j. In my previous article I have retrieved records from json files with sorting and paging in. Now I will explain how to Insert, Update and Delete in angular js, and also with required filed validation. So let us go through step by step.
  • Getting Started With MongoDBAug 29, 2017. MongoDB is an open-source/cross platform (Windows, Linux, etc) document database that is NoSql in JSON format database. A NoSQL database means it does not have any relationships (non-relational database). It is a document-oriented database.
  • Working With JSON In SQL Server 2016Aug 28, 2017. JSON (JavaScript Object Notation) is a lightweight data interchange format. It is language independent, easy to understand and self-describing. It is used as an alternative to XML. JSON is a very popular data interchange format nowadays. Most modern services return the data into the JSON text.
  • Azure API App With ASP.NET WEB APIAug 27, 2017. In this article, we will see how to create Azure Web Api with your Visual Studio tool. Create a sample Web API Application in VS 2015 and publish Web api in Azure.
  • Transform XML Output Of SQL Query To HTML Using "For XML" AUTO Statement With XSLT In C#Aug 21, 2017. Normally, we execute the query using ExecuteNonQuery statement and fill the output into data table. This article describes how to transform the XML output of SQL query statements using FOR XML AUTO to HTML using XSLT.
  • How To Perform CRUD Operation Using JSON File With Sorting And Paging In Angular - Part OneAug 21, 2017. How to perform CRUD operation with paging, sorting, validation and also using file upload control and retrieving the records from json file.
  • CRUD Operation With JSON File Data In C#Aug 15, 2017. This article will demonstrate how to implement CRUD functionality with JSON file in a project using C# code.
  • Dependency Injection - Part 3 - Implicit Vs Explicit DependenciesAug 12, 2017. If a component or class depends upon other components to complete its operations, then these other components are dependencies for this class. Our class can have these dependencies as implicit or explicit dependencies.
  • Responsive Web Design Vs Web AppsAug 10, 2017. Comparison of advantages and disadvantages of responsive web design and web apps.
  • Accessing XML Data From XML Document In C# Console ApplicationAug 09, 2017. In this article, I am going to give the best way to access XML data from XML document and also how to find common record node counts.
  • Understanding DocumentDB In AzureAug 08, 2017. This article will give you a feel for Azure DocumentDB. It is a NoSQL document database service designed from the ground up to natively support JSON and JavaScript directly inside the database engine.
  • Getting Started With Visual Studio CodeJul 31, 2017. In this article, we will discuss in detail about the Visual Studio Code, how to install the VS Code in Windows and walk through with VS Code features and how to add extensions to VS Code.
  • How To Enable JwtBearer Authentication In Your NancyFx ProjectJul 22, 2017. In this article , you will learn how to enable JwtBearer authentication when you are building APIs through NancyFx and learn how to implement the JwtBearer Authentication , this is also an open source project on Github.
  • Create List With Default Items In SharePoint 2016 Using VS 2015Jul 18, 2017. In this article, I would like to share the steps to create SharePoint list with default items using VS 2015. In a previous article we saw how to create document library with predefined folders.
  • Create Document Library With Folders In SharePoint Using VS 2015Jul 12, 2017. In this article I would like to share the steps for creating the document library with folder in SharePoint using visual studio 2015. In previous articles we saw how to create document library manually in SharePoint online Site.
  • Handle Refresh Token Using ASP.NET Core 2.0 And JSON Web TokenJul 11, 2017. In this article , you will learn how to deal with the refresh token when you use jwt (JSON Web Token) as your access_token.
  • AngularJS Vs. ReactJS - A Critical AnalysisJul 01, 2017. Every entrepreneur wants their business website to flourish and to achieve that, the selection of the JavaScript framework becomes quite crucial. It plays a key role not only in the steadiness of the project, but also helps to maintain code and deadlines etc. However, choosing an apt framework to suit your requirements isn’t a cake walk.
  • Active Directory Vs Azure Active DirectoryJul 01, 2017. This article demystifies and explains Windows Active Directory and Azure Active Directory in a very simple way.
  • Learn MVC Using Angular UI CalendarJun 30, 2017. In this article, we will learn MVC using Angular UI calendar with JSON file.
  • ECMAScript5 Features - Strict Mode, JSON And MoreJun 28, 2017. Strict Mode is a new feature in ECMAScript 5 that allows you to place a program, or a function, in a “strict” operating context. This strict context prevents certain actions from being taken and throws more exceptions (generally providing the user with more information and a tapered-down coding experience).
  • Working With XML In Windows PowerShellJun 23, 2017. In this article, you will learn about XMLs In Windows PowerShell.
  • Implementation Of XML Serialization And Data Contract Serialization Utility In .NETJun 17, 2017. Basic Idea about DeSerializer and Serializer; advantages and disadvantages of XmlSerializer and DataContractSerializer; implementation XML and DataContract Serializer/ De-Serializer.
  • Look At NuGet Packages In VS 2017 - Part TwoJun 16, 2017. Look At NuGet Packages In VS 2017.
  • Difference Between MVC And Web FormsJun 07, 2017. MVC Vs Web Forms.
  • Look At NuGet Packages In VS 2017Jun 06, 2017. Look At NuGet Packages In VS 2017.
  • Functions In Functional Programming Vs Procedural ProgrammingJun 01, 2017. In this article, I will show you what a basic function is and the concept of the function, as it is used in functional programming and how procedural (or imperative) languages might take them wrong.
  • JSON.NET With Xamarin iOS - Part TwoMay 19, 2017. In this article, you will learn how to read JSON in Xamarin iOS, using Xamarin Studio.
  • Differences Between SharePoint 2013 VS 2016May 16, 2017. This article features differences between SharePoint 2013 vs 2016.
  • Web API ValidationMay 15, 2017. This article acquaints you with Web API Validation, Web API Model validation, web api custom validation Model validation, Api validation best practices Custom Validation, ivalidatableobject web api, JSON Validation
  • Extract JSON Data Using Custom DLL In SSRSMay 15, 2017. This article enables you to extract JSON data, using custom DLL in SSRS.
  • Hello World From .NET Core 2 And VS 2017 Preview And Difference In csprojMay 13, 2017. Hello World From .Net Core 2 And VS 2017 Preview And Difference In csproj.
  • Read Configuration Files (.json) In .NET Core Application - Day FourMay 12, 2017. In this article, we will discuss how to read any configuration like files and display information from those files.
  • JSON.NET With Xamarin iOSMay 11, 2017. In this article, you will learn how to write JSON in Xamarin iOS, using Xamarin Studio.
  • Generate JSON Data Using Web Service And SQL Server Stored ProcedureMay 08, 2017. Generate JSON Data Using Web Service And SQL Server Stored Procedure.
  • How To Use And Bind Chart Control In ASP.NET With XML DataMay 07, 2017. In this tutorial, I will show you how to use and bind Chart Control and its relevant properties in ASP.NET, using C# with XML data source.
  • Building .NET Core Basic Application With Visual Studio 2017 - Day TwoMay 05, 2017. In this article, we will discuss how to create your first .NET Core program in Visual Studio 2017.
  • Configure Angular 4 With TypeScript On A Web Application With VS 2017May 03, 2017. This article will show how to configure Angular 4 and TypeScript in ASP.Net MVC Web Application.
  • Retrieve SharePoint Hosted Add-in Data As JSON From A Console Application Using HTTP REST RequestApr 30, 2017. Retrieve SharePoint Hosted Add-in data as JSON from a Console Application using HTTP REST request.
  • How To Convert And Bind JSON String In To ASP.NET GridView With C#Apr 29, 2017. This article introduces you to converting and binding JSON string into ASP.NET GridView with C#.
  • Create WCF Web Service In Visual Studio 2015Apr 18, 2017. In this article, you will learn how to create your first REST based XML Web Service in Visual Studio 2015.
  • Getting Started With API Testing Utilities - JSON Server And PostmanApr 13, 2017. Getting started with API testing utilities - JSON Server and Postman.
  • Windows Azure - IaaS VS PaaSApr 12, 2017. Windows Azure offers multiple categories but we will go through just a couple of them.

About JSON-vs-xml

NA
Hire a remote developer
Looking to add more bandwidth to your software team? Web Developers, designers, testers are now available on demand. Flexible hours, very competitive rates, expert team and High Quality work.
X

Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now