How to develop asp.net mobile application? - asp.net

how to develop asp.net mobile application? what steps I have to be follow from the beginning. Is there any template provided by Microsoft for visual studio 2008 ? I want to develop this using c# + asp.net in mobile environment.

I think you should look Mobile Web App toolkit. If you use MVC you can make 1 project. I recommend you donĀ“t use mobile controls, they are deprecated.

Related

Using Microsoft.AspNetCore.SpaServices equivalent with ASP.NET WebForms project

I'm currently using the Microsoft.AspNetCore.SpaServices library in an ASP.NET Core app to mix React and ASP.NET seamlessly, using Webpack and HMR. Is there an equivalent for the classic .NET Framework? I'd love to start introducing React in a legacy ASP.NET Webforms app without relying on Visual Studio Extensions to re-build the react app on save, and enabling HMR.
As far as I know there is not. However, according to this issue, you should be able to use SpaServices in an ASP.NET Core project targeting .NET Framework.

Asp.Net MVC 4 with Blend for Visual Studio 2012?

I haven't seen so far, but can you use Blend to create (shared) layouts in asp.net mvc 4?
Unfortunately the only HTML you can do in Blend is for building Windows Store apps. Though HTML is HTML in whatever context you use it and it should be theoretically possible to design an HTML site in Blend, it's not build for that. ASP.Net can't be used.
I admit Blend would be an awesome tool for designing regular web applications. and I personally hope there will be support for that in the future.

integrate WPF with ASP.NET

Is it possible i can use WPF in ASP.NET application. if so, how can i create an ASP.NET web site with WPF.
Thisng is, i have created a website through visual studio. Then i was trying to add a web page as WPF. But i couldnt. I am very new to WPF. Please help me. Is it WPF is only for winform application? We could not add WPF in web forms?
Regards
WPF (Windows Presentation Framework) is primarily a desktop technology. It is possible to embed a WPF application inside a web page as a XBAP (XAML Based APlication) but that is different than creating pages with WPF.
Silverlight is the framework to chose if you want to build a Rich Internet Application. Is has better integration with the pages that it is embedded on as well as any Javascript on that page.
Both WPF and Silverlight use XAML and a common set of controls so Silverlight should be somewhat familiar.
WPF can be placed inside an ASP.NET page (or any other web technology) with the browser's WPF Plugin (or ActiveX for Internet Explorer), called XBAP.
But WPF is a large set of components and need the .NET Framework installed on the user machine to work. In other words, the plugin just place the WPF content on that position and calls the .NET Framework to load there.
The closest approach is to use Silverlight, wich is a small subset of WPF components, fully based on browser's plugin (like Flash does). It has less "things" than the full WPF API, but is very good for most uses.
Resuming, Silverlight needs the plugin installed on the users' browser (like Flash needs). And WPF needs both the plugin and also the .NET Framework installed on the users' machine.
Worth mentioning that silverlight RIA will run in IE and firefox (safari etc) on a Windows box and in linux with Moonlight if its compiled to Silverlight 2.0 or earlier (but not yet if its compiled to Silverlight 3 or later).
WPF XBAPS will only run in IE on Windows box.

silverlight for VS-2008(SP-1)

i have installed silverlight 4,but in VS-2008(SP-1) it doesnt show option for creating silverlight project.does VS-2008(SP-1) supports silverlight 4? or which version of silverlight
should i use?
thanks.
No, Microsoft did not add support for Silverlight 4 in VS2008, that was moved to VS2010 instead.
You can use Silverlight 2 only. I've seen some tries to include SL3 but there were some problems.

How to create a mobile version of an ASP.NET web site?

I have a website created using asp and I want to make it accessible to mobile phones, such that a user can use it through his/her cell phone.
I don't have any knowledge of XML or .NET.
How can I do this?
ASP.NET Mobile Web Pages says
"The Microsoft Visual Studio integrated
development environment (IDE) enables
you to easily build ASP.NET
applications that include mobile Web
pages. You can include mobile Web
pages in any ASP.NET Web site
alongside ASP.NET Web pages. In Visual
Studio, you can work with the adaptive
rendering, customization, and
extensibility features of ASP.NET
mobile controls, using the standard
IDE design tools: the page designer,
the Toolbox, the debugger, Source
view, Design view, and more."
Getting Started with ASP.NET Mobile Pages
Some other useful tutorials:
Mobile Web Development with ASP.NET 2.0
Building Mobile Web Applications with .NET Mobile Web SDK & ASP.NET
Introduction to ASP.NET Mobile
Back in the day you would have needed XML to create WAP sites, but no more. Almost all smartphones have reasonably good built in HTML browsers, with standards compliant support for JavaScript and CSS.
I would suggest making a start here:
http://www.asp.net/mobile/

Resources