Intro to Service, Unit Testing, Class Library, and SSDT Projects in VS2022

Поделиться
HTML-код
  • Опубликовано: 9 окт 2022
  • There are many project types in Visual Studio, but do you know what they all do? In this video, we will look at a catch-all category of service and other project types. We are going to review our options for class libraries, we are going to look at services compared to console apps, and we are going to look at our standard unit testing project types.
    Full Training Courses: www.IAmTimCorey.com
    Project Site: www.csharpprojects.com
    Mailing List: signup.iamtimcorey.com/

Комментарии • 25

  • @tresaidh3y90
    @tresaidh3y90 Год назад +11

    I have been following you for the better part of two years now trying to learn as much as I can. I finally have my first real interview as a Software Developer for a retail company and I could not be more excited. All projects I have created have been an inspiration from this channel. Thank you so much for sharing your knowledge and giving people like me a chance to jump head first into this career.

    • @IAmTimCorey
      @IAmTimCorey  Год назад +2

      Awesome and Congratulations! I am glad my content was so helpful.

  • @ahlinn6809
    @ahlinn6809 Год назад

    Another great video. Thanks for your valuable sharing, Tim!

  • @chrislamb155
    @chrislamb155 Год назад

    Very interesting! I am now wondering if I should use Entity Framework Code First, or SSDT. You gave me a lot to think about! Thank you for a great Vid!

  • @PWRR
    @PWRR Год назад +1

    In-process libraries are another option. Example: Autodesk and ESRI product add-ons.

  • @paulegan3783
    @paulegan3783 Год назад

    Thanks!

  • @rasmister
    @rasmister Год назад +2

    Local System Account will not work if you your service needs to connect across the network, you have to use a named user account that has premissions to do this sort of thing.

    • @IAmTimCorey
      @IAmTimCorey  Год назад +2

      Correct. You have to match the permissions to the tasks you want accomplished. Neither will work if you need admin rights.

  • @michaeldommer4094
    @michaeldommer4094 Год назад

    Great material as always! Question: what in your opinion is the best way to deploy a windows service or worker service that can then receive automatic updates when updates are made available?

    • @IAmTimCorey
      @IAmTimCorey  Год назад

      Use a third-party updating tool for C#. I don't have one that readily comes to mind, though.

  • @ChrisGlasgows
    @ChrisGlasgows Год назад

    Worker service, save us tons of money. Did complex stuff locally without paying the cloud prices.

  • @haroldpepete
    @haroldpepete 10 месяцев назад

    i have a question, if you could answer would be great. i have declared a service, but i didn't use interface, this is a utility service, it does a lot of thing related to the app, it's, i use dependency injection without interfaces. it's ok or i'm wrong, i really appreciate it

    • @IAmTimCorey
      @IAmTimCorey  10 месяцев назад

      You don't have to use an interface with dependency injection. It just makes it easier to write unit tests and mock the dependencies.

  • @kitsurubami
    @kitsurubami Год назад

    can we have the youtube chapters feature implemented on this video? Would be helpful for viewers coming for reference material

    • @IAmTimCorey
      @IAmTimCorey  Год назад +1

      I don't have the resources to do it, but if you provide the time codes and decent chapter names, I will add it to the description. That's how all of my chapters get added. Users contribute them.

  • @MohammadKomaei
    @MohammadKomaei Год назад

    How to remove other languages from vs2022? I want to see only c# in it.

  • @andywalter7426
    @andywalter7426 Год назад

    Wouldn't docker containers completely replace the need for services?

    • @IAmTimCorey
      @IAmTimCorey  Год назад +1

      No. A docker container is just a way to run an application. What application you put inside of it is up to you, but it isn't a project type unto itself. You could put a service inside of a Docker container if you wanted. Generally, though, it isn't that valuable. Services need to have access to what they are working on. For instance, a service can back up your computer. That needs access to all of your files. It can't get that access as a Docker container. Think of these things as tools, not as replacements for one another. Just because you have a screwdriver doesn't mean you don't need a crowbar.

  • @feliperamirez4184
    @feliperamirez4184 Год назад

    Great video. Could you please start providing time stamps please? Even some small references could be helpful to navigate the video.
    Thanks!

    • @IAmTimCorey
      @IAmTimCorey  Год назад

      I don't have the resources to do that at this time. However, some community members offer them, and if they do I add them to the description.

    • @feliperamirez4184
      @feliperamirez4184 Год назад

      @@IAmTimCorey Thank you for answering, wasn’t expecting it! I’ve been here for a while, and I’ve noticed the community helps with that (among other things), so I understand what you mean. Thank you anyways