Building Web APIs Part1

  Рет қаралды 23,523

Microsoft Visual Studio

Microsoft Visual Studio

Күн бұрын

Пікірлер: 36
@KennyomarGarcia
@KennyomarGarcia 5 жыл бұрын
That Scaffold command is such a beautiful thing. Thanks Chris! 😀👍
@mmontelaegre
@mmontelaegre 5 жыл бұрын
Maybe you could put the text from the notepad to install the packages and create the model in the video description section above
@alberthoekstra
@alberthoekstra 5 жыл бұрын
Can’t wait for the more advanced ones! Great video
@alberthoekstra
@alberthoekstra 5 жыл бұрын
Yea, I know what you're saying. Like in this video, 'just to make things easier' he disabled HTTPS, while HTTPS is almost mandatory these days...
@Thisdudemakesshorts
@Thisdudemakesshorts 3 жыл бұрын
So this was really cool thanks.. But how do you trigger a stored procedure if a simple CRUD operation wont cut it? (If you needed a join for example)
@you0neville0tube
@you0neville0tube 5 жыл бұрын
those model validation if statements are implicit in 2.1
@suyulmaz4
@suyulmaz4 5 жыл бұрын
great intro, hope to see more advanced staff soon
@robl4836
@robl4836 5 жыл бұрын
That line getting the connection string out of the config file does not work. Hard-coding the connection string in the UseSqlServer("myconnectionstring") works
@nidavelliir
@nidavelliir 5 жыл бұрын
Check if the connection string format is the correct one
@liorocker1
@liorocker1 5 жыл бұрын
I need more of this :)
@SoyUnEmilio
@SoyUnEmilio 5 жыл бұрын
It would be great an explample of a reactive web api
@rahulhadgal
@rahulhadgal 5 жыл бұрын
Chris, Robert, use your Chinook Database and AutoAPI from github.com/proinfocus/AutoAPI. It will take just a setting up of project and connection string to accomplish the exact same thing you have done in this video. Please try out and let me know your opinion and suggestions.
@niclorenzen3371
@niclorenzen3371 5 жыл бұрын
26:13 Bad Request is a 400 and 404 is not found. Great video nonetheless!
@ChrisWoodruff
@ChrisWoodruff 5 жыл бұрын
Nice catch... I made a few blunders during the talk.
@dromar853
@dromar853 5 жыл бұрын
Hey, you didn't put a link for the sample database in :(
@joeruder
@joeruder 5 жыл бұрын
Links are in the third episode: channel9.msdn.com/Shows/Visual-Studio-Toolbox/Building-Web-APIs-Part-3
@2Fast4Mellow
@2Fast4Mellow 5 жыл бұрын
90 degrees at the end of November? Are you guys recording in Hawaii?
@ChrisWoodruff
@ChrisWoodruff 5 жыл бұрын
Recorded back in August actually during the forest fires in WA and CA.
@Zapanath
@Zapanath 5 жыл бұрын
i use Insomnia instead of Postman now. Insomnia has a much simpler UI
@precogtyrant
@precogtyrant 5 жыл бұрын
its good, especially with graphql support but is buggy as hell. Randomly stops working and once it crashes, it won't open again unlesss I reinstall.
@RonaldZaZ
@RonaldZaZ 5 жыл бұрын
It looks like Robert has a total lack of interest. Very passive.
@vatansoni6439
@vatansoni6439 5 жыл бұрын
Packages to Install: 9:45
@AhmedMagdy-AuthorizationDenied
@AhmedMagdy-AuthorizationDenied 5 жыл бұрын
where is the rest of the episodes ??
@ChrisWoodruff
@ChrisWoodruff 5 жыл бұрын
Here is the second episode. kzbin.info/www/bejne/hWSkp4Foh9dkq6s
@Mahamad1231
@Mahamad1231 5 жыл бұрын
just search for part 2 and 3
@root317
@root317 5 жыл бұрын
I get a solution with 0 projects.. pls help!
@ChrisWoodruff
@ChrisWoodruff 5 жыл бұрын
Did you create a new ASP.NET Core 2.1 project with the Web API option? What version of VS are you using?
@joeruder
@joeruder 5 жыл бұрын
@@ChrisWoodruff -- I hate it when a author replies to a 'pls help' question only to be ignored. Thanks for the great video and for responding to questions Chris.
@stevenkjames
@stevenkjames 5 жыл бұрын
cool
@zurvey
@zurvey 5 жыл бұрын
I'm just amazed at how Microsoft seems absolutely oblivious of the growing functional programming trend, especially for new projects. And the irony is Microsoft currently has the smartest functional language on the planet, F#, with a substantial head start on everything else. Again and again these videos don't even mention F# much less make a token effort at using this "first class language." At the moment, F# is literally the *only* FP that can build native apps, APIs, web apps, etc. By the time Microsoft wakes up to its functional programming advantage, it will have squandered its lead and something like Facebook's ReasonML will be the industry standard.
@you0neville0tube
@you0neville0tube 5 жыл бұрын
F# is being developed as well... i have also seen f# videos
@ShawnShaddock
@ShawnShaddock 5 жыл бұрын
Chris Woodruff you are wrong about putting business logic in your Repository. Business logic belongs in your services. Repositories are obsolete if your using NoSQL, but if you must make a Repository, it's isolated responsibility is to get and persist data, not enforce business rules.
@niclorenzen3371
@niclorenzen3371 5 жыл бұрын
Shawn Shaddock I’ve learned through DDD business logic should reside in the domain entities aka models. Services are just for orchestration between models/entities and application services
@ChrisWoodruff
@ChrisWoodruff 5 жыл бұрын
Shawn -- I totally agree and stay tuned for the third episode in the series. I break out my domain and data logic into their own projects.
@ShawnShaddock
@ShawnShaddock 5 жыл бұрын
@@niclorenzen3371 I've tried both approaches extensively over my last 12 years of .NET development. I've found that the teams I've worked with work better with a clean separation of data and logic. This is especially true in the current environment where logic does not travel with the data. You are sending an object over the wire as JSON, but that domain logic does not go with it.
Building Web APIs Part 2
25:50
Microsoft Visual Studio
Рет қаралды 8 М.
ASP.NET Core 2.1: Building a Simple Web API
15:27
Daniel Donbavand
Рет қаралды 164 М.
Modus males sekolah
00:14
fitrop
Рет қаралды 26 МЛН
OYUNCAK MİKROFON İLE TRAFİK LAMBASINI DEĞİŞTİRDİ 😱
00:17
Melih Taşçı
Рет қаралды 6 МЛН
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 21 МЛН
Apple peeling hack @scottsreality
00:37
_vector_
Рет қаралды 127 МЛН
Building Full-stack C# Web Apps with Blazor in .NET Core 3.0
31:28
Microsoft Visual Studio
Рет қаралды 202 М.
What's New in C# 8.0
12:56
Microsoft Visual Studio
Рет қаралды 299 М.
What's Next for ASP.NET Core & Blazor
1:15:10
dotnet
Рет қаралды 21 М.
No, Einstein Didn’t Solve the Biggest Problem in Physics
8:04
Sabine Hossenfelder
Рет қаралды 278 М.
DHH discusses SQLite (and Stoicism)
54:00
Aaron Francis
Рет қаралды 63 М.
WILL MAGNUS LOSE #1 RANKING???
19:42
GMHikaru
Рет қаралды 20 М.
Creator of git, Linus Torvalds Presents the Fundamentals of git
1:10:15
Developers Alliance
Рет қаралды 95 М.
IMPOSSIBLE Chess Bot Ruined My Life
28:04
GothamChess
Рет қаралды 248 М.
Building Web APIs Part 3
32:22
Microsoft Visual Studio
Рет қаралды 9 М.
Modus males sekolah
00:14
fitrop
Рет қаралды 26 МЛН