fingerprint on asp.net - c#

I am trying to do this goal, but I need some alternatives to got it.
I want to read a fingerprint using asp.net,silverlight, actionscript, i need get the finger and display the capture in the window.
I do it in C# with griaule biometrics SDK 2009, only can be possible using a java applet. I dont know if mix java + asp.net can be a good alternative. if yes, how can I to pass the value from asp.net to java applet?
I need some alternatives to do it.
many thanks.

Have you tried using Silverlight?
If you have it working in a regular C# app, it might be possible to get it working in the browser via Silverlight. Then you can display it in that SL app or send it to the server via a web service.

Related

how to integrate web cam in aspx page using c#?

My requirement is to integrate a web camera in aspx page and i need to capure a picture for the customers and insert in the database. I have tried with flash player,Aforge dll and silverlight. Can anyone suggest me an easy way to integrate web camera in aspx page. I have been trying this for a long time now.
DirectShow.Net is really your best option to achieve this functionality. C# and the .Net framework do not provide really any support or API's for webcam access.
http://directshownet.sourceforge.net/about.html
You can you silverlight to detect any USB camera attached your system.
In silverlight there are predefined classes for detecting removable devices attached to the system if you want i can give you the working code .. and steps to do this functionality
U need to use Model PopUp Extender of asp and for that model popup set the source to the Silverlight Page which capture the image and u will need to write the web service which will take the captured image and convert it to the byte array and then it store that Image in the DB these are the steps u will need to do. If u want i can help u with all kind of source code help u will need just try it and tell me if u are ok with this..

How to get facebook access token in winforms

I'm new to the facebook c# sdk, and I'm trying to create a program that will post to a page's timeline.
I have been trying to follow this, however I'm having difficulty understanding the second code snippet since it makes use of the Request class, in asp.net. I can't find a way to translate this into WinForms.
(I did have to change the FacebookAPI to FacebookClient)
How can I achieve the same effect, of redirecting to facebook and receive the code to get an access token?
There is a specific Winforms sample for the facebook SDK available here: Facebook Sample using Facebook C# SDK with WinForms
This sample demonstrates the use of Facebook C# SDK v6 as a WinForms
sample.
Note: This sample does not necessarily demonstrate the best use but
rather features of using Facebook C# SDK on a desktop app. It is
always recommended to use asynchronous (XAsync or XTaskAsync) methods
rather then the synchronous methods. XTaskAsync methods are preferred
over XAsync methods.
If you're just posting to your own page's timeline, the easiest way is probably a PowerShell script using the New-FBPost cmdlet: http://facebookpsmodule.codeplex.com

What engine to use for creating .net 2 c# application based on HTML layout?

I'm browsing the net now for days, but still couldn't find what I'm looking for. Basically I'd like to develop my application interface, the GUI using HTML and CSS, with of course keeping the events, and the chance to modify parts of the layout at runtime (like a content of a div). The application is a database manager displaying visually the datas, and updating them at runtime.
IE aka using System.Windows.Forms.WebBrowser, this is what I try to avoid, it depends on the client system, stops at version 7, hard to link with the application
HTMLayout - http://www.terrainformatica.com/htmlayout/ : seems interesting, but the .net c# part, the nabu-library is dead
Sciter - http://www.terrainformatica.com/sciter/ : from the same group as HTMLayout, but couldn't really understand the integration, and I'm not sure if this is what I want - also couldn't find .net c# infos
Awesomium - http://awesomium.com/ : which really seems nice at first, but it needs .net 4 , and we have to stay at .net 2 - also it seems too much to handle, to use, and .net wiki is a little weak: http://wiki.awesomium.net/
and finally Gecko http://code.google.com/p/geckofx/ and Webkit http://code.google.com/p/open-webkit-sharp/ - but currently I'm not sure that they can be used to render the whole application, they just seem to be a WebBrowser with another engine.
Did I miss something?
Sciter integration principles are outlined here and here.
Sciter and HTMLayout both use the same integration principles and API architecture.
As of .NET wrapper, check these projects:
https://github.com/midiway/SciterSharp
https://code.google.com/p/expemerent/
Not sure if this fits your requirements but I currently use Webkit.NET http://webkitdotnet.sourceforge.net/
Essentially I use its Webkit Browser Control for the interface, store the HTML/CSS markup as variables and then I use C# to perform server-side logic, then output the results to the Browser Control (C# in this case acting in place of PHP since I am not including a portable web server with my application).
I did want to update it to achieve some newer functionality/standards so this article was most helpful.
http://peterdn.com/post/(First!)-Using-WebKit-nightly-builds-with-WebKit-NET.aspx

HTML/CSS/JS in desktop applications

I've read about XSS vulnerability in desktop applications like Skype and ICQ.
I wonder why they choose to use html in this kind of applications that can also be written without any html. Is there a simple reason?
Does someone know if Skype uses html on pages like "Skype Home" only or is the whole GUI written in html?
I'm asking because I'm writing a web application that runs within the browser and will be ported to mobile and desktop platforms once finished. You can compare it to instant messengers but it's something different in fact.
I thought about using PhoneGap to simply "copy" the project to mobile platforms and using system functions via the PhoneGap API. But I think it may be slow and/or not good-looking. Also it wouldn't look native, the question then is whether too use our own html GUI on all platforms (so it looks the same everywhere) or to adapt the design concepts of each platform (using native controls in native languages or e.g. Titanium (which is unfortunately too expensive)).
But I never thought about using HTML in desktop applications. How do you embed that anyway? I'm using C#. Using WebBrowser form element or using some kind of web browser rendering engine?
To answer the initial question (in your 1st paragraph):
I assume they chose to wrote it using HTML as a way to make it cross-platform more easily.
You can't make desktop applications using purely HTML/CSS/JS and have them looking native. However you can use Sencha Touch to make your Phonegap applications look native (to an extent).
Mozilla Prism was written with this idea in mind: http://prism.mozillalabs.com/
Have you tried Appcelerator Titanium Desktop/Mobile. They have a similar idea there - http://www.appcelerator.com/
Thanks.
You can use the WebBrowser control to basically host an internet explorer session in your windows application. This is platform specific, but there is a commercial version which is available for some smartphones: http://en.wikipedia.org/wiki/Mono_(software)#MonoTouch_and_Mono_for_Android.
You can make an HTML5 application which will give you a lot of the benefits of a fat client while maximizing portability with smartphones. You can still have the user save the application to the desktop: http://miniapps.co.uk/installation/. But, that's clunky and, like the desbest said, it will run in a web browser. If you want to maximize the customization, then it looks like PhoneGap is an choice worth taking a look at to me as well.

Implementing Google maps in mobile

How to show google maps in mobile application using .net2.0
A very simple approach is to use the Google Maps Static API, a HttpWebRequest and Image.Save to download an image of the map, e.g. "http://maps.google.com/staticmap?zoom=14&size=512x512&mapt
ype=mobile&markers=40.714728,-73.998672&key=YOUR-GOOGLE-MAPS-API-KEY" which can be shown in a PictureBox.
Regards,
tamberg
Late to the party, but you might find this helpful as well:
http://www.koushikdutta.com/2008/07/virtual-earth-and-google-maps-tiled-map.html
Should give you a bit more flexibility (zooming, moving around, etc... ) than the static maps API.
Do the maps absolutly have to be from Google? I was writing an application that made use of Live Maps to display maps on a Compact Framework application. When I wrote the app I used the 3.5 framework though, so I am not sure whether or not this will fit your needs.
http://www.codeproject.com/KB/mobile/WiMoWifiPosition.aspx
There is various controls available to integrate Google Maps into an ASP.net website. Since the Sockets and Net libraries are available on Windows Mobile, you could possibly integrate using the Google Maps API, however will have to build your own controls to display the maps. The API can be found here.

Categories