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

Поділитися
Вставка
  • Опубліковано 22 січ 2025

КОМЕНТАРІ • 111

  • @MacroCoding
    @MacroCoding  Рік тому +2

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

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

      unable to parse TLS packet header

  • @varungupta2723
    @varungupta2723 9 місяців тому +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  9 місяців тому +1

      Subscribe for more 🙏🙏🙏

  • @VenueBookings
    @VenueBookings 7 місяців тому +4

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

    • @MacroCoding
      @MacroCoding  7 місяців тому +1

      Thank you..Much humbled..

  • @alexfisher2889
    @alexfisher2889 10 місяців тому +1

    Brilliant!!! THANK YOU!

  • @MorshedAlam-r6l
    @MorshedAlam-r6l 4 місяці тому +1

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

    • @MacroCoding
      @MacroCoding  4 місяці тому +2

      Thank you..Subscribe for more

  • @sams.adeyemo8829
    @sams.adeyemo8829 Рік тому +2

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

    • @MacroCoding
      @MacroCoding  Рік тому +1

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

  • @fajarrahmat9105
    @fajarrahmat9105 3 місяці тому +1

    this is what i need, thank you brotha

    • @MacroCoding
      @MacroCoding  3 місяці тому

      Glad I could help..Subscribe for more

  • @evaslangat3037
    @evaslangat3037 3 місяці тому +1

    Thanks man, been working on the project for about 2 weeks

    • @MacroCoding
      @MacroCoding  3 місяці тому +1

      Glad I could help..Subscribe for more

  • @stanleygarciafletes4363
    @stanleygarciafletes4363 8 місяців тому +1

    Bro literally you saved my life, great video!!

  • @noelricardomedina494
    @noelricardomedina494 Рік тому +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.

  • @shengyang1019
    @shengyang1019 8 днів тому

    but i had one frontend in blazor web app and backend as webapi, i had publish frontend but the backend cant host the frontend how i do it

  • @GaneshReddy-j5o
    @GaneshReddy-j5o 7 місяців тому +11

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

    • @DerrickAbucheri
      @DerrickAbucheri 4 місяці тому +2

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

    • @FernandoMares-o2n
      @FernandoMares-o2n 4 місяці тому +1

      @@DerrickAbucheri it worked thx

  • @mycodelines
    @mycodelines 4 місяці тому +1

    Love you man love you. Thanks

    • @MacroCoding
      @MacroCoding  4 місяці тому +1

      @@mycodelines Thank you..Subscribe for more 🤝🤝🤝

  • @ShareKnowledge76
    @ShareKnowledge76 11 місяців тому +1

    Very Well 👍

    • @MacroCoding
      @MacroCoding  11 місяців тому +1

      Thank you for watching, Subscribe for more

  • @broadshare
    @broadshare 4 місяці тому +1

    Good stuff

    • @MacroCoding
      @MacroCoding  4 місяці тому +1

      Glad you enjoyed. Subscribe fore more

  • @sunilpoudel2906
    @sunilpoudel2906 4 місяці тому

    After Pipelining it helped! thanks alot!

  • @Hublogfrontend
    @Hublogfrontend 4 місяці тому +1

    You save my day😉

    • @MacroCoding
      @MacroCoding  4 місяці тому +1

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

  • @MCH831
    @MCH831 6 місяців тому +1

    Thank you for this video

    • @MacroCoding
      @MacroCoding  6 місяців тому +1

      You are Welcomed..Subscribe fore more

  • @harishnakka3600
    @harishnakka3600 2 місяці тому +1

    Will it connect to database if endpoints are using it in my case its throwing internal server error

    • @MacroCoding
      @MacroCoding  2 місяці тому +1

      @@harishnakka3600 Share the error...

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

    Thanks a lot ! I have successfully fixed the error

  • @Tronn62158
    @Tronn62158 Рік тому +2

    Thankyou !!! 🙂

    • @MacroCoding
      @MacroCoding  Рік тому +2

      Welcome, Subscribe for more updates

  • @YCODIES
    @YCODIES 4 місяці тому +1

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

    • @MacroCoding
      @MacroCoding  4 місяці тому +1

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

  • @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?

  • @connectdots
    @connectdots 11 місяців тому +1

    Thank you!

    • @MacroCoding
      @MacroCoding  11 місяців тому +2

      Welcome...Subscribe for more

  • @Sgr_333
    @Sgr_333 11 місяців тому +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 11 місяців тому

      same for mine. I need solution for that .

    • @marcofermandes2415
      @marcofermandes2415 8 місяців тому

      same here. How can i fix?

    • @sagarmasal5429
      @sagarmasal5429 7 місяців тому

      Same 😢

    • @Sgr_333
      @Sgr_333 7 місяців тому

      @@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.🤗

  • @amirberkovitch984
    @amirberkovitch984 Рік тому +1

    Thank you very much

    • @MacroCoding
      @MacroCoding  Рік тому +1

      You are welcome.Please subscribe for more

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

    Can you deploy this but it's not localhos,its local network + https + ssl? 😢

  • @PhucNguyen-ew4xn
    @PhucNguyen-ew4xn Рік тому +1

    Great job. Thank you so much.

    • @MacroCoding
      @MacroCoding  Рік тому +1

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

  • @sergiobarros8131
    @sergiobarros8131 5 місяців тому +1

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

    • @MacroCoding
      @MacroCoding  5 місяців тому +1

      @@sergiobarros8131 Thank you sergio

  • @Bern0hhh
    @Bern0hhh 6 місяців тому +1

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

    • @darko6977
      @darko6977 6 місяців тому +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  6 місяців тому

      @darko6977 Yes..True

    • @darko6977
      @darko6977 6 місяців тому +1

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

    • @Bern0hhh
      @Bern0hhh 6 місяців тому

      @@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!

  • @giftsefike3085
    @giftsefike3085 9 місяців тому +2

    I am getting HTTP ERROR 500, CAN YOU HELP?

  • @edivanmedeiros5250
    @edivanmedeiros5250 Рік тому +1

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

  • @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.

  • @Buckanian
    @Buckanian 5 місяців тому

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

    • @Buckanian
      @Buckanian 5 місяців тому

      Macro code do you know how?

  • @spwwmtb
    @spwwmtb 10 місяців тому

    Thanks 🎉

    • @MacroCoding
      @MacroCoding  10 місяців тому +1

      You're welcome 😊..Subscribe for more

  • @ibrahim19813
    @ibrahim19813 Рік тому +1

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

    • @MacroCoding
      @MacroCoding  Рік тому +1

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

  • @xploregasm
    @xploregasm Рік тому +1

    can you also deploy it in xampp htdocs?

    • @MacroCoding
      @MacroCoding  Рік тому +1

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

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

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

  • @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.

  • @Puru-m1v
    @Puru-m1v Рік тому +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  Рік тому +1

      Sorry for that..Will reduce that

  • @janphillipdacallos4214
    @janphillipdacallos4214 Рік тому +1

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

  • @tbm1895
    @tbm1895 6 місяців тому

    Can I access the apis anywhere ??

  • @masterchief5437
    @masterchief5437 11 місяців тому

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

    • @daffaa_dp
      @daffaa_dp 11 місяців тому

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

    • @eddie21099
      @eddie21099 10 місяців тому

      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'

  • @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

  • @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...

  • @nagillbeats
    @nagillbeats 8 місяців тому +1

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

    • @MacroCoding
      @MacroCoding  8 місяців тому +2

      Thank you..Will consider doing that..Subscribe

    • @nagillbeats
      @nagillbeats 8 місяців тому

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

    • @nagillbeats
      @nagillbeats 8 місяців тому

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

  • @andrewenglish3810
    @andrewenglish3810 5 місяців тому

    I see no connection to your Windows Server.

  • @mdshefathasnain8649
    @mdshefathasnain8649 Рік тому +1

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

    • @MacroCoding
      @MacroCoding  Рік тому +1

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

  • @budilim419
    @budilim419 Рік тому +1

    what about student ?

    • @MacroCoding
      @MacroCoding  Рік тому +1

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

  • @dennismutemi7991
    @dennismutemi7991 8 місяців тому

    Thanks,,How about in the live server

    • @MacroCoding
      @MacroCoding  8 місяців тому +2

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

  • @senzosenkosi
    @senzosenkosi 10 місяців тому

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

  • @hamburgmeister
    @hamburgmeister 5 місяців тому +1

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

    • @MacroCoding
      @MacroCoding  5 місяців тому +2

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

  • @Vistajdm
    @Vistajdm 9 місяців тому +1

    Thank you!