Convert website to windows 8 app - windows-8

I installed Visual Studio Express 2013.
I also have a local server installed(I used UniformServer) with a little php website.
I opened Visual Studio Express. I created a new project Templates/JavaScript/Blank App
How can I convert the site from localhost to the new Windows 8 app?
In the file package.appxmanifest, replacing default.html with http://localhost in "Start page" field, doesn't work.

Related

How to host a Blazor ServerSide app on a VPS

I'm experimenting with the Blazor Server App and want to host it on my own VPS. I followed about every official documentation there is, but I can't get it to work.
VPS info:
Runs on Hostinger -> Ubuntu 18.04 64bit with Webmin
Installed all required dotnet versions on VPS:
When creating a test index.html and place it inside var\www\html\ it can be accessed through a browser and the content is shown
Blazor Server App info:
Start a new project > Blazor Server App > Publish > Local folder
Copy files from bin\release\netcoreapp3.1\publish* into VPS\var\www\html\
The files can be seen when browsing, but nothing executes
What am I missing here? How can what I want to do be done?
I was expecting the application to run, just like it did when executing it in Visual Studio.
I followed this tutorial based on a similar question
https://www.jeremymorgan.com/blog/linux/blazor-in-linux/, but I'm not using CentOS so it did not help much.

Unable to create web site project using VS 2010

Here is My current versionTrying to create my first website using Visual Studio 2010. I configured IIS, installed ASP.NET MVC4 (not sure if I need it though). But still unable to see anything when clicking Visual Basic or VisualC#. What am I missing?

The Web server is configured to not list the contents of this directory. IIS 8.5 MVC 4

When I configure IIS and tries to run the mvc application it gets the HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory error form IIS. I have tried solutions provided by sol1, sol2 and sol3 but I am still getting the error. I have Windows 8.1 and when I tried it on Windows 10 it works perfectly. So it must be an environment problem.
In visual studio 2015 it does not include the MVC4 framework. So I needed to install ASP.NET MVC 4 separately although I have already installed VS 2015 in my machine.

Kestrel / IIS Express requires restart before edited .cshtml view changes are shown in browser

I'm in the process of setting up my first ASP.NET vNext web application project.
I've got as far as getting the default project to build and run fine in both Windows and OSX. I've tested with kestrel on the mac, and in Windows IIS Express along with kestrel.
The problem I have encountered is that in Windows, editing a cshtml View file while the web server is running isn't reflected when I next refresh the browser.
In OSX, I can run 'dnx web' and navigate to localhost:5000 and browse the site. I can then edit the .cshtml View files, switch back to the browser, hit refresh, and I can see all the changes. This is what I expect to happen and happened in previous versions.*
In Windows, I can either run dnx web or IIS Express on the same site as I was using on OSX, navigate to localhost:5000 (or for IIS Express its own port number) and browse the site. I then switch to edit the cshtml View files, but when I switch back to the browser to reset, the changes aren't shown. It's not until I restart kestrel or IIS express that the changes are shown.
Curiously, however, I can edit a .cs Controller file and the site then recompiles by itself and I don't need to re-start it - in Windows at least. (In OSX, editing a controller file doesn't cause an auto-recompile, but that's an aside, I believe dnx-watch will fix that).
Is there something that I've missed in the project.json, or another setup file, which is causing the issue in Windows?
I have tried:
creating a second completely clean web application project
reinstalling ASP.NET
desperately, lastly, creating a clean install of Windows 10 with Visual Studio 2015 Community Edition, to no avail
What's the way to get Kestrel or IIS Express in Windows to serve the updated cshtml View file after it's been edited, without restarting the server?
*side note, ASP.NET MVC in OSX is awesome!
Following on from #SRQ Coder's response, in particular the reassurance that it's supposed to work as I hoped, I found the reason but as yet no decent solution.
My project directory is located on a network share and I load the projects directly from there (I run Parallels Desktop on a mac). This works great with ASP.NET 4.x / MVC 5 (and earlier). However it looks like ASP.NET 5 doesn't support this setup.
The moment I copied the project folder to the local C: drive it all worked fine
When opening the project from a \\network-share, the project loads and I can run/debug the website, but CSHTML edits aren't shown in browser until IIS Express/Kestrel is restarted
Opening the project from a X:\ mapped network drive doesn't make any difference
I'm not able to recreate your problem on my machine: VS2015; Win10 etc. in either the IIS mode or Web: localhost/5000 mode and on multiple browsers.
I can edit both 'shared' cshtml files like '_Layout' and also the default 'home/index cshtml file with no problem.
Since you've re-installed so much of your system, I'm wondering if you have not re-installed web-essentials and enabled 'browser link'.
I feel your pain...

Silverlight website with SQL Server Compact database

I created a Silverlight website with a database in SQL Server Compact Edition a few months ago.
Now, I reinstalled my PC and when I open my project in Visual Studio and press F5 then everything works perfect but if I go to the .web folder and open the .html page then it doesn't show my data, it only shows my page.
Anyone got any idea why this is?