ASP NET Web API enable HTTPS

Поделиться
HTML-код
  • Опубликовано: 11 дек 2024

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

  • @emmaodonnell8275
    @emmaodonnell8275 5 лет назад +4

    For reference, the redirect here happens because of the 302 (Found) response code. When you return this response code with a new uri in the location header, it acts as an invitation to the browser to make a second request to the uri in the location field.
    If you change the response code to 200, or if you remove the uri from the location header, the response content ("Use Https instead of Http") will be displayed instead of a redirect occuring.

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

    Having carefully followed the lessons up to and including this one, I found that this one really dove deeply into a rabbit hole. Practically useless due to the sharp increase in difficulty level.
    What would have made this video valuable would be an explanation of the WHEN and WHY surrounding the need for such technicalities.

  • @Xellos357
    @Xellos357 2 года назад

    VERY good video. You explained every piece of the code that you were working on. It is clear that you know the code well, not just regurgitating stuff that you have seen.

  • @khaledsaleh4238
    @khaledsaleh4238 7 лет назад

    These videos helped me a lot to grasp the concepts of different areas when I needed to create an API at work :). Thanks a lot!

  • @kanhamunjal759
    @kanhamunjal759 3 года назад

    Thanks a lot for your hard work ! Greatest mentor !

  • @echolumaque2130
    @echolumaque2130 3 года назад

    hello, im curious if i deploy my web api on azure, what port value should i put in the uribuilder? is there some kind of dynamic way or what? thanks! by the way, i learned so much on your playlist :)

  • @ravikumaranbarasu1998
    @ravikumaranbarasu1998 7 лет назад

    Its very useful neat and completely understandable, please continue your service as it is. only on humble request is you can capture the video with some black colored theme in IDE instead of this you can use default theme of the IDE, its very useful for us to read /view the code what you have done. excuse me if any mistake on my comment.Thanks,Ravikumar.A

  • @sijimathew9982
    @sijimathew9982 8 лет назад +3

    I love Web API so much.

  • @tripore
    @tripore 6 лет назад +1

    Hello. For some reasons, I created the class and registered it as described but the code doesn't fire. For a reason that I don't know, the registration doesn't seem to work. The filter get added but the code doesn't seem to run when the site is running. Any idea ?

  • @acluantran3413
    @acluantran3413 5 лет назад +1

    Visual Studio 2017 gives 'Adding the Certificate to The Trusted Root Certificates store failed with the following Errror'
    please help !!

  • @peterl1699
    @peterl1699 8 лет назад

    I have truble to manage my connectionstrings between the diffrent projects. i want to use relative paths. this works great as long as we are not taking the solution into production

    • @sahil5572
      @sahil5572 2 года назад

      Yes...It isn't working in production mode

  • @ralphhuzz31
    @ralphhuzz31 4 года назад

    quick question apparently i already have this ssl activated and without the above methods its works fine but i cant set the ssl to false in short i cant go to http only is this fine since ssl is preferably more secured and if no how can i disable this ssl in the properties

  • @jacksparrow2144
    @jacksparrow2144 8 лет назад

    Thank you sir.
    Can this attribute be used for MVC web application in the RouteConfig class to redirect HTTP requests to HTTPS?

  • @roidbot6579
    @roidbot6579 7 лет назад

    For the next video 18: Be SUREto pay attention when he talks about configuring WebApiConfig to filter based on BasicAuthentication attribute.

  • @hungerface6362
    @hungerface6362 4 года назад

    You're awesome! Thank you very much! I love your voice!

  • @anilkumarsharma3345
    @anilkumarsharma3345 8 лет назад

    Thank you very much for all ur course sir.
    But I have some quality issue with these api videos so please fix it if you can.

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  8 лет назад +2

      You are very welcome. The quality of the video depends on your internet connection bandwidth. All the videos are uploaded in HD quality. To improve the video quality, click the settings button that is present at the lower bottom right hand corner of the RUclips player. Hope this helps.

  • @Vinay-gn7vg
    @Vinay-gn7vg 5 лет назад

    Is it possible to create SSL certificate using IP address of server instead HostName. If yes please suggest some resource.
    Thanks.

  • @muhammadrehbarsheikh8498
    @muhammadrehbarsheikh8498 8 лет назад

    Thank you venkat sir.

  • @rashidrahim6531
    @rashidrahim6531 4 года назад

    sir on post request from http is not working automatically calling success method in ajax without posting while its working fine on https please response i have done as it is you said

  • @arifhasan1477
    @arifhasan1477 7 лет назад

    i am calling this from a different domain using cors but getting error Response to preflight request doesn't pass access control check how to solve????

  • @shrutikittur7536
    @shrutikittur7536 8 лет назад +4

    Thank you so much Master

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  8 лет назад +2

      You are very welcome and Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful.
      I have organised all the Dot Net & SQL Server videos in to playlists, which could be useful to you
      ruclips.net/user/kudvenkatplaylists?view=1&sort=dd
      If you need DVDs or to download all the videos for offline viewing please visit
      www.pragimtech.com/order.aspx
      Slides and Text Version of the videos can be found on my blog
      csharp-video-tutorials.blogspot.com
      Tips to effectively use my youtube channel.
      ruclips.net/video/y780MwhY70s/видео.html
      If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel.
      ruclips.net/user/kudvenkat
      If you like these videos, please click on the THUMBS UP button below the video.
      May I ask you for a favor. I want these tutorials to be helpful for as many people as possible. Please share the link with your friends and family who you think would also benefit from them.
      Good Luck
      Venkat

  • @06silverfire
    @06silverfire 7 лет назад +1

    Isn't [RequireHttps] an included attribute? Why create your own?

    • @Xellos357
      @Xellos357 2 года назад

      Good question... why didn't he add [RequireHttpsAttribute] instead of the former?

  • @KamrulIslam-wj1ky
    @KamrulIslam-wj1ky 5 лет назад

    Hello sir,
    Thanks for nice videos
    I want to know how to access my json by ip address instead of localhost?

  • @girijesh-mca
    @girijesh-mca 8 лет назад

    Great sir...thank you so much...

  • @gormdrachmann2951
    @gormdrachmann2951 6 лет назад

    Thanks for a very good list on asp and api - one of the best on youtube:-) Just a short comment. If you want your webpage automatically to redirect to https you can also make following changes in the web.config file:

  • @Mikola1982Lt
    @Mikola1982Lt 7 лет назад

    все ссылки биты. скажи перед тем как настраивать код в командной строке нужно привязать сертификат к ip и порту?

    • @MrRufus311088
      @MrRufus311088 6 лет назад

      указывай свои ссылки и порт. посморти в настройкак проекта в Visual Studio

  • @redki755
    @redki755 7 лет назад +1

    thank you so much

  • @BlalKhalidTech
    @BlalKhalidTech 5 лет назад

    hi i am working on Api i am facing the following error
    Mixed Content: The page at 'localhost:44318/Account/Register' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'www.jobwob.somee.com/api/Account/Register'. This request has been blocked; the content must be served over HTTPS.
    can you tell me how to solve this?

  • @sahil5572
    @sahil5572 2 года назад

    Hi Venkat
    It isn't working in production mode

  • @deepthikarri
    @deepthikarri 7 лет назад

    Previously also that site has https with strike mark. So i can understand what changes the code made.

  • @alaaabdelfattah3126
    @alaaabdelfattah3126 6 лет назад

    Thank you so much pro

  • @belmiris1371
    @belmiris1371 2 года назад

    Thank you!

  • @ashishchaturvedi2575
    @ashishchaturvedi2575 6 лет назад

    thank you so much sir

  • @ChiragMM
    @ChiragMM 7 лет назад

    Very precise

  • @acluantran3413
    @acluantran3413 5 лет назад

    my https was not green !! it's grey ! plz anyone tell me why ?

  • @pmburu0
    @pmburu0 7 лет назад

    Thanks you

  • @ytfilastu
    @ytfilastu 8 лет назад

    gr8

  • @shashanktiwari5438
    @shashanktiwari5438 3 года назад

    Hello sir how to solve Cors Error