.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 >> Silverlight >> Post New Question Subscribe to Interview Questions

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

Posted By :Sasi Prabhu     Posted Date :November 30, 2011    Points :40   Category :Silverlight 
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

You can also find related Interview Question to Can you elaborate how to start a silverlight application with Visual Studio?  below: 

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...)

What is the best place to start Silverlight application?

  
There is no hard and fast rule to start Silverlight application. Every developer can start as per his/her experience.
like as per my case I always prefer Visual Studio. SO, in my view Visual Studio is the best place to start with Silverlight2 applications.Microsoft provides
templates for creating Silverlight applications and libraries in C#
and Visual Basic. (More...)

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...)

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

  
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. (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...)

Can I add more than one .xaml pages in silverlight application?

  
Yes, you can have multiple .xaml files in a single project.

In the App.xaml, in the method Application_Startup you can choose, which page you want to

initially display. (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...)

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...)

Is there a way to generate more then on .xap file from a same silverlight application.

  
Since for each .xap file we have to create a new silverlight application.
(More...)

How to change the default page of a Silverlight application?

  
In a simple way we can set the default page, what we have to do is to change the default page of a silverlight application, we have to set the RootVisual property inside the Application_Startup event of the App.xaml file.


private void Application_Startup(object sender, StartupEventArgs e)
{
this.RootVisual = new MainPage();
}
(More...)

Can You Explain Integration Between SQL Server 2005 And Visual Studio 2005 ?

  
This intergration provide wider range of development with the help of CLR for database server.Becasue CLR helps developers to get flexibility for developing database applications and also provides language interoperability just like Visual C++, Visual Basic .Net and Visual C# .Net. The CLR helps developers to get the arrays, classes and exception handling available through programming languages such as Visual C++ or Visual C# which is use in stored procedures, functions and triggers for creating database application dynamically and also provide more efficient reuse of code and faster execution of complex tasks. We particularly liked the error-checking powers of the CLR environment, which reduces run-time errors. (More...)

How you will Change application to full screen Mode in SilverLight?

  
Application.Current.Host.Content.IsFullScreen=true; (More...)

Which code snippet determines whether the Silverlight application is running inside browser or OOB?

  
App.GetState()

System.Windows.Application.Current.IsRunningOutOfBrowser

System.AppDomain.CurrentDomain.IsRunningOutOfBrowser

Silverlight.IsRunningOutOfBrowser
(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