Publish Winform to Azure - winforms

In the past I have only used my WinForm apps in my office and have published to a server on LAN using Click Once. Is it possible to publish WinForm apps to Azure using Click Once. I have an account there.

Here is instructions it works.
https://robindotnet.wordpress.com/2011/02/13/how-to-host-a-clickonce- deployment-in-azure-blob-storage/

Related

Calendar Control 12.0 for windows forms application using MsSql database

I have a Calendar Control 12.0 in Windows Forms Application. I want to show the jobs allocated for each days with the support of MsSql database. I found some coding about Calendar Control in asp.net. But that same control is not available for Form Application.
Is there any event functions I can use to display the jobs for each days?
In order to add a Calendar control directly to a windows forms is not possible.
But what I did was:
Created a web page using asp.net web application and used the calendar control which is available in toolbox for asp.net application. Then I linked the Sql database to show the day to day events.
Published the web page and saved the files in a local drive.
Then hosted that page locally using IIS.
Then in windows forms added a web browser control.
Then set the navigation path to the localhost address.
That's all done.
The funny part is for my first question in stack overflow I'm the one providing the answer. :):) After lots of research in internet solved my problem on my own.

How to Deploy Click Once Application in different Domains

I have built a C# WPF Application in Dot Net Framework 3.0 and published thru Click Once Application via localhost IIS in my system. My system placed in FileServer1 Domain and all the systems under FileServer1 can able to install the application. But we can not able to install it under different domain FileServer2.
While clicking the Install button, it will show that Installation file was missing. Please help me out how to proceed with this issue.
While publishing the file, I have given as http:\10.xxx.xx.xx instead of localhost. Now its working in all the domains.

WPF Application External deployment

We are planning on building an application that will be used within our corporate network and we can also extend this application through internet facing to our contractors.
Can a WPF sandbox application (not XBAP) be deployed externally (for example on Windows Azure) while we can still be able to access it internally through the corporate network?
Or If we deploy this internally, is can we be able to give direct access to contractors outside the domain?
I am new to WPF and have looked through WPF deployment documentations but can't find anything on this. Thanks for your help in advance!
I have developed a large scale WPF business application and deployed it using ClickOnce. Although all of the users access it on the local intranet and we don't have any users external to the office, I can confirm that I have used the application whilst at home.
The only thing that you have to worry about is whether all users have permission to access:
the deployment server for installation and updates
all intranet files and folders that the application uses
all database tables, views, stored procedures, etc.
However, if you're not sure, just try it out... it only takes seconds to publish applications using ClickOnce.

Lightswitch Forms Authentication issues based on windows user?

First my apologies if I failed to find an answer searching - I tried a variety of search topics but none that were directly related.
I have a Lightswitch app deployed and working fine, running on IIS 7 and Windows Server 2008. It is an internal intranet app only.
I am using only FORMS AUTHENTICATION, all others are disabled.
The app works fine for MOST windows users.
However, some windows users get nothing but a blank screen - no login, no "loading..." and no silverlight "98%" display.
In the IIS log, I don't even see where it looks like it is being accessed when they attempt to load the app?
So, my question is, since this is FORMS authentication only, what could be causing it to NOT work based on which windows user is trying to run the app?
In other words, on the same Windows 7 machine, it works for 10 users, but not for others.
by the way, the application is remote - it is not running on the local machine.
The users ARE able to access the other ASP.NET applications hosted by the same IIS server in the same root inetpub folder.
The lightswitch application is using the ASP.NET v4.0 Classic app pool in calssic managed pipeline mode.
Any help greatly appreciated!!!
Happy to post any details/config/logs - I did not do so yet as I wasn't sure what would be most useful....
On the users machine you need to use Fiddler or the F12 tools in Internet Explorer to see exactly what calls are being made to the server and which ones are failing. LightSwitch is just an ASP.net website that launches a Silverlight application.
So the only other thing I can think of is that those users do not have Silverlight installed on their machines?
The users need to install the latest version of Silverlight. Apps built with LightSwitch 2011 require v4 or above and those built with LightSwitch for Visual Studio 2012 require v5
Silverlight Installation

How to have a SharePoint action invoke a feature in a WinForms application launched by Click-Once?

We have a SharePoint site that our users have open all the time (type of dashboard for the business). We have a WinForms application that listens on a specific port for when the user clicks a web part on the SharePoint site, we take the JSON in the WinForms, parse the request and launch a feature in the WinForms. Essentially allowing a web site to launch a feature in a running WinForms app on the same client machine.
This worked great when we were running in XP. When we moved to Windows 7 (with elevated UAC), this feature stopped working. Since we launch the WinForms app via ClickOnce, and ClickOnce apps can't be Run As Administrator, our current code won't work.
We can't make the ClickOnce app Run As Administrator for all the reasons you see here on StackOverflow.
So my question is: how can we invoke a feature in a ClickOnce deployed WinForms app when a user clicks on something in SharePoint site? It is super easy to get the WinForms app to call a Sharepoint web service but I need to go the otherway.
You can invoke a ClickOnce application by calling the deployment manifest URL. If you want to be able to call the app and have it do something specific, call the deployment manifest URL and pass query parameters to it, then have the application handle the query parameters.
This article shows you how to handle query parameters with ClickOnce applications.

Resources