Base solution for your next web application

Activities of "ncvitanovic"

The same error on mine computer! VS2019 and PowerTools 2.0.4

I set JwtBearer authentication to true but I do not see it like Google or Facebook. Why?

Hello,

I am trying to implement Revolut authentication: https://revolutdev.github.io/business-api/#authentication

Is it possible with aspnetzeto and can you give me some hints how to implement it? It has also uses private and public keys for authentication.

Best regards,

Question

Hello,

I am getting erors when creating entity with 2.0.3 Powertools and ASP .Net Core + JQuery 7.1.0.

See attached image:

Hello,

Now I am getting problems with gulp as well. I change it and in packages.json:

I installed gulp and gulp-less but problems are again:

internal/modules/cjs/loader.js:638 throw err; ^

Error: Cannot find module 'gulp-less' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (O:\HRID\SOFTWARE\HRIDNDT\src\HRIDNDT.Web.Mvc\gulpfile.js:6:12) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3)

Hello,

I installed yarn and node js (all newest versions, including webpack and webpack-cli) and tried to run npm run create-bundle:

It hangs on: Child extract-text-webpack-plugin node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/dist/cjs.js!wwwroot/view-resources/Views/TenantRegistration/SelectEdition.css: Entrypoint undefined = extract-text-webpack-plugin-output-filename [./node_modules/css-loader/dist/cjs.js!./wwwroot/view-resources/Views/TenantRegistration/SelectEdition.css] 8.26 KiB {0} [built] factory:4666ms building:32776ms = 37442ms + 1 hidden module

When I tried to run I am getting following error: HTTP Error 502.5 - ANCM Out-Of-Process Startup Failure

I have version 7.0.0.

Previous version 6.x with gulp was working properly.

What can I try?

Best regards,

@ProjectIridium Where did you add custom yml file and build-publish?

Hello,

I made new menu positions for my application. How to add my application menu item in rapid application development?

Answer

I got it working:

smtp.gmail.com SSL OFF 587

AppCoreModule:

Configuration.ReplaceService<IMailKitSmtpBuilder, CustomMailKitSmtpBuilder>(DependencyLifeStyle.Transient);

...

public CustomMailKitSmtpBuilder(ISmtpEmailSenderConfiguration smtpEmailSenderConfiguration, IAbpMailKitConfiguration abpMailKitConfiguration) : base(smtpEmailSenderConfiguration, abpMailKitConfiguration) { }

protected override void ConfigureClient(SmtpClient client) { client.ServerCertificateValidationCallback = (sender, certificate, chain, errors) => true; base.ConfigureClient(client); }

Slightly different from aspboilerplate: https://aspnetboilerplate.com/Pages/Documents/Email-Sending

Question

Hi,

What are the settings for sending e-mails over Gmail?

It should be:

smtp.gmail.com Requires SSL: Yes Requires TLS: Yes (if available) Requires Authentication: Yes Port for TLS/STARTTLS: 587

I tried also CustomMailKitSmtpBuilder because of STARTTLS: https://forum.aspnetboilerplate.com/viewtopic.php?f=5&t=10543 But without success.

I tried on localhost and Azure.

Thanks, Niko

Showing 1 to 10 of 10 entries