Base solution for your next web application

Activities of "kumaran"

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.

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.

<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.

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.

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.

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

Yes you are right. Changing the entity name worked.

I get the following error in angular client when i try to save the data.

The error i see in console. The UI validation says required field error even though i have keyed in all values.

{code: 0, message: "Your request is not valid!", details: "The following errors were detected during validati…equired. ↵ - The Description field is required. ↵", validationErrors: Array(5)} core.js:1633 ERROR Error: An unexpected server error occurred. at new SwaggerException (service-proxies.ts:19014) at throwException (service-proxies.ts:19034) at MergeMapSubscriber.project (service-proxies.ts:5798) at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._tryNext (mergeMap.js:60) at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._next (mergeMap.js:50) at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:54) at Observable._subscribe (service-proxies.ts:19040) at Observable.push../node_modules/rxjs/_esm5/internal/Observable.js.Observable._trySubscribe (Observable.js:42) at Observable.push../node_modules/rxjs/_esm5/internal/Observable.js.Observable.subscribe (Observable.js:28) at MergeMapOperator.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapOperator.call (mergeMap.js:28)

Found the problem. None of the data was returning back from the UI to the server. The reason is when i created a entity called "Show" it messed up with the method model.show and the model variable called show to create new instance of createoredit. I had to rename the show variable and update the angular page with the new variable.

I created a new entity and now i can see the data in the form of data table grid. I wanted to convert that to "Dataview", what are the items i need to change. I tried to follow this example 'https://www.primefaces.org/primeng/#/dataview' but messed up my code. Can you please help.

Showing 1 to 10 of 47 entries