Visual Studio : Create a app to point it a website. - asp.net

OS : Windows-10 creators update.
Visual studio community edition.
We have a website for which we would like to point to our visual studio app to. Is it possible in visual studio we can create an app where we have a container running our website. Currently I have installed visual studio and it's asking me for which modules of visual studio I should download. I don't want to install unnecessary modules.
Screenshot.
Thank you.

Yes, you could create a C# windows forms application and add a webbrowser from the toolbox. in the properties window set the dock to fill it and then in the url box type the url and you're done.

Related

Cannot create new website in Visual Studio 2010

I am trying to create a new .NET website in Visual Studio 2010, but when I go to create a new web site (File>New>Web Site...) I am left with no options to select. Am I missing something? I've searched all around and can't find any way to download templates.
Looks like Templates are not installed in your system.
Close all instance of Visual Studio. Open visual studio command prompt and type,
devenv/installvstemplates
Press Enter. Wait for the process to complete and the open Visual Studio.
You will get all missing templates under Visual Studio installed templates.

Prism template pack for Visual Studio 2017 for Mac

I've searched all over the internet to no avail. Is there a visual studio Prism template pack for Visual Studio v7.0.1 for Mac?
The closest I've seen to this template is for Xamarin Studio which is not compatible with the new Visual Studio.
No there is not currently a template pack available for VS4Mac. It is something that is being discussed, and will likely get visited once we get the v7.0 preview released. You can track the issue here.
While it's not exactly something that's currently integrated with VS or VS4Mac you can use the dotnet templates available here. They do work cross platform, currently from the dotnet cli, but the VS team is working on integration for all of the templates for both VS2017 and VS4Mac.
You can now install the Templates on VS4Mac. Go to Visual Studio => Extensions, select the Gallery tab, click the Repository drop-down, and select Manage Repositories and add https://prism.azureedge.net/main.mrep
Then on the search bar, you can look up for prism and install the template.

ASP.NET Web Application template missing in Visual Studio 2012

has anyone else dealt with this? My ultimate goal is to create a new empty web api project. I've been following tutorials and I've encountered the following issue:
My issue is that when I try to create a ASP.NET Web Application project in Visual Studio Pro 2012 I do not see that template as an option. I go to Installed --> Templates --> Visual C# --> Web
All I see is ASP.NET Empty Web Application. So I selected that and then expected the ASP.Net project window to pop up so that I could select "Web Api". However, that dialog never opened.
Does anyone know how/where I can get the ASP.NET Web Application template?
I came across your question as I had the same problem. When I first installed Visual Studio I didn't tick the box to install the Web Components. Here is how I solved the issue:
Close all your instances of Visual Studio.
Run the Visual Studio Installer (I found mine in the Downloads folder still and was named "vs_professional.exe").
For VS 2013 a grey window appears similar to when first installing VS.
When prompted select "Modify" from the list of options.
Tick the list item which I think was named "Web Development" or something similar.
Click update.
Once the installer has finished running launch Visual Studio.
When selecting New Project in Visual Studio I can now see the required templates.
Try to select Framework 4.5.
The Framework 4.0 don't have :)
Jorge Rocha
If you have ASP.NET MVC 4 Web Application as an option under Web when you select it as a new project the project window pops up and you will be able to select Web API.
kale909's solution worked for me. I just added pics here to make it more clear:
then here:

How to make asp.net app run with visual studio server instead of IIS?

I have downloaded this blog engine
https://github.com/lelandrichardson/MiniBlog
I cannot run it within Visual Studio because it wants IIS : how to change this ?
If your project doesn't load in Visual Studio (it is greyed out), you need to manually edit the project file (MiniBlog.csproj) in a text editor. You just need to look for the UseIIS tag, and change its value to False:
<UseIIS>False</UseIIS>
When you do the above, Visual Studio should be able to load the project. It should now default to the Visual Studio web server.
Once you are able to load the project in Visual Studio, you can choose another web server, if you wish. You just need to right-click on the project in the tree view and then select Properties. From there, if you open the Web tab, you can choose the legacy Visual Studio Web Development Server, IIS Express (you may need to install this), or the Server version of IIS.
Just a note - I was unable to actually build the project that you linked to. There appear to be missing dlls, but that is out of the scope of this question.
try to add IIS Express 7.5 for visual studio http://www.microsoft.com/en-us/download/details.aspx?id=1038

Why does Visual Studio Premium 2010 not show all of the available project templates?

I'm trying to create an ASP.NET Web Application, but this is all I see:
http://img832.imageshack.us/img832/8444/newproject1l.png
http://img837.imageshack.us/img837/3119/newproject2.png
I have confirmed that I have the full Visual Studio installed, not just Visual C#.
Why can't I see ASP.NET Web Application in the "new project" list?
Based on the interface it looks like the "Web Tools" section was unchecked while installing Visual Studio. Try re-running the install, explicitly selecting Web Tools (can't remember the exact name) and seeing if that fixes the problem.

Resources