REST Intro - Build a REST Service in Visual Basic Visual Studio 2017 Part 1

Поділитися
Вставка
  • Опубліковано 16 лип 2024
  • A quick intro to REST and building a simple REST service using Visual Studio 2017 and Visual Basic

КОМЕНТАРІ • 111

  • @capta134
    @capta134 4 роки тому +1

    This is an example of someone who has deep knowledge of the subject. The deeper is the knowledge the simpler they can describe and convey it. This example even give a super-fast MVC Tutorial in a nutshell!

    • @telejonjensen
      @telejonjensen  4 роки тому

      Hi Sasan, Thank you for your kind comments! Jon

  • @ajamgochian
    @ajamgochian 5 років тому

    Very clear tutorial. While watching the video, I did the same in c# instead of VB and it worked perfectly. Postman seems to be a nice tool.

    • @telejonjensen
      @telejonjensen  5 років тому

      Hi Ara,
      Great! Thanks for watching!
      Jon

  • @bizarreworld2002
    @bizarreworld2002 7 років тому

    Great tutorial as always. Waiting for the next episodes.

    • @telejonjensen
      @telejonjensen  7 років тому

      Hi,
      Checkout the playlist : ua-cam.com/play/PLDQIAo9A3-DaBMQ0ZZFlcej2we3uC5VT8.html
      Thanks for watching!
      Jon

  • @cwmcharteredaccountants1703
    @cwmcharteredaccountants1703 6 років тому

    Brilliant - exactly what was needed and kept really simple

    • @telejonjensen
      @telejonjensen  6 років тому

      Hi,
      Thanks for your comments and for watching!
      Jon

  • @sofgencomputerconsultantsp2335
    @sofgencomputerconsultantsp2335 4 роки тому +1

    nice explanation ,thanks.This is my first step in API development.

    • @charlesmasclef1309
      @charlesmasclef1309 4 роки тому

      Hi, good luck on your project.
      I just wanted to ask how it went ! :)

  • @dallasmartin7845
    @dallasmartin7845 6 років тому

    Thanks Jon for the VB.Net example. Your presentation was clear and concise.

    • @telejonjensen
      @telejonjensen  6 років тому

      Hi Dallas,
      You are welcome. Thanks for watching!
      Jon

  • @richgouette
    @richgouette 5 років тому +2

    THANK YOU for showing an example in VB!!

  • @lucasgrela5355
    @lucasgrela5355 6 років тому

    Just what i was looking for. Thanks a lot!

    • @telejonjensen
      @telejonjensen  6 років тому +1

      Hi Lucas,
      I'm glad it was useful for you!
      Jon

  • @teamofsteve
    @teamofsteve 5 років тому +1

    omg, that will really simple. Just what I was looking for.

    • @telejonjensen
      @telejonjensen  5 років тому +1

      Hi,
      I'm glad it was useful.
      Thanks!
      Jon

  • @RealSoftsSolutions
    @RealSoftsSolutions Рік тому

    Thanks for doing this . Your video is so much helpful for me

  • @user-ct5zv9nl6q
    @user-ct5zv9nl6q 3 роки тому

    Exactly what I was looking for just that I need it in the old good classic ASP version,
    good response will be very appreciate

  • @dennisduncan6026
    @dennisduncan6026 7 років тому +1

    Good stuff. simple and precise

    • @telejonjensen
      @telejonjensen  7 років тому +1

      Hi Dennis,
      Thanks and thanks for watching!
      Jon

  • @pmclinn
    @pmclinn 6 років тому

    Fantastic video. It is videos like this we wish Microsoft made..... Thank you.

  • @AAVVGG1
    @AAVVGG1 5 років тому

    Great video! Thank you!

  • @nic-ej1ww
    @nic-ej1ww 3 роки тому +1

    Thank you for your valuable time in posting this! Very much appreciated. I do have a question if you dealt with serializing data using Newtonsoft Json but returns to Postman with escape characters like
    . Again, thanks!

  • @NiceTechViews5403
    @NiceTechViews5403 7 років тому

    WOW..exactly what I was looking for!! i´m working on a IoT mesh with several nodeMCU esp8266...plan is to send data via REST posts...THIS is now closing the gap :-)

    • @telejonjensen
      @telejonjensen  7 років тому +1

      Hi,
      I'm glad it was useful! Thanks for watching!
      Jon

    • @NiceTechViews5403
      @NiceTechViews5403 7 років тому

      I just realized that in my VS 2013 i am missing the WEB API stuff..i install now the free 2017 vs with all this material ...

  • @Tugby207
    @Tugby207 5 років тому

    Great video. Thanks.

    • @telejonjensen
      @telejonjensen  5 років тому

      Hi Leigh,
      You are welcome, thanks for watching!
      Jon

  • @wilekayote
    @wilekayote 5 років тому

    well done, very easy to follow.

    • @telejonjensen
      @telejonjensen  5 років тому

      Hi,
      Thanks and thanks for watching!
      Jon

  • @CodingByAmp
    @CodingByAmp 3 роки тому +1

    thank you

  • @MarkAzali
    @MarkAzali 6 років тому +1

    Thanks for doing this. My background in developing isn't conventional/formal and videos like this are completely idiot proof and helpful. I did have some issues but I resolved them by modifying the global.asax file as advised in the readme file that opened in Visual Studio 2013.
    I'm looking forward to expanding my arsenal with REST.

    • @telejonjensen
      @telejonjensen  6 років тому

      Hi Mark,
      I'm glad it was useful! Thanks for commenting and watching!
      Jon

    • @charlesmasclef1309
      @charlesmasclef1309 4 роки тому

      It’s always not formally trained developers who achieve the best results because their interests were not a salary to begin with, but a way to give life to their ideas.

  • @Phannhathung
    @Phannhathung 2 місяці тому

    Thank You!!!

  • @ricardovianadesouza4369
    @ricardovianadesouza4369 7 років тому

    Muito obrigado, comecei a entender.

    • @telejonjensen
      @telejonjensen  7 років тому

      Oi Ricardo,
      Você é bem vindo. Obrigado por assistir!
      Jon

  • @tjeffryes1
    @tjeffryes1 7 років тому

    Good job. Helped me get up and running. Now I need a video on how to consume this REST API in a Windows application.

    • @telejonjensen
      @telejonjensen  7 років тому

      Hi Timothy,
      There are several client videos up. Here is one using C# and Winforms: ua-cam.com/users/edit?o=U&video_id=Nfgnlg3a4lg
      Hope that helps and thanks for watching!
      Jon

    • @WalterRiggs
      @WalterRiggs 5 років тому

      @@telejonjensen Better link: ua-cam.com/video/Nfgnlg3a4lg/v-deo.html

  • @MichiganPeatMoss
    @MichiganPeatMoss 6 років тому

    June 2018 - For the Postman Chrome Extension - now looks like " Tabbed Postman - REST Client 0.8.4.19" but maybe that's just my system, and no shortcut option. Will try elsewhere.

  • @simrsrsud7064
    @simrsrsud7064 3 роки тому

    AWSOME

  • @sebapalma2402
    @sebapalma2402 Рік тому

    i need more of these tutorials, Web Api with Visual Basic videos are so scarce

  • @hidabrootTVChannel
    @hidabrootTVChannel 2 роки тому

    thanks,

  • @AZOHA
    @AZOHA 6 років тому

    Nice Video, Thank you alot

  • @garethsharp4039
    @garethsharp4039 3 роки тому

    Very useful video. Any samples of how to call the API from a VB app?

  • @RodneyEllisAU
    @RodneyEllisAU 6 років тому

    Hi Jon. That was great, thank you. Is there any chance you can continue with this and show how to do a Put and Post? Specifically passing in data to the parameters.

    • @telejonjensen
      @telejonjensen  6 років тому +1

      Hi Rodney,
      Thanks for watching! There is a playlist of videos with videos dedicated to PUT, POST and DELETE here: ua-cam.com/play/PLDQIAo9A3-DaBMQ0ZZFlcej2we3uC5VT8.html
      Jon

  • @jacobpinney6393
    @jacobpinney6393 7 років тому

    Will you be continuing this video series? Tutorials concerning Visual Basic APIs are very scarce and this was extremely helpful.

    • @telejonjensen
      @telejonjensen  7 років тому

      Hi Jacob,
      Yes I can do some more based on VB.
      Thanks for watching!
      Jon

  • @christophermilner9017
    @christophermilner9017 5 років тому

    very nice. For what it's worth my next question is how to pass in parameters in the URL. I just finished the video and it was exactly what I needed and I'm sure I'll figure out command line params... But that's what I need next. Thank you for the vid!!

    • @telejonjensen
      @telejonjensen  5 років тому

      Hi Christopher,
      Thanks for watching. There is a series of videos here: ua-cam.com/play/PLDQIAo9A3-DaBMQ0ZZFlcej2we3uC5VT8.html
      Jon

    • @JesseJzee
      @JesseJzee 5 років тому

      @@telejonjensen Very nice video, I am able to get data using store procedure with the given example, can you help with the video to post, i realize all video in the link are for c#, is there a way to do in vb. and if possible how to upload the site in iis and perform post using local ip (private). database is sql 2014

  • @DanRibar
    @DanRibar 6 років тому

    Jon - great video. When is the next one coming out? So hard to find VB tutorials.

    • @telejonjensen
      @telejonjensen  6 років тому

      Hi Dan,
      Thanks for watching. Is there something specific with VB you are interested in?
      Jon

    • @scottdempsey6324
      @scottdempsey6324 3 роки тому

      @@telejonjensen I would love to see c# videos that you did but using VB.

  • @heavycodex
    @heavycodex 2 роки тому

    Hi jon, where the part 2? Tks

  • @liss1419
    @liss1419 6 років тому

    El titulo dice parte 1. Cuando publica la parte 2? Gracias, me sirvió mucho.

    • @telejonjensen
      @telejonjensen  6 років тому

      Hola Lisseth,
      Hay una serie de videos en esta lista de reproducción. Parte 2 está allí.
      ua-cam.com/play/PLDQIAo9A3-DaBMQ0ZZFlcej2we3uC5VT8.html
      ¡Gracias por ver!
      Jon

  • @Yuri-lb3qt
    @Yuri-lb3qt Рік тому

    HI I am looking for a video on " how to call an API from Visual Basic .Net," no much information. Thank you.

  • @TravellerNg
    @TravellerNg 5 років тому

    where can I find the remaining tutorial on VB? I can only find part 1

    • @telejonjensen
      @telejonjensen  5 років тому

      Hi,
      I've only done that one but there is an entire series in C# and the calls are nearly identical.
      Jon

  • @BenTecUMI
    @BenTecUMI 5 років тому

    Nice job, can you return a data table the same way?

    • @telejonjensen
      @telejonjensen  5 років тому

      Hi Ben,
      Yes you can. .Net does a good job of converting types into JSON.
      Jon

  • @davidedemarchi
    @davidedemarchi 6 років тому

    Very good video. Just one question: how can I pass strings to a REST service? The first get accept nothing and the second accept only an id and I need to pass two strings. thankyou!

    • @telejonjensen
      @telejonjensen  6 років тому

      Hi Davide,
      There are several videos in the playlist and I build up the APIs in the manner you are describing. Here is the playlist : ua-cam.com/play/PLDQIAo9A3-DaBMQ0ZZFlcej2we3uC5VT8.html
      Here is an example Put and Get, all you have to do is add the parameters in the methods in the controller.
      public HttpResponseMessage Put(long id, [FromBody]Person value)
      {
      public Person Get(String lastName, String firstName)
      Thanks for watching!
      Jon

    • @davidedemarchi
      @davidedemarchi 6 років тому

      Thanks again, I will see your others video tutorial, you made a great job!!!!

  • @tonygorham
    @tonygorham 6 років тому

    brilliant intro - why have i been putting this off? its looks easy enough. Need to get to grips with security next

    • @telejonjensen
      @telejonjensen  6 років тому

      Hi Tony,
      Let me know if you have any questions or suggestions.
      Thanks for watching!
      Jon

    • @tonygorham
      @tonygorham 6 років тому

      Jon Jensen thanks. It would be great to have a video on token based authentication. Preferably vb but c# is fine

  • @mrright1068
    @mrright1068 2 роки тому

    Where is the part 2

  • @waltergrimm7161
    @waltergrimm7161 5 років тому

    Great video, the explanations are always based on new projects, how can I just add the one vb file to an existing iis path, and set the API path, without creating a new project,

    • @telejonjensen
      @telejonjensen  5 років тому

      Hi Walter,
      I believe you will need to have a project created as there is startup code that has to execute.
      Thanks for the question!
      Jon

    • @waltergrimm7161
      @waltergrimm7161 5 років тому

      @@telejonjensen I have taken eg. A files save webapi from sync fusion in c#, converted it to script code vb in aspx, and run the sub on start, now the aspx is doing exactly the same as the webapi, which gives me one mio files and dirs, kills all sessions on republish etc, now I just modify the aspx, publish it, and after first call and compilation I have my compiled version that is just as fast as a precompiled c# file, or am missing something in my concept, do you think there is some way to get around this with global variables and other issues with the normal aspx files? I want my webapi not to consist of many different projects, seems to make everything very complicated if you are not a global IT firm, thanxs

    • @charlesmasclef1309
      @charlesmasclef1309 4 роки тому

      Walter Grimm
      Why don’t you use it as a webservice with database and parsed xml/json collections ?
      Or am I not understanding the question?

  • @TravellerNg
    @TravellerNg 5 років тому

    please make the additional vb.net tutorials for put post delete, etc

    • @telejonjensen
      @telejonjensen  5 років тому

      Hi,
      I'll work on that.
      Thanks for watching.
      Jon

  • @peteanderson1905
    @peteanderson1905 5 років тому

    More VB please...

  • @wendycabalgsp6844
    @wendycabalgsp6844 4 роки тому

    Hii.. I tried to run the exact same as you did using Visual Studio 2019 and I keep getting "http error 403.14 - forbidden" without showing the web screen saying that it is starting..Any idea on how to fix this?

    • @charlesmasclef1309
      @charlesmasclef1309 4 роки тому

      Do you do your requests on localhost ?
      If not try to see if it’s not a firewall problem.
      And also you should re-install Visual Studio because it can be a corrupted framework/files-dependencies missing issue.

  • @ricardovianadesouza4369
    @ricardovianadesouza4369 7 років тому

    Jon é possível mais exemplo com o Visual Basic?

    • @telejonjensen
      @telejonjensen  7 років тому

      Oi Ricardo,
      Aqui está um exemplo no Visual Basic: ua-cam.com/video/sr4oO1X41bY/v-deo.html
      Jon

  • @edward78fish
    @edward78fish 5 років тому

    Hai Mr Jon, when part 2 of this tutorial will be available? Thanks

    • @telejonjensen
      @telejonjensen  5 років тому

      Hi Edward,
      I have a whole playlist of videos in C#. I may do more Visual Basic in the future but for now that is the only one for VB. It should be easy to watch the C# ones and do the examples in Visual Basic.
      Thanks for watching!
      Jon

    • @edward78fish
      @edward78fish 5 років тому

      Thanks Mr Jon. Just one more question if you don't mind, how could i implement this in VB. (HttpRespondMessage) inside rest api controller . I try to google on any site, but still no like. Here example in c#
      public HttpResponseMessage Get()
      {
      EmployeeData entites = new EmployeeData();
      return Request.CreateResponse(HttpStatusCode.OK, entites.GetAllEmployee());
      }
      Thanks

    • @charlesmasclef1309
      @charlesmasclef1309 4 роки тому

      edward lie
      Hi Edward, you probably had a response since then but here is a translation:
      Public Function Get() as HttpWebResponseMessage
      Dim entities() as New employeeData()
      Return Request.CreateResponse(HttpStatutCode.OK, entities.GetAllEmployees())
      End Function
      It’s also very important to use the Try Catch when performing an action of which it can have a failure.
      And last but not least, if you struggle with C# and can’t convert from the head there are plenty of online converters free to use especially made for that purpose (Telerik Converter is the best from what I heard).
      Have a nice day.

  • @joshemm4991
    @joshemm4991 6 років тому

    is it also 'type agnostic' ?

    • @telejonjensen
      @telejonjensen  6 років тому

      Hi Josh,
      What do you mean by type agnostic?
      Thanks!
      Jon

  • @joaquinortiz29
    @joaquinortiz29 3 роки тому

    Jon, can you share the Second Part, please.!!!! I'm vb.net developer to and I finally get me clear about webservices.

    • @telejonjensen
      @telejonjensen  3 роки тому

      Hi Joaquin,
      What additional things would you like to know or be able to do?
      Thanks for watching!
      Jon

    • @joaquinortiz29
      @joaquinortiz29 3 роки тому

      @@telejonjensen Hello Jon. Well I like Vb.net than C#. So I cant find samples on How to develop a WEBApi returning a JSON using Vb.net. All the samples are with C#. This is what I'm looking.
      Thanks for your time.

    • @telejonjensen
      @telejonjensen  3 роки тому +1

      Hi Joaquin,
      WebAPI will automatically return JSON for you if you add a header to your request that is this:
      Key: Accept
      Value: application/json
      Accept:application/json
      Postman by default includes this header:
      Accept:*/*
      Which means anything the server sends is accepted.
      I hope that helps.
      Jon

    • @joaquinortiz29
      @joaquinortiz29 3 роки тому

      @@telejonjensen i hope you share an example.. thanks

  • @flaviusfilipe2338
    @flaviusfilipe2338 5 років тому

    Hy, so where is the continuation of this tutorial ?

    • @telejonjensen
      @telejonjensen  5 років тому

      Hi,
      Here is the playlist: ua-cam.com/play/PLDQIAo9A3-DaBMQ0ZZFlcej2we3uC5VT8.html
      Thanks for watching!
      Jon

    • @flaviusfilipe2338
      @flaviusfilipe2338 5 років тому +3

      @@telejonjensen ok I did see your playlist, but you start with VB NET, so I wonder if you will make a continuation in VB, it will be a great help not only for me, but for many VB programmers.

  • @davidwho8215
    @davidwho8215 5 років тому

    How do you call a REST API from VB

    • @telejonjensen
      @telejonjensen  5 років тому

      Hi David,
      I haven't done a video on a VB client but it will be very similar to C# and there are videos on that here: ua-cam.com/video/i1HSG7ttDtM/v-deo.html and here: ua-cam.com/video/8JQhXCEdOt8/v-deo.html.
      Thanks for watching!
      Jon

  • @viewer0402
    @viewer0402 6 років тому

    straight forward using free software - thanks a lot; audio quality is bad - perhaps a better microphone for the next videos - I can recommend Neumann KM184 - good for language and instrument recordings - about 150 EUR used on eBay

    • @telejonjensen
      @telejonjensen  6 років тому

      Hi Mario,
      Thanks for watching. I've switched to a Blue Yeti microphone for the ASP.Net Core 2.0 videos (and any others I do going forward). Thanks for the suggestion!
      Jon

  • @InfantryPlays
    @InfantryPlays 4 роки тому

    how to catch the error when we passed null

    • @charlesmasclef1309
      @charlesmasclef1309 4 роки тому

      Try
      ‘Code
      Catch ex as Exception
      Select ex.Error
      ‘Case your 1st possible error
      ‘Case your 2nd possible error
      ‘Etc
      End select
      End Try

  • @minagad2247
    @minagad2247 3 роки тому

    Very Helpful, I suggest to place the links of the other videos that shows C# in the description so it easier found also if you have Android App example to connect to this api will be very helpful. Thanks
    update: found this ua-cam.com/video/cSsNI01Py3Q/v-deo.html would be helpful to be included in the description box