Hi,
Version: 9.0.1, ASP NET CORE, MVC
With reference to #7666
Started using VS2022.
But is continued by Jason Moore at: https://marketplace.visualstudio.com/items?itemName=Failwyn.WebCompiler64&ssr=false#overview
Is that also what you are using / recommend?
Regarding Bundler & Minifier - is that used anymore? https://marketplace.visualstudio.com/items?itemName=MadsKristensen.BundlerMinifier
Is that not handled by "gulp" ?
Hi,
A Hangfire job sends out mails to users. With about 100 mails to be send - system fails, after approx 20 mails.
I suppose it is our SMTP provider, that returns the error - but how can we avoid this? Is it possible to close the connection between sending each email? And would this solve the issue?
Hi,
9.0.1 MVC .NET CORE
Just a follow-up on #7719
We are using Microsoft 365 and when receiving mails from system - we still get "The Linked image cannot be displayed..." on the logo file.
The url: https://WEBSITE/TenantCustomization/GetTenantLogo?skin=light&tenantId=2 Returns the SVG file - and that is maybe the issue.
Changed to a base64 image: "data:image/svg+xml;base64,PD94bWwgd....."
Still getting "The Linked image cannot be displayed..."
Changed to png - base64 image. And now it is working :-)
Is this issue only related to Outlook?
v9.0.1 - MVC - .NET CORE
If I connect organization to a role instead of directly to the user - the call to "UserManager.GetOrganizationUnits" does not return any Orgnaizations. Is that intended?
If so is there another way to get a users organizations - if connected via a role?
Hi,
using: Core, MVC, jQuery project - v9.0.1
With EF / Net Core 3.0 - it is not possible as before to use extension method - e.g. for filtering.
Specific we have a string extension method - that checks if a string contains any string from a list/array of strings
public static bool ContainsAny(this string str, params string[] values)
{
if (!string.IsNullOrEmpty(str) && values.Length > 0)
{
foreach (string value in values)
{
if (str.ToUpper().Contains(value.ToUpper()))
return true;
}
}
return false;
}
used like this (searchWords variable is a string array)
var query = _customerRepository
.GetAll()
.WhereIf(
! input.Filter.IsNullOrWhiteSpace(),
c =>
c.CustomerName.ContainsAny(searchWords) );
as of Core 3.0 (EF) - this can not be converted to SQL. So we have to do a ToList() or equivalent - to get the "entire" result from DB and then start filtering...
any ideas on how to be able to use extension methods directly on the query / where clause ?
Hi,
using: Core, MVC, jQuery project - v7.2.2
Reference to #5755 - Specific the last comment.
We have a Hangfire job that is run for each tenant. When in UnitOfWork for the specific tenant - call to methods that are authorized fails (No user logged in)
Hi,
using: Core, MVC, jQuery project - v7.2.2
We wish to implement Hangfire in a project - but have som questions :-)
Need a background job running for each tenant - on a scheduled basis. (RecurringJob.AddOrUpdate) Should always be running - that is when the web site starts, the job should be "created" and start running. So no "manual" trigger to start job.
In the ....Web.Core project
In the ...Web.Host project
**In the ...Web.Mvc project **
Defining / starting the Hangfire job From searching I can see that often jobs are created / started in the PostInitialize - eg. in ...WebMvcModule of the ...Web.Mvc project Is this the correct approach?
Or should we make a new controller? and then how do we trigger the job?
Should we create a class like below - based on BackgroundJob - and make an Execute method?
public class TestStatusService : BackgroundJob<int>, ITransientDependency
hoping for some "best practice" input :-)
Hi,
using: Core, MVC, jQuery project - v7.2.2
is it possilble with: abp.message.info(message);
to show "message" with line breaks?
I have tried with
\n
\r\n
<br>
<br/>
but it is not working
Hi,
using: Core, MVC, jQuery project - v7.2.2
How can you change a tenant from in-host to separate database? From Tenant menu in Host - not possible to change to/from in-host.
So is the only way:
And - to move the tenant to separate database:
Or is there a tool for this tenant change/move :-) ?