Тёмный
Mark Inman
Mark Inman
Mark Inman
Подписаться
Coding. Designing. Creating. I love this stuff. If you love it too, then come here for Blazor, C# and Software Development concepts, tutorials and guidelines.
How to make a Visual Studio Code Theme
17:09
Месяц назад
Async Await Tasks in Blazor with C#
12:11
2 месяца назад
Ranking SOLID Principles. Some are useless!
7:27
3 месяца назад
5 Simple Rules for creating awesome UIs
7:51
4 месяца назад
Interfaces Explained in C#
20:51
4 месяца назад
Inheritance in Blazor Pages
4:42
5 месяцев назад
Intro to C# Unit Testing with MSTest
35:06
6 месяцев назад
Visual Studio: Build vs Clean vs Rebuild
3:34
6 месяцев назад
Easy steps to boost your slow SQL queries
4:23
6 месяцев назад
How to STOP writing spaghetti code
5:19
7 месяцев назад
C# Data Structures Explained
3:34
8 месяцев назад
5 Blazor Parameters Types You Need to Know
16:58
8 месяцев назад
Blazor Expandable TreeView Component Tutorial
25:22
9 месяцев назад
C# Value vs Reference Types Explained
6:40
9 месяцев назад
Blazor Components: 5 Naming & Creation Tips
4:17
9 месяцев назад
Blazor Component Life Cycle - Common Pitfalls
8:13
9 месяцев назад
State Machine Explained: A Beginner’s Guide
2:08
11 месяцев назад
Комментарии
@alisriti3002
@alisriti3002 2 дня назад
love it.
@ivandrofly
@ivandrofly 7 дней назад
good stuff, thanks
@Isr5d
@Isr5d 7 дней назад
While this is a valid way to encrypt a connection string, An easier way is to just create an application pool user, and run the application as that application user. In the connectionString, just use "Integrated Security=True" which will use the application pool user. In your DB, just create that application pool user as Windows user. (This also works with AD as service user).
@Mark-D-Inman
@Mark-D-Inman 6 дней назад
Yes. Totally agree.
@ClickOkYT
@ClickOkYT 7 дней назад
Hey, Mark, nice video. I think you should make a video explaining about `dotnet user-secrets`, if it replaces your implementation or if it complements it.
@Youshisu
@Youshisu 8 дней назад
Nice, thanks, add vim to VS :D
@unskeptable
@unskeptable 13 дней назад
Dtos Entities and Pocos are not the same things..
@lmj5994
@lmj5994 14 дней назад
Every developer writes buggy code, it is impossible in practice not to do so. So the question is not whether or not a developer produces buggy code, it is how seriously the organisation that a developer works takes testing. Industrial applications require industrial strength testing. Which is long and expensive at this point in time. So most companies are skipping it to some degree, including, it would seem, the odd airline company.
@Mark-D-Inman
@Mark-D-Inman 12 дней назад
You're right. In all fairness, this was about 17 years ago. Windows applications (this one was Visual Basic 6) were still new in factories and decent testing was scarce.
@gruntaxeman3740
@gruntaxeman3740 2 дня назад
I can prove that my code is correct and without bugs, if I can have correct specification. But the thing is, code is the formal specification. I need to write that and what I get from customer/stakeholder is natural language that can be interpreted many ways. I recommend that the people who want software, gives me input what to put in software, and what is the desired output. If there is some "idea", there should be data in spreadsheet and formulas there. Every view how it should look in every user role, should be drawn. And the software is ready, when acceptance tests are passing. I need those acceptance requirements. With this amount of detail, I can fill missing pieces of specification, and we can start considering verification for different stuff, something like it never crash if hardware works. Or even make it tolerant of device failures. It is just usually not practical to do make full verification but some assurances can be made. Usually writing code to clean specification with strong typing and test coverage is enough but if there is concurrency involved, it is best to use some formal verification to those parts because it is so easy to write bug there.
@dddon513
@dddon513 14 дней назад
I've never met a programmer who didn't think everyone who came before them was an "idiot" who's work was "terrible".
@Think666_
@Think666_ 14 дней назад
Welcome to being an engineer. When a surgeon slips they may kill someone. When an engineer makes a mistake it might kill everyone in a building, a plane, on a bridge or in a car.
@Mark-D-Inman
@Mark-D-Inman 14 дней назад
So true that.
@Think666_
@Think666_ 14 дней назад
​@@Mark-D-Inman The Iron Ring, Canadian Engineers, and the Quebec Bridge. A true story about this very thing, and one of the first things I was taught when starting engineering.
@carlosirias4474
@carlosirias4474 15 дней назад
A story that brings a lot of value, thanks for this video.
@carlosirias4474
@carlosirias4474 17 дней назад
Great summary, Thanks.
@pieceofcode_
@pieceofcode_ 17 дней назад
How we can take those github credentials from docker sercret?
@workani_
@workani_ 18 дней назад
Thank you for a great video!
@Mark-D-Inman
@Mark-D-Inman 17 дней назад
Massive pleasure! Hope it helped!
@carlosirias4474
@carlosirias4474 19 дней назад
Great content!
@carlosirias4474
@carlosirias4474 19 дней назад
Wow, your channel has a lot of great content. Thanks!
@Mark-D-Inman
@Mark-D-Inman 19 дней назад
I appreciate that!
@FB-eb6tx
@FB-eb6tx 20 дней назад
Hi! Thanks for the explanation and the PDF with the source code!
@Mark-D-Inman
@Mark-D-Inman 20 дней назад
My pleasure :-)
@_Verac
@_Verac 20 дней назад
Really well made and exactly what I was looking for. Thanks!
@Mark-D-Inman
@Mark-D-Inman 20 дней назад
So glad to hear it. Post your theme here once you've made yours, I'd love to try it out.
@alfonsdeda8912
@alfonsdeda8912 21 день назад
What if Is a desktop application and i don't deploy to server and so It doesn't make sense to create environment variable?
@Mark-D-Inman
@Mark-D-Inman 21 день назад
This is going to depend on how you are installing/deploying your desktop application, but if you are storing settings in an app.config, you still use the encryption method from the video to at least prevent strings being readable. Also, you can create different config files for different builds (for example App.Release.Config), but you'll have to work harder to read from the right one. I'd be interested to know which desktop technology you are developing in.
@thegames7038
@thegames7038 21 день назад
Helpful, thanks
@Mark-D-Inman
@Mark-D-Inman 21 день назад
Glad it helped :-)
@Najmun14
@Najmun14 22 дня назад
Hello Mark Inman, The Hospitality Podcast, I hope you are well. I visited your RU-vid Channel. Your content is Excellent. But your Channel is not growing, Because your Content title and Description are not SEO-friendly and do not have Enough Rank tags. This is why there is no Content Coming to the top of RU-vid. As a result, your video SEO Score is very low, according to VidiQ, (your channel's video's SEO score is 0 / out of 100, which should be 90+). If you want, I can make it 90+, which will help your channel grow faster. If you SEO your videos Properly then the Channel Progress will be very Fast & Subscribers and Views will Increase. If you want I can solve problems and help you rank your videos Better. If you are Interested Please Let me know. Regards, Nazmun (RU-vid Video SEO Expert).
@Mark-D-Inman
@Mark-D-Inman 21 день назад
No thanks. Quite happy just to make videos and see what happens.
@MTimothyWallace
@MTimothyWallace 23 дня назад
I used HiQPdf in a project a few years ago. The product is actually pretty great. The company do themselves a disservice with their circa 1999 web site.
@ManontheOutside
@ManontheOutside 26 дней назад
Thanks Mark, great tutorial, very clearly explained!
@nijatshukurov9022
@nijatshukurov9022 Месяц назад
Those are valuable informations, thank you!
@Mark-D-Inman
@Mark-D-Inman Месяц назад
My pleasure. Thanks for watching.
@mehrabi-o3s
@mehrabi-o3s Месяц назад
Great, I had read this in javascript and the two are very similar
@davidmuradyan4014
@davidmuradyan4014 Месяц назад
Thanks, everything was clear. Now I can delve further
@Mark-D-Inman
@Mark-D-Inman Месяц назад
Glad it helped.
@garamburito
@garamburito Месяц назад
Thank you for the video. I have a questions, what happen if you only mark async on the method on the blazor page?
@Mark-D-Inman
@Mark-D-Inman Месяц назад
I think that depends on what you mean by 'only'. But I suggest trying it for yourself. Writing some demo code and running it is the best way to learn the outcomes.
@emhean
@emhean Месяц назад
Great video! I will force myself to get used to some of these because of the pain I have gotten in my right arm from using the mouse. Thank you!
@Mark-D-Inman
@Mark-D-Inman Месяц назад
Once you start using these you'll never go back :-)
@MorphologicalGeek
@MorphologicalGeek Месяц назад
Whilst I agree with @t3c1337 that some of your generalizations risk being too broad (e.g. domain models, etc, are the same or mirror database records) I still think you make a lot of great points. Ensuring that architecture remains practically helpful and accessible is so important.
@alfonsdeda8912
@alfonsdeda8912 Месяц назад
What about the inheritance of ui, html blazor page?
@Mark-D-Inman
@Mark-D-Inman Месяц назад
This is just what Blazor Layouts are for, where you can set up your base line UI - having all your pages use the same layout to keep consistency.
@alfonsdeda8912
@alfonsdeda8912 Месяц назад
@@Mark-D-Inman can the layout have parameters?
@Mark-D-Inman
@Mark-D-Inman Месяц назад
@@alfonsdeda8912 Components can have parameters. Using components together with layouts in Blazor can be very modular and flexible. I have yet to come across a UI scenario that requires more than what they have to offer.
@stanleyfeliz1498
@stanleyfeliz1498 Месяц назад
SelectPDF is not supported on Linux
@thomasmoores3512
@thomasmoores3512 Месяц назад
How? Have you ever heard about unit tests?
@Lazzerman42
@Lazzerman42 Месяц назад
nice video - but what we need is a pdf-list with them....
@Mark-D-Inman
@Mark-D-Inman Месяц назад
Thanks, will do for future videos.
@Mark-D-Inman
@Mark-D-Inman 21 день назад
Downloadable PDF List now in description
@Lazzerman42
@Lazzerman42 21 день назад
@@Mark-D-Inman Thx!
@tinysafari1851
@tinysafari1851 Месяц назад
Thank you for a good tutorial. How about posting the code examples to Github and sharing the url to repository for those who want to dive deeper. I understand that DB calls most likely would different for everyone.
@Mark-D-Inman
@Mark-D-Inman Месяц назад
Thanks. Will do.
@yakuzaclan5704
@yakuzaclan5704 Месяц назад
So basically: The cause of making developers do spaghetti code is because of the department given y'all a short time requirement deadline? But I believe, if a Knight can't hold his sword, he can't be called a knight. The same applies to the coders, if they can't code properly, they have no rights to call themselves as developers or even IT professional coders. Am I correct?
@Mark-D-Inman
@Mark-D-Inman Месяц назад
I like the analogy so let's go with it. Any task in life becomes more difficult the shorter the timeline. The knight who needs to slay the dragon by tomorrow is likely to get devoured. Compared to the knight who has a year to prepare for his battle with the dragon. Same applies to coders - taking on ridiculous deadlines leads to dragons and lots of burn.
@davidtaylor3771
@davidtaylor3771 Месяц назад
Good summary Mark. I would only add that you also call StateHasChanged if you are doing multiple asynchronous steps in a method such as OnInitializedAsync and want additional renders while awaiting. Blazor will do a render on the first await, and another after completion of execution of the method. If you have say 5 sequential async awaits inside the method, you should call StateHasChanged just before each await if you want additional renders.
@Mark-D-Inman
@Mark-D-Inman Месяц назад
Yes. Totally valid.
@patrykforyszewski4655
@patrykforyszewski4655 Месяц назад
That turned into an axcellent explanation! I wish I had came here earlier so I wouldn't had so much struggle with this topic, yet you made it even clearer.
@Weeb1367
@Weeb1367 Месяц назад
Appreciate it
@rahulkelkar1246
@rahulkelkar1246 2 месяца назад
top tier explanation
@alisriti3002
@alisriti3002 2 месяца назад
perfect, but I think you got a little bit lost with unnecessary code refactoring
@Mark-D-Inman
@Mark-D-Inman 2 месяца назад
Thanks. Yes. While this unscripted video style works for some people, I don't think it's for me. I'll chalk this video up as a not entirely successful experiment.
@3DMage
@3DMage 2 месяца назад
In the second example with the 'static' keyword, it seems to me that when LongLivedLeak() finishes execution, unless 'instance' is stored elsewhere in the program (like returning it or it is assigned elsewhere to a variable outside the function), then 'instance' would essentially be garbage collected due to the function going out of scope when it is done. I can see 'instance' not being garbage collect if that instance was assigned elsewhere and never handled with properly.
@dsfgato
@dsfgato 2 месяца назад
excelent video
@dsfgato
@dsfgato 2 месяца назад
great video Mark!
@Mark-D-Inman
@Mark-D-Inman 2 месяца назад
Thanks!
@thiagolimadesousa4012
@thiagolimadesousa4012 2 месяца назад
Thanks so much! Your tutorial is the best. It's super clear and to the point. Nice work!
@Mark-D-Inman
@Mark-D-Inman 2 месяца назад
You're welcome. Glad it helped!
@thatokhumalo2559
@thatokhumalo2559 2 месяца назад
Exactly the kind of explanation I needed, thank you Mark
@Mark-D-Inman
@Mark-D-Inman 2 месяца назад
Absolutely my pleasure :-) Glad it helped.
@camilofernandez9542
@camilofernandez9542 2 месяца назад
Great video, thanks for sharing!! do you have more material? greetings.
@Mark-D-Inman
@Mark-D-Inman 2 месяца назад
Thanks. Yes there's plenty more videos on the channel, and I put out a new one every week.
@captainsubtext
@captainsubtext 2 месяца назад
Hey Mark, do u even know a component that is also able to grab the styles, layouts, breaks, images? I created a letter with html but I lose everything except of the text. But I will try that html2pdf converter- thx mate 😊
@Mark-D-Inman
@Mark-D-Inman 2 месяца назад
Hmmmm... I'm not too sure what you mean by grabbing the styles, layouts etc.
@turcman8684
@turcman8684 2 месяца назад
Excellent, really helped. Thanks!
@sergeynartovich7541
@sergeynartovich7541 2 месяца назад
I like your channel. I always learn new things.
@Mark-D-Inman
@Mark-D-Inman 2 месяца назад
So glad to hear it Sergey. Thank you for watching.
@gahshunker
@gahshunker 2 месяца назад
Thank you, saved me! 🙏
@Mark-D-Inman
@Mark-D-Inman 2 месяца назад
Fantastic!
@gahshunker
@gahshunker 2 месяца назад
@@Mark-D-Inman although I can't find the free licensing disclaimer anymore 😆, they moved to trial-based approach
@emreduman225
@emreduman225 2 месяца назад
Nice one! I think you should make an another video about threads and multi-threads, That video would be complementary and relevant resource with this video. Thanks again!
@Mark-D-Inman
@Mark-D-Inman 2 месяца назад
I'll do that for sure. Thanks for the suggestion. To build on this one, the next video will cover exception handling in asynchronous code, which i personally found painful to grasp initially.