Base solution for your next web application

Activities of "bartkoolhaas"

Even zipped thats 250mb....

The entire project? Thats quite a large file.... I'll do my best!

I fixed those, it still cannot find the respective classes...

The errors it gives are as follows:

Severity Code Description Project File Line Suppression State Error CS0246 The type or namespace name 'PhoneBookDemoAppServiceBase' could not be found (are you missing a using directive or an assembly reference?) Acme.PhonebookDemo.Application C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\src\Acme.PhonebookDemo.Application\PhoneBook\PersonAppService.cs 16 Active Error CS0246 The type or namespace name 'IPersonAppService' could not be found (are you missing a using directive or an assembly reference?) Acme.PhonebookDemo.Application C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\src\Acme.PhonebookDemo.Application\PhoneBook\PersonAppService.cs 16 Active Error CS0006 Metadata file 'C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\src\Acme.PhonebookDemo.Application\bin\Debug\net5.0\ref\Acme.PhonebookDemo.Application.dll' could not be found Acme.PhonebookDemo.Test.Base C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\test\Acme.PhonebookDemo.Test.Base\CSC 1 Active Error CS0006 Metadata file 'C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\src\Acme.PhonebookDemo.Application\bin\Debug\net5.0\ref\Acme.PhonebookDemo.Application.dll' could not be found Acme.PhonebookDemo.Web.Core C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\src\Acme.PhonebookDemo.Web.Core\CSC 1 Active Error CS0006 Metadata file 'C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\src\Acme.PhonebookDemo.Application\bin\Debug\net5.0\ref\Acme.PhonebookDemo.Application.dll' could not be found Acme.PhonebookDemo.GraphQL.Tests C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\test\Acme.PhonebookDemo.GraphQL.Tests\CSC 1 Active Error CS0006 Metadata file 'C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\test\Acme.PhonebookDemo.Test.Base\bin\Debug\net5.0\ref\Acme.PhonebookDemo.GraphQL.Test.Base.dll' could not be found Acme.PhonebookDemo.GraphQL.Tests C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\test\Acme.PhonebookDemo.GraphQL.Tests\CSC 1 Active Error CS0006 Metadata file 'C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\src\Acme.PhonebookDemo.Application\bin\Debug\net5.0\ref\Acme.PhonebookDemo.Application.dll' could not be found Acme.PhonebookDemo.Tests C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\test\Acme.PhonebookDemo.Tests\CSC 1 Active Error CS0006 Metadata file 'C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\test\Acme.PhonebookDemo.Test.Base\bin\Debug\net5.0\ref\Acme.PhonebookDemo.GraphQL.Test.Base.dll' could not be found Acme.PhonebookDemo.Tests C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\test\Acme.PhonebookDemo.Tests\CSC 1 Active Error CS0006 Metadata file 'C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\src\Acme.PhonebookDemo.Application\bin\Debug\net5.0\ref\Acme.PhonebookDemo.Application.dll' could not be found Acme.PhonebookDemo.Web.Host C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\src\Acme.PhonebookDemo.Web.Host\CSC 1 Active Error CS0006 Metadata file 'C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\src\Acme.PhonebookDemo.Web.Core\bin\Debug\net5.0\ref\Acme.PhonebookDemo.Web.Core.dll' could not be found Acme.PhonebookDemo.Web.Host C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\src\Acme.PhonebookDemo.Web.Host\CSC 1 Active Error CS0006 Metadata file 'C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\src\Acme.PhonebookDemo.Application\bin\Debug\net5.0\ref\Acme.PhonebookDemo.Application.dll' could not be found Acme.PhonebookDemo.Web.Public C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\src\Acme.PhonebookDemo.Web.Public\CSC 1 Active Error CS0006 Metadata file 'C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\src\Acme.PhonebookDemo.Web.Core\bin\Debug\net5.0\ref\Acme.PhonebookDemo.Web.Core.dll' could not be found Acme.PhonebookDemo.Web.Public C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\src\Acme.PhonebookDemo.Web.Public\CSC 1 Active Error CS0305 Using the generic type 'ObjectMapper<TSource, TDestination>' requires 2 type arguments Acme.PhonebookDemo.Application C:\Users\Bart Koolhaas\Documents\Visual Studio Projects\PhoneBookDemo\aspnet-core\src\Acme.PhonebookDemo.Application\PhoneBook\PersonAppService.cs 40 Active

I did... Maybe not correctly?

Aaaaaahhh, apologies, i did do this. Visual Studio says "The type or namespace name 'IPersonAppService' could not be found, and it then gives me 3 options "Generate interface 'IPersonAppService' in new file, Generate interface 'IPersonAppService', or Generate new type... What should I do here?

In the step by step documentation (and in the video) it shows the menu item entry as follows:

new AppMenuItem("PhoneBook", null, "flaticon-book", "/app/main/phonebook")

Solved; it turned out to be yet another mistake in the tutorial....

in the main-routing.module where you define the path of the menu item, you need to add the data pemission in order for the link to work, like this:

{ path: 'phonebook', component: PhoneBookComponent, data: { permission: 'Pages.Tenant.Dashboard' }},

The tutorial leaves it out. Ive now copied the permission from the dashboard menu item and then it works. I guess it is possible to add a 'Pages.Tenant.Phonebook"permission somehow, but that requires some further figuring out....

Thanks @AuroraBMS; I have multi tenancy disabled, so its not giving me this option?

ahhhh, finally; it works, txs! I now see this is only mentioned in the course quite a bit later. Is it because of a diffrent version?

And then use my asp.net account log-in credentials? It just throws an error at me:

Showing 1 to 10 of 14 entries