Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "vladsd"

Another issue is using local file for date formats like this: '<text name="DateFormatShort">MM.dd.yyyy</text>'

of ChartDateFormat which not used anywhere?

Question

Is there a standard, the current xml file containts sentences for string names. Like this;

 &lt;text name=&quot;User profile&quot;&gt;User profile&lt;/text&gt;
&lt;text name=&quot;Your user profile information (first name, last name, etc.)&quot;&gt;Your user profile information (first name, last name, etc.)&lt;/text&gt;
&lt;text name=&quot;Your email address&quot;&gt;Your email address&lt;/text&gt;
&lt;text name=&quot;Your phone number&quot;&gt;Your phone number&lt;/text&gt;
&lt;text name=&quot;Your postal address&quot;&gt;Your postal address&lt;/text&gt;
&lt;text name=&quot;AllFunctionalityYouHaveInTheApplication&quot;&gt;All functionality you have in the application&lt;/text&gt;
&lt;text name=&quot;Default (all) API&quot;&gt;Default (all) API&lt;/text&gt;
&lt;text name=&quot;Offline Access&quot;&gt;Offline Access&lt;/text&gt;
&lt;text name=&quot;Access to your applications and resources, even when you are offline&quot;&gt;Access to your applications and resources, even when you are offline&lt;/text&gt;

we saw that issue on one of the servers from our farm. it turned out that server had core 2.1.4 sdk installed. once uninstalled, that server worked again. framework has cors check, make sure to disable it with .AllowAnyOrigin() if you do not want it in startup.cs

I just tried to use IE 11 with demo site and it fails to load. Any plans to support IE? Try yourself http://test-16902.demo.aspnetzero.com/ failed to load javascripts.

For example, Identity.DuplicateEmail says Email '{0}' is already taken. We want to say something different.

Thanks.

Better solution is to override AuthorizationHelper -> AuthorizeAsync method and check there

@ryancyq sorry, it still does not solve my issue as I need IP check on all calls, now I need to add ClientIpAuthorize to all API calls! What about abp framework, I cannot access those like one for GetAll, etc.

For all users, anonymous user and registered, I need to intercept all API calls and check against IP list in tenant table. The solutions above do not provide for it.

Putting TenantManager reference in Startup causes issues InvalidOperationException: Unable to resolve service for type 'MyProject.MultiTenancy.TenantManager' while attempting to activate 'MyProject.Web.Startup.Startup'.

//https://docs.microsoft.com/en-us/aspnet/core/fundamentals/middleware/?view=aspnetcore-2.1

           app.Use(async (context, next) =>
           {
               // Do work that doesn't write to the Response.
               if(! await _tenantManager.ValidateIPAddress())
               {
                   throw new AbpAuthorizationException();
               }

               await next.Invoke();
           });

We have a white list of IP addresses, all other should be blocked.

Is there one place we can check against that list on ALL API calls to web service?

Thanks.

It turns out, that you need to include metronic directives into the same place as actual component that uses, in our case, we had common module, which is shared, that is a place to include.

Showing 11 to 20 of 166 entries