Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I create a website project type in VS2010

We're upgrading to VS2010 and when I look in my "new project" window I can only see web application, not website. Has this gone? Is there an alternative?

I need this project type because we need to be able to edit code files on the fly on the live server - or has this now become an option embedded somewhere in the application project.

Cheers.

like image 513
Matt B Avatar asked May 25 '11 15:05

Matt B


People also ask

Can you make website with C#?

NET and C# Use . NET and C# to create websites based on HTML5, CSS, and JavaScript that are secure, fast, and can scale to millions of users.

How do I create a website project in Visual Studio?

Start Visual Studio, on the File menu select New, and then select Project. In the New Project dialog box, select Visual Basic or Visual C# as the programming language. In the Templates pane, select ASP.NET Empty Web Application, and name the project SofiaCarRentalWebApp. Click OK to create the solution and the project.

What is difference between project and website in Visual Studio?

New Web Site - creates code behind pages that are compiled at the server when page is requested. New Web Project - creates pre-compiled pages into one or more assemblies (entire site even), and deployed on server.

Is there a web based Visual Studio?

Visual Studio Code for the Web provides a free, zero-install Microsoft Visual Studio Code experience running entirely in your browser, allowing you to quickly and safely browse source code repositories and make lightweight code changes. To get started, go to https://vscode.dev in your browser.


1 Answers

Use File>New>New Web Site, and you can find the web site templates.

But it does look like a very bad idea to edit on the fly files on a live server... Unless your customers are very understanding.

like image 143
Guillaume Davion Avatar answered Sep 30 '22 03:09

Guillaume Davion