WebBrowser multiple instance in Azure cloud - authentication

We are having requirement for multiple instance of the WebBrowser components, running simultaneously in the Windows Azure worker role instance.
What is the best approach on implementing this? Our findings so far, made us believe that every new WebBrowser instance kills previous one and then stuck itself.
Could you also recommend best way of logining in on the web page, but without use of "HttpWebRequets", "WebRequest" or "WebClient"? We believed "WebBrowser" is our magic trick, but it seems it isn't so handy, especially on Azure cloud.
Thanks a lot!

Unless I'm mistaken, the WebBrowser control is a Windows Forms control. Is your app Windows Forms based? If so, this is not a good choice for exposing a UI, as your web visitors have no way of viewing the user interface.
As far as what will and won't run in Windows Azure worker roles: Worker roles are essentially Windows 2008 Server R2 or SP2, so whatever you run locally should run in Windows Azure, aside from sharing desktop UI's. The results of running multiple WebBrowser controls in Windows Azure shouldn't be any different than running on a local server.

Related

How to move a windows .net runtime frontend application to the cloud (it uses a local sql server backend database)

I had a engineer design our .net application back in 2009, my guess is that it was coded using visual studio, and all I have is the installer application. We have been using it on our 1 or 2 local client machines very well for the past few years, but now I want to move this front end to the cloud. Instead of installing it as an application on our windows 7 machines.
It is a very simple application used in our small warehouse that keeps track of cargo/shipments etc. It uses Sql Server 2008 Express as a backend which is stored locally.
I know how to get the database in the cloud, their are many options for that, using Amazon or Azure, but how do i get the local client application to the cloud?
I dont have access to the visual studio code, i just have the runtime executable file..
I am sure there is no way to do this, and many of SO users will say i need to re-write the front end.
I have tried to contact the developer and they hav since closed down. Is their anyway i can run this in the cloud?
I welcome all options and solutions!
Thanks.
I believe you have two options for hosting this application:
If you are able to configure the database connection string, you could host the database in the cloud, and distribute the application to your end users. However, you've already stated that you know how to move the database, so I assume this isn't an option.
The only alternative is to run the entire application on a cloud server, and send the user interface to a client using terminal services. This makes it appear as if the application is running locally on the user's computer, while it is actually running on the server.
For an off-the-shelf solution to achieve this, you could consider using Microsoft's RemoteApp Azure service. I'm sure there are other similar offerings available.

Publishing a VB.NET Winform Application

I have a windows form application that I need to publish, I just need some advice on what would be the best way to publish an application to a server so that multiple users can access it using a short cut on their desktop and without having to actually install the application on their local machines.
Thanks
You may run into CAS problems. It is better if users download code to their machines. Then you talking "ClickOnce"
http://msdn.microsoft.com/en-us/library/71baz9ah.aspx

How To Query A Remote Index From Windows 8

I have a machine running Windows 2008 Server using the built-in Windows Indexing functionality. I have a separate machine running Windows 8. I need to query the Windows 2008 index from the Windows 8 machine. I used to be able to do this using the MSIDXS provider but this is no longer in option in Windows 8.
Is there a new way to deal with this scenario? My internet searches haven't turned up much.
Windows Store apps use contracts and extensions to enable communications between apps and between an app and Windows. More info on the subject here. I haven't worked with MSIDXS provider, but from what you described, you will not be able to access the data residing on a server directly as you would before.
One option is to expose the index data as a service to your Windows Store app. This is probably not optimized for your case, but it is a general approach to consider when you need to communicate with resources outside of your Windows Store app.

Alternate Access Mapping not working in SharePoint 2010 Workgroup

I have tried to configure alternate access mappings in my SharePoint 2010 which is installed in WorkGroup Windows Server 2008 R2 server but could not make it work.
Here are my steps.
Go to Central Administration-> Manage Web Application.
Select a web application and extend it.
Provide the my12server.com in the host header and leave other default values as it is. I changed the zone to Extranet.
Click Ok.
After sometime, it creates Web Application in SharePoint and Web Site in IIS.
I have changed my hosts file by adding entry
192.168.1.11 my12server.com
Browse the new extended. It asks for credential. Supplied the correct credential but nothing got display. Just a blank page.
Note: I have however successfully extended web application when the SharePoint 2010 is in domain machine.
Please advice me.
Thanks
Prakash
SharePoint is designed to work in domain environments only. In other words, you cannot expect to run it on an underlying Windows Server which joined into a workgroup and expect full functionality. Although there are blog posts around describing installation in a workgroup environment (or, better to say, using local accounts), I wouldn't recommend wasting time with such a mode of operation.
Furthermore, it doesn't make sense to extend a web application just for the sake of providing another hostname. Extending web applications multiple times is mostly useful when you need different authentication providers for each of them. In your simple case you can just configure multiple Alternate Access Mapping records for a single web application.

Updating VB.net windows applications over the internet

I have a windows application developed in VB.net 2005. The application is installed in several machines.
Is there anyway when I do any modifications and publish the code it updates in all the machines.
PS: All the machines are connected to internet.
thanks
There is not an "Automatic" way of doing this, but there are various ways that you could try to enhance and automate the process.
You could build your own "updater" that polls every X days for an update, and pulls it down.
You could use click once to deploy and have the users do the updates.
For an existing application, there's nothing automatic out there. For a new application, look into ClickOnce deployment.