Creating Multi-Tenant applications with the help of the AuthPermissions Library

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 พ.ย. 2024

ความคิดเห็น • 17

  • @idan5323
    @idan5323 2 ปีที่แล้ว +3

    This is great stuff! Right to the point and satisfies all the real-world needs. You are great jon

    • @thereformedprogrammer
      @thereformedprogrammer  2 ปีที่แล้ว +1

      Glad you like it. Your might like this video th-cam.com/video/-sz49Qwjao8/w-d-xo.html which covers the new sharding feature

    • @idan5323
      @idan5323 2 ปีที่แล้ว

      @@thereformedprogrammer Thanks, I have already seen this video and it was spectacular.

  • @ChristopherBrandsdal
    @ChristopherBrandsdal 3 ปีที่แล้ว

    Fantastic work!

  • @ajeetyadav83034
    @ajeetyadav83034 2 ปีที่แล้ว

    Please can you share this document/link.. I was looking your one of the article that you posted a few day back

    • @thereformedprogrammer
      @thereformedprogrammer  2 ปีที่แล้ว

      I creating a series about multi-tenants that use version 2 of the AuthP library - see the first one at bit.ly/multitenantPart1 . Note that the current video is still valid - version 2 just adds extra features.

  • @redietzewdu5349
    @redietzewdu5349 2 ปีที่แล้ว

    Thank you very very much! It is very helpful! I did change the connection string to use SQL server instead of local DB and I got the following error
    A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)
    What can I do to resolve this? Thanks!

    • @thereformedprogrammer
      @thereformedprogrammer  2 ปีที่แล้ว

      I haven't had this problem, but a quick Google of "The certificate chain was issued by an authority that is not trusted - try docs.microsoft.com/en-us/troubleshoot/sql/connect/error-message-when-you-connect

    • @redietzewdu5349
      @redietzewdu5349 2 ปีที่แล้ว

      @@thereformedprogrammer Thanks for your quick response! I already tried this solution but it didn't work for me.
      I was working on Example3 and I just changed only the connection string and try to Update the Database using the ApplicationDbContext. Is there a way to remove the encryption? Thanks!

    • @thereformedprogrammer
      @thereformedprogrammer  2 ปีที่แล้ว +1

      @@redietzewdu5349 Try Googling "The certificate chain was issued by an authority that is not trusted" and look at the other answers. Also the "Trusted_Connection=True" is used to log in to the SQL Server on windows. You might need to take that out and provide username + password of the SQL server.

    • @crumbdav
      @crumbdav 2 ปีที่แล้ว

      I had this issue as well.... i added Encrypt=false onto the connection string and it resolved the issue. I can't say whether this is best practice or not, but it worked for me. Good luck!

  • @ahmedabdulrahman4490
    @ahmedabdulrahman4490 3 ปีที่แล้ว

    Great job, thanks

  • @aimanalnami7655
    @aimanalnami7655 3 ปีที่แล้ว

    This is magic thanks 😊

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

    How to run project #3???

    • @thereformedprogrammer
      @thereformedprogrammer  ปีที่แล้ว +3

      1. Download the AuthP repro
      2. Go to the Example3.MvcWebApp.IndividualAccounts project
      3. Open the appsettings.json and make sure the DefaultConnection's server is set to to a local SQL Server server (I used localdb because many people have that)
      4. Run the Example3.MvcWebApp.IndividualAccounts - this ASP.NET Core project is designed to create the database isn't there and seeds the database with demo data.
      5. The Home page provides information on how to log in using the demo users.

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

      @@thereformedprogrammer Thanks is great !!!!