Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Girish Meena
    @gmeena
    Can someone guide me good resource for Azure easy table performance with large data (in thousands) & data capacity?
    What is the future of easy tables going forward and how they behave with high volume data?
    Fabrizio Guglielmino
    @guglielmino
    Hi all
    I have a SPA application made in react/redux
    I’m trying to figure out the best deploy strategy on Azure…It’s frontend only, it consumes API ftom a 3rd party sources
    I see there are many options, it would be fine to use CDN + Blob storage
    but I need to handle 404 redirect and other rules
    is that possible? It is better to use other ways?
    Girish Meena
    @gmeena
    @guglielmino - CDN used mainly for storing your js libraries, Blob is type of storage provided by Azure - it majorly used for storing large files - images/ excel etc.
    @guglielmino you can create an App service
    Fabrizio Guglielmino
    @guglielmino
    Ok, I’ll take a look to App Service
    thanks
    ToGoNow
    @togonow
    so on version 2 of the sdk, this used to work but now doesn't work on version 4, tried different combinations, but still fails with request.azureMobile.tables(...).where(...).execute is not a function
    req.azureMobile.tables('Person').where({ 
        id: person 
    }).execute().then((results) => { 
        console.log(results);
    }).catch((err) => { console.log(err) });
    ToGoNow
    @togonow
    found it, replaced .execute() with .read(), works
    Kurt Opel
    @knaopel
    sorry if this has been asked already. Authenticated users. custom api to get the user info i.e. emails etc.. any samples? tried request.user.getIdentities() but that seems to be the previous version. (i.e. Mobile Sevices)
    Rizky Ario
    @rizkyario
    Hi all,
    How do we set cors to the config?
    I tried to add codes below in config.js but still received "Origin http://www.xxx.yyy is not allowed by Access-Control-Allow-Origin"
    var config = {
      homePage: true,
      swagger: true,
      cors: {
        hostnames: ["localhost, www.xxx.yyy"]
      }
    };
    Martin Andersen
    @m-andersen
    I'm doing local development of features and running node.js server using mobile apps fine through Visual Studio code. Until now I have tested stuff with Postman to issue REST calls. Now I want to test with my android app towards my local running instance of the node webserver. But it does not work. I have a token that I have generated to use locally (offline development), which works fine using Postman. Normally a live Azure node backend server will have Auth service infront of the webserver, adding a header called X-MS-CLIENT-PRINCIPAL-ID with the decoded userid sid:xxxxxx from the provided token before it reaches my app. I then use var userID = req.header('x-ms-client-principal-id') to get the ID of the current user. But this does not work when server is running in a local development environment. How can this even be tested offline for development without having to manually insert the sid:xxxxx to the request headers from my android app?
    Andrea Chua
    @Magurosenbei

    Is there a way to use custom sql statements along with DECLARE @Variable = xxxx properly? I keep getting complains about missing parameter when i attempt to execute the following example

    var query = {
                sql: 'DECLARE @hello = '1233455';  /* some statements in between */ ; SELECT * FROM t1 WHERE id = @id;',
                parameters: [
                    { name: 'id', value: request.query.id }
                ]
            };

    it says hello was missing from query.parameters.

    Martin Andersen
    @m-andersen
    I have a user database and I'm implementing permissions. Through easy tables I have added a new column and specified "number" as datatype. Unfortunately this gets translated to MSSQL datatype float(53) or float(8) some tool shows me. If I want to do a bitwise search, I only get an error The expression 'this.hhIndex & 1'' is not supported.
    I understand bitwise operations on float is not flying. I can use direct SQL statements, which works when casting the hhIndex above to INT. But, what options do I have to keep using easy tables and do bitwise search operations? I see this as a bug
    Using EasyAuth for authentication works in our system. We have facebook and google login using android. We added google login to our iOS app, but having two platform logins for google seems not to be supported. How do we then make this work? I can't believe this is not suported
    tienvv1234
    @tienvv1234
    Hi every one
    Could you guys help me this problem
    i am trying to insert a row but it isn't working for me
    the error is Invalid data type provided
    subhash viswakarma
    @subhash1478
    how set watch folder for node js assets folder
    Erick
    @erick.heredia_gitlab
    Hi all.
    I want to know if I could use Loopback.js (http://v4.loopback.io/) instead of express.
    Loopback supports express middleware, so I would be using loopback to create all endpoints and connect all azure libraries to loopback.
    Benjamin
    @Mayhem50
    Hi,
    I try to filter some data based on list of ids. But I can't find how to make my where() function use a list for a specific parameter. I know that I can use a function instead object as parameter for the where function but I don't know the prototype.
    To be clearer, I try to use the SQL "IN" request.