Create a Mobile Web User Control - mobile

I am making mobile web pages to be accessed by smartphones and such.
I do not see either Mobile Web Form, or Mobile Web User Control in the list of installed templates in Visual Studio.
I probably need some mobile toolkit or something like that, but I can never find what I am looking for on MSDN. Anyone know what I need to do?

Try downloading the Mobile Web Application Template for Visual Studio.
Source: http://geekswithblogs.net/ranganh/archive/2008/04/01/mobile-web-forms-in-visual-studio-2008.aspx

Related

What if we don't host our silverlight Application when we first Create it?

As we all know very well..
whenever we create application inside silverlight it is asking us for hosting it
by dialogue box at given below.
My question is what if i unchecked the check box[Host the silverlight application in a new web site].
Means what kind of problem we have to face later if I don't host our Silverlight Application in any of the option given by dialogue box.
Basically it is not a problem at all. You can add a website at any time later.
In the project settings of a website there is a Silverlight tab. Under that you will find the option to add Silverlight projects to the website. This will setup the links to generate the XAP in ClientBin as well as giving you the option to create test pages for each Silverlight app added. The test pages will give you the sample JS you need to host your Xap later.
You will have to eventually host your application somewhere otherwise it will stay on your local harddrive and hardly reach any clients. So if you have an existing web site you could simply copy-paste the necessary javascript to this site later in order to embed your Silverlight application. In this case you can uncheck this checkbox.

WP7 - How to embed my xap in a webpage

I have made a Windows Phone 7 app and I would like to embed it in a webpage.
I found two examples to help explain what I want to do:
http://www.lifewaresolutions.com/deluxe_moon_demo_wp7.html
http://help.arcgis.com/en/arcgismobile/10.0/apis/WindowsPhone/samples/start.htm
I have looked at the page sources for both of these websites and have tried to mimic what they have down, but the farthest I have gotten is a webpage with a silverlight app in the middle, but my app doesn't start.
I am not that familiar with web development, but if someone could help me create a simple html page with my wp7 app embedded in it, that would be great.
The Silverlight desktop computer plugin can't execute Windows Phone Silverlight apps.
The two example websites embed a "classic" Silverlight app within a fake Windows Phone chrome.
So basically what you can do to have something similar is:
Create a new Silverlight 4 "classic" project
Implement your app (you can share code between the new project and your existing WP7 code)
Retemplate the controls to make them look like the Windows Phone ones
Embed the app within a WP7 chrome on a website

communication between silverlight plugin and mvc project without using WCF

I just need a help regarding the communication between the silverlight plugin which uses webcam and gives response to the mvc application.I just need the breakpoints to be hitted on the silverlight project run mode that are not hitting for the moment.
Any help will be highly appreciated..
On Solution Explorer of Visual Studio right click on your web project and select Properties. Go to the Web tab. In the bottom under Debuggers check Silverlight checkbox. After that you can debug your Silverlight application.

Screen scraping silverlight browser application info

I'm registered to a site which uses a silverlight application that shows some personal information.
My goal is to be able to read some data from the silverlight application.
Is it possible?
I know that this could be done to a regular web page using curl.
but, what about silverlight application?
Does it store the information to a file or something like that?
Thanks
You can use White, a tool for automating windows applications, to get information out of a running Silverlight application. White is mainly used to perform functional testing of applications, but it should allow you to extract information from the application as well.
Look here for an example of White and Silverlight: http://www.codeplex.com/wikipage?ProjectName=white

TestPage.aspx in silverlight

I am a beginner in silverlight. I want to know what is TestPage.aspx and TestPage.html in silverlight. Actually i have google it but din't get enough information. Can any one give me answer??
TestPage.aspx and TestPage.html are the pages which will host your Silverlight content. As you might know, Silverlight is just a project (not a web application) and needs a page that can host it.
These pages are created by default and help you to test your XAML content during your development, which you can later remove from your project.
TestPage.html is dynamically generated by the Silverlight application as part of the Debug process. If you take a look at the Debug tab for the application properties you will see an option to Dynamically generate a test page. If this is selected then you TestPage.html is created in the /Bin/Debug folder of your Silverlight application.
A better solution is to create a web application in the same solution as your Silverlight application then in the properties for the web application go to the Silverlight Applications tab and add your existing Silverlight app to the web project. Also make sure that the Silverlight checkbox is ticked in the Debuggers section of the Web tab of your web application.

Resources