How to make Push Notification in Asp.Net Web App with Angular? - asp.net

I need to make Push Notification for every user, when product's price is changed.
Just like this:
The thing is that I have a job, that runs in the background and checks all the prices and sends emails to everyone informing on changes. I want to add these desktop notifications, so javascript and html5 doesn't work for me. Is there any library for .net that implements this functionality, or does anyone know any links to tutorials that I could read and use them??

Related

Is there a way to get a developer account to avoid being confused with an automated tool?

I'm currently developing a Chrome extension to use with LinkedIn Sales, and I'm having issues while testing the front end.
Due to some style changes, I had to refresh the page multiple times and now my account is temporarily banned because they confused me with an automated tool.
Does anyone know a workaround for this? Or, alternatively, can I create some type of developer account to use?
TIA!
Due to some style changes, I had to refresh the page multiple times
This is really a suspicious action.
So isn't your "Chrome extension" also an automated tool?
Either get some API access (you find available APIs here https://developer.linkedin.com/product-catalog)
or if you just do some visual brush-up for users, you could try to make an offline copy of the page once (with a tool like HTTrack) and then use that copy for development.
For the Sales API it says
It's required that all integrations are built by approved partners for the SNAP program. To become a partner, visit this page.

Scrape, upload and notify

I am making an app which sends a notifications to users as soon as a new item is available on an external website
Currently this process is Manual, where I check the update myself and send out a notification. I then update my website to show the new item.
I am trying to use a web scraper to run on my website to extract the information and display it in the app but even that is run manually.
Are there any tools that I can use to automate this process?
So something that will:
check the external website for updates, periodically.
Get the change and update my website (WordPress)
Send out a notification to users
I have automated something similar (excluding the WordPress part).
It was also an automation for monitoring a website for new items (apartments for rent): when a new apartment was available - the automation would send me notification on my mobile.
As an automation tool, I used Easybots Studio (https://easybots.net) - simple, free, had all the functionality I needed out of the box and I could write my own 'bots'.
1. HTML Monitoring
In a nutshell, the automation solution looks something like:
On 15 minutes Elapsed
[HTML Bot] Get HTML of the page
[HTML Bot] GetAllBySelector(".someHtmlElementClass") (get all html elements in the list of apartments)
foreach new listing
Pushbullet Bot.Send Notification on my mobile
Click to see picture from the actual implementation in Easybots Studio
The automation is based on the their blog entry ("monitoring a web site for fast-selling theater tickets"), which might be helpful here as well.
So, if you go that path, you will need to explore the HTML of your external website, and see how are the items listed. That is needed for the HTML bot can get all items either by 'SelectAllByXPath' or by 'GetAllBySelector'.
2. WordPress Automation
As for automating the WordPress part - I can't find bot doing that on their web site, nut you can develop your own app (WordPress has REST API possibility), or even maybe contact the easybots support to see if they have such bot in pipeline.
If you are a .Net dev - here is a starting point to using WordPress Rest APIs: https://dev.to/yeisonpx/connecting-to-wordpress-using-c-5688
3. Sending Notificatons
In Easybots, there are Email bots that you can use to send emails, but also some mobile notifications bots (pushbullet, pushover, ..).
In the question it is not specified what kind of notification is needed, but this should be easy with Easybots.
Other tools out there: WinAutomation, Automation Anywhere, UiPath..

Embedding website in Google Calendar

I have a question regarding google calendar. i am new to it so not sure if i am asking correct question.
I want to integrate google calendar appointments with one of my application. what i want to do is
I should be able to integrate a web application with in google
calendar. Basically there should be some sort of button on appointment window which will take user to a webpage
Whenever user creates an appointment user should be able to set some
custom props on appointment
Webapp should be able to set location with in google calendar
As soon as user saves appointment all of the relevant information
should be saved in database.
i want to know if its possible at all. actually i want to achieve something similar like outlook addins.
First of all try reading the Get Started with the Calendar API:
The Calendar API lets you display, create and modify calendar events as well as work with many other calendar-related objects, such as calendars or access controls. This document describes how to use RESTful calls and client libraries for various programming languages (Java, PHP, .NET, JavaScript, NodeJs, Ruby, Python, Go, Android, iOS).
All your question is possible and will all depend on your implementation. You might want to check this tutorial - Google Calendar API with JavaScript, this will help you develop a web application to create or display Calendar data.
Hope this helps.

How to build a simple HTML Form that sends email on Firebase?

I'm new to Firebase. I just want to build a simple HTML form on Firebase that sends email to me as well as to the user who fills up the form upon submit button click. I do not need any user authentication or database. After that I want this HTML form to be able to embed on my Blogger website, probably using iFrame. So how can I go about doing this?
Based on my understanding, for a HTML form to send email requires server-side coding like ASP.NET and PHP, may I know which language should I use on Firebase? Does Firebase provide such SDK that I can simply write in JavaScript and create a .js file for my form handler?
I already know how to deploy HTML files to my Firebase project using Node.js and get the URL of every file that I deployed, e.g. images, css files etc. Any help would be greatly appreciated, thank you.
With Third Parties (by now)...
After many hours researching about this, the solution seems not to be inside Google at the moment, but using a third party: SendGrid.
Tyson Bailey created a small example and explains this methodology in this blog post.

Chat (like Facebook) source code/component for ASP.NET Website

I want to add a chat feature (like Facebook chat) on my ASP.NET Project. All chat functions are like FB Chat. Example:
blink browser 's title to alert user when new message come
do not close when reload page
...
My project have users database and user will login to use chat feature.
Hope someone tell me source code or component or any information about that.
Thanks !
Found this one: JabbR. Live site here, Source code here. Try out the Live site and if you like it, download the source from github.

Resources