Connecting DB using `HTML5` is possible? [closed] - asp.net

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.
Is it possible to connect to a DATABASE which is in WEBSERVER through HTML5 only without using ASP.NET, JSP etc.

Html5 is a browser display language. It has no inherent methods or capabilities to connect to server side technology. You will always need a server side technology to connect to a database, even when using AJAX through a service. When you think about it, isn't this how you should want it? Would you really WANT to have a client connect directly to your database for any reason? You'd be exposing authentication information and allowing direct public access to your data store. Not terribly sensible.

The short answer is "No".
The slightly longer answer is "Maybe, it depends". e.g. If your database is CouchDB, then it is possible to host HTML documents directly on it (as an attachment to a regular CouchDB document). These can include JavaScript which can hold your application logic.

There is a specification called Web Sql Html 5, which is a variant of SQL. Unfortunately, this specification is stopped. You can see more details on these links.
Web SQL Database
HTML 5 Web SQL Database
Introducing Web SQL Database

Related

How to get an ASP.Net webapp to send data to a .Net desktop application and back [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 9 years ago.
I am building a web application, where a function is needed where i could make the web app send a specific stream of data to the desktop application, which is running on the web server where the website is also running on.
In example: you push a button, a certain code (probably an integer/string code) gets sent to the desktop app which then does something.
Why it's needed/wanted: we currently use this desktop application to quickly launch specific gameservers, without having to fiddle around with a million different shortcuts to each server, for each different configuration.
Now we'd like to have a web application to work as a "middle man" so certain people could start gameservers without having to connect to the server through RDP.
Extra info: the desktop app is currently written in VB.Net, but rewriting it in C#.Net shouldn't be a big problem, if it's needed.
Does anyone of you guys know of any good tutorials or techniques to do this, or have a better solution for my needs?
How about setting up some code in your Web app to write data to a DB. You could then have your desktop app poll the database using a backgroundworker. If it finds new records then it can continue processing.

Database connectivity 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 9 years ago.
I've googled this question repeatedly, but have not found a great answer anywhere. I'm sure someone familiar with ASP.net could answer this pretty easily. What is the best way to connect to a database through ASP.net? LINQ to SQL? Entity framework? I'm not able to find an overview of the different methods to connect or of the place that these technologies have in ASP.net. An explanation or a pointer to a great link would be appreciated. Thanks.
This is, unfortunately, a question without a clear cut answer as it depends on your application need, flavor of database you need to interact with, standards currently in place at your target deployment environment and application design considerations.
Most often relational database access is accomplished in asp.net through either direct or indirect usage of ado.net. If you plan on adhering to common, current practice you should look into using an ORM to speed development time, namely either Entity Framework or NHibernate. (Linq to SQL was great for SQL Server but has been eclipsed by EF.). My preference is NH.
Sorry for the somewhat subjective answer, but this is unintentionally a subjective question.
Good luck!

How to write ASP.NET script to connect to SQL Server [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'm new to ASP.NET, as subject, how to use asp.net to connection SQL Server...
How to remote connect "localhost\Instancename", for example connect 192.168.0.2/sqlserver2
You don't use ASP.NET to connect to a database directly. ASP is used to call backend function written in other languages like C#/VB.NET etc. which will fetch data and populate controls in the UI. e.g, You click a button. ASP will transform this click to a C# event (assuming that backend is in C#). The C# event handler will fetch data from DB and dump it into an ASP.NET table that you have on the UI (or wherever you want).
I think this will be a good place to start: http://www.asp.net/data-access/tutorials . It has everything you need, both in VB and in C#.

How to develop a web application in alfresco? [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 installed alfresco community edition and want to develop a web application having database connectivity.
I have developed that application using jsp, servlets but want to develop the same application in alfresco.
Can anybody help where to start?
I have written a series of tutorials for people new to the Alfresco platform. I humbly submit those as a good place to start. There are also a number of books available on Alfresco.
It is a little hard to tell what you are trying to do from your brief description, but if you are trying to perform CRUD operations against the repository, I strongly suggest that you start with the Content Management Interoperability Services (CMIS) standard because that gives you a vendor-neutral, language independent way to talk to Alfresco or any other CMIS-compliant repository. My tutorials cover CMIS. You also might be interested in OpenCMIS, which includes a CMIS client API for Java.
That should get you started.
One of the more documented ways is to use Alfresco Web Services Client (I am using alfresco-web-service-client-3.4.d). Its a SOAP client generated from the WSDL provided by Alfreco.
There are good examples on the web. Google for Alfresco+Web+Services+Ingres.
If you have developed the application, then it will definitely help you know the flow and understanding of the application.
You need to play around with alfresco, check their website: http://www.alfresco.com/

Scanning Through an ASP.NET Page [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.
Can you scan directly from an asp.net page or even an embedded Silverlight object?
Silverlight doesn't have access to local devices like scanners. ASP.NET pages run in the web browser, so they also don't have access to scanners.
What are you trying to accomplish?
If user can use the 'Windows Fax and Scan' utility to scan the document and save it in the local hard disk, You may use Silverlight OpenFileDialog and read the document and save it on the server.
I've done exactly this in a few company website applications that I've worked on.
You have to use an ActiveX control to gain access from the client's browser to the configured TWAIN scanner on the machine. Once you have access you can then initiate the scanner via a webpage button, scan the document and use the newly delivered image object within your website code.
I'd recommend looking at an already developed activex component library to do this for you. An example being http://dynamic-web-twain.smartcode.com/info.html
The downside of this approach is obviously ActiveX only works with IE and requires the user to trust your website. If your user base is a trusted company or are internally based then this should not be a problem.

Resources