I have a vb.net service app running on a work network server, which runs a job on a repeating timer. I'd like to be able to call an API to tell this service to run, possibly with input parameters, but I can't seem to search for the right thing to get started on this.
I'm not looking for a full explanation on how to do it (unless someone's feeling very generous), but rather tips on where to look, what to search for, or if it's even possible. Thanks!
Use a online search enginge to search for vb.net windows service api
Pick an entry like Tutorial: Create a Windows service app | Microsoft Docs
Read and stumble upon ServiceController
Profit!
Related
I have looked everywhere but I cant really find what I wanted. Here is the scenario. I have a web application, when a user clicks a button, it will send api request to the vendor to activate a device. The problem is, the vendor does not have the api method to set start and end time for the device. So, my idea now is, once i get the "green light" from the vendor to activate the machine, i will also programmatically schedule a task in the server to call my web application after 15 minutes to turn off the device (by url with query string, www.xxxx.aspx?deviceid=123).
really appreciate the help or any pointers on how to achieve this. thanks in advance!
Sorry about the way answer is typed i am on phone right now. it was fun researching for it and i would like to hear from you if it works
So assuming you have access to your api.
The way i think you can make it work is by using a backgroundworker in your api / web application it is a nuget you download to your web application
If you open and scroll in that link it has example talking about having background task similar to windows task schedular however for any type of webapplication it is open source project called backgroundworker and many task schedulers you can add on web application give it a try
https://www.hanselman.com/blog/HowToRunBackgroundTasksInASPNET.aspx
I'm new to this site (as a writer. I'm a long time silent-reader..), and doing my first steps in writing simple VB.NET winform/console applications, using VS 2010 system.
I want to start with writing a simple program that will use an API I have access to, for sending SMS messages.
AFAIK, I have to send a GET request, and I should get back a string from the service telling me "Success" or an error code.
I'm sure the idea of sending an URL call is simple and probably asked before me many times.
But nevertheless - I'll appreciate help to start this from scratch and making this to work.
Many thanks at advance!
A lot of the Api's have documentation that'll tell you specifically what languages can interact with their api's. More than likely, vb.net isn't on that list, but you can use another language, (probably something like python) to nail down a small script, then use vb to interact with the output.
I am having a problem here. I am totally new to this concept of servers and web services and being able to get data uploaded and retrieved on different devices, but I want to learn it, say if I want to create an app like Instagram.
But that is EXACTLY what I dont want, a link to a long tutorial on the internet on how to create the most complex app ever, I want to start slow. After doing extensive power searches on Amazon there are basically no books that will help me. So I want to start slow, here is my goal:
Get a great understanding of how web service backends and servers work and be able to apply it in other app ideas I have and want to start developing
I would like to start by being able to create an app that allows a user to enter some text into a field, it uploads to the server, another device can press a button to retrieve the text and display it in a text view.
I do not know php, and every single tutorial I have entered on this website is literal mindeff, the reason for this is because everyone has a different solution, sync web service backend with Core Data, MySQL, parse, Rails and it truly overwhelms me because I do not know which one to pick! And even worse some people provide code but I have no understanding whatsoever, and its like looking at a totally new language!
I am not asking for code, in fact that is the exact opposite. I am asking for someone to really lay out their knowledge, how does it all work? What is the best tool? Some resources and links. Nothing too complex...
I hope you can truly understand my extreme confusion and frustration. I think the reason might be is I might not be ready yet for all this, but I want to push forward and carry out my app idea!
Thank you...
Update:
I have finally decided on a web service I would like to use, it is the Amazon S3 web service, I am still not fully comprehending the full process though, any help or ideas!?
Since you wanted to create an Instagram-type app, look at this: http://www.raywenderlich.com/13511/how-to-create-an-app-like-instagram-with-a-web-service-backend-part-12
This is a good link to servers: http://www.youtube.com/playlist?list=PLC71D7CFB6AF935E6&feature=plcp. Watch the list to get an understanding of servers.
Maybe you want to read up on sql. Understanding sql will help.. Again: http://www.youtube.com/course?list=EC32BC9C878BA72085&feature=plcp. Watch the list to get an understanding of sql...
I can pass you the link and you got to do the work....
Hope this helps...
I'm not knowledgeable in the whole "server-side" idea. Right now, I just want to start learning how to send data from a windows mobile phone application to a server.
I'm pretty good at C# and making apps. I just need to learn how to send data from and to a server/mobile application.
I am using Silverlight (The latest one) as the API for my windows phone app. At the moment, a "hello world" sort of program would be awesome.
Any help is is extremely appreciated!
Subby~
This is very simple. Just a bing/google search would have lead you to the answer. For sake of brevity here's an article that describes each step in detail
http://www.c-sharpcorner.com/uploadfile/UrmimalaPal/creating-a-windows-phone-7-application-consuming-data-using-a-wcf-service/
Let me know if you want to know in specific or you are stuck somewhere.
I'm working on a tool in C# that interfaces the JIRA SOAP API. I have read the documentation but I can't find what I'm looking for. Does anyone know if it is possible to link an issue to another one via this api?
PS : Actually, my real need is to convert an issue as a subtask of an issue...
Last time I looked, JIRA's web service wasn't really actively supported or encouraged by Atlassian. It's very much a second-class citizen compared to the web front end, with very basic operations.
Also, it's not a WSI-compliant web service (it's an old Axis-based RPC_encoded service), and so modern web service stacks won't even bind to it. You might want check that your client can perform basic query operations before diving into the depths of the API.
You can actually go pretty far with Jelly scripts, but converting an issue to a subtask then linking it as a subtask... I'm not positive that you can go that far.