mroschk Posted February 3, 2014 Report Share Posted February 3, 2014 Hello, i Need a litle help from anyone here. The reason is i Need a Webpage which i can call to set a Offset for FSUIPC. The Offsets i Need to set is the one for the doors to open and Close. So maybe i can call the Website, located at my FSX PC running at Apache2, like http://localhost/FSUIPC.html?OpenExit1 or to Close http://localhost/FSUIPC.html?CloseExit1 .. and so on for all 4 Exits. So i want to ask if here is anyone can help me? Thansk a lot ! Matthias Link to comment Share on other sites More sharing options...
Paul Henty Posted February 3, 2014 Report Share Posted February 3, 2014 Hello, i Need a litle help from anyone here. The reason is i Need a Webpage which i can call to set a Offset for FSUIPC. The Offsets i Need to set is the one for the doors to open and Close. So maybe i can call the Website, located at my FSX PC running at Apache2, like http://localhost/FSUIPC.html?OpenExit1 or to Close http://localhost/FSUIPC.html?CloseExit1 .. and so on for all 4 Exits. So i want to ask if here is anyone can help me? Thansk a lot ! Matthias Can you give some more details about what you're proposing: What kind of webserver technology are you using? Is the server always going to be localhost or might the server be on the internet? Is this meant to control a copy of FS on the webserver or on the same machine as the client browser? Without knowing the above it's difficult to give any clear advice about this. Paul Link to comment Share on other sites More sharing options...
mroschk Posted February 3, 2014 Author Report Share Posted February 3, 2014 Hello, thanks for the Answer. Ok, i try to explain. The FSX Maschine runs a local Apache Webserver not over the Internet. The Webserver can always be reached via localhost or 127.0.0.1 and must not be reched via the Internet, always only local. So..the FSX is always on the same Maschine as the Webserver. Hope ist all you Need ? Thanks a lot Matthias Link to comment Share on other sites More sharing options...
Paul Henty Posted February 3, 2014 Report Share Posted February 3, 2014 Hello, thanks for the Answer. Ok, i try to explain. The FSX Maschine runs a local Apache Webserver not over the Internet. The Webserver can always be reached via localhost or 127.0.0.1 and must not be reched via the Internet, always only local. So..the FSX is always on the same Maschine as the Webserver. Hope ist all you Need ? Thanks a lot Matthias OK - are you just using the Apache server to serve pre-made html pages from the local disk? Or do you also have an application server like php or python running? Paul Link to comment Share on other sites More sharing options...
mroschk Posted February 3, 2014 Author Report Share Posted February 3, 2014 Hello, i think the Aidex webser is not enough for that what we Need?http://www.aidex.de/software/webserver/If that one is enough i will use that, otherwiese this one:http://httpd.apache.org/ThxMatthias Link to comment Share on other sites More sharing options...
Paul Henty Posted February 4, 2014 Report Share Posted February 4, 2014 Hello, i think the Aidex webser is not enough for that what we Need? http://www.aidex.de/software/webserver/ If that one is enough i will use that, otherwiese this one: http://httpd.apache.org/ Thx Matthias The way this would be done would be to have the web application server (e.g. php, python, asp.net or whatever) call into a DLL that will talk to FSUIPC. This could either be a COM DLL or a .NET DLL depending on which is supported by the application server you are using. I don't have any experience with Apache or php or python, so if you wanted to use these with Apache you'd need to know how to use them yourself. These could call into my FSUIPC Client DLL for .NET and I could help you with that side of things, or even create a COM wrapper if the .NET route didn't work. I do have experience with Microsoft's web technology (IIS and ASP.NET) so I could give you much more help with those. You can get them with the free version of "Visual Studio Express 2013 for Web". This would be more suited to using my .NET DLL and you could write your code in C#. Either way it's a big learning curve for you if you're not already familiar with these technologies. You would need to learn the basics first before attempting to interface with FSUIPC. You'll likely find lots of good tutorials on YouTube. That's all I can suggest. Someone else may have some other ideas. Paul Link to comment Share on other sites More sharing options...
mroschk Posted February 4, 2014 Author Report Share Posted February 4, 2014 Hello, so that means if i can set up a IIS to uses ASP.NET it will work? Matthias Link to comment Share on other sites More sharing options...
Paul Henty Posted February 4, 2014 Report Share Posted February 4, 2014 so that means if i can set up a IIS to uses ASP.NET it will work? Yes, you can just use my .NET DLL in the ASP.NET project. You can download it from here: http://forum.simflight.com/topic/74848-fsuipc-client-dll-for-net-version-24/ There is a user-guide included and a sample C# desktop application. This will show you how the DLL is used. Paul Link to comment Share on other sites More sharing options...
mroschk Posted February 4, 2014 Author Report Share Posted February 4, 2014 Hello, thanks a lot , that Looks as this what i Need...thanks I found here a ASP.NET PORTABLE Server. http://www.codeproject.com/Articles/21343/TinyWebServer-an-ideal-portable-webserver-for-ASP Trying to get it to run at the Moment .. If i get it working i think i have a Chance .. Thanks Matthias Link to comment Share on other sites More sharing options...
mroschk Posted February 4, 2014 Author Report Share Posted February 4, 2014 Hello, i found a portable asp.net Server and get it running. http://zueuz.net/projects/portable-aspnet-web-server.aspx#.UvBB0SOUOng But i have absolute no plan how to build a small asp Website just to open a door as example. I have no exp. with asp. Can i kindly ask you to make a litle Website which has .. lets say a button called "Door" which opens and Closes the Pax Doors ( Shift+E ) via the doors Offset 3367. I know it's much, but i hope kindly of your help. Thanks Matthias Link to comment Share on other sites More sharing options...
Paul Henty Posted February 4, 2014 Report Share Posted February 4, 2014 Hi Matthias, I'll be away for the rest of this week, but I'll make an example website for you next week. I'll contact you by PM when I have something. Paul Link to comment Share on other sites More sharing options...
mroschk Posted February 4, 2014 Author Report Share Posted February 4, 2014 Hello, wow...thanks a very lot !! I'l wait until you are back... Thx Matthias Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now