Base solution for your next web application

Activities of "feliw"

i use ASP NET Zero version 2.0.1 and ABP as framework and for angularjs, i use 1.5.6

i didn't get stuck in the tutorial i only use the tutorial for routing purpose but the problem is, i like to implement lazy load for this routing and i've been wondering, is it possible to implement lazy load for asp net zero? and if it's possible, i've been stuck with this problem for a few days wondering how to do it.

Question

i like to implement lazy load into the asp net zero modules and the navigation system (routing) i used, based on this tutorial <a class="postlink" href="https://www.aspnetzero.com/Documents/Developing-Step-By-Step-Mvc-Angularjs">https://www.aspnetzero.com/Documents/De ... -Angularjs</a>

but i have no idea how to implement it (lazy load) i've been stuck with this problem for a few days

Hi,

Recently we have a requirement that need to implement Single Sign On concept to our applications, and one of our applications is on ASP.Net Zero framework. By the way, we are using IdentityServer as the IdentityProvider. Is it possible for me to separate out the Authentication part ?

Any concerns and advice that I can get or need to consider from you guys ? So I can have the confidence level when I do the implementation. :D :D

Thanks.

Hi,

I cannot find Use method on IAbpSession. Which version is this feature available from ? Any workaround for a lower version of Abp ? Since I don't think we will do update for the moment.

Hi,

I have a problem with IEmailSender using smtp configuration from Host but actually it should use Tenant's smtp configuration. I'm not sure if I missing some configuration or not.

So the idea is I have a background Job which I used to send all email. On the background job's Execute code I put

CurrentUnitOfWork.SetTenantId(args.TenantId);
...
_emailSender.Send(emailReceiver, emailSubject, email.EmailBody);

Although I already SetTenantId, the IEmailSender sending still use the Host SMTP configuration.

So I try to read the SMTP settings from that Tenant by changing code to this

CurrentUnitOfWork.SetTenantId(args.TenantId);
var settings = SettingManager.GetAllSettingValuesForTenantAsync(args.TenantId.Value).Result;
...
_emailSender.Send(emailReceiver, emailSubject, email.EmailBody);

The smtp settings that I get is correct for that Tenant.

Can you advice me how to make IEmailSender to use Tenant smtp configuration when I already set the TenantId ?

Hi,

Actually I have tried the fixed version that they mention but still no luck. Anyway maybe you can share which tools that you use best to work with AspNetZero other than Nodemon that you guys use in developement? :D :D

Hi,

Have you guys ever try Nodemon for development for ASPNetZero ? Because I'm not sure why Nodemon doesn't detect the changes for any files that I changes. So I need to do manual restart everytime I changes typescript.

Hi All

After googling awhile I can solved my case already, I check this problem is because of the default JsonValueProviderFactory in .NET. In case you guys encounter the same thing can follow the solution provided in this link

[http://www.dalsoft.co.uk/blog/index.php/2012/01/10/asp-net-mvc-3-improved-jsonvalueproviderfactory-using-json-net/])

Hi,

Currently we have a transaction that send over quite big json request around 6mb, so when it try to access the function it would never successfull and when I check the log I found this

ERROR 2017-01-10 12:30:54,622 [49   ] m.Web.Controllers.DataImporterController - Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.

I already added below setting to my current web.config but still the same error persists so I think maybe there is another place to set MaxJsonLength for ABP

<system.web.extensions>
    <scripting>
      <webServices>
        <jsonSerialization maxJsonLength="2147483644"/>
      </webServices>
    </scripting>
  </system.web.extensions>

Can you guide me where can I set this setting ? Thanks before :)

Okay understand your suggestion. Thanks man !! :D

Showing 1 to 10 of 25 entries