Hi,
Can you try to access the same api via postman ? It's explained here <a class="postlink" href="https://aspnetzero.com/Documents/Development-Guide#token-based-authentication">https://aspnetzero.com/Documents/Develo ... entication</a>.
If you can reproduce the problem, please share postman's request with us and I will try the same thing in order to understand your case.
Thanks.
Hi,
You are right, if you have seperate databases, you need to run Migrator tool. But this document is prepared for beginners and we didn't think about it.
Anyway, we will consider this, thanks for your valuable suggestions :).
Hi,
Can you open browser's developer console and check what is sent to server in the network tab for your date field ? You can send a screenshot of it here.
Hi,
Hi,
Thanks for sending your project. I have modified _Sidebar.cshtml file to match admin1 layout.
There were three missing things,
This is the modified version of _Sidebar.cshtml
@{
var calculateMenuUrl = new Func<string, string>((url) =>
{
if (string.IsNullOrEmpty(url))
{
return ApplicationPath;
}
if (UrlChecker.IsRooted(url))
{
return url;
}
return ApplicationPath + url;
});
}
<div class="page-sidebar navbar-collapse collapse">
<ul class="page-sidebar-menu" data-keep-expanded="false" data-auto-scroll="true" data-slide-speed="200">
@for (var i = 0; i < Model.Menu.Items.Count; i++)
{
var menuItem = Model.Menu.Items[i];
<li class="nav-item @(i==0 ? "start" : "") @(menuItem.IsMenuActive(Model.CurrentPageName) ? "active" : "")">
@if (menuItem.Items.IsNullOrEmpty())
{
<a class="nav-link" href="@calculateMenuUrl(menuItem.Url)">
<i class="@menuItem.Icon"></i>
<span class="title">@menuItem.DisplayName</span>
</a>
}
else
{
<a href="javascript:;" class="nav-link nav-toggle">
<i class="@menuItem.Icon"></i>
<span class="title">@menuItem.DisplayName</span>
<span class="arrow"></span>
</a>
<ul class="sub-menu">
@foreach (var childMenuItem in menuItem.Items)
{
<li class="nav-item @(childMenuItem.IsMenuActive(Model.CurrentPageName) ? "active" : "")">
@if (childMenuItem.Items.IsNullOrEmpty())
{
<a class="nav-link" href="@calculateMenuUrl(childMenuItem.Url)">
<span><i class="sub-menu-icon @childMenuItem.Icon"></i> @childMenuItem.DisplayName</span>
</a>
}
else
{
<a href="javascript:;" class="nav-link nav-toggle">
<i class="@childMenuItem.Icon"></i>
<span class="title">@childMenuItem.DisplayName</span>
<span class="arrow"></span>
</a>
<ul class="sub-menu">
@foreach (var secondLevelChildMenuItem in childMenuItem.Items)
{
<li class="nav-item @(secondLevelChildMenuItem.IsMenuActive(Model.CurrentPageName) ? "active" : "")">
<a class="nav-link" href="@calculateMenuUrl(secondLevelChildMenuItem.Url)">
<span><i class="sub-menu-icon @secondLevelChildMenuItem.Icon"></i> @secondLevelChildMenuItem.DisplayName</span>
</a>
</li>
}
</ul>
}
</li>
}
</ul>
}
</li>
}
</ul>
</div>
Hi,
Since this is a security problem, you can create an issue on github. We can discuss it there.
Hi,
If you haven't done anything or much, it's better to download again. Update is a manual progress. If you want to update your solution, you can check this forum topic #1073
Hi,
Is your project ASP.NET MVC 5.x or ASP.NET Core ?
Hi,
You can open Chrome's developer console and open network tab to see if any request is sent to server when you click login button.
If there is no request, there might be a client side error. You can check Chrome's console for that.
If there is a request, you can check it's response, website logs or even azure's logs if you cannot find anything before that.
You can upgrade to ABP v0.11 if you want to use AbpHangfireAuthorizationFilter. See it's release notes here <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/releases/tag/v0.11.0.0">https://github.com/aspnetboilerplate/as ... /v0.11.0.0</a>.
It's the next version of your version, so you will not have much problems. We can help if you face any problems.