Difference Between Website And Web Application / Which One To Use First
Jul 12, 2010
I have advances skills in C#, WinForms and WPF. So I have the basic knowlage. Now, I will learn ASP.NET. The first problem what I have is the choose between a website and a web application. I have already read the FAQ. The ASP.NET worls is new for me ... . Can you say what is the best choose for me? Sould I use the website or the web application template at first?
I am a new user of .Net and want to create a website which will have a lot of pages and data. This web application will be used by a community daily that means a lot of users are gonna use it.
My question is: what is the differences between a website and a web application in Visual Studio 2010? Which is easy to maintain and code? What about the Database in both?
I'm trying to edit some code in a website solution which I have opened in vs. I notice that there are only 3 files showing and it doesn't have a web.config and it uses a popup box when I debug it instead of opening up a webpage like default.aspx. I see that I have to use debug.write and not response.write as I normally would. How can I see my debug.write statements?
I have almost 100 website that will update in a condition, I have a winzip archive that contains the files that replaces those websites. I want to know that
I can extract that files in a folder and then copy them to all 100 websites folders
I can extract the archive directly to 100 websites folders
which one is better in performance and less prone to errors
Technically what are the differences between web applciation and windows application or client-server application or desktop application or console application When do we use what application any examples of each would be greatly appreciated. (ASAP)
I want to know what is the difference between web application and web site exactly? Because I feel in trouble, as I want to integrate tasks. Part of them are built as a web site, and the other as a web application. When I added them to the web site and build the solution, I had many errors that I could not handle. It can't handle name spaces and some classes can't be read.
I know that Session is for a single user , and application is for multi user purpose.The Data in the application object is shared. Right? Then how can access the application data from an another client.
Currently, on our production IIS web farm, we host about 15 applications in a single App Pool (Default App Pool). There are two websites and about 13 virtual directories.A colleague has recommended that we change our IIS configuration so each application is a separate App Pool (with identical settings).
Is there any drawback or potential issues to doing this?Is it possible that ASP.NET applications could have been built with the requirements that they are all within the same App Pool?
I have an application which has a website and a project. The project contains an executable file which I'm trying to run as a process from the website's Global.asax file's application_start(). When I run this application from localhost, everything runs smoothly but when I deploy the application on IIS, application_start's code is executed and I can see the process name in the taskmanager but I cannot see the window which the console application normally starts in (when i run the application on localhost) and neither is the code executed.
Here's what I'm doing:
-- copied website and project in wwwroot -- made a virtual directory of the website -- when i run the website, I see the process in taskmanager but the code is not executed.
I am new to deployment and IIS, and would really appreciate I someone could tell me what i'm missing
I have a C# 4.0 WinForm application that creates new Membership users using Membership.CreateUser(). I've created 1,000+ users. I run into problems when I access those same users from my Web application specifically MembershipUser.GetPassword(). I'm able to get the user in the Web app but when I try to get the password using MembershipUser.GetPassword() I get the "Unable to Validate data" error everytime. If I use the MembershipUser.GetPassword() method in the WinForm application it works fine. I'm using the same MachineKey in both applications.
there is file>new>web ste and file>new>project>web application part. what is web application.i open always web site. what is the the difference of them