I'm trying Jetbrains Rider 2017. One of the features I have used in Visual Studio for many years is the ability to configure easily building and debugging a website in IIS (instead of Cassini/IIS Express), without needing to go through the whole "Attach to Process" flow. This is done in the project web configuration, setting the host to Local IIS and providing the URL, and the configuration stored in the csproj.user file.
Can this be achieved in Rider, and if so how?
Related
I have a Web API project and an authentication project built on .NET Core and I set up several startups in Visual Studio to run the project when starting IIS. What to try to figure out is if there is any way to do this programming and not from visual studio. My idea is when running the API, somehow refer to another project (in my case the authentication server) at the API startup or elsewhere and this one runs both projects (as happens when setting up multiple startups in Visual Studio).
I recently installed Visual Studio 2017 and my problems began with remote debugging.
So, this is the message error.
And on Azure, they are lagging behind the official release of VS Remote Debugging for this VS version.
Any idea on how to make this work?
If you use Cloud Explorer within Visual Studio 2017 to initiate the Remote Debugging it'll set the VS Version on the Web App correctly. Currently, the portal doesn't include UI to allow you to set 2017 as the version, but using the Cloud Explorer to initiate remote debugging will do it behind the scenes. We just need to wait for the Azure Portal to be updated and get caught up with VS.
Visual Studio 2017 is now listed as a Remote Debugging Version in Azure.
There has however been some change on what is possible on Cloud Explorer. To access the 'Attach Debugger' option, you need to use the Server Explorer.
I have an ASP .NET web site project that was developed in Visual Studio 2012. We just migrated the project to Visual Studio 2015.
I've googled around and I keep reading about a "Create Virtual Directory" button and a "Use Local IIS" option but neither are present. In the project properties page all I see are the options "Use default Web server" and "Use custom server" along with a "Base URL" text field.
I'm running Visual Studio 2015 on Windows 10 Pro.
What am I missing?
Have you enabled IIS in Windows Features?
Press the Windows Key and type Windows Features.
Select the first entry Turn Windows Features On or Off.
Make sure the box next to IIS is checked. If it is not checked, check it and it will install everything you need. Be patient as this could take a few minutes.
IIS should now be accessible from Control Panel > Administrative Tools
You should now be able to go to the properties page of you application and change your website setting from IIS Express to Local IIS
This might be a stupid question, but I have a problem with Visual Studio 2013 and IIS (not Express), that the Visual Studio debugger by default uses IIS Express (iisexpress.exe) to debug code. But I do not want that, but I want to use IIS installed on my computer (w3wp.exe).
I succeeded in debugging with IIS by using Attach to Process... and then selecting All Users and then picking w3wp.exe as a process. But I need to do this every time I start debugging. Is there a way to use IIS by default? In Visual Studio 2012, everything worked well, but in VS 2013 I cannot find an option to use IIS (w3wp.exe) by default.
I am debugging a Web Site ASP.NET 4.0.
Thanks for any help!
If your website project was opened via IIS, it should debug the IIS process automatically. If your site exists in IIS currently, you should be able to find it via File -> Open -> Web Site.
If you opened an IIS Express based website project (or via the file system, which uses IIS Express by default), then run the site through IIS, VS doesn't know that the site is running in IIS.
In order to get this working on my setup (VS2013, IIS7, Win7) I needed to go into IIS Management Console and manually enable Windows Authentication.
I'm inheriting a web site project that was built with a virtual directory for user controls (still wondering why someone did that). Of course, the src tags bombs when I load it into visual studio 2012 because those files are not actually there.
So, with vs2012 and iis express (build in browser) how can I easily create a virtual directory and have it resolve in my visual studio development experience.
Thanks! -Peter
turns out there is under the website menu an option that says "Create Virtual Directory". I'm hoping that is exactly what I want.