0

I am completely new to .net framework. I have to build a website that contain real time updating graphs.

data takes directly through MS SQL database via web service. (Website contain graphs only which should update time time)

I noticed that VS 2015 has 2 options. web site and web Application.

Which one should I use for my project. Please guild me to select best option.

Joe
  • 1

2 Answers2

1

IMHO Web Application all the way. And use the publish wizard to deploy.

Web sites do not have a project file: everything in the project folder (and subfolders) is part of the project. This seems nice and easy until you want to be able to include/exclude things. It also assumes all the compilation is done on the web server (on the first load of each page). In practice in the medium to long term leads to work-arounds that would be unnecessary in a web application.

Richard
  • 106,783
  • 21
  • 203
  • 265
  • Should I select Web site , Web form Application or web application ? – Joe Oct 07 '15 at 07:39
  • @Joe you would be better going through a few tutorials: the development models are rather different between Web Forms, Web Pages or MVC. The former two can be done in a Web SIte project, all three in a Web Application: ie. there are five options. – Richard Oct 07 '15 at 07:52
0

web Application. Click on start Page -> New Project -> ASP.NET Web Application

Click on File -> New Project -> ASP.NET Web Application

enter image description here

Rahul
  • 76,197
  • 13
  • 71
  • 125