001
001

Reputation: 65205

Silverlight in asp.net?

If I need to build a silverlight application and have it work under my asp.net application!

Does that mean I have to create two different vs projects?

One for silverlight the other my asp.net application? Or I can have one in 1? What do I do?

Sorry if this is a silly question..

Thanks

Upvotes: 0

Views: 171

Answers (3)

Matt Greer
Matt Greer

Reputation: 62057

Yes, you need a separate project for the Silverlight app. At least in VS2010, you can go to ASP.NET's project's properties, Silverlight Applications tab, and select "Add..." to add a Silverlight project with all the plumbing hooked up.

Upvotes: 2

Chazmanian
Chazmanian

Reputation: 221

You will need to create a separate project for the Silverlight code. But, you will be able to incorporate that application into an existing ASP.Net project. You will want them both in the same solution, of course.

In the project properties of the Silverlight project there is an option to choose the ASP.Net project to incorporate the Silverlight app into. That's why you want them in the same solution.

Upvotes: 2

TrustyCoder
TrustyCoder

Reputation: 4799

the silverlight app is technically a class library project. So a separate project would be required.

Upvotes: 0

Related Questions