All my applications are using Application Insights to log their activities. I have created some queries to monitor what each application is doing or the status of them.
For personal use, I created some dashboard where I display graphs and data.
Now, I want to share this dashboard with some users. The idea is to integrate this dashboard in the company portal; so users can see the dashboard without leaving our environment or open a new tab in the browser. All my applications are build in C#. I don't want to use PowerBi.
How can I implement a dashboard in my application? What kind of configuration is it possible to have? Is there any documentation for that?
1) You'd have to use the Application Insights REST API to read data directly and write your tool to display the data (or use other existing dashboarding things that already know how to use the REST API)
or
2) add your users as "reader" users to your subscription and share your dashboards with them in the azure portal
Related
I wish to leverage the logging services/features available in azure (Azure monitor/App insights/Log Analytics/etc ) and use them to store the custom events arising out of customers' actions in my app. Events like updating a record, adding, or deleting records, within my app, and also wish to leverage the search capabilities provided by the azure services, within my App via REST or SDK.
I wish to show those logs in grid form in my Asp.net UI and let the users visualize the logs and take actions after analyzing them. By providing the abstraction, I can give the user the ability to log anything that he likes while using my application and also have a search ability, but I will provide the interface to store and load the logs.
I am thinking that I can use the azure app insights for the same, but I don't see any SDK code or REST API to load the logs, provide the search capabilities to the user.
Is there a better path that I can take than going for Azure app insights?
Please check if given steps and references help to work around:
am thinking that I can use the azure app insights for the same, but I don't see any SDK code or REST API to load the logs, provide the search capabilities to the user.
You can filter and track the telemetry data before it's sent from the SDK by implementing ITelemetryProcessor.
To get your custom events data, you can use the code like customEvents | summarize sum(itemCount) in Logs Page which comes from the trackEvent(...).
Here is the MS Doc given code in multiple programming languages to track the custom events and metrics in Analytics.
To provide the custom events and metrics data to the end user, there is the data access API from the Azure Portal.
Other ways to extract data include export from Analytics to Power BI and continuous export.
References:
Azure Application Insights doesn't show custom events created in Azure function
Best Practices in Handling the Application Insights Custom Events
I zeroed into using the Log Analytics Workspace's "Custom logs" feature. This provides a REST endpoint to log the data and SDK to retrieve the data. Here is the link.
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/data-collector-api
I would like to connect two mobile app services and their easy tables in the azure portal.
The two system have users with different read and edit rights.
The first system is read only users and the other system is admin users.
So when one user post something to a table in the first app service, it should trigger a post or event in the second app service.
The two app-services endpoints may look like this:
https:// some-random-url .azurewebsites.net/tables/posts
https:// some-other-random-url .azurewebsites.net/tables/posts
Is there some way to connect two azure mobile app services via an Api?
For easy tables, you are using the Node.js backend for your mobile app. You could leverage KUDU or App Service Editor to check your backend code, details you could follow Understanding the Azure App Service Editor.
So when one user post something to a table in the first app service, it should trigger a post or event in the second app service.
Per my understanding, azure mobile apps provide a easy way to expose your table APIs. You may internally call your second mobile app endpoint within your first mobile app with the relevant authentication. Moreover, I would recommend you follow 30 DAYS OF AZURE MOBILE APPS for a better understanding of Azure Mobile Apps.
Additionally, you could provide more detailed scenario for your issue, then we could provide other better solution for you to implement your requirement.
I have a cross platform app currently designed using xamarin forms but now need to use this to create a user profile for the user, using the information provided, for a website.
Are there any add ons or plugins for something like square space or wordpress which would allow me to upload a user program via a RESTful api or something along those lines?
Basically what are my options to transfer user data from a cross platform app to a web app so that my user can then log onto the web app and see all their information?
All you need is a database that can be accessed by both your web app and your mobile app. There are numerous services that would allow you to do this.
But if your web site is going to be a WordPress site (I have never looked into squarespace) then it already uses a MySql back end for data storage. I would imagine squarespace uses a database of some sort as well. You could then create RESTFul urls on that same server to send and request data and use whatever database system that your website is using. If you don't want to implement your own service code for sending and receiveing data that can be used by both your web app and your mobile app, then you could use some service like Azure, AWS, Apigee, etc. just for the database.
I have a web-based application developed in ASP.NET. It is a business application and people do regular deals & transactions from this portal.
The application has two types of user:
1) Front-office User - who makes the deal
2) Back-office User - who look at all accounting & voucher generation work for the deal
The current problem is, to check a new deal created by a front-office user, the back-office user needs to refresh the web page every few minutes, which is very time-consuming.
I want to develop a small windows-based notification service through which I can show them notifications without going to the browser. It will be in the same manner as the Gtalk desktop tool, which notifies us of newly-received mail.
So to achieve the above thing what should I use and how to use & implement the solution ?
I need to develop the solution using .Net framework
I would look into SignalR and use that to keep a persistent connection open to your server and notify the client when new data is available. If you use SignalR, you don't even need a windows application, you can use their javascript client and show the notifications directly in the browser (you can of course still go the Windows Application route as well).
If you are in a cloud hosting environment, your cloud provider should have a service of use for you as well.
Ultimately I want to create a desktop app that allows users to update their own status, view status' of their friends, update pics etc. - basically a lot of the functionality the facebook website provides. Through looking through some tutorials and sample projects it seems that an app must be created for the facebook account. Now is this the facebook account of the developer (i.e. mine) - which will provide an API key that will allow any other user to log in?? Does every desktop project need to authenticate the user through a facebook dialog window to take the users' credentials?? Where does OAuth fit into this?? If anyone can shed any light as to the structure of the facebook api and the ways in which I can grant this functionality from say a WPF C# app for example I would really appreciate it.
EDIT: Before complaints of a potentially huge question or too 'vague', my question is specific to the integration/use of the facebook API in desktop applications - not how to then retrieve status feeds etc. I'll work that out myself.
Per Facebook documentation, all desktop apps will need to implement some form of web browser integration, whether embedded within the desktop app or controlled.
See: http://developers.facebook.com/docs/authentication/
Desktop Apps
Our OAuth 2.0 implementation does not include explicit desktop app
support. However, if your desktop app can embed a web browser (most
desktop frameworks such as .NET, AIR and Cocoa support embedding
browsers), you can use the client-side flow with one modification: a
specific redirect_uri. Rather than requiring desktop apps to host a
web server and populate the Site URL in the Developer App, we provide
a specific URL you can use with desktop apps:
https://www.facebook.com/connect/login_success.html.
Don't worry it took me two solid days of trial and error and re-re-reading of the documentation on authentication to finally "get" it.