This is actually really cool. I work at a startup with 2 business partners who aren’t programmers. I end up demoing the app all the time but they never get to run it themselves when we are still working on the POC. Now I can run the app, give them the URL and all 3 of us can see how a block of functionality will work with multiple users at once. This will fix a complaint I get regularly about them not being able to mess with the app. Thanks for the walkthrough.
Well this is a very good feature indeed! There were multiple times were my friends were asking me for a demo and I told them that I could not do it or I had to go and to some trickery with azure or locally with IIS. If only I knew that this was even a thing... People in the comments also mentioned something about ngrok, so it seems this tunneling thing is not something new, but now that it has native support it is even better.
I actually currently use it a lot. I have a game package I created and this helps so me and my friends can test a brand new game before doing a huge publish.
This is a nice tool to use in combination with something like Azure Front Door. My use case has been using AFD with Dev Tunnels to test the backend with the luxury of a nice UI! It especially nice because AFD can allow you to set up specific pattern matching for routes.
If you have a local server, I think the solution is to just allow web traffic to hit the IIS server (or whatever web server it runs). You can even just allow it to work internally to your corporate network.
Anyone know of any known issues of using this with separate API and blazor web assembly solutions? Keep getting COR errors that I don't get when I don't use tunnels....I tried each solution with its own configured persistent tunnel and both using the same one....tweaked my COR settings every way imaginable...don't have a big need for it....was just testing it out ....Thanks Tim for making me aware of the feature!
Great video, I hope this be used to test mobile apps that connect to APIs, but I'll check that on my system. Currently using konveyor to do that, but it would be very nice to have built in tools.
You need the ASP.NET and web development workload installed, you need to be signed in to Visual Studio to create and use dev tunnels, and you need to be in an ASP.NET Core web project. There is nothing else that needs to be installed.
@@IAmTimCorey so it's project specific. I'm working on some isolated style azure functions. They're literally a specialized webapp. Just like Microsoft to not provide such useful tooling. Now I have to do it all from the commando line.
I am trying to use tunneling to test my facebook oath login. i start the flow with the url created. but when facebook redirects back it goed to localhost. Any advise
I'm not sure how you would want to use it with a WPF app. The idea is that it opens a port on your computer (safely) so that others can make a call on that port. I'm not sure how that would help a WPF app unless you mean that the WPF app uses the dev tunnel to talk to an API. In that case, yes, it would work.
Can we debug (i.e. use breakpoints) using devtunnel? e.g. if my tester uploads a file to my application and I would like to debug that file, would it be possible? - meaning my tester uploads the file from his pc and it stops as expected at a breakpoint in my visual studio and I have the data in that file
Because that requires that you have VS or VSCode on the other side. This allows you to share a URL with coworkers so they can test your website directly. You can also easily test on mobile devices and tablets this way.
Hi Tim, you are honestly an incredible teacher and I just wanted to show you some appreciation. Thanks for everything!
Thank you!
This is actually really cool. I work at a startup with 2 business partners who aren’t programmers. I end up demoing the app all the time but they never get to run it themselves when we are still working on the POC. Now I can run the app, give them the URL and all 3 of us can see how a block of functionality will work with multiple users at once. This will fix a complaint I get regularly about them not being able to mess with the app. Thanks for the walkthrough.
You are welcome.
Thanks Tim. I had no idea this feature even existed. It is very cool. Thank you for introducing it.
You are welcome.
I've been using ngrok for years to do this. It's nice to see tunnels getting native support by MS.
Enjoy!
Well this is a very good feature indeed! There were multiple times were my friends were asking me for a demo and I told them that I could not do it or I had to go and to some trickery with azure or locally with IIS. If only I knew that this was even a thing... People in the comments also mentioned something about ngrok, so it seems this tunneling thing is not something new, but now that it has native support it is even better.
Yep, this is a nice feature to have for testing.
There is also a CLI version in preview as well, so you don't have to launch from VS just FYI.
Yep, I'll probably cover that one later as well.
@@IAmTimCorey Thanks for covering this at all!
Thanks Tim, using it 3 times a week.
You are welcome.
Another awesome video! This is definitely useful!
I am glad it was helpful.
I actually currently use it a lot. I have a game package I created and this helps so me and my friends can test a brand new game before doing a huge publish.
I’m glad it is helpful to you.
This is super useful feature. Love this type of videos.
Glad you liked it!
So cool! Thank you Tim.
You are welcome.
This is a nice tool to use in combination with something like Azure Front Door. My use case has been using AFD with Dev Tunnels to test the backend with the luxury of a nice UI! It especially nice because AFD can allow you to set up specific pattern matching for routes.
Thanks for sharing.
Cool. I'll use it. Thanks Tim!
You are welcome.
Nice, never heard about this feature, seems to be useful, thank you!
You are welcome.
Very interesting, would like to have a similar behavior for setting up a permanent test/dev environment on my local server
If you have a local server, I think the solution is to just allow web traffic to hit the IIS server (or whatever web server it runs). You can even just allow it to work internally to your corporate network.
Thanks Tim , never knew this
You are welcome.
This will be way nice! I have been using conveyor by Keyoti and it works well, but having this will be much simpler.
I am glad it will be helpful.
Anyone know of any known issues of using this with separate API and blazor web assembly solutions? Keep getting COR errors that I don't get when I don't use tunnels....I tried each solution with its own configured persistent tunnel and both using the same one....tweaked my COR settings every way imaginable...don't have a big need for it....was just testing it out ....Thanks Tim for making me aware of the feature!
Great video, I hope this be used to test mobile apps that connect to APIs, but I'll check that on my system. Currently using konveyor to do that, but it would be very nice to have built in tools.
Yep, you could do that.
Very Good,Thank you
You are welcome.
Its not working on blazor web assembly project give some error.... 🥺🥺
I don't see the option in my visual studio 2022 17.8.3 install. What do I need to install? Might have been a good thing to start the video off with...
You need the ASP.NET and web development workload installed, you need to be signed in to Visual Studio to create and use dev tunnels, and you need to be in an ASP.NET Core web project. There is nothing else that needs to be installed.
@@IAmTimCorey so it's project specific. I'm working on some isolated style azure functions. They're literally a specialized webapp. Just like Microsoft to not provide such useful tooling. Now I have to do it all from the commando line.
I am trying to use tunneling to test my facebook oath login. i start the flow with the url created. but when facebook redirects back it goed to localhost. Any advise
When you set up your oauth on Facebook, you tell it where to redirect to. You should look there first to see if you specified localhost.
I dont see tunnel option in InteliJ. is there a plugin?
This video covers Visual Studio. I don't know if IntelliJ has an equivalent technology.
Hello, Does this work only for Web apps ? Or we could use it for apps build withg WPF for instance ?
I'm not sure how you would want to use it with a WPF app. The idea is that it opens a port on your computer (safely) so that others can make a call on that port. I'm not sure how that would help a WPF app unless you mean that the WPF app uses the dev tunnel to talk to an API. In that case, yes, it would work.
Can we debug (i.e. use breakpoints) using devtunnel? e.g. if my tester uploads a file to my application and I would like to debug that file, would it be possible?
- meaning my tester uploads the file from his pc and it stops as expected at a breakpoint in my visual studio and I have the data in that file
I just tried this and indeed you can debug. I set a breakpoint on one of my controllers in an MVC application and the debugger grabbed it just fine.
Thanks 🙂
You're welcome!
Thank you, i used ngrock in the past but it suck, then moved to CF zero trust, it needs some config, but this dev tunnel is a plug & play!
You are welcome.
Interesting feature. Not currently doing webdev, but cool.
It is.
Unfortunately not a feature of vs for Mac ☹️
There is a preview version that works with the command line: learn.microsoft.com/en-us/azure/developer/dev-tunnels/cli-commands
Thanks @IAmTimCorey. Will test it and do a feedback here.
How to install them
It is part of Visual Studio.
algo bastante útil ahora que estamos trabajando desde casa
Great!
Is free?
Dev Tunnels? Yes, they are.
@@IAmTimCorey Thanks. I thought Dev-Tunnels was charged.
why don't i just use live share?!
Because that requires that you have VS or VSCode on the other side. This allows you to share a URL with coworkers so they can test your website directly. You can also easily test on mobile devices and tablets this way.
@@IAmTimCorey ah, i only deal with other developers whom already have vs
this possibility didn't cross my mind