Тёмный

ASP NET Web API MediaTypeFormatter 

kudvenkat
Подписаться 836 тыс.
Просмотров 336 тыс.
50% 1

Опубликовано:

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 45   
@MrPelaoDominique
@MrPelaoDominique 5 лет назад
From Chile, this videos help me a lot.
@girijesh-mca
@girijesh-mca 8 лет назад
Again great explanation..Thank you so much sir...
@aelwahitify
@aelwahitify 2 года назад
Very nice and clear explanation. Thanks.
@Kristofercodes
@Kristofercodes 6 лет назад
I love your videos! thank you very much for being so helpful.
@zainafzal4226
@zainafzal4226 6 лет назад
Just one question Kudvenkat, in the CustomJsonFormatter constructor, do we give the exsisting MediaHeaderValue? I know we set a new content header value in SetDefualtContentHeaders.
@mastikaschool003
@mastikaschool003 6 лет назад
Thank you so so much for all these videos. I have a doubt, how to deploy a web API to local IIS from Visual Studio 2015. I go to properties, then Web, select Local IIS and create Virtual directory. But when I access from browser, I get an error. Is there any step I am missing ?
@muthukumar9094
@muthukumar9094 2 года назад
Sir, Are you from TN?
@juanquinteros1013
@juanquinteros1013 3 года назад
Why in the XML example that the page delivers the order of the fields change ... ?? How can I leave them the same as the class?
@avinashgrao7509
@avinashgrao7509 4 года назад
Why don't we get unsupported media type exception when we remove XML formatter and the request for XML response?
@ravichandraatma
@ravichandraatma 7 лет назад
Is there Any MediaTypeFormatter available for EDI ????
@muhammadrehbarsheikh8498
@muhammadrehbarsheikh8498 8 лет назад
Thank you venkat sir.
@purpleice2343
@purpleice2343 8 лет назад
... I watched all parts, except this one, anyway... I just don't get it, do I actually have to do something with Telerik Fiddler or do you just show example of how it works? I don't follow this tutorial but I think I am going to when it's finished/has more parts to watch, where you actually give at least basic examples of how to do that in code (PUT,GET,DELETE etc), unless I am missing something. Though I understand everything else and now I somewhat understand how basics of HTTP work, it's funny how it is everything what I already kinda knew about client-server, since before I made simple project which allows for people around the world to draw on the same canvas.(don't google it, I didn't ever release it or share with more than few people, though it worked from anywhere, with almost no delay)
@arianitonline8748
@arianitonline8748 8 лет назад
filder is to track what is going on, the requests and the responses. in the case of services it is good to track the traffic because often you will not have to work with a UI, but you are focused on creating the service. Unless you call the services (web api) somewhere, in any web app, or any other kind of app, fidler is one of the ways to check if it's working. Hope I was clear
@purpleice2343
@purpleice2343 8 лет назад
Arianit Krasniqi Yeah, but shouldn't we check if it's working after we actually tried to make it work(use those get post etc headers in code, if I get it right), and if it doesn't only then use fiddler? Because at the moment I don't quite get how to POST or DELETE through browser.
@arianitonline8748
@arianitonline8748 8 лет назад
he is still explaining how things work in web api, to understand things better, how to test them. later, I think and hope so, he will tell us how to work with the browser, maybe also build an UI (view) and so on. Yes, we check it if it's working after we tried to make it work, this is still server side, client side will come later, so fidler is one way to test it. there are also other ways, some nuget packages etc that do similar job as fidler. this way, with fidler we can also learn how to make the web app safer, if you watch the mvc and jquery tutorials you will understand
@purpleice2343
@purpleice2343 8 лет назад
Arianit Krasniqi I get it, but it just seems that it should be done the other way around, well I am not the one who is producing these series, beggars can't be choosers.
@arianitonline8748
@arianitonline8748 8 лет назад
Purple Ice if I remember right, in the asp.net mvc series when he explain how to do updates he also explains with fidler how someone can attack our web app. so watch those videos to understand better
@prakashkushwaha4557
@prakashkushwaha4557 6 лет назад
In above video i dont want json response bounded by 【】 square brackets. How to achive this. Any link reference is appreciated
@satyaprakash-fq6vs
@satyaprakash-fq6vs 5 лет назад
the square brackets produce a list, the curly brackets produce an object with key/value pairs The list can then be a value of a key/value pair
@saikamaldidigam8311
@saikamaldidigam8311 6 лет назад
Sooper helpful
@terjes64
@terjes64 5 лет назад
I would like to respond with application/xml (not just the header) when a browser asks for text/html. how do i expand the customformatter to do that?
@sivarajamuthurajan844
@sivarajamuthurajan844 11 месяцев назад
By default, we get XML response when the request is raised from browser, am I correct?
@terjes64
@terjes64 11 месяцев назад
@@sivarajamuthurajan844 Hello. This is 4 years later. That's 40 years in the programming world. So I would suggest looking elsewhere for these specifics
@ralphhuzz31
@ralphhuzz31 4 года назад
if your having problem inheriting from JsonMediaTypeFormatter be sure you have the using System.Net.Http.Formatting; if you dont you should include this
@kavithavishwanathen6778
@kavithavishwanathen6778 6 лет назад
Thank you so much sir... REPLY
@dgloria
@dgloria 6 лет назад
somehow I can simply connect to API in Postman, but can't in Fiddler. Weird...
@arnabchakraborty3369
@arnabchakraborty3369 8 лет назад
>>>> Sir Can u upload that Video.. DATATABBLES EDITOR with DOT NET WEB API... >>>> How to editing in Datatables in Datatable Editor in different manner >>>> Please Upload This video sir... This will more help for me... Thanks sir in advance...
@supriyak9542
@supriyak9542 3 года назад
Hi, Can you tell me how to pass paramter with slash for api get method
@zainjaffri5482
@zainjaffri5482 6 лет назад
Is there any way to Export datatable in excel xls with headers using asp.net Web Api, I'm searching for it but couldn't get it on Web Api as well as getting error didn't get response on on get method can anyone help ?
@mga7891
@mga7891 8 лет назад
the question comes to my mind why I would restrict it to only Json or only xml ? is it security purpose or what ?
@arianitonline8748
@arianitonline8748 8 лет назад
I think it's more a personal choice. but if you watch the jquery series you will see that it is easier to work with json than xml, for xml you need to do some extra convertions.
@mga7891
@mga7891 8 лет назад
I haven't watched the jqyery series and still I don't see why I would restrict my service on only Json and or only xml I'm not experienced developer but the essence of web api to provide services either functional or data to different applications on different platforms on different OSs I just thought when i restrict it I kinda limit limit my clients !
@arianitonline8748
@arianitonline8748 8 лет назад
Transporter no, you don't limit the access. you just work with what it's better and easier for you. your client, that is willing to use your service must know that you restricted it only with json or xml, and he will know what to do. more and more services are using json today, but there are still a lot that use xml... e personally prefer json. it's easier to read and to work with it... you can google xml vs json
@arianitonline8748
@arianitonline8748 8 лет назад
microsoft is looking more and more to replace xml with json. even in the new asp.net core they replaced the web.config file code that is with xml into json code. it doesn't mean you can't use xml anymore, but it's a suggestion from microsoft, for any reason I don't know
@Daaell
@Daaell 7 лет назад
I don't have an exact answer, but i would do this, if i have a public API, and i state that my API works with JSON only. So i don't have to care with a possible issues with XML (i don't know if there would be any, but still). It's more like a restriction, to make sure, you have to care about JSON only.
@trongtinton6659
@trongtinton6659 6 лет назад
thanks for video
@wellingtonjunior1365
@wellingtonjunior1365 7 лет назад
Make one with .net core 2...
@hendesebilisim
@hendesebilisim 7 лет назад
thank you sir
@Albshr77
@Albshr77 8 лет назад
Many thanls
@dogburrito
@dogburrito Год назад
Why is it important to show 9 ways to set to json or xml?
@miloskovacevic2245
@miloskovacevic2245 8 лет назад
#TYBG
@desibiden3860
@desibiden3860 4 года назад
Sahi sahi bolo bhailog, kuch samaj aya?
Далее
Implementing post method in ASP NET Web API
14:06
Просмотров 424 тыс.
ASP NET Web API and SQL Server
11:17
Просмотров 737 тыс.
What’s your height?🩷🙀💚
00:59
Просмотров 4,6 млн
СДЕЛАЛИ СОБСТВЕННЫЙ МУЛЬТИК
25:15
Implementing PUT method in ASP NET Web API
7:32
Просмотров 188 тыс.
Middleware in ASP NET Core
8:18
Просмотров 353 тыс.
Cross origin resource sharing ASP NET Web API
12:19
Просмотров 242 тыс.
Call ASP NET Web API from jQuery
8:26
Просмотров 234 тыс.
ASP NET Web API enable HTTPS
13:49
Просмотров 180 тыс.