Is there a Run/Debug Configuration template for ASP Classic for Jetbrains Rider? - asp-classic

I have an ASP Classic / VBScript project that I want to run with IIS Express when pressing the Run or Debug buttons in Rider, as one can when using Visual Studio. Is this possible?

To the best of my knowledge, Classic ASP needs IIS to run. IIS Express (cassini) does not support classic ASP. You can map a website or website's folder to a directory and open that in JetBrains for editing and testing. That is how Dreamweaver and other Classic ASP editing tools used to work back in the day and you can probably use visual studio code for that today.
Also, if you have not already done so, please check out This Link

Related

Which version of Visual studio supports old classic ASP Project

Which version of Visual Studio can be used to open a project which is built as ASP Web project
I have Community edition 2019 Does this support ASP projects?
I know these days no one is using ASP for building web apps The purpose is to maintain an existing ASP solution for a couple of more months 9If any bug fix requests from the client comes ) and start to build a new project using the latest version of Microsoft technologies
Visual Studio
Most versions of Visual Studio support editing Classic ASP code, couple of things to keep in mind though.
Frontpage Server Extensions is no longer supported, the best approach is to use a mapped drive or better yet store the code in source control (Git, SVN etc.) and work with the code locally (can bind to a local instance of IIS).
The IDE can be quite cumbersome for working with Classic ASP as it's designed for more modern technologies.
It also has sophisticated debugging through the IDE via the "Attach to process" which will work with Classic ASP running in IIS as long as the web application has been configured correctly for debugging. See How do you debug classic ASP?.
Visual Studio Code
Another option is Visual Studio Code which is a free IDE built on the principle of open source projects for cross-platform. It's becoming a popular free IDE for many developers rivalling the likes of Atom, Sublime etc.
It's lightweight and extensible through extensions, there are already some useful extensions for Classic ASP including this one;
Name: Classic ASP Syntaxes and Snippets
Description: Classic ASP Language Support and Snippets from tmBundle
Publisher: Jintae Joo
It also has built-in support for popular source control solutions like Git and more powerful available through the extension marketplace that is built into the IDE. If you do use Git would recommend installing the GitLens extension.
Every version of visual studio since I started with 2010 (was there something before it?) handles Classic ASP just fine. I'm on VS2019 right now.
I even have a project which is a combo Classic ASP, Webform, and MVC all in one project, with some session sharing, and I routinely code and debug in all. The only limitation is that when you debug, you have to choose whether you're debugging Managed code or "script".
With each I "attach to process" and choose which code I want to debug. Classic ASP debugging is fantastic, and I can't believe more people don't do it. I see basic questions on here which would easily be fixed with standard debugging techniques (settings breakpoints, evaluating variables).
The ONLY thing which isn't supported is code formatting inside <% %> blocks. If I ever get some time maybe I'll make an addon for it.

Debugging vscode front-end and back-end in studio

Is it possible to have the same application and debug client-side parts in the visual studio code and server-side parts in the visual studio? ASP.NET Core in particular
I actually figured it out by myself, so if anyone's wondering this is what you have to do:
VScode launch url should be the same as is on the visual studio, you should open client side project or wherever your files are. Vs should run on IIS server, that way you wont need to debug in visual studio in case you don't like debugging in chrome.

ASP.NET MVC 6 using IIS to develop without publish

Is there any way to develop an ASP.NET MVC 6 beta 8 application on IIS without having the need to publish the application?
After install the httpPlatform module I am able to point IIS to a published application.
But how can yo point IIS to say your visual studio solution wwwroot so you can develop and see the changes you make without having the need to publish?
Is this no longer possible like how it you could develop asp.net MVC 5 apps?
For development is IIS Express and Kestrel the preferred way now?
Update:
I've tried to run both commands like the vs.net debugger shows but I still get bad gateway
You should read this.
I am currently using Visual Studio 2015 for developing MVC 6 (beta8) applications, and do not have the problem you describe. An MVC 6 application has a file that by default points to wwwroot folder (I do not remember now the filename), so you should not have problem in change code and hit F5 to see the changes, without publishing.
For anyone that is interested to get this working so that you have an edit and continue experience and don't have to manually build or publish your site and work against your source code:
https://github.com/tuespetre/dnx-watch-iis

How do I run a classic asp webpage from visual studio

I have two classic asp pages on my local machine that I would like to test them by bring each up in a browser from Visual Studio just to test a few links. How can I do this?
The browser which comes with VS doesn't support Classic ASP, however you can set IIS (which comes with pro versions of windows) or IISExpress (which you need to download and install, but which will work on any version of Windows) your dev server. IISExpress probably integrates better with VS.

Create classic asp project in Visual Studio 2010 from scratch

I have always developed on ASP.NET on 2.0 and higher .NET framework.
I am trying to create a website in classic ASP from scratch using VS2010 and can't figure out how to do that.
Thanks
Create a new folder
Open Visual Studio
Choose "File" -> "Open web site"
Go to the recently created folder
Then right click -> Add New item
Select "HTML File"
Rename the file as .ASP
Create a new web site or virtual directory in IIS and point to the folder
Profit!
(alternatively to 8, you can use the new IIS Express that supports ASP Classic)
As you probably know, classic asp has nothing to do with .NET. There is no type of project in VS 2010 (or any Visual Studion .NET) for classic asp sites. If you want to use VS2010 you can simply create text file with the extension .asp and start typing away.
You can use any text editor for the job. My favorites are primal script (greatest intellisense I have found for classic asp) and Notepad++
You donĀ“t have to compile anything since asp is scripting language and will be interpreted each time.
So just start creating text files with asp endings and fire away.
If you want to use something for classic ASP from/supported by Microsoft then you should consider Web Matrix which includes IIS Express and is a free download.
It does require ASP.net 4.0 if not already installed.

Resources