How to Deploy ASP.NET Core Web API on IIS Windows Server || Deploy ASP.NET Web API on IIS .NET 7.0

Поделиться
HTML-код
  • Опубликовано: 16 сен 2024
  • How to Deploy ASP.NET Core Web API on IIS Windows Server || Deploy ASP.NET Core Web API on IIS .NET 7.0
    ► Subscribe to me on RUclips:youtube.com/@M...
    RESTful APIs conform to the REST architectural style.
    REST, or REpresentational State Transfer, is an architectural style for providing standards between computer systems on the web, making it easier for systems to communicate with each other.
    REST relies on client-server relationship. This essentially means that client application and server application must be able to evolve separately without any dependency on each other.
    REST is stateless. That means the communication between the client and the server always contains all the information needed to perform the request. There is no session state in the server, it is kept entirely on the client’s side.
    REST provides a uniform interface between components. Resources expose directory structure-like URIs.
    REST is not strictly related to HTTP, but it is most commonly associated with it.
    💯 Watch our Previous Video on Creating Minimal Api
    • ASP.NET CORE MINIMAL A...
    💯 Use the following link as well to subscribe. youtube.com/@M....
    💯Remember to Buy Me Coffee
    www.buymeacoff...
    ❤️ Thanks for watching

Комментарии • 99

  • @MacroCoding
    @MacroCoding  Год назад +2

    Subscribe, Like, Share, Comment.........Let's get to 1K Susbribers❤❤❤❤❤❤❤❤❤..youtube.com/@MacroCoding?sub_confirmation=1

    • @SYBCA
      @SYBCA 9 месяцев назад

      unable to parse TLS packet header

  • @VenueBookings
    @VenueBookings 3 месяца назад +4

    My brother, thanks a million. You saved me. I highly appreciate you. God bless!

    • @MacroCoding
      @MacroCoding  3 месяца назад +1

      Thank you..Much humbled..

  • @varungupta2723
    @varungupta2723 4 месяца назад +2

    Had already spent around 10 hours to fix the issues before I saw your video. To the point video. Fixed all of my issues. Thanks a ton.

    • @MacroCoding
      @MacroCoding  4 месяца назад +1

      Subscribe for more 🙏🙏🙏

  • @sams.adeyemo8829
    @sams.adeyemo8829 10 месяцев назад +2

    Thank you. I have been having the page not found until saw this. You saved a soul

    • @MacroCoding
      @MacroCoding  10 месяцев назад +1

      You're very welcome!..Subscribe for more updates.Like the Video

  • @MorshedAlam-r6l
    @MorshedAlam-r6l 11 дней назад +1

    Thank you so much! You saved me so much time. Have a great day!

    • @MacroCoding
      @MacroCoding  11 дней назад +2

      Thank you..Subscribe for more

  • @GaneshReddy-j5o
    @GaneshReddy-j5o 3 месяца назад +9

    HTTP Error 500.19 - Internal Server Error i am getting this error,do i need to install anthing?

    • @DerrickAbucheri
      @DerrickAbucheri 13 дней назад

      I was missing the AspNetCoreModule from IIS->Modules. After I installed that I no longer had the 500.19 error.

  • @sunilpoudel2906
    @sunilpoudel2906 4 дня назад

    After Pipelining it helped! thanks alot!

  • @MCH831
    @MCH831 2 месяца назад +1

    Thank you for this video

    • @MacroCoding
      @MacroCoding  2 месяца назад +1

      You are Welcomed..Subscribe fore more

  • @stanleygarciafletes4363
    @stanleygarciafletes4363 4 месяца назад +1

    Bro literally you saved my life, great video!!

  • @jefflewis1051
    @jefflewis1051 Год назад +3

    Thank you for posting. My only issue is the request to subscribe animation is there so many times it's very distracting.

  • @broadshare
    @broadshare 18 дней назад +1

    Good stuff

    • @MacroCoding
      @MacroCoding  9 дней назад +1

      Glad you enjoyed. Subscribe fore more

  • @noelricardomedina494
    @noelricardomedina494 9 месяцев назад +6

    I have this error, why is ??
    HTTP Error 500.19 - Internal Server Error
    The requested page cannot be accessed because the related configuration data for the page is invalid.

  • @ShareKnowledge76
    @ShareKnowledge76 7 месяцев назад +1

    Very Well 👍

    • @MacroCoding
      @MacroCoding  7 месяцев назад +1

      Thank you for watching, Subscribe for more

  • @alexfisher2889
    @alexfisher2889 6 месяцев назад +1

    Brilliant!!! THANK YOU!

  • @Puru-m1v
    @Puru-m1v 9 месяцев назад +1

    Thanks for a very nice tutorial!
    Just small thing to highlight... the subscribe notifications are loud and very frequent, which are actually annoying and distracting.

    • @MacroCoding
      @MacroCoding  9 месяцев назад +1

      Sorry for that..Will reduce that

  • @sergiobarros8131
    @sergiobarros8131 Месяц назад +1

    I paid a coffee.you save me a lot o time...

    • @MacroCoding
      @MacroCoding  Месяц назад +1

      @@sergiobarros8131 Thank you sergio

  • @edivanmedeiros5250
    @edivanmedeiros5250 Год назад +1

    Fantasticccccccccccccccccccccccccccccccc.............. thanks thanks, new Inscriter

  • @Hublogfrontend
    @Hublogfrontend 21 день назад +1

    You save my day😉

    • @MacroCoding
      @MacroCoding  21 день назад +1

      😂😂😂..Thank you..Remember to subscribe and Like 🙏🙏

  • @Tronn62158
    @Tronn62158 7 месяцев назад +2

    Thankyou !!! 🙂

    • @MacroCoding
      @MacroCoding  7 месяцев назад +2

      Welcome, Subscribe for more updates

  • @Vistajdm
    @Vistajdm 5 месяцев назад +1

    Thank you!

  • @PhucNguyen-ew4xn
    @PhucNguyen-ew4xn Год назад +1

    Great job. Thank you so much.

    • @MacroCoding
      @MacroCoding  Год назад +1

      @PhucNguyen-ew4xn...Welcome..please subcribe

  • @amirberkovitch984
    @amirberkovitch984 7 месяцев назад +1

    Thank you very much

    • @MacroCoding
      @MacroCoding  7 месяцев назад +1

      You are welcome.Please subscribe for more

  • @YCODIES
    @YCODIES 19 дней назад +1

    i want to deploye backend on my system but can be accessed outside of network is that possible with these settings

    • @MacroCoding
      @MacroCoding  9 дней назад +1

      Yes, Ensure you have configured the ports on the firewall. Subscribe fore more

  • @JayjayHj
    @JayjayHj Год назад +1

    Thank you for the informative video but pls could you show how to publish if you had a blazor server application a shared project and a seperate api project these three different projects working how do you publish something like that pls this is a problem i have i would be eternally gratefull if you could help

    • @MacroCoding
      @MacroCoding  Год назад +1

      Thank you @Jayjayhj..Will be doing this video soon..Please Subscribe and like the video

  • @spwwmtb
    @spwwmtb 5 месяцев назад

    Thanks 🎉

    • @MacroCoding
      @MacroCoding  5 месяцев назад +1

      You're welcome 😊..Subscribe for more

  • @Bern0hhh
    @Bern0hhh 2 месяца назад +1

    2024 anyone? HTTP Error 500.19 - Internal Server Error i am getting this error,do i need to install anthing?

    • @darko6977
      @darko6977 2 месяца назад +1

      I think you need to install additional packages for ASP net under IIS in programs and features. There is WWW services and under that there are app dev features, there you need to enable everything ASP

    • @MacroCoding
      @MacroCoding  2 месяца назад

      @darko6977 Yes..True

    • @darko6977
      @darko6977 2 месяца назад +1

      @@Bern0hhh also you need to install the proper net runtime and hosting bundle

    • @Bern0hhh
      @Bern0hhh Месяц назад

      @@darko6977 yes, i check and in the "modules" section i didnt have "aspnetcoremoduleV2" with only that i have the api online (still cannot deploy the nextjs proyect but the api its online) thank you!

  • @rajeshkkaran
    @rajeshkkaran Год назад +1

    Dear friend, Swagger will always work. But, you did not show your Student listing working even though in the beginning you were discussing about it. What is the point in showing that Swagger is working? Please make another video to show publishing your own code!

    • @MacroCoding
      @MacroCoding  Год назад +1

      @rajeshkkaran..This vidoe is a continuation of the previous video...Only meant to show how to host api on IIS Server...

  • @Sgr_333
    @Sgr_333 7 месяцев назад +1

    ok sir but iis server get a data only for whetherForcast .my problem is
    not get a datas in new created api pls solution sir .swaggger also run in iis server but not get datas code500
    internal server error and pls help me sir pls video uplode next day

    • @dhbhatt09
      @dhbhatt09 6 месяцев назад

      same for mine. I need solution for that .

    • @marcofermandes2415
      @marcofermandes2415 4 месяца назад

      same here. How can i fix?

    • @sagarmasal5429
      @sagarmasal5429 2 месяца назад

      Same 😢

    • @Sgr_333
      @Sgr_333 2 месяца назад

      @@sagarmasal5429 I got solution for this type error . Your SQL server is problem. Pls download developer version SQL server and SQL server management studio set SQL server authentication, this setup connect properly Solved problem.🤗

  • @phillipmarais2380
    @phillipmarais2380 Год назад +1

    So if I would want to make the api call from another computer, what would I type in the url ?( very new to this )

    • @MacroCoding
      @MacroCoding  Год назад +2

      @phili[marais2380..Thank you for watching..To access the api from another machine you will have to host the api...

    • @phillipmarais2380
      @phillipmarais2380 Год назад

      @@MacroCoding thank you for making the video. Do you have a video shwowing me how I can host it or maybe refer to a video, I am very new to this and need to create a web Api with angular and host the frontend on firebase?

  • @dennismutemi7991
    @dennismutemi7991 4 месяца назад

    Thanks,,How about in the live server

    • @MacroCoding
      @MacroCoding  3 месяца назад +2

      We will do a video on the same..Subscribe for more

  • @giftsefike3085
    @giftsefike3085 4 месяца назад +1

    I am getting HTTP ERROR 500, CAN YOU HELP?

  • @hamburgmeister
    @hamburgmeister Месяц назад +1

    For everyone who still has the problem with 500.19 Error, i fix it with download the aspnet core host bundle.

    • @MacroCoding
      @MacroCoding  Месяц назад +2

      @@hamburgmeister Thank you for helping out...👏👏👏

  • @nagillbeats
    @nagillbeats 4 месяца назад +1

    can u make a same video for deplyoing this on aws ec2 please

    • @MacroCoding
      @MacroCoding  4 месяца назад +2

      Thank you..Will consider doing that..Subscribe

    • @nagillbeats
      @nagillbeats 4 месяца назад

      Bro i am following you for so long. Your contant is soo nice thanks

    • @nagillbeats
      @nagillbeats 4 месяца назад

      Are you available now actually i am facing issue while publishing me app on aws

  • @jefflewis1051
    @jefflewis1051 Год назад

    Any particular reason you used port 2030? This will override the original 7252 without any configuration file changes?

    • @MacroCoding
      @MacroCoding  Год назад

      @Jeff None..Just used to demonstrate......But you can have the same port...Please join the te by subscribing for more content.

  • @ibrahim19813
    @ibrahim19813 11 месяцев назад +1

    Please tell me how to deploy asp and angular file together in iis?

    • @MacroCoding
      @MacroCoding  11 месяцев назад +1

      Will be posting a video on this..Please Subsribe and keep intouch for more

  • @Buckanian
    @Buckanian 29 дней назад

    Does anyone know how to fix the cors error when you deploy to IIS?

    • @Buckanian
      @Buckanian 29 дней назад

      Macro code do you know how?

  • @xploregasm
    @xploregasm 11 месяцев назад +1

    can you also deploy it in xampp htdocs?

    • @MacroCoding
      @MacroCoding  11 месяцев назад +1

      Not sure..WIll explore and revert..Please Subscribe fore more Updates

    • @xploregasm
      @xploregasm 11 месяцев назад

      ​@@MacroCodingI subscribed please let me know, if you did it

  • @mdshefathasnain8649
    @mdshefathasnain8649 8 месяцев назад +1

    need ci/cd using GITHUB,,,,,,,, plz

    • @MacroCoding
      @MacroCoding  8 месяцев назад +1

      We be doing this vidoe on out next series, Subscribe for more..

  • @janphillipdacallos4214
    @janphillipdacallos4214 11 месяцев назад +1

    Do I need to migrate my database first? I use dapper

  • @tbm1895
    @tbm1895 Месяц назад

    Can I access the apis anywhere ??

  • @andrewenglish3810
    @andrewenglish3810 26 дней назад

    I see no connection to your Windows Server.

  • @budilim419
    @budilim419 Год назад +1

    what about student ?

    • @MacroCoding
      @MacroCoding  Год назад +1

      Not sure about your question..Subscribe and check our latest vidoes

  • @masterchief5437
    @masterchief5437 7 месяцев назад

    Hi there thanks but I'm getting HTTP Error 500.19 - on the web.config

    • @daffaa_dp
      @daffaa_dp 7 месяцев назад

      I'm also having the same problem, have you found a solution?

    • @eddie21099
      @eddie21099 6 месяцев назад

      hi, I got the same error, and I figured out the reason, that is 'couldn't connect to the connection string', so I modified the ConnectionString in appsettings.json, and in my case, I did like this:
      "DefaultConnection": "Server=xxxx;Database=xxxx;User Id=xxxx;password=xxxx;Trusted_Connection=False;TrustServerCertificate=True;Encrypt=False"
      And I edited '.NET CRL version' in Application Pool to 'No Managed Code'

  • @senzosenkosi
    @senzosenkosi 6 месяцев назад

    well seems like this version does not get the students from the database ...

  • @connectdots
    @connectdots 6 месяцев назад +1

    Thank you!

    • @MacroCoding
      @MacroCoding  6 месяцев назад +2

      Welcome...Subscribe for more