Similar to Chrome and Edge, you can install websites as apps through the browser. How can I use something like Visual Studio to create an installer that will similarly install webpages as apps (about 3 at once) BUT use a chromium/chrome/edge web-engine as I believe Visual Studio would by default use the IE Trident engine?
As far as I know, we could try to create a Setup for a Web Application, you could check these links:
Create Installer (Setup) File for Asp.net Web Application
Step by Step Guide to Create a Setup for a Web Application.
To use Edge web engine or Edge-Chromium engine display web page, in my opinion, we could use WebView control (EdgeHTML) or WebView2 control (Edge Chromium)
According to your description, it seems that you want to create an installer or setup, by using it, it will open the Web page using chrome web-engine. If that is the case, I think you could try to create a windows apps and use Webview or Webview2 to display the web page.
Related
I have a SPFX web part, working perfectly fine in SharePoint online sites. In App catalog site its syncing with Team successfully.
I add it in SharePoint page and add pages url in a Teams tab. It worked fine over there as well.
But problem occurs when I am trying to build a Teams App via App Studio, add this Page URL in Tab configuration. But it is not even open the SharePoint page in it.
Any suggestion would be appreciated. (FYK: I have no coding background)
you can implement your Microsoft Teams tabs using SharePoint Framework. Using SharePoint Framework significantly simplifies Teams tab development process as Teams tabs can be automatically hosted within SharePoint without any need for external services. you can use tab with spfx for your work around.
One of my colleague try to convince me that the default mail app on Windows 10 is done using HTML5, CSS and javascript. But I doubted it and I believe it is written using Windows SDK and C#. Do you have any evidence to show how the mail app was built?
Cheers
You win. It's not HTML.
You can check by running the app and then examining it in Task Manager. Look at the details and the process name will be WWAHost.exe for an HTML app.
You can get more detail with Process Explorer. ProcExp will let you see the DLLs loaded in the process where you can see that it loads Windows.UI.Xaml.dll.
.Net (C#) vs. C++ is trickier, especially since it's likely a mix of both. The .Net Framework engines (mscorwks.dll, etc.) in the process would indicate a .Net app, but I don't believe they'll show up in a .Net native app, and Mail (along with all other .Net Universal Windows apps deployed from the store) will be compiled with .Net Native.
You can also figure out similar information by looking at the app's package in \Program Files\WindowsApps
I am trying to create a silverloght application to open visual studio and deploy it as a webpart in sharepoint site. I am using following code:
dynamic cmd = AutomationFactory.CreateObject("WScript.Shell");
cmd.Run("devenv.exe", 1, true);
this is working fine in standalone silverlight application, however, when I added this as a webpart in sharepoint site. It gives an error that "This operation is not supported in the current context".
Based on my search, the reason for this may be is that AutomationFactory is not available for this application as it requires elevated permission.
Do I have to provide elevated Permission to sharepoint site, if yes, then how to do it?
You need perform some configuration to allow use AutomationFactory:
Use silverlight 5 (version 4 is not allow it)
Set registyry key to allow in-browser elevated mode
Sign Xap with certificate, that installed in user's certificate store in "trusted root"
Install silverlight application on client machine
You can find right a way by googling, it described in many blogs
I wonder how to remove Web Matrix dependecy from web platform installer.
For example, I saw screencast "how to install wordpress with wpi" and there everything was fine without installinb Web Matrix. This IDE sucks, I have Visual Studio installed, so don't want to install any web matrix components.
The same happens on installing blogEngine.net.
Has anybody dealed with this problem?
When you install applications from the Web Application Gallery, Web Platform Installer will default to including WebMatrix if you are on a client OS (like Windows XP, Vista, or 7). This is so most users will be able to do something with the application once installed - assuming they don't have Visual Studio already installed.
Now, if you happen to not need WebMatrix, you can change this behavior - you can click on the Options link from within Web Platform Installer and change "Which Web Server would you like to use?" to IIS instead of WebMatrix - this will prevent the chaining in of WebMatrix.
Hope this helps!
I am new to Mobile specific website development. I want to know does Visual Studio provides way to create a web site which can be targeted to mobile devices? Also can this website be run on phones running on OS other than Windows OS like iPhone, Android or slimier other OS?
My aim is to develop a website which can be targeted to phone running on any OS. Does Visual Studio and .NET can be used for this purpose?
If yes then can someone provide me some content to start with.
Thanks
Paresh
Any phone with a web browser can view a web site, regardless of what technology platform that site is written on. It's one of the best and defining characteristics of the web...
You can certainly code a website for mobile devices with Visual Studio and run it on the .NET platform on IIS (or Mono).
As far as targeting all devices, your man concern should be the UI of the website and how it will render in each phone's browser. I'd recommend an approach of making the site look good for the most popular platforms first (iPhone's Safari, Android's browser), and making it 'good enough' for the rest.