Is it possible to combine Air and ASP.Net in one app? - c#

I would love know if i could combine Air, and ASP.Net in one application and what design strategy would suit this type of application. Please.

Not as such. ASP is a sever side technology and AIR doesn't have a server it just hands out static pages which can be interacted with using javascript or flash. You could have AIR call out to a server somewhere which is running ASP.net, that would be fine.

Related

How do I build a mobile(tablet) friendly version of my website?

I created website and it uses fluid layout CSS for most of the parts. I now want to make a tablet friendly look of this website.
This website should be viewable properly on Ipad. That's my only requirement.
How can I do this? Which are the development tools to speed me up for this?
Edit: Many people are give suggestion to use Jquery Mobile. Can I use that with my existing Asp.Net website? Do I need to change my whole existing CSS and also am I restricted to use those Jquery UI buttons only?
2nd and most important question is will this work with Asp.Net Vanilla. Say if I have a gridview on my page. Will Jquery mobile work?
For device friendly website, you should use Asp.net MVC4 and jQuery Mobile. It has great mobile features
First you should read Using HTML5 to Create Mobile Experiences and 50 Responsive web examples
Use the CSS Media Queries. And here is a useful article about ASP.NET MVC4 mobile features.
You can also look into responsive CSS. It uses device width and image scaling and good CSS definitions to scale the site to the device.
You can also use a framework for your responsive design.
e.g. framelessgrid

Is it possible to access functions within a WPF applications using HTML5?

I am still a noob so i really need help please.Is it possible to access functions within a WPF applications using HTML5?
So Basically i have a WPF application running on the same server and it has a print function. I want to add a html layer to this so the function can be executed via the html layer.
HTML5 Websockets And Canvas
With Websockets in HTML5, we are going beyond the unidirectional, stateless http to a full duplex, high speed connection infrastructure between the server and the client. - See more at: http://www.amazedsaint.com/2011/04/wpf-over-web-sockets-how-to-pump-wpf.html#sthash.vNEk0h8M.dpuf
I think i have found some sort of solution to my predicament,
Have a look at this site
HTML5 Websockets And Canvas is what he use and give a good explanation. Hope you guys find it useful

ASP.NET C# Webcam Integration

I'm curious, how do you integrate a webcam with an ASP.NET C# application in a 'live broadcast' type scenario? I have no idea where to start with this but really interested to learn how it works in terms of detection and live streaming. A point in the right direction would be great, thanks.
Nothing to do with ASP.NET MVC really. The camera's on the client, so you need to use client scripting such as Flash or Silverlight to access it. Here's for example a jquery plugin (based on Flash) which allows you to control the camera (once the client authorizes the site to do so).
HTML5 might also be an option one day.

Windows application using Silverlight

I want to develop a windows based application in silverlight. I went through many articles and every where I found that "Silverlight is for web based application". I don't know whether I am wrong or right, as my superiors told me that in Silverlight5 we can develop Windows based application. Can any body help me to give a clue for how to start. Any help would be highly appreciated.
Thanks in advance
If you mean a Windows based application which can connect with internet you go for Out of Browser application which silverlight supports but if you want simple plain desktop application, there is no point in using Silverlight, WPF would be the right choice in that case.
Look at this article for building an out of browser app using Silverlight.
Silverlight specializes in building rich UI based Web applications and WPF is best for making UI rich applications for Desktop.
You can run silverlight apps "Out Of Browser", its just a setting in the config. Here's a video with more info: http://www.silverlight.net/learn/videos/all/out-of-browser-experiences/
silverlight is a web-based technology that runs on the client machine. it is, basically, Microsoft's version of Flash.
Now, that being said, you CAN write silverlight apps that run out of the browser. but, they are not "really" windows apps. silverlight is a sub-set of WPF. However, you can also make WPF apps that run in a browser. Confused yet?
The bottom line is that WPF is for desktop apps and is full-featured with access to the machine resources.
while silverlight is a light-weight version of WPF that is intended to be run in a browser, similar to flash. it does not have all the features of a full desktop application due to security model and that sort of thing.
Both have elements that cross into the domain of the other.
Like all good things, the answer is "it depends on what you're trying to do". If you want an application that can run inside the browser, outside the browser, plus on Windows and Mac then Silverlight is the answer. You also get for free/are restricted by a security sandbox; you can get around this sandbox by requiring additional permissions from the user. If you're trying to do something that requires multiple monitor support, access to COM objects, stroke/pen/stylus input, 3D hardware acceleration, or access to a large local file store then WPF is probably the better answer. Silverlight out of browser applications also have a nice "phone home" feature that will automatically download updates; WPF requires you to roll this by hand.
Some folks have mention XBAPs (running WPF inside of a browser). Stay away from this error prone steaming pile of stuff. It's good for demoware, but is not something which you'd want to support.
You heard right.
This is called "out of browser":
Silverlight-based applications typically run within Web pages, but you can enable users to install them from the Web and run them outside the browser.

How to develop website for mobiles using asp.net(C#)

Is there any tool available for developing mobile websites using asp.net (C#)...
or else any other tool???
The same tools as you develop any other websites in C#: typically, Visual Studio. A mobile website only differs in presentation and in some capabilities (eg: javascript/css may be limited), but functionally it's the same as a "non-mobile" site.
There's no fundamental difference between regular cross-browser development and mobile development. You're still writing the same code, the same markup, etc. You probably need to be more aware of the limitations of the browser than usual, but that doesn't change the tooling or process.
Is there a particular problem you're having that you can't solve?
If you are going to develop a website for mobiles (as opposed to a native app), then the server side language does not matter that much. It's more a matter of the css and client-side framework (if any) you are using.
One option would be to use asp.net mvc on the server side and jQuery Mobile or http://jQtouch.com for the client side. There are also other options, but these are the best I have found for my own use.
As other people have said, if it's a website you're developing then the tools are the same as any non-mobile website.
Another option for the client side is Sencha Touch.
Take a look at Mobile Device Browser File (http://mdbf.codeplex.com/). Actually that particular project is no longer supported, but it used to work quite well. It basically automates a lot of the leg work of identifying the mobile client and rendering the right styles and script. You may be able to find something similar with a bit of searching.

Categories

Resources