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.
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.
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.
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 :)
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
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 ?
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
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
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.
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
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????
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
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:
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?
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.
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.
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.
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!
Thanks a lot for your hard work ! Greatest mentor !
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 :)
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
I love Web API so much.
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 ?
Works for the Resfull webservices call
Visual Studio 2017 gives 'Adding the Certificate to The Trusted Root Certificates store failed with the following Errror'
please help !!
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
Yes...It isn't working in production mode
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
Thank you sir.
Can this attribute be used for MVC web application in the RouteConfig class to redirect HTTP requests to HTTPS?
Yes
For the next video 18: Be SUREto pay attention when he talks about configuring WebApiConfig to filter based on BasicAuthentication attribute.
You're awesome! Thank you very much! I love your voice!
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.
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.
Is it possible to create SSL certificate using IP address of server instead HostName. If yes please suggest some resource.
Thanks.
Thank you venkat sir.
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
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????
Thank you so much Master
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
Isn't [RequireHttps] an included attribute? Why create your own?
Good question... why didn't he add [RequireHttpsAttribute] instead of the former?
Hello sir,
Thanks for nice videos
I want to know how to access my json by ip address instead of localhost?
Great sir...thank you so much...
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:
все ссылки биты. скажи перед тем как настраивать код в командной строке нужно привязать сертификат к ip и порту?
указывай свои ссылки и порт. посморти в настройкак проекта в Visual Studio
thank you so much
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?
Hi Venkat
It isn't working in production mode
Previously also that site has https with strike mark. So i can understand what changes the code made.
Thank you so much pro
Thank you!
thank you so much sir
Very precise
my https was not green !! it's grey ! plz anyone tell me why ?
Thanks you
gr8
Hello sir how to solve Cors Error