Base solution for your next web application

Activities of "aaronwittman"

Hi,

Is it possible to create a session in a console app ( i.e web job). I have setup the module, bootstrapper and can call my application layer correctly if i disable [AbpAuthorize] as I have login working. But, this is enabled on lower level classes that I am using and do not want to turn this off.

I have gone through the examples and also have the webapi cookie based objects working but would like to use my application objects and not url calls via WebApi. Right now i cannot find a way to create the session and not sure if this can be done under a console app (without HTTP context) or if WebApi is the only or best practice approach.

My business case is that webjobs are needing to use my database methods that reside in the application tier.

Thanks alot for any advice :)

Hi,

I just updated all of the nuget references and project no longer complies :o Getting the following errors , any advice on what to change?

I also changed the Clock.SupportsMultipleTimezone from a method ? Is this correct?

Error CS0246 The type or namespace name 'IdentityFrameworkClaimsAbpSession' could not be found (are you missing a using directive or an assembly reference?) Core\Runtime\Session\AspNetZeroAbpSession.cs 10 Active

Error CS0115 'AspNetZeroAbpSession.TenantId': no suitable method found to override Core\Runtime\Session\AspNetZeroAbpSession.cs 14 Active

Error CS1729 'IdentityFrameworkClaimsAbpSession' does not contain a constructor that takes 1 arguments Core\Runtime\Session\AspNetZeroAbpSession.cs 29 Active

Error CS0117 'Mapper' does not contain a definition for 'CreateMap' Application\CustomDtoMapper.cs 29 Active

Thanks

Showing 1 to 2 of 2 entries