Base solution for your next web application

Activities of "joe704la"

I am having issues with dependency injection in many of my tests. I basically can't get any of the tests in the ProfileAppService_Tests to work. I get the below.

Castle.MicroKernel.ComponentActivator.ComponentActivatorException : ComponentActivator: could not proxy Authorization.Users.Profile.ProfileAppService ---- System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation. -------- System.ArgumentNullException : Value cannot be null.

One thing I noticed was that all the tests that is having issues with certain services are all ones I added IHostingEnvironment and IConfigurationRoot to resolve.

I tried doing something like this in my TestBaseModule but didn't work. var fakeHostingEnvironment = Substitute.For<IHostingEnvironment>(); IocManager.IocContainer.Register(Component.For<IHostingEnvironment>().Instance(fakeHostingEnvironment).IsDefault());

IocManager.IocContainer.Register(Component.For<IConfigurationRoot>().Instance(FakeAppConfiguration.GetAppConfiguration()).IsDefault());

I am pretty new to wiring tests so any help would be a lot of help. Thank you

Because v7 is such a big update and Metronic updated a lot of their classes. Do you guys have an update instructions to help us out at all to update to the next version?

I know I have seen this somewhere but now I can't find it. How do we change the time it takes to show the loader?

How can we change the response code returned from a UserFriendlyException? Because it is throwing an exception it returns a 500 response code which our web application blocks what is returned from that so that no sensitive server errors are returned.

Our app uses the Asp.NET Core & Angular version 6.6.1 .NET Core 2.2 version. I recently made a few small changes to the login screen and then did a production build of the Angular app to deploy the changes. I have received some clients are unable to login now unless they clear their cache in the browser. It seems to be mainly Safari on either iPhones or iPad users more than anything but I am guessing it must be a similar issue on other browsers.

Is there anyway I can combat this issue besides telling clients to clear their cache? I thought "ng build --prod" created unique hashes so it would handle cache busting. But it doesn't seem to be happening.

Any suggestions would be greatly appreciated.

I have built an ecommerce module for our Asp.net zero app. I am trying to create a new email template that will be sent out after someone places an order that will list all the products they ordered in the email. Is there a good way to send a list of products into the template?

Question

Something that has happened to me now a few times is the credentials for my SMTP settings seems to become wrong. I am the only person that has access to the Settings and I know I haven't changed them each time this has happened to us. I have 2 factor auth enabled and it fails when it tries to send the code to the user. I then see the below error. As soon as I renter the password in the SMTP settings all is good and it is fixed. But does anyone have any ideas why this would keep happening? It is acting like it doesn't decrypt the password before sending it or something like that.

MailKit.Net.Smtp.SmtpCommandException: 5.7.1 Invalid credentials for relay . The IP address you've 5.7.1 registered in your G Suite SMTP Relay service doesn't match domain of 5.7.1 the account this email is being sent from. If you are trying to relay 5.7.1 mail from a domain that isn't registered under your G Suite account 5.7.1 or has empty envelope-from, you must configure your mail server 5.7.1 either to use SMTP AUTH to identify the sending domain or to present 5.7.1 one of your domain names in the HELO or EHLO command. For more 5.7.1 information, please visit

I want to remove the 90 second expire time on the 2-factor Auth code. It is easy to do so on the Angular side. But can't find where I change it in the backend code.

Can someone tell me where that may be?

I am very new to Xamarin. I am trying to use the android emulator and debug the Droid project. But I am getting an error "A problem occurred while trying to communicate with the server. Call Failed. shutdown GET <a class="postlink" href="https://myapidomain.com/AbpUserConfiguration/GetAll">https://myapidomain.com/AbpUserConfiguration/GetAll</a>. If I browse my actual production API in the browser with this GET request works as expected and spits out the json in the window. Also the Angular app works consuming this API just fine.

Note this is only a test domain for this posts purposes.

Has anyone hit this issue before? I have tried just doing it to my localhost url and also to my production and both cause the same issue.

I am on the latest zero version. And the Angular version. Password complexity isn't working. It used to work and I just recently updated to 5.6.2. Has anyone else had this issue?

Showing 11 to 20 of 83 entries