Explore, Test, & Debug API Endpoints in Visual Studio Faster Than Ever!
HTML-код
- Опубликовано: 25 июл 2024
- The Endpoints Explorer is a new preview feature that we are working on to enable you to view and interact with the API endpoints defined in the solution in Visual Studio. Easily explorer, generate test code, navigate to code, and more with this new feature that you are going to love!
Links:
Source Code: github.com/jamesmontemagno/mo...
Blog on Features: devblogs.microsoft.com/visual...
Related Videos:
• Scaffolding .NET Web A...
• New Visual Studio Feat...
• Faster API Development...
Join this channel to get access to perks:
/ @jamesmontemagno
👕 Buy some swag! - jamesmontemagno.myspreadshop....
☕️ Buy me a coffee - www.buymeacoffee.com/jamesmon...
Follow:
👨💻 GitHub: github.com/jamesmontemagno
🦜 Twitter: / jamesmontemagno
📄 Website: www.montemagno.com
📰 Newsletter: newsletter.montemagno.com/
Chapters:
00:00 - Intro
00:35 - All the new VS features for API
01:35 - Project Overview & Enable API Explorer
03:30 - Exploring API Explorer
05:25 - Generating Requests
07:20 - Features, Limitations, What's Next
09:52 - Wrap-up
Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me... James Montemagno! They are NOT officially affiliated or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.
What is on my hat? It is the CLE clothing logo because I am from Cleveland! Checkout their awesome CLE merch: cleclothingco.myshopify.com/
What is that art on my wall? It is an original piece from the French street artist Gregos of La Butte Montmartre: / bcez1onhiqx
My Setup:
📷 Canon M50 Mark II - amzn.to/3P8R7lp
💡 Nanoleaf Elements Lights - amzn.to/3umwJVW
🎙 Blue Spark Microphone - amzn.to/3qgtYkq
🎙 Blue Pop Filter - amzn.to/3jEWM3r
🤳 Rode Microphone Arm - amzn.to/2Z68AlE
🎧 Sony MDR7306 Headphones - amzn.to/372jxta
📲 Stream Deck - amzn.to/373Uk1n
🖱 MX Master 2S Mouse - amzn.to/3d7J2gj
⌨️ Tecware Phantom Keyboard - amzn.to/3aUP4y9
#dotnet #visualstudio #aspnetcore #webapi Наука
Man I just found this channel, and damn already watched a few videos! You got me for every new upcoming video.
I knew that logo on the hat looked familiar. Great video!
That's so productive James 😎
Muito bom ! Mais um recurso sensacional !!
Endpoints Explorer is awesome!!
Awesome - really cool
What a great feature in vs 👏
Wow so cool video. I'm subscribe now to get ready with your future videos. Thanks for share.
Thanks for the sub!
Amazing video.
If the other endpoint can generate some dummy data with the table column names in the update or create end points would be great as well
Awesome!!!!!!
I would like to see 2 features:
1) Instead of all calls one after each oder, would be nice to have lika a tree, For each Controller.
2) Support for Azure Functions or Aws Lambda Functions.
Excellent video James...as usual. I upgraded to the preview and opened the Endpoints Explorer and...sad trombone. My webapi projects are listed, but no endpoints are shown. Checked the docs and didnt see any special configuration needed.
Would be nice to have a search function within the api explorer. Same for swagger.
would be cool with an AI integrated into VS, being able to make a json body for a POST with the right datatypes, creating dummy data with a click of a button too.
It’s really cool! One thing to improve in my opinion, it would be great if the request generator created a basic empty template of the body or query params.
I believe that is in the works:)
@@JamesMontemagno awesome! That would be amazing
@@JamesMontemagno Seven months later and it's still not there... :( Hope someone didn't drop that ball. This tool has a lot of potential.
Post/put should scaffold an empty json object or have intellisense in the api explorer.
Any tips on being able to handle Lucene operations. Trying to build a robust API that can get Lucene operations and then talk to SQL or CosmoDB
Cool
Are these new features also available on the Mac version of Visual Studio?
Only the button to "generate all" is missing now.
I'm uninstalling the postman and removing the swagger. The issue I always get in post cannot put config and api collection in git and also it needs to use separate software outside the vs.
Swagger is the best tool to view apis. But it will lag when you have too much api collection and also hopeless ui design.
For me, this solution best🎉❤ thanks VS Team.
Can you discover an external api that isn't loaded in the solution using this?
Hey Endpoints are brilliant, but my pc is dead can you help get one
how can i add api key
so It seems you can create an http file, and make a request and it will show the response to you. You don't have to have the api running locally to do it.
I wonder what guardrails exist to prevent 'overquerying' while building though.
❤❤❤
It’s like vs4mac is forgotten whenever new feature comes up😢
Does this support external endpoints? We have an api that’s built an azure functions and uses a lot of REST API’s to communicate with azure resources. Would those show up in the endpoints explorer?
I will have to test out azure functions with it, would be cool. With the .http files you can put them in there to test or any web url
@@JamesMontemagno cool. I’ll have to test this out. Do you think you’ll make a follow up video about azure functions?
upgraded to VS 17.6.2 (no preview) but the endpoint explorer option is missing!!! anyone knows why? perhaps they changed their mind about this option in the release version?
I believe it is still in the preview version so 17.7
Same here.
is it this better than Postman for testing?
It’s different, integrated, different features, included in VS. less options but nice for testing apis so if it fits your needs
but you can't walk thru the code which is what i need
If you add a breakpoint you would when you hit your api in debug
i cant find any maui tutorial on BLE ... lmao
If you don't put the bugs in your code in the first place, you don't have to spend time finding them.
Are you Marco Montemagno son?
Nope. I know of Marco only because of google but never met him and don’t think he is any part of my ancestry line close at all. Which of course is wild as our last name is very unique