Data Vids (Data Vids)
Data Vids (Data Vids)
  • 88
  • 549 347
Separate appsettings.json by Environment Variable
Separate appsettings.json into multiple files based on environment variables like develop, production, stage, etc.
มุมมอง: 6 014

วีดีโอ

Move appSettings.json values to User Secrets
มุมมอง 3.2Kปีที่แล้ว
Learn how to move certain values from appSettings.json into userSecrets. This video covers setup of user secrets, as well as explanation of how to get the values out after, where the files would be stored on your competer, etc. This also covers why you do not want to have passwords or other sensitive values in source control and what to do about existing source files with secrets after moving t...
Make Pictures using AI in dotNet (C#)
มุมมอง 1.1Kปีที่แล้ว
Learn how to make images or art based on a text description. This video teaches programmers how to utilize openAI in dotnet to make a picture then launches the browser to view the picture - all in a very short csharp file!
Windows EventLogs in DotNet (easy logging setup)
มุมมอง 2.9Kปีที่แล้ว
Learn how to easily log to windows event logs from your dotnet (core) application. Example is in DotNet 7.
EFCore 7 Context Factory, multiple context's that can connect at runtime (Dotnet Core / Dotnet 7)
มุมมอง 4.4Kปีที่แล้ว
Connect to one (or more!) context's at runtime using a context factory instead of a regular DBContext. Learn how and what to scaffold, what needs to be overridden, and where to apply scope. Its easy, and it won't take long to learn! You can even pick your connection string at runtime too. This example is in a dotnet 7 EFCore ASP.Net Razor pages project, but it would work (and you can follow alo...
Extension Methods in C# (DotNet)
มุมมอง 714ปีที่แล้ว
Extension Methods in DotNet (C#). Learn how to create extension methods in CSharp using visual studio. These examples are in dotnet 7 but the concepts are not new and the code shown will work in earlier versions of dotnet or even dotnet framework.
Setup Pull Requests in GIT DevOps
มุมมอง 414ปีที่แล้ว
Setup pull requests in GIT DevOps and prevent merging directly into the main branch (or whatever branch you would like to protect). Also learn how to link work items to branches and to pull requests, and to require (or not require) various tasks to be completed as part of the pull request completion.
How to use Dapper in DotNet [Dotnet 7] [C#]
มุมมอง 6Kปีที่แล้ว
Use Dapper in Dotnet: step by step guide to connecting, inserting, selecting, deleting, updating, and building transactions. Dapper is a Micro ORM that is very easy to use, and doesn't require a big learning curve to get started. You should know SQL or MySQL syntax and have an existing database in order to use this guide, but its as easy as pie. Do you have queries created in MySQL Workbench or...
Compare or Sort any Object (using IComparable or IEquatable) .Net
มุมมอง 4.9Kปีที่แล้ว
This tutorial does a .Net 7 console app in which we show how any simple class can be sorted in a list or compared against other instances of objects. Its VERY easy coding and so that makes for a short and easy to follow video. I it helps you in your project. Have a great day!
Upload Videos & make Thumbnails in DotNet MVC (C#) using FFMPEG
มุมมอง 2.6K2 ปีที่แล้ว
Upload Videos & make Thumbnails in DotNet MVC (C#) using FFMPEG
MVC DotNet 6 Upload Images to Azure Blob Storage and disk
มุมมอง 7K2 ปีที่แล้ว
MVC DotNet 6 Upload Images to Azure Blob Storage and disk
DotNet 6 + ReactJS, build a Rich Text Editor [Step by Step] (with QuillJS)
มุมมอง 9942 ปีที่แล้ว
DotNet 6 ReactJS, build a Rich Text Editor [Step by Step] (with QuillJS)
Logging in WebAPI for DotNet6 (DotNet Core), using NLog.
มุมมอง 14K2 ปีที่แล้ว
Logging in WebAPI for DotNet6 (DotNet Core), using NLog.
Transactions in EFCore 6 (Entity Framework DotNet 6), CSharp Examples
มุมมอง 10K2 ปีที่แล้ว
Transactions in EFCore 6 (Entity Framework DotNet 6), CSharp Examples
How to Debug Library Code using Visual Studio [.Net 6 Example]
มุมมอง 17K2 ปีที่แล้ว
How to Debug Library Code using Visual Studio [.Net 6 Example]
Skip code, or make code debug/production only [DotNet Development] (Debugging Tips!)
มุมมอง 7532 ปีที่แล้ว
Skip code, or make code debug/production only [DotNet Development] (Debugging Tips!)
Create full Razor Pages app, with EFCore from scratch!
มุมมอง 1.1K2 ปีที่แล้ว
Create full Razor Pages app, with EFCore from scratch!
Debug Stored Procedures that Return Tables (In Visual Studio)
มุมมอง 2.1K2 ปีที่แล้ว
Debug Stored Procedures that Return Tables (In Visual Studio)
Read Write Registry in Dotnet Core
มุมมอง 1.6K2 ปีที่แล้ว
Read Write Registry in Dotnet Core
Update a Nuget Package in Azure Devops Feed
มุมมอง 6K2 ปีที่แล้ว
Update a Nuget Package in Azure Devops Feed
Create NuGet Package in Azure DevOps (Artifact), and make a Git Repo hosted at Devops
มุมมอง 4.9K2 ปีที่แล้ว
Create NuGet Package in Azure DevOps (Artifact), and make a Git Repo hosted at Devops
Alias Using Statements Simplifies Code
มุมมอง 2892 ปีที่แล้ว
Alias Using Statements Simplifies Code
Manage Secrets in DotNet 6
มุมมอง 6K2 ปีที่แล้ว
Manage Secrets in DotNet 6
Add Identity to Entity Framework Database-First Projects [DotNet 6]
มุมมอง 21K2 ปีที่แล้ว
Add Identity to Entity Framework Database-First Projects [DotNet 6]
Squash Merge: Using Command line, DevOps, or Visual Studio
มุมมอง 3.1K2 ปีที่แล้ว
Squash Merge: Using Command line, DevOps, or Visual Studio
Debug Stored Procedures in Visual Studio
มุมมอง 29K3 ปีที่แล้ว
Debug Stored Procedures in Visual Studio
Custom MiddleWare in DotNet 5
มุมมอง 1.1K3 ปีที่แล้ว
Custom MiddleWare in DotNet 5
Ajax calls to .Net5 MVC Controllers (using JQuery)
มุมมอง 14K3 ปีที่แล้ว
Ajax calls to .Net5 MVC Controllers (using JQuery)
.Net 5 Identity using MySQL in MVC projects
มุมมอง 4.2K3 ปีที่แล้ว
.Net 5 Identity using MySQL in MVC projects
Entity Framework using MySQL (Database First) (EFCore)
มุมมอง 13K3 ปีที่แล้ว
Entity Framework using MySQL (Database First) (EFCore)

ความคิดเห็น

  • @HildaMaeNiederweirder
    @HildaMaeNiederweirder 4 วันที่ผ่านมา

    I have set up at least a dozen new projects in the manner you describe. Every one of them suffers from the error you got at 24:47 in the video: Entity Type IdentityUserLogin requires a primary key. I made sure both dbContexts have the base.OnModelCreating(builder) line. That solved the error for IdentityUserLogin. Next I get: Cannot use table AspNetUserRoles for entity type IdentityUserRole<string>.... Every project follows this same pattern of errors and I cannot overcome them; even if you solve the error for one table it just moves to another. Understanding you cannot see my code, can you think of anything that would cause this? Thank you for your time and the video. Your video is well-made and fairly easy to follow.

  • @augustinantoine3263
    @augustinantoine3263 หลายเดือนก่อน

    Thank you for your very informative tutorial. Is there a way to log events in the 'Applications and Services Logs' rather than in the 'Windows Logs'? I am trying to log actions on the machine using my application both in a new source under 'Windows Logs > Application', and also in 'Applications and Services Logs > Log [name of my application]'. But I don't understand how could I target 'Applications and Services Logs' instead of 'Windows Logs'. Edit : btw, I'm working on a .net6 C# WPF local application if it matters to the answer

  • @DaveNorthWest
    @DaveNorthWest หลายเดือนก่อน

    Cool! Thanks! This basically converted the entity to use MySQL rather than MSSQL. Thanks for making this great video! Btw it works with all the other packages being version 8.0.11 now and adding the pomelo.entityframworkcore.mysql version 8.0.2. Its almost year 2025 now as of posing this comment

  • @HikingUtah
    @HikingUtah หลายเดือนก่อน

    This would be the hard way! Simply right click on the project and select User Secrets, which opens up the correct version of secrets.json. This automatically creates the ID in the project file. No need for PowerShell.

  • @darrylw99
    @darrylw99 หลายเดือนก่อน

    I followed your nstructions (hopefully correctly) . I noted that i couldnt find that option in gmail.... when i check the sysmail_event_log im getting "Protocol is not supported for sending mails." Can you provide me with any knowledge on this error please

  • @andrey_aka_skif
    @andrey_aka_skif 2 หลายเดือนก่อน

    When using swagger we can use the app.Environment.IsDevelopment(). When using named configuration files we lose this ability. What to do?

  • @munisekhar5158
    @munisekhar5158 2 หลายเดือนก่อน

    Life saviour

  • @SparkDude1000
    @SparkDude1000 2 หลายเดือนก่อน

    Excellent job!

  • @bhagyashreenawale3578
    @bhagyashreenawale3578 3 หลายเดือนก่อน

    Still in outgoing 😢what to do

  • @tem_vremenem_v_kanade
    @tem_vremenem_v_kanade 3 หลายเดือนก่อน

    By far best vid on the subject. Thank you!

  • @rectaalborween8471
    @rectaalborween8471 3 หลายเดือนก่อน

    So that's what extension methods are, thanks for explaining! Is the only use for this to add your own methods to existing .NET classes? Where would you mostly use extension methods?

  • @kopilkaiser8991
    @kopilkaiser8991 4 หลายเดือนก่อน

    Great and absolutely brilliant tutorial. I was really looking to understand some of these git functionalities on visual studio and you helped me alot 😊

  • @krishravela
    @krishravela 4 หลายเดือนก่อน

    Thanks for the video!

  • @HaydenMarek
    @HaydenMarek 5 หลายเดือนก่อน

    Simple and to the point. Helped me to get started. Thanks!

  • @mustseeiran6255
    @mustseeiran6255 5 หลายเดือนก่อน

    Hi, what about hosting in IIS? Is secret applicable?

  • @xardasu3646
    @xardasu3646 5 หลายเดือนก่อน

    If another user create a new dotnet new user-secrets in his local, will it cause a conflict in the .sln file when commiting because different computer will generate different UserId ?

  • @TiranHarsha-zk3hr
    @TiranHarsha-zk3hr 6 หลายเดือนก่อน

    Thank you for the content

  • @ic_1234
    @ic_1234 7 หลายเดือนก่อน

    what if you have output parameters in the procedure and need them declared?

  • @yaphao4544
    @yaphao4544 7 หลายเดือนก่อน

    I have been tasks to convert Dapper to EF core, which the queries have lots Joined tables, so watching your videos ,gimme some clues on how to proceed and dig more infomation to do on my tasks

  • @imtiazmehedi853
    @imtiazmehedi853 7 หลายเดือนก่อน

    Confusing video

  • @Shenron666
    @Shenron666 8 หลายเดือนก่อน

    User Secrets are only for developement

  • @Raikishadows
    @Raikishadows 8 หลายเดือนก่อน

    The folder is not created for me in the registry. Should I have permissions activated or how could someone solve what happened to them?

  • @Nebb_
    @Nebb_ 9 หลายเดือนก่อน

    Thank you so much for making this, it took me way too long to find a up to date video on this.

  • @maegarcia2329
    @maegarcia2329 9 หลายเดือนก่อน

    🎉🎉🎉🎉🎉🎉 thanks bro, i have solved my problem because of your video

  • @calendoscopio3436
    @calendoscopio3436 9 หลายเดือนก่อน

    MAN, YOU ARE AMAZING, THANK YOU SO MUCH. I LOVE YOU

  • @dynocomp9659
    @dynocomp9659 9 หลายเดือนก่อน

    Yep, the "Def" or "def" thing had me searching for hours. Excellent job. Love the simplicity! Thank you. Thank you. Thank you.

  • @karimishaahin
    @karimishaahin 9 หลายเดือนก่อน

    This really helped med, this was exactly what I searched for.

  • @TheFrogLord-ed5tz
    @TheFrogLord-ed5tz 9 หลายเดือนก่อน

    Really helpful vid. Explained it better in 8 mins than the 20 slides given to me

  • @deepakdutta2879
    @deepakdutta2879 9 หลายเดือนก่อน

    Can we do without _migration table and entity validation? I have old apps that need to be updated but I don't have migration table and the fails with error that cannot validate the model because no migrations history found.

  • @nelsonrivers8546
    @nelsonrivers8546 9 หลายเดือนก่อน

    I noticed when you went to Clone under Repos, and you selected the IDE it opens Visual Studio 2019, but our organization has Visual Studio 2022. How do I force Azure DevOps to open Visual Studio 2022 (not VS 2019) ?

  • @velvetSpring-z3u
    @velvetSpring-z3u 9 หลายเดือนก่อน

    Thank you so much, the other online guide are too confusing and mostly for Linux OS

  • @diego-vw2in
    @diego-vw2in 9 หลายเดือนก่อน

    source code, please. Thanks, amazing!

  • @joseptempra3207
    @joseptempra3207 10 หลายเดือนก่อน

    Hello Data Vids for this great video... I need your help, I am doing a minimal API that, in case of one URL parameter (ex. DBid), works with a Database or another one. I need to inject the appropiate DbContext in each EndPoint to work with the correcte Database. Could you tell me how to modify your program to do it. Thanks a lot!!!

  • @Ayoubased
    @Ayoubased 11 หลายเดือนก่อน

    how can I debug vips c++ code using vscode?

  • @Khungersumit
    @Khungersumit 11 หลายเดือนก่อน

    will it be expensive for storing of millions of photos, when applications grows? what about costing?

  • @maximilianoviand7683
    @maximilianoviand7683 11 หลายเดือนก่อน

    And what happens if a person downloads the repository and lets say that the project needs both username and password in order to work. Wouldn't that be a problem since there wont be any secrets.json in the other person's computer. Great vid btw

    • @maximilianoviand7683
      @maximilianoviand7683 11 หลายเดือนก่อน

      The same could be apply for an API key, encryption key, etc.

  • @a-videoo
    @a-videoo ปีที่แล้ว

    Thank you for this. So much of the available documentation seems to be written for .net 5 where you have a Startup.cs etc.

  • @khawajashams7081
    @khawajashams7081 ปีที่แล้ว

    Excellent Work, Thank You So Much Brother!

  • @arpitsirohi8095
    @arpitsirohi8095 ปีที่แล้ว

    Excellent

  • @victorchoe1894
    @victorchoe1894 ปีที่แล้ว

    Thank you, the content is excellent, could you share the code with us?

  • @henrig7933
    @henrig7933 ปีที่แล้ว

    That's pretty cool! I've tried it but unfortunately i get this error : "Response status code does not indicate success: 400 (Bad Request)." Any ideas why?

  • @alexsama536
    @alexsama536 ปีที่แล้ว

    couldn't see the popup window in ur tutorial

  • @bolittos
    @bolittos ปีที่แล้ว

    I want do it with my remote server no local server

  • @NayaneshPatelIT
    @NayaneshPatelIT ปีที่แล้ว

    Its very helpful for developed api in old .net core 3.1 after your guidance I have to upgrade to .net 5.0

  • @Bill-s6j2w
    @Bill-s6j2w ปีที่แล้ว

    You mentioned a "generic constructor" several times and what you were actually talking about is a "default constructor"

  • @mRWiil
    @mRWiil ปีที่แล้ว

    Thank you so much for your great help and your time!

  • @MrESkipperMain
    @MrESkipperMain ปีที่แล้ว

    Thank you! Saved me so much time!

  • @b0mb3r0
    @b0mb3r0 ปีที่แล้ว

    Your awesome, thanks for this content

  • @PIMARINE
    @PIMARINE ปีที่แล้ว

    Separate is ok, but we have always been better together. 😜1OVE.

  • @lassyoutube
    @lassyoutube ปีที่แล้ว

    Great Video!