Welcome to the Azure App Service API Apps Preview Forum!

Welcome to the forum! This forum is for support of our customers who are using API Apps. Feel free to post any questions you have related to API Apps.
The Azure App Service API Apps Team
Jim Cheshire | Microsoft

Hey Mikael!
I actually was struggling through pretty much the same things at the same time that you were.
The EventTriggered extension is actually in the Microsoft.Azure.AppService.ApiApps.Service namespace, so without a using directive for that it will not be happy.
I created a library to help with the metadata generation required for Triggers, and did a write-up on exactly what it takes to create both a polling and push trigger (with a few more samples) here: https://github.com/nihaue/TRex#building-a-polling-trigger-api-app
Hopefully having that combined with
the official docs, and also
Sameer's sample can get you on the right track.
Hope that helps!

Similar Messages

  • Azure App Service API app triggers feedback

    Hi
    I am kinda new to this and when I tried to build a trigger as defined in the article
    http://azure.microsoft.com/en-us/documentation/articles/app-service-api-dotnet-triggers/ I simply do not seem to know what I am doing wrong.
    I get a lot of compilation errors just using the code in a ASP Net Web Applicaton project, using the Azure API App template. I tried to place the code in a controller but then I get complation errors on a couple of places. The most noticable:
    return
    this.Request.EventTriggered(new{
    files = touchedFiles });
    The EventTrigger extension method does not seem to exist. What am I doing wrong?
    //Mikael Sand - <a href="http://mikaelsand.se"> Blog</a> Enfo Zystems Sweden

    Hey Mikael!
    I actually was struggling through pretty much the same things at the same time that you were.
    The EventTriggered extension is actually in the Microsoft.Azure.AppService.ApiApps.Service namespace, so without a using directive for that it will not be happy.
    I created a library to help with the metadata generation required for Triggers, and did a write-up on exactly what it takes to create both a polling and push trigger (with a few more samples) here: https://github.com/nihaue/TRex#building-a-polling-trigger-api-app
    Hopefully having that combined with
    the official docs, and also
    Sameer's sample can get you on the right track.
    Hope that helps!

  • Authentication after migrating to App Services Mobile App: uid vs sid

    I've migrated form Azure Mobile Services to the new App Services Mobile App, and I'm using the new AMS 2.0.0-beta on the client-side.
    I have two providers (currently) implemented for OAuth 2.0: Google and Twitter.
    Previously, I was able to get the provider token via a claim in the principal on the server, and there would be a uid (unique id) claim that would be either "Google:123456789" or "Twitter:123456789010" (or however many alphanumerics). I
    believe the MobileServiceClient.UserId also exposed this as well.
    Now, after I've migrated to the new App Services Mobile App (and I'm using the Preview Portal now, which for the most part is pretty awesome), there is no longer a uid claim, but rather a single sid (session id) claim, something like: "sid:ABCDEFGHIJKLMNOPQRSTUVWXYZ",
    no matter which provider I log in with. When I looked on the client-side at the
    MobileServiceClient.UserId value, it also gives this "sid" value.
    The point is that previously the uid token could uniquely identify a user. Now it is the same for all users across all providers!
    How can I get the provider token with the App Services Mobile App that I was previously able to get with Azure Mobile Services?
    Also, could anyone point me to the source code for the Azure Mobile Services 2.0.0-beta? I can't seem to find it on GitHub.
    ibGib

    I ended up
    posting this question on StackOverflow and I have answered it there as well (I'm having difficulties attaching the picture here).
    ibGib

  • Welcome to the SQL Server Disaster Recovery and Availability Forum

    (Edited 8/14/2009 to correct links - Paul)
    Hello everyone and welcome to the SQL Server Disaster Recovery and Availability forum. The goal of this Forum is to offer a gathering place for SQL Server users to discuss:
    Using backup and restore
    Using DBCC, including interpreting output from CHECKDB and related commands
    Diagnosing and recovering from hardware issues
    Planning/executing a disaster recovery and/or high-availability strategy, including choosing technologies to use
    The forum will have Microsoft experts in all these areas and so we should be able to answer any question. Hopefully everyone on the forum will contribute not only questions, but opinions and answers as well. I’m looking forward to seeing this becoming a vibrant forum.
    This post has information to help you understand what questions to post here, and where to post questions about other technologies as well as some tips to help you find answers to your questions more quickly and how to ask a good question. See you in the group!
    Paul Randal
    Lead Program Manager, SQL Storage Engine and SQL Express
    Be a good citizen of the Forum
    When an answer resolves your problem, please mark the thread as Answered. This makes it easier for others to find the solution to this problem when they search for it later. If you find a post particularly helpful, click the link indicating that it was helpful
    What to post in this forum
    It seems obvious, but this forum is for discussion and questions around disaster recovery and availability using SQL Server. When you want to discuss something that is specific to those areas, this is the place to be. There are several other forums related to specific technologies you may be interested in, so if your question falls into one of these areas where there is a better batch of experts to answer your question, we’ll just move your post to that Forum so those experts can answer. Any alerts you set up will move with the post, so you’ll still get notification. Here are a few of the other forums that you might find interesting:
    SQL Server Setup & Upgrade – This is where to ask all your setup and upgrade related questions. (http://social.msdn.microsoft.com/Forums/en-US/sqlsetupandupgrade/threads)
    Database Mirroring – This is the best place to ask Database Mirroring how-to questions. (http://social.msdn.microsoft.com/Forums/en-US/sqldatabasemirroring/threads)
    SQL Server Replication – If you’ve already decided to use Replication, check out this forum. (http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/threads)
    SQL Server Database Engine – Great forum for general information about engine issues such as performance, FTS, etc. (http://social.msdn.microsoft.com/Forums/en-US/sqldatabaseengine/threads)
    How to find your answer faster
    There is a wealth of information already available to help you answer your questions. Finding an answer via a few quick searches is much quicker than posting a question and waiting for an answer. Here are some great places to start your research:
    SQL Server 2005 Books Onlinne
    Search it online at http://msdn2.microsoft.com
    Download the full version of the BOL from here
    Microsoft Support Knowledge Base:
    Search it online at http://support.microsoft.com
    Search the SQL Storage Engine PM Team Blog:
    The blog is located at https://blogs.msdn.com/sqlserverstorageengine/default.aspx
    Search other SQL Forums and Web Sites:
    MSN Search: http://www.bing.com/
    Or use your favorite search engine
    How to ask a good question
    Make sure to give all the pertinent information that people will need to answer your question. Questions like “I got an IO error, any ideas?” or “What’s the best technology for me to use?” will likely go unanswered, or at best just result in a request for more information. Here are some ideas of what to include:
    For the “I got an IO error, any ideas?” scenario:
    The exact error message. (The SQL Errorlog and Windows Event Logs can be a rich source of information. See the section on error logs below.)
    What were you doing when you got the error message?
    When did this start happening?
    Any troubleshooting you’ve already done. (e.g. “I’ve already checked all the firmware and it’s up-to-date” or "I've run SQLIOStress and everything looks OK" or "I ran DBCC CHECKDB and the output is <blah>")
    Any unusual occurrences before the error occurred (e.g. someone tripped the power switch, a disk in a RAID5 array died)
    If relevant, the output from ‘DBCC CHECKDB (yourdbname) WITH ALL_ERRORMSGS, NO_INFOMSGS’
    The SQL Server version and service pack level
    For the “What’s the best technology for me to use?” scenario:
    What exactly are you trying to do? Enable local hardware redundancy? Geo-clustering? Instance-level failover? Minimize downtime during recovery from IO errors with a single-system?
    What are the SLAs (Service Level Agreements) you must meet? (e.g. an uptime percentage requirement, a minimum data-loss in the event of a disaster requirement, a maximum downtime in the event of a disaster requirement)
    What hardware restrictions do you have? (e.g. “I’m limited to a single system” or “I have several worldwide mirror sites but the size of the pipe between them is limited to X Mbps”)
    What kind of workload does you application have? (or is it a mixture of applications consolidated on a single server, each with different SLAs) How much transaction log volume is generated?
    What kind of regular maintenance does your workload demand that you perform (e.g. “the update pattern of my main table is such that fragmentation increases in the clustered index, slowing down the most common queries so there’s a need to perform some fragmentation removal regularly”)
    Finding the Logs
    You will often find more information about an error by looking in the Error and Event logs. There are two sets of logs that are interesting:
    SQL Error Log: default location: C:\Program Files\Microsoft SQL Server\MSSQL.#\MSSQL\LOG (Note: The # changes depending on the ID number for the installed Instance. This is 1 for the first installation of SQL Server, but if you have mulitple instances, you will need to determine the ID number you’re working with. See the BOL for more information about Instance ID numbers.)
    Windows Event Log: Go to the Event Viewer in the Administrative Tools section of the Start Menu. The System event log will show details of IO subsystem problems. The Application event log will show details of SQL Server problems.

    hi,I have a question on sql database high availability. I have tried using database mirroring, where I am using sql standard edition, in this database mirroring of synchronous mode is the only option available, and it is giving problem, like sql time out errors on my applicatons since i had put in the database mirroring, as asynchronous is only available on enterprise version, is there any suggestions on this. thanks ---vijay

  • Welcome to the renewed MSI HQ Users-to-Users Forum

    Welcome to the renewed MSI HQ Users-to-Users Forum.
    Behind the scenes a lot has changed in this forum the last couple of months.
    Most of you may not have noticed this but we have started a new team of moderators.
    We have been busy restyling and renewing several things in our forum.
    We hope you like it?
    The most obvious renewal is the new styling of the forum, which was made to match the corporate identity of the MSI website.
    The styling underlines MSI's commitment to give users a place to discuss, help each other and share experiences with MSI products.
    Other things that have changed are:
    -The Terms of Use (AKA the Registration agreement), which now can also be read back after registration. Can be found here: >>Terms of Use<<
    -The Forum Rules. which can be found here: >>Forum Rules<<
    (It was legally necessary to improve these two documents but in practice they don't change the way this forum operates.)
    Other than that we have already moved some forum-boards around and the order of the boards may have changed a bit since your last visit.
    Hopefully this will improve the overview of the forum.
    We have also updated and improved sticky topics for better accuracy and we will continue to add new stickies and FAQs to help you tackle common issues.
    This forum continues to focus on people helping people with MSI hardware.
    And last but not least, Have a little fun
    P.S.,
    If you encounter any issues with the new forum layout/styling/theme, please post your feedback here.

    Quote from: Nichrome on 03-March-15, 02:24:35
    There were issues with random person logging into not their account even though they used their own email/username and password so they had to make some changes so it doesnt happen anymore
    That sounds like bad website code. I am not sure how making user enter Captcha for login everytime helps with that. Usually Captchas are only done for registration. I'll be +1 to say that this is kinda annoying. Just my 2c.

  • Welcome to the Visual Studio Tools for Applications (VSTA) forum!

    Welcome to the VSTA forum!
    Use this forum to ask questions and comment about VSTA integration with your product and building VSTA applications. 
    The latest version of VSTA can be found through the links below:
    VSTA 2013
    VSTA 2013 SDK
    If you can't find what you are looking for or have any suggestions, by all means please let us know; we are here to help.
    Thank you!
    Xiaoying is a program manager in Microsoft Visual Studio Office Developer Tools team | This post is provided "as-is"

    We want to provide customization of our applications (C++ and .Net C# both). Evaluating VSTA, it  looks like a good fit, but really not good enough examples and documentation.
    I have few questions or concerns - 
    1. What are the differences/similarities with VSTA 2.0, Can we try or use VSTA 2.0 examples to understand VSTA 2012?
    2. Can we have some detail example for VSTA 2012 like the ones provided with VSTA 2.0 (e.g. - shapeApp samples which by the way no longer available for downloading!!! ).
    3. The given documentation ("VSTA Sample Host Integration.docx") and example only illustrates the part which loads Visual Studio, creates, saves, compiles and runs a template project on C#.
    4. No documentation available on how to work with VB projects/scripts in VSTA 2012.
    5. Document tells nothing about how to provide host application's APIs for customization or overwrite any host  object by scripting. In VSTA 2.0 I think there was a concept of Proxy classes, do we have similar concept
    here too?
    6. Debugging part is also not complete in the documentation. Starting the external process and running  the Addin is not clear.
    Please provide more elaborate documentation if possible. Thanks!
    Hi Xiaoying,
    Could you answer on questions above?

  • Playing Ping-Pong ... aka Verizon Won't Support the "Verizon WiFi" Service Activation App

    This post concerns the Verizon service called, "Verizon WiFi," which is introduced at the following web-page:
    http://www.verizon.com/wifi
    The service is explained in the following page:
    http://www22.verizon.com/Support/Residential/internet/highspeed/networking/setup/wifi/124612.htm
    The so-called "quick and easy" process to register and activate has occupied more than sixteen hours of time - so far - and regrettably, shows no signs of ever working. Two chat sessions, six (mostly marathon) CS calls, and I still can not find anyone who is inclined to fix the real problem, namely:
    The "WiFi Activation" application (or wizard) will not accept as valid any user name that I type.
    No matter what I enter into the User Name field (including the random strings provided by technical support in India), the application reports, "User name contains one or more invalid characters." Tried it 15 to times on multiple PCs ... always with the same results, "User name contains one or more invalid characters."
    Telephone support is frustrating ... at best. Verizon DSL Dept. transfers me to VZ Wireless Dept., who eventually transfers me back to VZ DSL, who the transfers me to VZ FIOS Department, and then back to Wireless ... and so on. As y'all know, several of these transfers were to India and back.  Last night (28 May) the trouble-ticket was escalated for action, and I was assured that I'd be contacted with the problem resolution..
    I was not contacted.
    This evening, I tried again.  After lots more 'customer ping pong,' and repetition of yesterday's experiences, I was eventually told that the ticket (VAHM01NN**) had been closed. What gives? Why would an unresolved problem ticket be closed?
    How about it, Verizon reps who read this?
    Can one of y'all VZ reps help solve the problem with activating WiFi service so I can "Enjoy nationwide Wi-Fi access in select areas at over 5,000 hotspot locations -- at no extra charge" as trumpeted on the web-site? What office is responsible for technical support of the "WiFi Activation" application (named like the following, VZ.WIFI_2013_2013_29_10_12_44_8741ghu.app)?
    Please help a brotha' out!
    BTW.  Every technician wants to dick around with my DSL modem ... instead of addressing the real problem.  Please fix the flow-chart so that "Verizon WiFi" and "Verizon commericial WiFi hotspots" are addressed correctly!

    marlowerog wrote:
    This post concerns the Verizon service called, "Verizon WiFi" ... Please fix the flow-chart so that "Verizon WiFi" and "Verizon commericial WiFi hotspots" are addressed correctly!
    I have this service running and it was not a simple setup.  I cannot make a particular suggestion right now for your case, but I thought this link might help:
    http://forums.verizon.com/t5/FiOS-Internet/TRYING-TO-REGISTER-FOR-WI-FI-FROM-Ipad/m-p/580463
    Perhaps between the two of  you, you'll encounter a resolution.  Good luck.
    Edit:  After submitting my post on your issue, I discovered that you have initiated 3 separate threads on the same subject.  Of course I had no way of knowing this prior to posting, and I found this confusing.  Subsequently I realized that I'm unlikely to be able to help.  In any case, best of luck.

  • Where can i download the J2ME Web Services APIs (WSA), JSR 172?

    anyone know where i can download the WSA reference implementation so i can use web services with android? I see this page here has a link for WSA but it just takes me to a general oracle page. http://java.sun.com/products/wsa/
    any help will be greatly appreciated!

    this was the closest form i could find matching my topic. Other people have posted this question here with no clear response or bad download links i.e. this post:
    http://forums.sun.com/thread.jspa?forumID=76&threadID=5331792
    which has a link to :
    http://jcp.org/aboutJava/communityprocess/final/jsr172/index.html
    which has a BAD link to here:
    https://javapartner.sun.com/partner/downloads/JCP-ME/JSR-0172/
    James

  • Multiple GET will cause "Add Azure API App Client" to fail

    Hi,
    I'm just playing around with the new Azure App Service API Apps. I've followed the documentation and created the contact list API. I've added to that and created a second GET method with an integer parameter. This works well on the local machine and when
    deployed to Azure. However, when I try to add an App Client I get an enormous error. The important bit, I think, is the message 'Invalid swagger: the operation \"Contacts_Get\" is defined multiple times.' If I remove the second GET message and republish
    then adding an App Client works again.
    Is this a bug or is it a limitation of Swagger. The Swagger UI seems to cope with it effectively.
    Cheers,
    W

    It has to do with how Swashbuckle is auto-generating the operation ids that appear in swagger. The Logic App designer only wants to have 1 operation for each operation id -- it doesn't like ambiguity.
    I built out a library to help cope with this and other issues
    over here, if you use that you can provide a unique "friendly name" for each action (which will then generate a title cased operation id for each).
    In the alternative, you could write a custom operation filter to feed to Swashbuckle to override the operation ids that it is generating for you in the background. You can see how to do that
    over here.

  • Integrating a PHP Web App with an Existing Azure Mobile Services and Mobile App

    I've got an existing mobile app that is integrated with Azure's mobile services. The mobile services are currently connected to Azure Active Directory with MFA enabled. I'd like to build a separate PHP-based web application (Azure VM) that uses this existing
    mobile service and authentication.
    I reviewed the Azure PHP SDK, but didn't see any tie-ins to the Mobile Service. Additionally, Azure has some great tutorials, but for mobile services they all seem to focus on iOS, Android, and Windows phone. Any insight into how to tie a PHP-app into this
    backend would be much appreciated!

    Although there isn't any client library for PHP, you can still access Mobile Service using the
    Azure Mobile Service REST API.
    Abdulwahab Suleiman

  • Adding API App Host to Virtual Network fails

    I've been trying for 2 days now to add an existing API App Host to a Virtual Network, but it errors with notification "VPNNetworkSetupFailure" and then the blade continues to say "Something went wrong" in the Networking tile.  The
    API App is DTSharedDimensions in subscription 8bc2fde5-e1ad-4bc0-9287-85957096f0b4.
     Any help will be appreciated.
    On another note - the API App blade doesn't list any API Apps, I have to go to the App Service Plan blade and navigate from there to the API App and the API App Host.

    API Apps are hosted on Web apps. From Azure portal, you can use the following steps to navigate to the hosting Web App and enable Virtual Network.
    API App blade -> Essential part on the top of the blade -> API App Host link

  • Is Hybrid Connection supported for API APP?

    If one is building a custom connector using API app, most likely, one would have the need to access on premise resources, web services or SQL. Hybrid connection seems like the perfect fit here to enable for API app.
    Since it's available on Azure Website and AMS, it is currently also available on web app and mobile app, why not enable it for API app?

    Hybrid connection is supported on API App since API App is hosted on Web App directly. You can navigate to the hosting Web App from Azure Portal by clicking
    API App blade -> Essentials part -> API App Host

  • Error while creating new app service plan for a webapp

    Greetings !
    I have a new webapp created and I want to move it a separate web app service plan to apply custom domain (Not available on free tier). From the new Portal I try to create new Web App Service plan and get this error.
    "Failed to create App Service plan.
    Failed to create App Service plan <App Service Plan Name>. There was an error processing your request. Please try again in a few moments."
    Even while creation of the web app if I select create new App Service Plan it automatically goes into Free Plan.
    Please help.
    Thanks Paz

    Hello Parvez Alam,
    The issue of not being able to create a new App Service Plan is now fixed. I tried to reproduce this and was able to create the App Service Plan Successfully.
    You should now be able to create the App Service Plan from the New portal. Also, the App Service Plan concept is only availaible in the new portal and not the existing portal.
    You can refer to the link below for more information on this:
    http://azure.microsoft.com/en-in/documentation/articles/azure-web-sites-web-hosting-plans-in-depth-overview/
    Thanks,
    Syed Irfan Hussain

  • Simple Authentication for API App

    Hi,
    We are quite keen to start building on this and just needed to know if we wanted a simple username password authentication and not Active Directory or Social Profile Connector like Google/Facebook, is that possible? Is there any article we can refer to,
    to achieve this?
    Tx.

    Hybrid connection is supported on API App since API App is hosted on Web App directly. You can navigate to the hosting Web App from Azure Portal by clicking
    API App blade -> Essentials part -> API App Host

  • Open API App (Windows based) fails to open FMB on Unix file system

    My Open API, Windows based app, can successfully open and 'get' properties of FMBs stored in the Windows file system. However, it fails to load the FMB when the FMB resides on a networked Unix server. The same FMBs on Unix can be opened by the Windows based FormBuilder (over the network). I can copy the FMB down to Windows and without re-compiling the FMB, my Open API app can 'load' the FMB and 'get' all the properties. What suggestions can you give for debugging / resolving this? I need to be able to 'Load' the FMBs (through the Open API), that reside in the Unix file system, from Windows.
    JJ

    Generally, this is why we will tell you that accessing net shares is not supported and in places where it might even be supported, we would still suggest that it is not recommended. Accessing via net shares (especially through Windows) is often problematic. There are various performance and connectivity issues that, unfortunately fool you into believing that the product you are using is flawed when the problem is really a connection issue with the share.
    In your case, because you are not exactly using an Oracle product (initially), Oracle can't offer much anyway, but I would recommend against using shares whenever possible. If you need to access a file, copy it locally first, perform whatever task on it, then return the updated file to its origin. This method protects you from things like net failure and instability as well as the performance issues associated with accessing files remotely.

Maybe you are looking for

  • Opening, closing, pushing apps

    My phone has been going crazy for over a month now. It would open apps on its own and it push anything and everything. When I first contacted customer service, they directed me to LG's customer service so they could just replace my phone. I sent it i

  • Quicktime wont Un-install (error 2330, fatal error etc) any new ideas??

    right, ive tried everything now other than cleaning my whole c; and d; drives totally! i've uninstalled iTunes any any related software, hoping it would help solve this quicktime problem, but no success. Also i have manually taken every Quicktime fil

  • The extraction of the profit center & the cost center

    Hi all, Can anyone share the extraction document with me regarding the profit center and the cost center? Thank you for help.

  • Monitor Auto-Detect

    Is there a way to stop windows from automatically turning off and/or deciding that it wants to re-prioritize which display is primary. I cant understand why windows keeps choosing to ignore my Samsung SyncMaster SA300 monitor anytime I hook up my LCD

  • Opens a form with the middle part not the header section

    i am using forms 9i. i have a form (Form 1) whose windows size is 800X600 which is scrollable . In Form 1 at the below (end) i have a button on cllicking which Form 2 is opened. but Form 2 is not opening with the header section. it is opening with th