How to enable Intellisense for Classic ASP in Visual Studio 2015? - asp-classic

Is there any way to get Intellisense for classic ASP for Visual Studio 2015, and still have html and JavaScript formatting/Intellisense? I tried adding an extension and using html forms but it seems to not detect <% and %> tags.

Related

How to add aspx views to ASP.NET in Visual Studio 2019

I have a project MVC 5 that uses and has many aspx engine views .aspx, I added new functionality to the controllers, however, when I click on add view only razor pages are available. Is there a component I'm missing?
I'm using Visual Studio 2019 Community edition.
It appears that newer Visual Studio versions do not allow to create ASPx (WebForms) View Engine Views:
Visual Studio 2017 - MVC Web Application Controller Add View missing ASPX rendering; only RAZOR
You can try to create the required ones (the ASPX files with the corrected directives) in older VS version and Copy/Past them into your VS 2019 project and try to compile. However, now it is necessary to use the Razor View Engine View instead.

no site master page found in mvc 4 web application visual studio 2013

i have visual studio 2013 with mvc 4. I have created all types of mvc web applications but still can't find any site.master in shared folder of VIEW as there exist cshtml files.
I have found on google that site.master can be accessed in mvc 2 visual studio 2010. can I have access here instead of cshtml files?
Site.Master is designed for ASP.NET WebForms and it is no longer a standard in ASP.NET MVC.
The alternative for a "site.master" is the default file "_Layout.cshtml" which is found in "Views\Shared".
As for using .master (which means you want to use ASP Controls instead of RAZOR engine) then I'd recommend not to use MVC at all since that will simply mess up your overall code and with no benefits.

Visual Studio 2012, ASP.NET Web Forms & HTML5

I have a question related to Web Forms. Do the ASP.NET Web Controls provided in Visual Studio 2012 emit HTML5 as output?
I understand we can use custom controls or content adapters to make web control emit HTML5 even with Visual Studio 2010 and probably earlier versions with support for .NET framework 2.0, but I am interested in the DEFAULT behavior; that is, without going for any work around or our own implementation.
So has anyone of you checked the DEFAULT output of web controls provided in Visual Studio 2012?
There is a web standards update available for visual studio that will output HTML 5 controls available here
However normally visual studio will output generic HTML:
<select name="ctl00$ContentPlaceHolder1$reportName" id="ctl00_ContentPlaceHolder1_reportName" class="input-large">
<option value="Finance">Finance</option>
<option value="Sales">Sales</option>
<option value="RealEstate">RealEstate</option>>
</select>
With it's own ID addition (if not specified to not use that in the web.config

classic asp syntax highliting inside javascript in Visual web developer ee 2008

How can visual web developer Express Edition highlight the classic asp-Tags (<% asp code %>) insight the Javascript code?
If i write
<script>
alert("<% =session("user_name %> ");
</script>
VWD highlights this as a string and not as asp-code. This is total confusing in these old files i'm working with.
Looks like this is a known issue on Microsoft Connect with a few workarounds, however the syntax highlighting was removed in VS2008. The response from Microsoft (verbatim):
Thank you for this feedback. We are
depcrecting VB Script colorization and
intellisense support in Visual Studio
2008. We recommend to customers to use VS 2005 or VWD 2005 to edit VB
Script.
Those products can be installed on the
same machine as VS 2008 without any
issues.
Visual Web Developer Team
Check here for more information:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=290845

How to debug JavaScript in Firefox via Visual Studio 2008?

I have scripts in my ASPX page, in the header section.
I want to debug it (with breakpoints) in Firefox.
Get Firebug
(source: getfirebug.com)
But if you really wanna use Visual Studio to debug your javascript, here are a couple of pages that will help you out :
VS 2008 JavaScript Debugging (ScottGu)
VISUAL STUDIO 2008 JAVASCRIPT DEBUGGING
How to debug JavaScript with Visual Web Developer Express
Visual Studio 2008 simplifies JavaScript debugging
JavaScript Debugging in Visual Studio 2008 (Video)

Resources