Detect if Windows 10 UAP app installed from web page - windows-10

A web page in any web browser can invoke Windows 10 UAP via a protocol link.
Is there way to detect in the web page itself in a web browser if specific Windows 10 app is already installed?

No, unfortunately, you can't do that using javascript.
That wouldn't be anything good for security.
However, you can check if MIME type is supported, but it has to be installed in a browser.
Refer to https://stackoverflow.com/a/34044915/3000331

Related

Self Host SignalR in windows 10

Hi iam making an app for which i have already completed the UI part and is currently a asp.net MVC project. for which i use the local IIS to debug. A part of the project that we are using uses signalr for device that connect to the system running the app.
Local IIS on windows 10 PRO limits the max connection to 10. Which is not something we can do away with.
The solution that seems promising is to make a signalR self host.
as the link states here
https://github.com/aspnet/KestrelHttpServer/issues/435
if the app is not using any part of the inbuilt IIS then there is no limit of the maximum connection.
The problem that im facing is that there is not help available anywhere related to it. and i want to be sure before getting to start with signalR self host about the maximum connections that it will be able to hold on a system running windows 10 Home / Pro.
Run it in IIS Express.
Right click your web project and go to properties.
On the Web tab, note the Project Url with port (http://localhost:12345)
That is the url it will be running in IIS Express.
Then start your site to fire it up in IIS Express. I right click the web and select View, but you could also start debugging.
Once it is running in IIS Express you can see the icon in the taskbar by the clock and manage all sites running in IIS Express there.
So without the available help. I converted my application to SignalR Self Host and tested it. ANd seems there is no Connection Limit even on Windows 10 Home version. So the system is working fine.
#Lex Li i think you should test again with windows 10.
So the conclusion is that IIS is actually the culprit for the max connection limit.

Can I embed a windows store app inside a classic windows application?

I would like to embed a universal windows app into a classic windows application on windows 10. Is this possible?
The short answer is no. However... depending on what you're trying to do, the information below may help you.
If you just want to get the look and feel of a desktop application, you should be aware that Windows 10 apps (unlike Windows 8 apps) run in non-fullscreen mode by default, and can be resized. Desktop apps in Windows 10 have top-right icons (min/max/resize) that look similar to how UWP apps look in the title bar and top-right icons.
If you're creating a UWP app with XAML, you won't be able to embed it in a desktop application. However, if you're building a Windows 10 app using HTML5 and JavaScript, you could repackage it inside a browser control embedded in a desktop application.
If you're creating a game using a 3rd-party tool such as Unity, you can export it as a Windows desktop application just as easily as exporting to a UWP app for Windows 10. Unity can be used for non-game apps as well, so you could export it to a desktop application today, and still have the option of publish a UWP of the same game/app.
If you were thinking of accessing the full Windows SDK from you UWP app, you won't be able to do so, as you will be restricted by the UWP sandbox. But Windows 10 has made many improvements in helping you get access to many advanced features, e.g. accessing certain locations in the file system, so you may be able to get by with all that UWP has to offer.
If you want to avoid the Windows Store, you may sideload your app, as suggested by an earlier comment.
Hope that helps! :)

IIS localhost page not found in windows 7

I have windows 7 64 bit ultimate OS. I need to install IIS on my laptop. From turn on/off windows features I enabled IIS by checking the checkbox in front of IIS management console. But it was not successful and then I re-enabled it by checking all the checkboxes under the web management tool. This time it was success and if I type inetmgr now I can find the window.
But the problem is when I type localhost on my browser address bar page does not come(404 page not found.)
Can you please help me to solve this issue?
I solved the issue. The problem was default web site not running because of port 80 uses by another application. Then I changed the port and re start the web site. Now it is working fine. :)
Close all applications like Skype, DropBox, GoogleDisk, TeamViewer etc.
Type iisreset in Windows Console and press Enter
Start again all applications like Skype, DropBox, GoogleDisk, TeamViewer etc.
Whis way always working for me!
In My System the Problem was not with port. When i installed Apache some iis service has got uninstalled. SO I removed IIS from the features and Add Again, then it works fine.

Is it possible to run an Appcelerator Titanium applicatin in web browser like Flex?

Is it possible to share code between mobile and web versions of an application created with Appcelerator Titanium? I want to create a mobile application but I also want my users accessing the app using desktop Internet browser, like Flex application can be run in Flash Player or AIR. Is it possible to share code between mobile and web versions of the app?
Thanks,
Michal
There is a beta or pre release version of a web sdk that will support that functionality. Will try and track down the link, certain it can be found on the Appcelerator developer blog

ASP file not running

Hey I just wrote a Hello World code for ASP. But it is not compiling using IIS . When I try to access it using localhost/path_to_folder/xyz.asp
It shows the entire code as it is ..
Can anyone tell me whats the problem?)
Do this Step by Step:
Go to control panel
Windows features on/off
Tick this features:
3.a) Internet Information Service>Web management tools>IIS6 Management Compatibility
3.b) Internet Information Service>Web management tools>IIS Management Console
3.c) Internet Information Service>Worldwide web services>Application dev. features>ASP
3.d) Internet Information Service>Worldwide web services>Application dev. features>ISAPI Extentions
These settings are necessary. If still doesnt work, Let me know for further settings.
Classic ASP support isn't installed by default on recent versions of IIS so you'll need to install it via the "Turn Windows features on and off" Control Panel, or with the Web Platform Installer.
Are you accessing via the web server built into Visual Studio? If so, it won't work. That server doesn't support .asp, only .as?x files.

Resources