Hi,
Your repository should be defined like this I think,
private readonly IRepository<Renter, long> _renterRepository;
Hi,
This might be a temporary nuget.org issue. You can see the package 0.11.3 in this link <a class="postlink" href="http://www.nuget.org/packages/Abp.Castle.Log4Net/0.11.3">http://www.nuget.org/packages/Abp.Castle.Log4Net/0.11.3</a>.
Try to close and reopen visual studio and try to update nuget packages again. It might work.
Hi,
You can do it in app.js when defining your routes.
$urlRouterProvider.otherwise("/users");
this line defines the default route. You can override it calling this with a different route. for example
$urlRouterProvider.otherwise("/welcome");
Please take a look at app.js in module zero template <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero-template/blob/master/src/AbpCompanyName.AbpProjectName.WebSpaAngular/App/Main/app.js#L28">https://github.com/aspnetboilerplate/mo ... app.js#L28</a>
Hi,
Can you try to add [DefaultDbContext] attribute to your CoreDbContext ?
Hi,
Change your HomeController's Index action to
public ActionResult Index()
{
if (AbpSession.UserId > 0)
{
return RedirectToAction("Index", "Application");
}
return View();
}
Hi,
IValidate interface is removed. You can also remove IValidate interface usages from your project. Please see this issue <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/1199">https://github.com/aspnetboilerplate/as ... ssues/1199</a>.
Hi,
Configuration.Modules.AbpAutoMapper().Configurators.Add(mapper =>
{
CustomDtoMapper.CreateMappings(mapper);
});
and change your CreateMappings method in custom dto mapper to
public static void CreateMappings(IMapperConfigurationExpression mapper)
{
...
}
Clock.Provider = ClockProviders.Utc;
SetAntiForgeryCookie();
It just be after "Layout = null;" line.
Hi,
Can you share your permission definition in your AuthorizationProvider ? it should have "multiTenancySides: MultiTenancySides.Tenant".
Hi,
Clock.SupportsMultipleTimezone is converted to a property from a method. It's used in some vies as well. You can search it in your *.cshtml files.
Do you still have problem with Mappings ?
Hi,
You can check AbpSession.UserId in HomeController's Index action. If it is bigger than 0, redirect user to ApplicationController's Index action.