Base solution for your next web application

Activities of "ismcagdas"

Answer

Hi,

There is an example of javascript tree in AspNet Zero role edit dialog. You can take a look at "permissionTree.js" directive for usage. It uses jstree javascript plugin internally.

I hope it helps.

Hi,

You need to inject your interface not the application class itself. If you want to inject your application service class, then your method must be virtual.

Hi,

Inject "IOnlineClientManager" in your class and then you can get online users of current tenant like this,

_onlineClientManager.GetAllClients().Where(u=> u.TenantId == AbpSession.TenantId);

I hope this helps.

Hi,

Just change your date-picker definition to

<input class="form-control date-picker" ui-jq="datepicker" type="text" value="" ngmodel="person.newPhone.dob" />

Hi,

Would you like to get count of online users of a tenant ?

Hi,

I have tried a simple scenario.

This is my test controller

public class TestController : ZeroSupportControllerBase
{
	public JsonResult GetTestData()
	{
		return Json(new { Name = "ismail", Age = 1 });
	}
}

When i make a post request to this action (http://localhost:6240/Test/GetTestData) from postman chrome extension i get the following result.

{
  "success": true,
  "result": {
    "name": "ismail",
    "age": 1
  },
  "error": null,
  "unAuthorizedRequest": false
}

It should work the same way with android.

Hi,

Can you share your controller action ?

Answer

Hi,

We dont have such document but your steps are correct.

By the way you can use daterangepicker in singledate mode which is already included in solution. You can check it here <a class="postlink" href="http://fragaria.github.io/angular-daterangepicker/">http://fragaria.github.io/angular-daterangepicker/</a>

Hi,

Glad to hear that your problem is solved. Thanks for the information, we will fix it <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/issues/180">https://github.com/aspnetboilerplate/mo ... issues/180</a>

Answer

Hi,

If you want "simpleLogAuditingStore will be overridden by myAuditingStore", you need to register myAuditingStore in your module's PreInitialize method. Abp registers dependencies in Initialize method of modules.

In Castle Windsor, by default first regitered dependency wins unless you use "IsDefault()". I dont remember the scenario if you use "IsDefault()" more than once, but you can test it :)

You can check it here <a class="postlink" href="https://github.com/castleproject/Windsor/blob/master/docs/whats-new-3.0.md#component-can-now-force-being-default-for-its-services-without-needing-to-be-the-first-one-registered">https://github.com/castleproject/Windso ... registered</a>

Showing 12651 to 12660 of 12723 entries