ASP .Net Core 5 web application crashes in Fully-kiosk app - asp.net-core

For the first time, I'm using fully-kiosk on a PROVX Android, version 9
I set up the website that I want to open when the user starts up the device but the page crashes.
The website is an ASP .Net Core 5 web application, published in Azure and it works perfectly on any other device and browsers (Google Chrome, Mozilla Firefox, Microsoft Edge...). I don't get any error messages from the browser.
I wanted to know which browser uses the PROVX to load the setup website, so maybe I will adapt the application to load up correctly.

Related

Newly created AspNet Core web api app throws HTTP Error 500.24

I've created a new aspnet core web api app and when I run it and it takes me to a sample api page (/api/values) I get the following error page:
HTTP Error 500.24 - Internal Server Error
An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.
Most likely causes: system.web/identity#impersonate is set to true.
Literally nothing has been added or changed from the default app.
Similar app I created a week or so ago works fine.
Deleting and re-creating a new web app doesn't help.
dotnet core version is 2.2, Visual Studio 2017 15.9.2, Windows 10

ASP.Net Core 2.0 IIS Express SSL Client Certificate Prompt on Static Files

Environment/Frameworks:
Windows7
asp.net core 2.0 application running in IIS Express in VS2017
IE11, Edge, Chrome
Background:
I have and Asp.net Core 2.0 MVC application that I want to run in such a way that I get prompted to pick a client certificate in order to access the application. In my local computer for testing purposes, I have created a sample fake self-signed certificate as per this article http://dcdevs.blogspot.com/2017/06/iis-express-client-certificates.html, and I have configured my asp.net core 2 application in VS2017 by going to project Properties -> Degub Tab, and checking Enable SSL, then copying the generated URL to the App URL text box.
On the Startup.cs or Program.cs I have NOT added any settings to required SSL, which means to my understanding that IIS Express is serving as proxy to require https then forwarding the requests to Kestrel in a regular http request as per this post ASP.NET Core + IIS + SSL
All in all, when I run the application I get prompted to select a certificate, then I am able to read the certificate and extract information out of it inside a controller. The application comes up, and I can see everything on the Home page with its banner image, but I cannot see the images that are retrieved from a javascript file and then placed on the page with DOM manipulation. This happens in IE11, and Edge, but Chrome just works fine.
Problem:
When I load a page I get prompted to select a certificate and then the page opens, but any javascript that make subsequent requests to load images (static files) hosted on the same application under wwwroot also gets prompted. When I hit F12 and monitor the network calls, this request to static files appear as Aborted in EI11 and Pending in Edge. If I open a new tab and copy the image url, I get prompted for a certificate the first time. If I navigate to different links on the application which invoke other controller's actions the pages just display fine, the main banner image of the site still displays fine. It is just the calls to static files (e.g. images) that cause the prompt for certificate to appear again. As I described above I don't have this problems when I run the application in Chrome.

JavaScript redirect in web context of HTML & JS store app

I'm having an issue with an which sits behind an enterprise authentication system. The app is an HTML5 web app which is loaded remotely through an iframe. This works fine, until the authentication system is integrated; this uses a javascript redirect which WinJS refuses to follow and logs an error APPHOST9624.
Is there a way around this?

MVC 4 Mobile Razor Views not being rendered when deployed on Windows 7 IIS

I am working on an ASP.NET MVC 4 website which has both desktop and mobile views. For example I have a desktop view named Home/Dashboard.cshtml. I then created a mobile layout view with the name Shared/_Layout.Mobile.cshtml and then added a mobile version of Dashboard view with the name Home/Dashboard.Mobile.cshtml.
I run the application from Visual Studio with IIS Express and tested the mobile version by overriding the user-agent from Google Chrome to iPhone and it works perfectly until I published and deployed the same application on IIS (verssion 7.5) of Win7, it doesn't rendered the mobile version of Dashboard view. What is strange here is that it does render the mobile version of Layout which is Shared/_Layout.Mobile.cshtml but not the rendering the mobile version of Dashboard which is Home/Dashboard.Mobile.cshtml.
Note that I also tested the IIS deployed version on Samsung Galaxy S (Android) but same result.
Why IIS is not rendering the mobile version. Anyone faced the same situation? Any ideas?
OK I figured it out. Build Action was somehow set to 'None' instead of 'Content' for Dashboard.Mobile.cshtml so it was not being published to IIS. My bad that I overlooked it.

Display Web page inside a mono application

Is there a way to display a web page inside an application done with mono framework. It is a cross platform application, so it would be great if the solution is in mono. It need not be a generic browser, i just need to display the web pages from my own server. The number of pages is too much also it will be updated often, so cannot include it in the app itself.
Any help would be really great. BTW the app will be for most of the mobile platforms, like android and iPhone.