Тёмный

Implementing Delete method in ASP NET Web API 

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

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

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 41   
@luisquiles3615
@luisquiles3615 4 года назад
I looked for online videos on this topic, and you are the only one who explains it the best; thank you!
@pgg321
@pgg321 2 года назад
Superb explanation! Very useful for beginners to understand. Thank you so munch.
@JaswinderSingh-yl2er
@JaswinderSingh-yl2er 8 лет назад
As always, your vidoes are great!!!! It would be nice if you could publish a video on how to secure WebAPIs. Please keep it up.
@peterl1699
@peterl1699 8 лет назад
+Jaswinder Singh indeed
@kondalraorao2129
@kondalraorao2129 5 лет назад
Thank you very much venkat sir, your videos very useful for me.
@seanshimon
@seanshimon 8 лет назад
This video is helpful, clear and simple. Thanks.
@GauravChauhan36
@GauravChauhan36 8 лет назад
This is awesome... Only one question. We have success case and failure case covered in if...else block. then try..catch is necessary?if yes, then what are other cases(Possible cases for raising exception)?
@sskrypt460
@sskrypt460 8 лет назад
Hi Venkat, i have one query. In your MVC videos "Part 23 Why deleting database records using get request is bad" you said this is bad. But here, we are deleting db using Delete request. But this is still calling the [HTTPGet] of the Delete method(which means it is a Get request) as there's no HttpPost method for the same. How can this be achieved using Post request? Are there any decorations like [httpget]/[httpPost] in web-api as such?
@girijesh-mca
@girijesh-mca 8 лет назад
Great explanation as you did every time :) Sir can you please upload video to secure our web api service.
@wafaaanwer2207
@wafaaanwer2207 3 года назад
Thank You for your videos
@kalyanimthiaz3836
@kalyanimthiaz3836 5 лет назад
Hello Venkat, Can you please point me to the video where you explained about consuming a rest api
@peterl1699
@peterl1699 8 лет назад
great venkat. please when the time comes. show us how to publish the api. using maybe iis on a remote server
@purpleice2343
@purpleice2343 8 лет назад
I'm not an expert,but basically you just need to host the compiled project on a server you rent. Or if it's simple enough, get raspberry pi and host on that.
@peterl1699
@peterl1699 8 лет назад
+Purple Ice thank you for your response. i do not think you can host .net applications on a raspberry. it uses a ARM processor
@raqibul1000
@raqibul1000 8 лет назад
Thanks from Bangladesh
@muhammadrehbarsheikh8498
@muhammadrehbarsheikh8498 8 лет назад
Thank you venkat sir.
@BigyanChap
@BigyanChap 6 лет назад
Awesome tutorials as always. Plz make a tutorial on Angular 5.
@Csharp-video-tutorialsBlogspot
There is a massive difference between Angular JS 1 and Angular 2. However, there is no much difference between Angular 2, Angular 4 and Angular 5. The way we build angular applications using Angular 2, 4 or 5 is very identical. Thank following video explains the difference between difference angular versions released so far. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-bAx2LgQLkl8.html If you are starting to learn Angular, I suggest start with Angular 2 at the following link. ru-vid.com/group/PL6n9fhu94yhWqGD8BuKuX-VTKqlNBj-m6 Angular CRUD tutorial at the following link uses Angular 5 ru-vid.com/group/PL6n9fhu94yhXwcl3a6rIfAI7QmGYIkfK5 I believe Angular CLI is a great tool to increase your productivity. So I suggest learn Angular CLI as well. ru-vid.com/group/PL6n9fhu94yhWUcq5Pc16uf8YKXoZ87Vh_ Hope you will find these resources useful to learn Angular.
@jiteshwagh1197
@jiteshwagh1197 6 лет назад
you did good job sir keep it up
@kebbbek
@kebbbek 8 лет назад
Hello kudvenkat, is there a way to delete a list of item with one request?
@purpleice2343
@purpleice2343 8 лет назад
Hacky workaround using the same method would be to check if ID is something like -whateverNumberYouWantToUseToDeleteEverything, not negative, but exact number, preferably long if you want to be the only one knowing it. Basically a negative password which is just numbers (List CAN'T have negative index, just like array, so you won't accidentally delete everything.) For something safer and better, you'll have to think about it more, I thought of this in like 5 seconds.
@stefanpetrovic2192
@stefanpetrovic2192 3 года назад
5:47 to save time just select what you want to wrap and then CTRL+K CTRL+S an type try.
@sumandasari9532
@sumandasari9532 4 года назад
In this delete method the request is coming from uri but you are not mention from uri is this fine?
@NageshwarRaoCiliveru
@NageshwarRaoCiliveru 8 лет назад
You did good job. Keep it up...:)
@kavithavishwanathen6778
@kavithavishwanathen6778 7 лет назад
Thank you Sir !!
@hendesebilisim
@hendesebilisim 7 лет назад
thank you sir
@codetowhy
@codetowhy 8 лет назад
Please Upload WPF tutorial Series !!
@wp6415
@wp6415 7 лет назад
Error ("Message": "The requested resource does not support http method 'DELETE'." ) Plz help....
@AnithaRagesh
@AnithaRagesh 7 лет назад
Even I also having the same issue . How did you resolve it ?
@saurabhchauhan232
@saurabhchauhan232 7 лет назад
I am getting method not allowing. Can somebody please help me
@hardiksheth1717
@hardiksheth1717 7 лет назад
Hi, When use type : 'DELETE' OR 'PUT', I got 405 NOT ALLOWED error message and I am not able to call put and delete methods.. Can any one help??
@milicatrajkovic4304
@milicatrajkovic4304 7 лет назад
Did u solve it? help please
@AnithaRagesh
@AnithaRagesh 7 лет назад
Have you solved it ?
@hr30familyvlogs
@hr30familyvlogs 7 лет назад
use [httpdelete] .it worked for me. This problem is due to routing.
@sandeshmainali6876
@sandeshmainali6876 5 лет назад
Previous: public httpResponseMessage Delete(int code) Changed to this: public httpResponseMessage Delete(int id) make the parameter "id". then this should work.
@bhromonindia
@bhromonindia 4 года назад
Same issue
@datakhukhua4889
@datakhukhua4889 5 лет назад
delete method is not a Http post method ?
@lukaskun6431
@lukaskun6431 7 лет назад
If you're gettin 404 with DELETE, add this to your web.config:
@AnithaRagesh
@AnithaRagesh 7 лет назад
I added the above in web.config . Still having error
@Albshr77
@Albshr77 8 лет назад
Thank you sir
Далее
Implementing PUT method in ASP NET Web API
7:32
Просмотров 188 тыс.
Implementing post method in ASP NET Web API
14:06
Просмотров 424 тыс.
Brutally honest advice for new .NET Web Developers
7:19
Microservices with Databases can be challenging...
20:52
Don't Use Polly in .NET Directly. Use this instead!
14:58
Create A Python API in 12 Minutes
12:05
Просмотров 663 тыс.
Custom method names in ASP NET Web API
6:09
Просмотров 185 тыс.