I have another annoying Metro/WCF problem :((
I have an app that uses COM object for connecting with some server.
I've created WCF Service Library which connects with server and my Metro application in one solution.
When I run it from Visual Studio debug it goes all ok.
But now I need to deploy my app onto my tablet PC for testing purposes.
I successfully deployed my test-certified Metro-application on the destination PC, but I can't understand, how can I deploy my WCF Service on it and start to listen for connections :(
I heard that I can achieve this by hosting my service in IIS, but I'm extremely new to IIS and I don't understand what-buttons-to-click :((( I don't know what's an ASP and kind of this..
And I want to know - how can my app customers will run my application without needing to deploy IIS and so on.... when my app goes in Windows Store.
Please, if anybody knows how to achieve my goals - help me if you can.
Thank you everybody!!!
Have a nice day :)
Related
In my application I have several DataGrids. I want to print the Content of the DataGrid with a Printer, which is located anywhere in the building. I want to use a PrintServer for it, so every user of my application can print over this PrintServer.
Is it a good idea to create a Windows Service which will handle the printing and lays on a Server or for testing on the same machine, I'm developing on?
WCF - is a good approach to use in Service-Oriented Architecture. The term 'service' here - is web-application(API,web-interface), and is not a windows service(like daemons in linux). WCF services working on IIS server. It is simple to create a web-api for your "PrintService", I think it's not a bad idea. Sorry for my ENGLISH=)
Im looking at creating a service on a remote server that a win forms app can communicate with. (Where the forms app is running locally on user machines).
The service can either run in IIS (7.5) or as a windows service, but essentially I need to be able to call the service from the forms app and then have a stream of progress sent back to the forms app from the service, much like you would output to a Console window.
I've looked into using WCF which seems ideal except I couldn't find out whether I can relay progress updates back to the forms app. Also SignalR running as a self hosted windows service seems to be an option but might be overkill?
We'll be running the forms app on win7 and the remote server will be running server 2008.
Are you able to advise best routes to go down for this and if possible some examples or tutorial links?
Many thanks :-)
If you are looking for the application to relay back to the server for progress, seems you are looking for something like this:
WCF Duplex
It basicly enable you to call bi-directional function using open socket.
Hope it helps.
Thanks,
Amir
So I have zero experience with deploying software or putting something live. The situation is like this:
I have developed a dashboard web application on a laptop. This application uses a microsoft SQL database that also runs locally. When I run it, it's a localhost address. Now, I need to be able to access my web application from other PCs within my company's network. This way I can do some user testing. What are ways to do this? I searched and things confuse me to no end.
I use:
.NET Framework 4.5
Visual Studio Ultimate 2012
IIS7
Thanks
There are a few things you'll need to do to make your local application visible on the network. I'm assuming you want your app running on something like http://foobar/myapp where foobar is the name of your machine
Here is what you need to do:
Add a URL reservation so your machine will allow IIS to serve content on the url http://foobar/myapp
Create an inbound rule in Windows Firewall to allow incoming connections on port 80
You can find the exact commands you need to run on Scott Hanselman's excellent blog post. Of course, he's focusing mainly on getting SSL to work with IIS Express, but it has enough pointers to get you going, too.
look at msdn.microsoft.com
you can learn about:
Prerequisites
Creating the Web Site
Creating a Test Page and Class
Publishing the Web Site
Testing the Published Web Site
Next Steps
I have a web matrix-based site I originally created, and then continued development in Visual Studio Ultimate. Now that the website is complete, I am making a Metro app for Windows 8 release preview.
I need the Metro app to connect to a remote SQL database - but connecting to remote (or any kind of,) databases in Metro apps seems to be impossible. Is there any way to connect to a remote database from within a Metro app, without the use of Services or Azure?
Is there any way to connect to a remote database within a Metro app, without the use of Services or Azure?
I'm going to assume by 'services' you mean web services. In that case, there isn't really an alternative. You'll have to use WCF or otherwise create some kind of web service to access the database. WinRT is in the same situation as Silverlight in this regard.
I have process which continuously downloads XML from the feed and saves it to DB.
I have a Windows Shared Hosting.
My question is what should I use..WCF or Windows Service or Web Service.
I cant use ASP.net because it will run on call only...but I need it run 24/7.
Can you guyz suggest me how to design it?
I have written a Windows Service but was unable to run it on the Server.
My hosting provider is Hostgator.com
You need to do it in a Windows Service.
To run it you'll need a VPS hosting (or dedicated, but it will cost much more).
Start with building a Console Application that does what you need. After you have it look online how to convert it to a windows service.