C# Console Application with Cloud Services

Hi All,
can anyone tell how we can host our console application on windows Azure Cloud Service OR is it possible to host Console application on Azure Cloud Service.
Thanks in Advance.
Pravin Dhulap

Hi,
A cloud service consists of one or more web roles and/or worker roles, As far as I know, we can't host console application to azure cloud service directory, however, we can convert the console application to worker role, see the detailed steps here:
http://blogs.lessthandot.com/index.php/desktopdev/mstech/converting-a-net-console-project/ , after these steps, a Console project promoted to Azure Worker Role.
Best Regards,
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Which is better approach to manage sharepoint online - PowerShell Script with CSOM or Console Application with CSOM?

    Which is better approach to manage sharepoint online - PowerShell Script with CSOM or Console Application with CSOM?
    change in sharepoint scripts not require compilation but anything else?

    Yes, PowerShell is great, since you can quick change your code without compilation.
    SP admin can write ps scripts without specific tools like Visual Studio.
    With powershell you can use cmdlets,
    which could remove a lot of code, for example restarting a service.
    [custom.development]

  • Can my hp color laserjet 3500 work with cloud services

    can my hp color laserjet 3500 work with cloud services
    This question was solved.
    View Solution.

    The printer listed doesn't support cloud services.
    Cloud Services supported printers

  • Which solution is better for schedules task? Console application or windows service?

    I have a "MULTI-LEVEL" XML file that I will be getting on daily basis and I want to accomplish following tasks:
    1) I have to read and parse the "MULTI-LEVEL" XML data
    2) Then I have to set or create some kind of .net service (c#) that read the xml and parse the data once a day (daily)?
    3) Now I have SOAP service from other software where I want to feed this XML data to. The schedules service will compare the XML data with software data and update (or add) based on the comparision.
    For this task, I come to conclusion that there are 2 best ways to do this:
    1) Create a console application and use windows task scheduler to run it everyday
    2) Create a windows service that runs in the background
    Which is a better way (or reliable)  solution to do this task? Please advise

    There are several things to keep in mind when writing an app that is designed to run without a user logged in. One of the most common mistakes is requiring some sort of user input.  Since the task will run without user intervention you don't want
    any sort of calls to Console.ReadLine, MessageBox.Show, etc.  They will cause the task to freeze and eventually need to be terminated.  You also don't want to rely on any sort of desktop apps running since a user may or may not be logged on at the
    time.
    Also be aware that a task can be scheduled to run under any user context.  As such you either need to ensure it runs under an account with sufficient privileges or that your app needs no special privileges.  You mentioned you tried to run it from
    bin\debug but you most likely have your project under your Documents directory.  Only you would have permissions to that folder and therefore will run into issues if the task is run under a different context.  You also mentioned you put it in the
    C:\ but users don't have write privileges to that folder and therefore if you tried to write a file out it would fail. If you need to read/write files then you should pick a common location that all users have access to or at least the one that will run the
    scheduled task. Be aware that, by default, Task Scheduler will not run a task elevated. You need to check the option to run elevated when you configure the user to run the task under.
    One of the key things to ensure you do with a task is verify it is working properly as a normal app.  You should also ensure that you have good logging so that if it does fail you can trace down the failure more easily.  One common thing that people
    tend to do in console apps is put a try-catch around the main function and display a message if an unhandled exception occurs. This is going to cause problems in a task.  Simply log the exception and rethrow it so Task Scheduler will flag the run as a
    failure.
    If you still cannot figure out why your task is failing then please add some logging and then tell us what code is being run at the time and what the failure is.

  • Need help in registering HFM Sample applications with Shared Services

    Hi all,
    I have installed HFM 9.3.1 on the server and I have issues in locating the sample application in the HFM console. I want to register the sample application with Hyperion shared services. But when I tried opening the application, I do not see the sample application and also got an error saying,"cannot connect to server".
    When I tried creating new application I got an error saying,"there is an error retrieving the user management project list.Please verify that the project exists".
    All I want to do is, to provision the shared services users to the HFM sample applications. Could you provide some suggestions to overcome this issue? I'll appreciate your quick response.
    Regards,
    Leo

    Try using the server name instead of the cluster name.

  • Synching with cloud services causes conflict

    When working/or saving any iwork document (latest versions) in my macbook pro running either box.com sync software or cloud station sync software, I frequently get the message "This spreadsheet was changed in another application." I can choose to "revert" or "save anyway". Unfortunately, "revert" is the default choice meaning I can easily lose information if I accidently hit return. I understand that the software that syncs to these cloud services is not able to handle the format of the latest iworks documents but does anyone know a work around here? In my experience, dropbox doesn't have this problem.

    A Numbers document is actually better thought of not as a file, but as a "package" containing many files, optimized for rapid sync. If you haven't done so already, you might check out a little more how iCloud works with Numbers. They're tightly integrated. The idea seems to be to have nearly instantaneous saving and backup and sync to other devices without the user having to worry about those things. Among the benefits, other than making life easier for most users, are opportunities for collaboration across the net.  The idea of turning off autosave would work in the opposite direction. 
    It's a little like having a car that already has been designed with a built-in automatic transmission that works well, and saying, I don't want to use that original design. Instead I want to be able to just change the gears by myself. Manual transmissions do have their advantages. But the car has to designed that way in the first place. Having some kind of hybrid that is automatic with an option to switch to manual might be possible (you could suggest this to Apple via your menu Numbers > Provide Numbers Feedback) but it might well end up complicating the user experience and not be a reliable design.
    SG

  • Single Sign On and Application with Web Services

    My Application Server is set as partner application for SSO so for example this address: http://myserver:80 is SSO enabled.
    I have two ADF applications on it with jspx pages and the ADF security is enabled on them. SSO works for these applications (for jspx files).
    I added a new application with a web service and deployed this new application. It is on the same application server as those two applications and its security provider in identity management, SSO enabled. Its address is something like:
    http://myserver:80/newWebService-Project1-context-root/MyWebService1SoapHttpPort
    So I expect to be unable to test web service, but I can and I am not prompted for user name and password.
    Regards
    Farbod

    Thank you.
    Yes I had cleared the cache and in these cases I always use a new browser also.
    I deployed a third application without declarative security options (ADF application, no security settings) and this application also didn't ask me for user information though it was under SSO.
    Regards
    Farbod

  • A question regarding using a JDBC class to connect with cloud service database

    Hello,
    I am currently working on a small scale cloud service report where the company I chose is obviously Oracle. My question is regarding the cloud service in the following way. I was doing my report with the free trial until it just came to me that
    why not to do a small one class program with my netBeans or Eclipse that uses JDBC but I am not sure what username, password and the url to use in the connection to retrieve, manipulate and store values. Can somebody help me please if this is possible or not?
    edit: Anyone please? I have a deadline in 15.8. and could create something great until then if I get the anwser in few days

    To correct my question, I already have the oracle account and I created the cloud service trial account with database and java section.

  • Registering an application with Shared Services

    I just used HfmCopyApplication.exe to migrate an application from out production environment to a newly installed test environment. However, when I open in the HFM System 9 thick client in the test environment and try to "Open Application", I can see the new application listed (so I know the migration was successful), but I get a message saying "+This application is not registered with Hyperion Shared Services. Please contact your administrator.+"
    Can anyone provide some insight? I don't know how to register an application that was migrated from another environment, and I'm hesitant to create a new application with the same name because I don't want to accidentally wipe the one out that was just migrated over. I've looked through the documentation for the HfmCopyApplication, but it only says that I need to register the migrated app with Shared Services... It doesn't tell me how.
    Thanks.

    that usually means that Workspace has not been configured to know that HFM is in the environment as well, or that for some reason you don't have access to that option.
    On the machine where Workspace web component has been installed you will need to run the System 9 configuration utility and choose the task "Reporting and Analysis" and "Configure Web Server". When you get to the screen which asks you to specify the hostname and port of the individual web servers (Financial Reporting, Web Analysis etc) make sure that HFM is ticked on (checked) and that the hostname and port for the HFM web server are correct (should be port 80). Complete the steps with Next Next Next and Finish, then restart both the Apache http server and the Workspace web server (Tomcat/Weblogic/Websphere etc). After that, the next time you log in to Workspace and go to Navigate->Administer you should see the options relating to HFM.
    If it is still not there, go to Help->About->Version Details and check that a version for Financial Management component is displayed. If a version number is displayed then it something to do with your access rights (maybe a Creator / Administrator group has been set in the HFM Server / Web Config utility, try to remove it and try again?). If no version number is displayed then Workspace still doesn't know about HFM component (the above step hasn't worked).
    If you are not sure speak to the person who did the installation, or if you have a support contract with Oracle then contact Oracle support.

  • VM with Cloud Service Billing

    I just created a virtual machine, and noticed in my portal that I now also have a cloud service. 1) is that supposed to happen, and 2) if so, am I going to be billed for both a vm and a cloud service?
    Mark Aurit Priest River Systems

    Hey Mark,
    1) Yes it is normal when you create a VM that by default it creates a Cloud Service with the same name.
    - You can more than VM in a Cloud service , you would do that if you were intending to add a load balance across them for example
    by default you are limited to 20 Cloud Services but this can be increased to 100 (http://azure.microsoft.com/en-us/documentation/articles/azure-subscription-service-limits/)
    - Also VMs in a cloud service share the same internal DNS so can "see" each other (you still need to open up Windows firewall to get ping / other stuff working internally). Also putting them in same virtual network allows this.
    2) You won't get billed extra
    cheers
    Andy.

  • Problems running Application with Web Service Client

    Im having some problems maybe related to some classpath details?
    I am running a Web Service another computer which works fine. I have also made an application using Sun ONE Studio 1 consisting of a Web Service Client etc. and GUI which uses the Client to get data from the Web Service. This works fine as long as I use Sun ONE Studio to execute the application, but now I have packaged the application to a .jar file and have encountered problems:
    When running the application from the .jar file I get the exception:
    java.lang.NoClassDefFoundError: com/sun/xml/rpc/client/BasicService
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at util.servicelocator.ServiceLocator.getServant(ServiceLocator.java:68)
    at lagerApp.eHandelLager.jRegisterBrukerListeActionPerformed(eHandelLager.java:784)
    at lagerApp.eHandelLager.access$400(eHandelLager.java:20)
    at lagerApp.eHandelLager$5.actionPerformed(eHandelLager.java:277)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
    at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
    at java.awt.Component.processMouseEvent(Component.java:5100)
    at java.awt.Component.processEvent(Component.java:4897)
    at java.awt.Container.processEvent(Container.java:1569)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.java:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    I have searched the forum and found simular topics which are resolved by adding some lines to the classpath.
    How do I set the classpath? Do i have to use the classpath parameter from command window? How can I know which classpaths to include (libraries)..
    Any help would be nice.. : )

    Thank you for the reply..
    But im still geting the same error. I have tried to include all the libraries in JWSDP pack but still.. I have managed to narrow down the place where the error occures.. It actually happens when I try to get the WebService Client Servant which is located in the package LSC:
    ---> LSC.LWServiceGenClient.LWS_Impl service = new LSC.LWServiceGenClient.LWS_Impl();
    LSC.LWServiceGenClient.LWSServantInterface lagerServiceServant = LSC.LWServiceGenClient.LWSServantInterface_Stub)service.getLWSServantInterfacePort();
    return lagerServiceServant;
    Could something be wrong with the way I package the Jar? I'm using Sun One Studio and have tried including the 5 packages the application consists of; I have tried including just the files; moving the main class to <root>.. Still same problem..
    Or could there be some different fundemental thingy I have forgotten ??
    thanks
    Aqoi

  • How to develop and deploy multiple worker roles in single azure cloud services?

    I am Manikandan, From Myeasydocs.com.
    We have developed our application as web projects.  Now we are going to move to azure cloud services, i have successfully migrated our application in cloud services and it worked fine. I am having difficulties with back ground task. i have nearly 12
    schedule tasks in our applications. I need assist on creating multiple worker role creation and deployment.
    Is there is any site on explaining the worker role process in details?
    Thanks in advance .. !!

    Hi,
    In Worker role, Applications hosted within worker roles can run asynchronous, long-running or perpetual tasks independent of user interaction or input. It is a service component that is useful for generalized development, and may perform background processing
    for a web role. A worker role is frequently used for long-running tasks that are non-interactive, but you can host any type of workload.
    I suggest you to follow the below article which explains about Creating and Deploying of Web Roles and Worker Roles in Azure Cloud Service using Visual Studio.
    https://msdn.microsoft.com/en-us/magazine/jj618299.aspx
    Hope this helps !
    Regards,
    Sowmya

  • Register with Shared Services Failing in 11.1.1.3

    Hi,
    We installed 11.1.1.3 in Linux operating system and the application server is Websphere 6.1.After Installation and Configuration of EPM products we Externalized users from EAS Console and configured Active Directory in Shared Services and now want to migrate users of Existing Production environment to new Environment.For that created a new testgroup in Shared Services under Native Directory and when I am refreshing it's displaying an error as shown below:
    Essbase failed to get roles list for [ESB:Analytic Server] from Shared Services Server with Error [32:1062:Failed to connect to the user directory [msadServer]
    Can anyone suggest on this.
    Any help is appreciated...

    This usually happens when the application exists in Essbase but does not exist in Shared Services.
    To resolve this you need to go into the AAS console, right click on the Sample application and select the 'REGISTER' option.
    This will register the application with Shared Services. You should then see the application listed in Shared Services under the Analytic Server project.
    You will need to make sure that the list of applications in the Analytic Server matches the list of applications under the project in Shared Services. If you have any other applications missing then please register those as well.
    HTH-
    Jasmine.

  • Linux Application with several Azure Roles.

    Hello there,
    I am trying my application using azure, it's a linux distributed application that make extensive use of pthreads/sockets/dlfcn (dinamic library). 
    Because it depends on external libraries, I don't want to port it (at least not for now) to Windows. But, I want to use Azure platform to launch several nodes (units/role/computers) running this application. Lets say "several" can reach 100 or even
    more nodes. To summarize: I have an linux app, want N instances of that running (with nothing allocated before or after).
    For that reason, I want something that starts (and possible stop) really quick, but I need linux API and endpoints support. Than, my questions goes as follows:
    1) I tried Web Jobs. No endpoints there, so can't use it. This changes with Cloud Services but I'm limited to Windows, correct? For what I saw, I'm limited to Virtual Machines for that propose. For the reasons explained in question 2, I wasn't able to get my
    hands on a VM that starts fast enough. Is there any alternative for my case?
    2) I tried using a very lightweight linux distro (Tiny Core). I was able to make a fixed size .VHD with python and all WAAGENT dependences and modified the script to allow this distro. But, I wasn't able to use it, I guess hyper-v didn't recognize it. It just
    says that couldn't start after a few minutes. With that in mind, is there any fast linux (like Tiny Core) that boots really fast and is known to be compatible?
    Any other suggestion to my situation will be welcome. 

    Hi,
    Unfortunately The scenario you are referring is currently not supported or not possible to achieve with Azure VMs, My suggestion for you would be to Port your application to Windows and Deploy
    it via Cloud Service (Web/Worker Roles) which gives you Optimized and efficient platform to host your applications, You can also post your queries on linux forums before taking the call
    Regards,
    Sowmya

  • Monitor Cloud service instances

    Hi,
    I have two questions:
    - is it possible to monitor the Cloud Service Instance past states, like when its restarted, and if this restart was from an error, in windows server i know it give the ability to create memory dump files, is this applicable in Azure, and if it is applicable
    is it recommended ?
    - in any way is it possible that Cloud service automatically roll bock it self and get an earlier version from the deployment, what i mean if we deployed a release 1.2 to cloud service and then after a few day we deployed release 1.4 is there any possibility
    that the cloud service roll back last deployment and redeploy release 1.2 ?? consider that 1.4 release deployed and been stable for 2 -3 days.
    Thanks,
    Khalid Abdlqader.

    Hi,
    As far as I know, we could get the roll past state from azure operation logs, refer to
    http://blog.ict.eu/2013/04/windows-azure-operation-logs/ for more information about the details, operation Logs is a Windows Azure Management portal feature which allows you to view historical
    logs of all Create/Update/Delete (CUD) operations performed on your Azure services.
    Please note, we usually define at least two instances of a role for that role running without downtime, if there are some issues in one of the role instances, Azure Fabric Controller will perform a roll back for this instance, and this issue
    will be fixed automatic, details on Rollbacks can be found here:
    http://msdn.microsoft.com/en-gb/library/windowsazure/hh472157.aspx#RollbackofanUpdate. If we do some change to this cloud service, such as redeploy a new version application, this cloud service will running with this new version, cloud service roll back
    will not let this applicaiton reback to the old version, if we only do something in azure cloud service instance, after the roll back, the changes we have made will disappear.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • I need a script to invert the page order of selected pages for cs5.

    Hello, I am a graphic designer and i am trying to create a easier way to make multiple page folders, By using the multiple page size feature in inDesign CS5. But my problem is that i can create the front side of the folder easier than before, the bac

  • Labview support for ISO 8859-5

    HI, does Labview support ISO 8859-5 character sets? If yes, then how do i change the default character set in Labview from ASCII to ISO 8859-5? If no, then which is the simplest way to display russian characters in Labview 6.1 (Labview 6.1 on SuSE LI

  • Restored my i touch now cant sync

    Just restored my i pod and i cant sync it now, the problems on my pc (windows xp). i cannot see all the page how do i change the page size.

  • Nik Complete plug-ins causing distorted screens in Aperture2

    I have recently downloaded the suite of applications by Nik software that run within Aperture 2 on a trial basis. Has anyone had this issue?? Most of the time when I hit Z to zoom in on the picture to see the effects of Dfine or some of the other eff

  • Do i need to register for OCP Exam or Can i direclty attend OCP Exams ?

    As i am very interested in taking the Oracle 10g Certification Program , I would like to know the procedure to attend the OCP exams . Here are my few queries. 1)What is Oracle Registration ? 2)Is it possible to attend OCP exams without being register