JSON VS XML for Data Transfer

preview_player
Показать описание
This Series is about building C# Fullstack Web Applications in ASP.NET using ASP MVC, Web API, the Entity Framework and a MS SQL Database.

In this, the fourth part of the Series, the focus will be on using ASP Web API to create a Rest service that can be used by the MVC Application we already build.
We will focus on we can use the ASP.NET Web API, to create a REST API that can provide a access point to our data so the MVC Application can get it.
By doing this we will create a 2 Tier setup instead of the current MVC Application where we only have 1 Tier. The benefit of this will also be explained in the series.

SourceCode can be found here:

Before you take the 4. part of the course you may wanna look at:
Part 1 - C# Basics:

Part 2 - MVC Basics:

And Part 3 - Basics of Entity Framework in ASP.NET MVC:

TutorialsTeacher has a lot of great Material on C# and ASP.NET MVC:

Рекомендации по теме
Комментарии
Автор

The primary difference is the readibility, writability and maintainabillty. json is superior in all as it eliminated the need for tags that clutter the document.

leeamraa
Автор

the concept are told simple and clear. Great video!

tommasorao
Автор

Simple and crystal clear explanation.. Really appreciate your effort..

AshokKumar-jjci
Автор

Your video title is confusing, i expected a explanation when to use 1 or the other since you used the word or.

smrie
Автор

If I could give you many many „Like“ s I definitely would. This is excellent explanation.

steinvonsteinberg
Автор

Thank you so much for the clear explanation

viktoriiamarchenko
Автор

Cool video, you're good at explaining

yordanadaskalova
Автор

Yes I see why you like json, json seems more like a physical form what one fills in, also it seems like there is more coding for xml what will possibly take more time to open or close or download, upload, parse etc, so another reason why someone might choose json vs xml.

oddity
Автор

Great video, thank you. If you are working with JSON then DeltaJSON is really useful, it has an API for compare, merge and graft.

markthomas
Автор

Hey Lars,


Many thanks for the explanation! It was exactly what I needed - quick and not sooo detailed. One question here, though >> what's the relation between json and api? Does the api use json to transfer the requested data?



Thanks in advance!

mathqesystem
Автор

I was hoping you're saying something about performance : <

YoloNation
Автор

oh, you use xml elements, but it can use attributes instead, and it can became smaller and shorter than json

nave
Автор

json = bicycle, XML = liter bike.
Json -> simpler and cheap, xml -> expensive and powerful.
Choose whichever fits your needs.

beforth
Автор

where is the next video. someone please share the link

Shamajass
visit shbcf.ru