Who the hell is handling the camera's? Please fire that person, because it's really unwatchable. You're trying to present technical information, it's not children TV. I saw this happening more during dotnet conf as well. Also I don't need to see the presenter, I want to see the code and see what's happening there and hear the presenter explaining what's happening and why. Thanks
@henry-js
2 жыл бұрын
Why does everyone at Microsoft use a mac?
@OlavLadnav
2 жыл бұрын
Either intel macs with windows installed or connected to a windows Remote Desktop. Still, why not Surface, though?
@chhourchanpiseth
2 жыл бұрын
haha, I'm wondering too. maybe they use for testing Microsoft software in Mac
@davidfowl
2 жыл бұрын
I use a surface :)
@AbulHasanLakhani
2 жыл бұрын
Where can we find all the source code for the demos shown in all three days of conf?
@allanhouston22
2 жыл бұрын
Great for micro services or smaller projects
@minimalstory
Жыл бұрын
Microsoft's best Apple ad👌
@muscleheadzzzz
2 жыл бұрын
The camera switch between the studio and the code is distracting. I'm trying to figure out what's happening in the code and don't care about what's happening in the studio.
@WesDoyle
2 жыл бұрын
Nice vid - enjoying the .NET minimal web API paradigm!
@skewty
2 жыл бұрын
Great to see the recent improvements to c#. Maybe one day web dev using MS tech won't be painful and bloated compared to many other competitive platforms.
@lucasmoreira1124
2 жыл бұрын
Guys I really enjoy the live demo, but I have a question about calling the api throught the windows terminal with powershell. How did you guys do it?
@AngusMcIntyre
2 жыл бұрын
Can you guys stop writing magic reflection features? Why isn't bindasync on an interface or a decorator for the model type? The discoverability of that is hot garbage and I shouldn't need docs. Let me explore the assembly to find out what I need to implement.
@davidfowl
2 жыл бұрын
When abstract static interfaces method isn't a preview feature, we'll take advantage of them
@AngusMcIntyre
2 жыл бұрын
@@davidfowl can you explain why the lack of abstract interfaces is a problem here? I'm curious.
@davidfowl
2 жыл бұрын
@@AngusMcIntyre to get the same semantics where you don’t need to register a thing in DI to do binding (it’s based solely on the type). We detect a static BindAsync method on the type itself. There’s no way to represent that contract until we have static abstract interface methods. It’s similar to trying to represent “TryParse”methods on a type
@fieryscorpion
2 жыл бұрын
That was awesome. How does that 'define...' work? Is it a new feature in .NET 6? Would love to see the source code. Thanks!
@buffdude623
2 жыл бұрын
I believe those are called snippets. You can make them yourself.
2 жыл бұрын
It's just pseudo-live-coding trickery - they setup snippets with all the code he needs
@DerDervish
2 жыл бұрын
You can predefine code snippets in visual studio and use autocompletion to insert them. They defined all this demo code as snippets so they don't have to type them at the demo. An example for default snippets would be "Attribute" or "Exception" which inserts default definition for custom attributes or exceptions. You can find them in the Code Snippets Manager (default shortcut is Ctrl+K, Ctrl+B).
@cherriepie
2 жыл бұрын
Woowwww minimal APIs looks so cool it reminds me of Node.js express
@DennisFazekas
2 жыл бұрын
Nice demo but wow the camera guy needs to film what's important. We don't care about the room; we care about the code being demoed. Otherwise, I thought the demo for minimum API was pretty cool considering this is my first time seeing it.
@gmddmg
2 жыл бұрын
How is that you start typing "define" and suddenly you get a bunch of code? I did not get that. Thanks!
@DerDervish
2 жыл бұрын
You can predefine code snippets in visual studio and use autocompletion to insert them. They defined all this demo code as snippets so they don't have to type them at the demo. An example for default snippets would be "Attribute" or "Exception" which inserts default definition for custom attributes or exceptions. You can find them in the Code Snippets Manager (default shortcut is Ctrl+K, Ctrl+B).
@gmddmg
2 жыл бұрын
@@DerDervish Thank You
@rpcragesh
2 жыл бұрын
Influenced by node js and python
@ClaudioBernasconi
2 жыл бұрын
Am I right that there is no xml support out of the box when using minimal APIs? I have an application that uses ContentResult where I can set the ContentType to "application/xml". I wanted to migrate the application from traditional Controllers to minimal APIs. However, all the code I save in the Controllers, I write for the XmlResult class. I will eventually go away from XML, but this is a legacy application.
@growwithanshuman
2 жыл бұрын
Windows virtual machine in a macbook ??? Why ??
@drewdrew9894
Жыл бұрын
Are you guys running Windows on a MAC?
@AnisBOULAID
2 жыл бұрын
Scott and the community questions 👍
@chriswu6517
2 жыл бұрын
r u using Mac with windows10?
@jamesmclachlan2234
2 жыл бұрын
Do you know why .NET developers built so many things that use XML, which are still around today? Ask any of the Scotts.
@TS-yf8hq
2 жыл бұрын
Great job 👏🏾
@josemendez7452
2 жыл бұрын
Terrible video, they are well prepared in code but this is no introduction video to any techology, this seems more like hey this is all minimal api can do without explaining any logic or concepts behind it. They are nervous and also going super fast without any explanation at all, definitely I wouldn't recomment anybody to learn this really amazing techonolgy with this video. Technical knowledge 10/10, introduction video 0/10, so you can have an idea they don't explain anything in the autocompleted code they autogenerated there... Terrible
@Motion152
2 жыл бұрын
@8:48 I think you put 42 not 47 soz bro
@ashkansirous8616
2 жыл бұрын
Why does the camera jumps to the studio and the speaker all the time?! This is not a evening show that people watch to kill time! We are trying to learn something here.
@Spirittism
2 жыл бұрын
wtf? are microsoft team using apple macbooks now?
@seancpp
2 жыл бұрын
It's mostly to reinforce that .net is not tied to Windows anymore. A lot of people still think C# and .net is a Windows-only technology
@romanbelfer3902
2 жыл бұрын
Mac and Windows? Weeeeeird :)
@florent9555
2 жыл бұрын
Seems like you can write now very unstructured apis. It is very hard to read this stuff. I kinda liked the structure of having your own controller classes with their endpoints it held stuff at their respective place.
@seanmarsh2960
2 жыл бұрын
I think .5 seconds of showing code while you're explaining is far too long... try for .1 seconds so we can just imagine what you may have been showing.
@澳贼
2 жыл бұрын
"Excellent question." that was sooooo fake
@kuremaClaimer
2 жыл бұрын
"Minimal APIs" sounds like .NET Micro Framework. I mean, we really need a compact runtime now that we have Xamarin and Blazor wasm. Downloading heavy runtime each time is a waste of bandwidth. But this is not about it.
Пікірлер: 43