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.
Related
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
I'm running Visual Studio 2015 Enterprise Update 1.
I created an empty Visual Basic ASP.NET Website targeting the .NET Framework 4.5.2. And I want to convert it to an ASP.NET Web Application.
Under the Website's context menu in Solution Explorer there is no "Convert to Web Application" menu-item, nor is there anything under the Website menu in the main-menu bar:
Where has the feature gone? Has it been removed completely in Update 1?
This is the most confusing part of converting websites to web applications. The way you need to do it is to:
Create a new Web Application project
Copy all of your website contents into it (you could create the *.csproj file in the same website directory, then include all files into the project without actually having to move them)
The command will be available on the WebApp project (under the Project menu, at the bottom)
Basically at that point the command looks at the contents of the WebApp project and makes adjustments so that they are more suitable for a WebApp project.
I am actually a java/jsp programmer and I am newbie to vb.net. I wonder if I can combine a project made in vb.net 2008 with a vb.net website (like servlet in java)
I have a ready made project with assembly .dll file that is based on 2.0 .net framework.
This project (software) actually to connect it to a handkey 2 hardware. It register users to the handkey.
I want to deploy it to the internet as a website.
-----What I have try so far----
I have created a new website (in vb.net 2008) and add the dll as a reference but it send this error
Could not load file or assembly 'RsiDotNetDLL, Version=2.4.0.3, Culture=neutral, PublicKeyToken=11d948a84312b819' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I just want to share my solution
I have fixed this by open this website with visual studio 2015, select Debug---> Options---> Projects and Solutions---> Web Projects and tick the option "Use the 64 bit version of IIS Express for web sites and projects"
Thanks
so i just installed microsoft visual studio express 2012 for windows 8 (virtual machine) and i noticed there is no option of creating .asp files
normally, i should be able to file -> new web site, c#, empty. And then add a new web form to create an aspx file, but i dont get these options.
i only get file -> new project which creates javascript (javascript) or XAML files (visual basic, visual C#, visual C++)
i assume there is something wrong with installation. i tried installing ASP.NET from the asp.net website but doesnt change anything.
please hold in mind i am a beginner,
any help is much appreciated
You need this one; sounds like you downloaded the WPF version http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-for-web
You must install the web version to do asp.net.
Check this MSDN
I have some webforms in an Asp.Net V2.0 generated using Visual Studio 2005 using Web site technology
Want to import them in to Visual Studio 2008 set to v3.5 (Asp.Net MVC) - where I use Project technology
I'm using Add > Existing Item - Which brings in Whatever.aspx & Whatever.aspx.cs
There is no Whatever.aspx.designer.cs to import
How do you force it to be generated ?
Right-click your aspx file and select Convert to Web Application.
You have to make sure that your project is a Web Application (and not a Website). Then, You can right-click on the file or the project and select "Convert to Web Application". If all goes well, the designer file will be created. If not, then there is a parsing error in the page.
But if you want your project to truly be a MVC application, then you should not be using code-behind files for your webpages (Views), so you need to refactor the codebehind classes into Controllers. See this article why not:
http://stevesmithblog.com/blog/codebehind-files-in-asp-net-mvc-are-evil/