Base solution for your next web application

Activities of "vladsd"

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

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

Thanks.

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.

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

Question

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

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

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

of ChartDateFormat which not used anywhere?

i saw that, to handle localized dates, one can just use toShortDateString() https://docs.microsoft.com/en-us/dotnet/api/system.datetime.toshortdatestring?view=netcore-2.1

Did one used a profiler with asp.net zero app?

I am thinking of this one: https://miniprofiler.com/dotnet/HowTo/ProfileEFCore

Do you have any other suggestions?

Thanks.

Thanks for the great tips! What about watching real time app profiling, can it log into console or file?

Question

I tried to inlcude https://valor-software.com/ngx-bootstrap/#/alerts#alert-component But no matter where I put in module definitions, angular failes to find in runtime. Simple html below fails in dashboard. <alert type="success"> <strong>Well done!</strong> You successfully read this important alert message. </alert>

Any idea?

Showing 151 to 160 of 166 entries