Base solution for your next web application

Activities of "kumaran"

Yes you are right. Changing the entity name worked.

I tried to create an "Event" entity and i got code generated with lots of errors in EventAppService.cs Eg:

Severity Code Description Project File Line Suppression State Error CS0161 'EventsAppService.GetEventForEdit(NullableIdDto<long>)': not all code paths return a value Events.Application C:\Kumaran\AspnetZero\Events\aspnet-core\src\Events.Application\Event\EventsAppService.cs 69 Active Error CS0103 The name 'var' does not exist in the current context Events.Application C:\Kumaran\AspnetZero\Events\aspnet-core\src\Events.Application\Event\EventsAppService.cs 71 Active Error IDE1007 The name 'input.Id' does not exist in the current context. Events.Application C:\Kumaran\AspnetZero\Events\aspnet-core\src\Events.Application\Event\EventsAppService.cs 71 Active Error IDE1007 The name 'input' does not exist in the current context. Events.Application C:\Kumaran\AspnetZero\Events\aspnet-core\src\Events.Application\Event\EventsAppService.cs 71 Active Error IDE1007 The name 'Id' does not exist in the current context. Events.Application C:\Kumaran\AspnetZero\Events\aspnet-core\src\Events.Application\Event\EventsAppService.cs 71 Active Error CS0236 A field initializer cannot reference the non-static field, method, or property 'AbpServiceBase.ObjectMapper' Events.Application C:\Kumaran\AspnetZero\Events\aspnet-core\src\Events.Application\Event\EventsAppService.cs 73 Active Error CS7036 There is no argument given that corresponds to the required formal parameter 'source' of 'IObjectMapper.Map<TDestination>(object)' Events.Application C:\Kumaran\AspnetZero\Events\aspnet-core\src\Events.Application\Event\EventsAppService.cs 73 Active Error IDE1007 The name 'output' does not exist in the current context. Events.Application C:\Kumaran\AspnetZero\Events\aspnet-core\src\Events.Application\Event\EventsAppService.cs 75 Active Error CS0103 The name 'Create' does not exist in the current context Events.Application C:\Kumaran\AspnetZero\Events\aspnet-core\src\Events.Application\Event\EventsAppService.cs 81 Active Error CS0103 The name 'Update' does not exist in the current context Events.Application C:\Kumaran\AspnetZero\Events\aspnet-core\src\Events.Application\Event\EventsAppService.cs 84 Active Error CS0103 The name 'var' does not exist in the current context Events.Application C:\Kumaran\AspnetZero\Events\aspnet-core\src\Events.Application\Event\EventsAppService.cs 91 Active Error CS0103 The name 'ObjectMapper' does not exist in the current context Events.Application C:\Kumaran\AspnetZero\Events\aspnet-core\src\Events.Application\Event\EventsAppService.cs 91 Active Error CS0103 The name '_eventRepository' does not exist in the current context Events.Application C:\Kumaran\AspnetZero\Events\aspnet-core\src\Events.Application\Event\EventsAppService.cs 95 Active Error CS0103 The name 'var' does not exist in the current context Events.Application C:\Kumaran\AspnetZero\Events\aspnet-core\src\Events.Application\Event\EventsAppService.cs 101 Active

additional difference in 2 admin rows. One had tenant id and one does not. Not this make sense that one of them is for the tenant. Now my only question is why do i have to enable multi-tenant to get the site working even if i dont want multi-tenant.

OK, this is what i found. I went back and enabled multi-tenant and then ran the host and the site, then it created the user data. But there is a new problem. I have 2 admin account now in my user table. One with shouldChangePasswordOnNextLogin = true and the other one is false. I dont know what's going on.

<cite>maliming: </cite> The application will automatically initialize the data when it starts. So start your website.

Hi I ran the site but still not working and there are no data in the table. I still see the seed code is not getting called.

I have the host running and when i run the angular site, i get internal error because there is no data.

Additional information on my error: I have disabled multi-tenant and also i see that the seedHelper.cs code is not getting called when i run the host. Also i see that the seed folder is under the Migration folder vs seed folder found under EntityFrameworkCore folder for demo sites.

After fresh install and running Update-Database, i do not see any user in my local db. I do see all the tables created but no data including user table.

Here is my connection string. Server=(localdb)\MSSQLLocalDB;Initial Catalog=xxDb;Integrated Security=True;

I have tried this with demo application and it worked. This is not working only after i downloaded the premium code. Need help.

Showing 41 to 47 of 47 entries