.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> .NET Framework >> Post New Question Subscribe to Interview Questions

What's difference between Web Application Project vs Web Site Project in Visual Studio

Posted By :Ravi Ranjan Kumar     Posted Date :June 16, 2011    Points :40   Category :.NET Framework 
Web Site Project is deployed with source code to the server and all compilation takes place at runtime.

Web Application Projects, the code behind classes are compiled to dll. That dll is deployed and at runtime, the compiled code in the dll and the markup is combined to create a class which is used by the server to render output.

You can also find related Interview Question to What''s difference between Web Application Project vs Web Site Project in Visual Studio  below: 

is it possible to add APP_Code folder in web application project in Visual Studio 2005 or later?

  
No. It's not possible. Web application project does not allow users to add app_code folder where website project does. (More...)

Can you elaborate how to start a silverlight application with Visual Studio?

  
You can find a fully described article from http://www.silverlightclub.com/resources/1858-silverlight-lets-start-building-applications.aspx.aspx
In the following step(s) I am giving the ideas all about:
1.Create a project:Here you just start your visual studio, Select your programming language [C#/VB], Choose Silverligh Template give the name and save it
2. Adding SIlverlight COntrols:One thing is happened here, controls cannot dragged onto the designer, you can draw/drag the controls on XAML page.
(a) Naming to control:In this step just give the name to your silverligt control like for Button you can give name as : btnmySilverligtButton
(b)Adding event handlers to Silverlight controls:Here you can give the event handlers like for click etc.
(c)Testing Silverlight applications in Visual Studio:Now just press F5 and test your application (More...)

What happened when I press F5 within Visual Studio to run Silverlight application?

  
When you run the Silverlight application within Visual Studio, a new folder created in the web-site project for silverlight solution and it happened only first time. The folder name is ClientBin and having package with XAP extension which contains compiled project. (More...)

Can you elaborate how to start a silverlight application with Visual Studio?

  
Answer :: 1.Click on Start button
2 Go to programms
3. Go to vs 2008
4 .Open the file
New --> New Project
5. see left templates Then select Silverlight
6. Right display Silverlight applications
7. Your select Usercontrol OR Business applications
8. after click ok
9. Then display Silverlight Project (More...)

What is the difference among Errors, Warnings and Messages which Visual Studio shows?

  
Errors are fatal error, which for, the ASP.Net page code is not getting converted to the MSIL code.

Warnings are non-fatal error which do not oppose ASP.Net page code to be converted to the MSIL, but if these warnings
could be resolved, then it would be perfect and Visual Studio can co-operate to resolve these warnings.

Messages are the text/string messages which IIS generates, at the time of page building which programmer can include in the page. (More...)

Can I easily rename a solution or project?

  
Yes-right-click from the Solution Explorer and choose Rename.You'll also have to edit the namespace declarations in any source code files you've created. (More...)

Where is image data loaded into ImageList controls actually stored in the project?

  
Each form has an associated resource file (with a .resx extension) where image data and localized strings are stored.You can see this by clicking the Show All Files icon in the Solution Explorer. (More...)

How can I switch to Expression Blend from Visual Studio?

  
Expression blend provide great extensibility for XAML files.To switch to Expression Blend, right-click on the XAML file and select Open in Expression Blend. (More...)

What are the steps you need to follow to use jQuery in ASP.Net project?

  
It's really simple. One just need to add reference of javascript file(.js). Go to Jquery.com and download the latest version of jQuery. When download is completed, there is a "jQuery-1.3.2.js" in the folder. Include this file




and you good to go now for JQuery.

Note : 1.3.2 denotes the library version.. It can be vary depending upon the version of Jquery you download. (More...)

Why is it not a good idea to insert code into InitializeComponent method when working with Visual Studio?

  
The designer will likely throw it away; most of the code inside InitializeComponent is auto-generated. (More...)

In a survey it was calculated that 75 men could complete a piece of work in 20 days. When work was scheduled to commence, it was found necessary to send 25 men to another project. How much longer will it take to complete the work?

  
30 days.

Explanation:

Before:
One day work = 1 / 20
One man's one day work = 1 / ( 20 * 75)

Now:
No. Of workers = 50
One day work = 50 * 1 / ( 20 * 75)
The total no. of days required to complete the work = (75 * 20) / 50 = 30 (More...)

Which file sets the environment variables for Visual Studio?

  
The vsvars32.bat sets the environment variables for Visual Studio. You can find it from %Microsoft Visual Studio 2008\Common7\Tools\vsvars32.bat.

When you start the Visual Studio 2008 command prompt it automatically runs vsvars32.bat. (More...)

difference between backup file and .stp file in sharepoint site

  
A backup file is more like a DB snapshot (if you are talking about the backup operation of STSADM)

You can save a site with our without content as template and can create other sites based upon that site template. For that first you have to save your site as a template which will be saved with extension .STP, OOB there is limitation of 10MB in size but u can increase the size upto 2 GB using STSADM command. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend