using RFID reader in a asp site [closed] - c#

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I have create a web site and I need to read data which is created by rfid reader.
this device has some dll which can be use in windows application.
I want to know that is there any way to use those dll in my site in order that I read data from RFID reader? if not is there any way to use that device in web site?

Reading dll's on a clients machine is seen as big security risk and there is not really allowed. It is possible to use ActiveX controls (basically dll's compiled into cab files) which the user can then enable and download, this then will allow you to talk to the ActiveX control which talks to the dll's, which talks to the RFID.
I would rather suggest you use something like Silverlight with out of browser mode, which you can run on the client machine with elevated privilages, then you can talk to com object.
A much better way to go.

ASP.NET application is Server side application with specific security restrictions applied.
So basically, as the question is very generic so my answer too: you can do it, it's enough to be sure that your architecture fits yuor ASP.NET security/permission requirements.
Cause I immagine DLL is kind of COM component where you push signals and read alphanumeric characters specifying your RFID (passive or active) identifier.
Regards.

Related

Developing .Net app and embed in CD [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have an application (Stand alone app) , that basically reads & writes data with UI . And i have to embed it in CD and make it auto-run.
But i have few confusions , needs your help for the same
Whether to choose Windows or web application of .Net?
Which Data Storage mechanism is preferable ?
How to handle the DB part , since app will be CD how to write the data.
Thanks
You can't run a web application from a CD. You probably want to use a Windows application.
You seem to be assuming a database, so I'd guess your storage mechanism is to use a database. Look at the data you need to store and how you need to use it, and make a decision based on that.
You can't write to a CD. You need to either write to a known location (say, the AppData folder) or ask the user to specify one in your application.
Also worth noting: you can't auto-run an application any more (since Windows 7, and I believe back-ported to Vista). The best you can do is have the auto-run dialogue include an option to run your application.

.net 2.0 winform control in asp.net [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I want to use .net winform control in asp.net.I wrote the control and displays in asp.net.Is it necessary I have to create a package and deploy in client machine? or since .net framework available in client machine without package it will work.
While this is possible, by hosting a UserControl as Active-X - I generally don't recommend it for a variety of reasons:
It's basically an Active-X control. There have been a lot of security concerns around this technology.
It will only work in Internet Explorer. Internet Explorer has been hemorrhaging market share over the past few years.
Generally it's possible to achieve what you want using JavaScript + HTML. What specific example can you think of where current web standards cannot solve it?
You can learn more about using a WinForm UserControl as an Active-X object here.
In reality, you are better off using browser-based technologies, such as HTML, JavaScript, SVG, etc. If that isn't good enough - then alternative technologies like Silverlight are a much better choice. It's cross-platform, more modern, and designed to run in the browser.
This blog explains how to do it, especially how to package the dll and deploy it (using gacutil).
And, obviously, you will have to have the .net framework on the client computer.
However, in the 2010's I'd would highly suggest you to use more manageable tools, like SilverLigth, Flash, or event Html + Javascript (jQuery is your friend)
You can not do what you are wanting to do. WinForms controls have no way to render as HTML.
You can't use a WinForms control in ASP.Net.
ASP.Net controls render to html on a webpage. WinForms controls run in a message loop on the client machine.

C# .NET communicate between computers over network [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
How should I go about making an application with C# and .NET where, say, on one computer a button is pressed that triggers an event on the other?
I saw this:
Recommended way to communicate between processes running on different computers on the same network
I've never heard of WCF, is that what I should try?
You're question is way to broad however I can give you a brief overview of how WCF (and most client/server apps) work.
You create a WCF service and then you reference the WCF service (in VS right click references then add service reference) inside your client application. The click in the client application will send a message to the WCF service that will deal with that message.
As mentioned the getting started guides are pretty decent. The WCF Test Client is a great debugging tool as well. If you open the Visual Studio command prompt and type wcftestclient, it will pop up.
Here are some articles that might be helpful:
http://msdn.microsoft.com/en-us/netframework/aa663324.aspx
http://msdn.microsoft.com/en-us/library/dd936243.aspx
http://msdn.microsoft.com/en-us/library/aa751792.aspx
http://blogs.msdn.com/b/tess/archive/2009/01/09/net-hang-my-application-hangs-after-i-called-my-wcf-service-a-couple-of-times.aspx
http://blogs.msdn.com/b/wenlong/archive/2009/07/26/wcf-4-higher-default-throttling-settings-for-wcf-services.aspx
http://merill.net/2008/10/wcf-performance-optimization-tips/
Yes, I would use WCF, because I know it's pretty easy to get a simple project running with WCF, and that will give you confidence to build on it. (Having said that, I dont have much experience with any other networking technologies.)
Start with this Getting Started tutorial.
Then if you have more specific questions, ask them.

Writing digital signage player in webgl? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
we are in the process of determining what would be the best technology to write our signage player . Although we are a C# house with some experience in Java, all the talk has been about Java and Mono. Also the platform we are going to build on would be a linux box.
The player has to be very intelligent and support scheduling, content change triggers by external applications (by web services), time synchronization of content, content show in different portions of the screen, video/live streamed feed etc.
We will also need to create a designer to allow the design team to create webgl content.
There is some OpenGl experience in the company so we could leverage this.
Would this be a good choice?
JD
That would be an excellent choice IF and only IF you have a good grasp on Javascript or your timeline isn't too tight in case you don't dominate Javascript. If going on a linux box, chances are you're better off with a custom build of Firefox or Chromium running your app alone without the browser parts (menus, tabs, etc).
My team here is working with HTML5+Javascript+Canvas/WebGL on the client side almost exclusively now because it is very fast to develop and needs almost no setup.

Editing Website and Viewing Orders [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
This'll be my second time doing a CMS and Inventory Management app for my client. This particular client wants it all to be online. Instead of a desktop app, like I did with my previous client. Which is fine I guess, however I'm a little concerned about the security stuff... What if it gets hacked? He basically wants to be able to manage, view, create new and edit existing orders via his website from an "Admin" type interface after he logs in as an Admin, so obviously I'm going to need Roles.
But is this common or normal practice? The website isn't an intranet, or hosted locally, it's remotely hosted.
Yes, its very normal all of my websites have admin interfaces that allow access to just about everything with the proper credentials.
A word of caution however: If you are not sure what you are doing, I'd be very careful about accepting/storing credit cards or other sensitive information(SSN's medical data etc) . Its easy to screw up, and if that stuff get hacked, you may have some serious legal problems to deal with. Consider hiring someone with the right experience to help with security.
Everything you listed is normal to a Web application, whether it's hosted locally or on an intranet, or hosted remotely.
What you need is probably already implemented in other online CMSs (see Orchard CMS), but if you want to roll your own CMS, it's very easy to use ASP.NET MVC; it also has easy integration with Forms Authentication for ASP.NET.

Categories