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

Activities of "strategy9"

I'm working on the asp.netzero Xamarin project to create a generic app that will work for all of our users. However, we have multiple host URLs (user-specific). Has anyone implemented storing settings on the device with this app?

ie: when the app is installed and first run, it would ask for your specific config details (ie: host-url) and store those locally, and use that host-url instead of the value stored in DefaultHostUrl in ApiUrlConfig.cs

In a View I have a foreach loop. I have the string name of a set of AppPermissions in a table. I want to iterate through the data (to fill a select list) by evaluating permissions.

How can I use a variable in the IsGranted statement like:

if (IsGranted(AppPermissions.variablename))...

I've tried a bunch of different options using razor formatting but haven't figured it out yet. Is it possible?

I have a view where I'm making an api call via Ajax / JQuery to a third party. I can only get it to work by opening dev tools in Chrome and deleting the XSRF-Token. If I remove the token it works perfectly. If I don't remove it I get the "Request header field X-XSRF-TOKEN is not allowed by Access-Control-Allow-Headers in preflight response" error.

I don't control the server/code to where I'm making the api call (it is to do an IP Geo lookup).

I've tried adding [DisableAbpAntiForgeryTokenValidation] to my controller action but it seems to not help.

How can I disable this token from being created for this one view?

thanks!

My build of ASP.NET Zero is missing the Spanish language. From the original project download, I have the following languages:

en, fr, de, it, pt-BR, tr, ru, ar, zh-CN

The asp.net zero webpage advertises Spanish - do I need to download it separately?

Showing 1 to 4 of 4 entries