Base solution for your next web application

Activities of "ismcagdas"

Hi,

You are right. We were using this property in the previous versions but it's not used anymore. It will be removed in the next release.

Can you describe steps for evaluating your problem about highlighting active menu item. We will try to fix it as well.

In the mean time you can check handleSidebarMenuActiveLink function in "metronic\assets\admin\layout4\scripts\layout.js" file to investigate your problem.

Hi,

It's actually related to angular ui-grid. You can check this post #995@91f7696f-0b7c-4350-abd4-3eff9960b066

There is no proper fix or workaround for that right now.

Hi,

Which browser & virus program do you use ?

Hi,

I forgot the mention, don't change the default mapping for webapi with name "DefaultApi". Instead, add a second mapping and give it an another name.

This routing configuration might break calls to Zero dynamic web api actions. Please test it and use it carefully :).

Hi,

You need to implement IScriptProxyGenerator for ExtJS in order ExtJs ajax calls to work with dynamic web api services. Then you need to use your custom ExtJSProxyGenerator class instead of AngularProxyGenerator.

You can inspire from current angular proxy generator <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/62ef9634e5847c2cef42784619fdec545fb0d64c/src/Abp.Web.Api/WebApi/Controllers/Dynamic/Scripting/Angular/AngularProxyGenerator.cs">https://github.com/aspnetboilerplate/as ... nerator.cs</a>.

I hope this helps.

Hi,

For current web api routing configuration, more than one post/get action is not allowed in a controller. You can create another controller or change the web api route config.

Current web api route config does not contain action parameter, so change it like this.

routes.MapHttpRoute(
	name: "DefaultApi",
	routeTemplate: "api/{controller}/{action}/{id}",
	defaults: new { id = RouteParameter.Optional }
);

Hi,

After downloading necessary files,

1 - You need to add paths of scripts to ScriptPaths.cs, paths of styles to StylePaths.cs. 2 - Add those paths to AppBundleConfig. 3 - At last, you need to add your directive to app.js file under App folder

var appModule = angular.module("app", [
    "ui.router",
    "ui.bootstrap",
    'ui.utils',
	..........
	'openlayers-directive'
    'abp'
]);

Hi,

I suggest you to not call an app service from another app service first :), because it's a bad practice.

I assume that, you have defined an entity with name "BlockedPermission", added it to your dbcontext, generate required migration and update the database.

Then, you can directly use IRepository<BlockedPermission> in the roleAppService. Just inject this into roleAppService like this.

private readonly RoleManager _roleManager;
private readonly IRepository<BlockedPermission> _blockedPermissionsRepository;

public RoleAppService(RoleManager roleManager, 
	IRepository<BlockedPermission> blockedPermissionsRepository)
{
	_roleManager = roleManager;
	_blockedPermissionsRepository = blockedPermissionsRepository;
}

Then in your app service, just get data using _blockedPermissionsRepository .

Hi,

Did you update jquery nuget packages ? Because, it seems those files are not currently in the project file.

<a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/blob/a5d5a408b9a917d35726b50e7388c6a9ca558e46/src/MyCompanyName.AbpZeroTemplate.Web/MyCompanyName.AbpZeroTemplate.Web.csproj">https://github.com/aspnetzero/aspnet-ze ... Web.csproj</a>

Hi,

You can use savechanges of current unit of work if your code runs in an app service or abp controller.

CurrentUnitOfWork.SaveChanges();
Showing 12631 to 12640 of 12723 entries