i was trying to enqueue a function call in hangfire from Core Manager Class but i have found that if function proceeding lines having exceptions hangfire cancel your enqueue ... so please fix that in your Abp coming version
Hangfire.BackgroundJob.Enqueue<IHangFireManager>((t) => t.DoTestFunction(input.value, input.location, partitionKey, rowKey)); //so the coming lines MUST BE ENCLOSED INTO TRY Catch //populate output location object -- if the coming having exception the above line enqueue is cancelled from Hangfire PlaceLocation outputLocation = await _placeLocationManager.GetLocationDetails(input.LocationId.Replace("-", ""));
in case of AngularJS navigate to \App\Main\services\appSession.js comment the below lines //abp.services.app.session.getCurrentLoginInformations({ async: false }).done(function (result) { // _session.user = result.user; // _session.tenant = result.tenant; //}); it will suppress the "User did not login Message" also in \App_Start\projectNavigationProvider.cs
comment //.AddItem( // new MenuItemDefinition( // "Users", // L("Users"), // url: "#users", // icon: "fa fa-users", // requiredPermissionName: PermissionNames.Pages_Users // )) and in \project.Web\Controllers\HomeController.cs comment //[AbpMvcAuthorize]
and in ApplicationService : make sure ther eis no AbpAuthorize it resolved the issue and no Pain now Enjoy
Dear Halil,
how can i simply disable login & authorization for aspnet boilerplate and open my view to anonymous users i'm using version 9.1.1 up to date.. i removeed the [AbpMVcAuthorize] it is throwing : User did not login
also i have weired issue when calling webApi proxy of application service "getDetails" .. it is executing in first time ...when i execute $state.go('') to make a back button
then i click again on details : Ajax call request failed i trace the issue and i yield nothing
i have considered the EventCloud Source as a reference .. same structure any reasons
thank you
today I tried to merge the sqlclient and mongodb in boilerplate Abp MongoDB UnitOfWork implementations conflicted with EntityFramework... in runtime when happened dependency injection .. mongodb repository is transferred to the EF SQL one in runtime ... i have manually changed the Abp.MongoDB source code to avoid that .. but MongoDB collections yielding null that is why the samples found were for only one database driver (i mean inlcuding unitOfWork & dependecny Injection)
I have done a fix ... but it is not saving in database... seems to be runtime and dependency injection issue.
in fact i have used your latest GitHub Abp 0.8.4.1 Dlls also Abp.MongoDB when i remove entityFramework Nugets from project and use only MongoDB one it is workign and vice versa they are not working together because of UnitOfWork Database conflict