Database connectivity ASP.net? [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 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!

Related

The whole idea behind one 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 10 years ago.
What is the whole idea behind One Asp? Is it something like we will be able to develop applications for all asp.net framework without any target framework oriented development using VS IDE. How it can change the usage of ASP.NET in the future?
.Net is a framework. means simply it is a collection of large library to solve different programming needs when a programmer wants to write a software. A library is not of books but of small different collection of code . ASP.net is a .net framework. means one who knows ASP programming then ASP.NET is an extention of ASP in .net framework.
It is mainly used for:
Improved Performance and Scalability
Enhanced Reliability
Easy Deployment
New Application Models
Developer Productivity

need to learning asp.net web services, where to start? [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 am back to the job market next month. I am looking for an asp.net developer job. my current job does not use web service at all. last time, I am using it was 6,7 yrs ago.
If I need to pick it up, where to start. I searched on amazon.com, those .net web service books are really old, they were written in 2002. Does that mean web service is outdated, no one using it? is there a newer tech to replace it?
I did see a few newer books, but they are RESTful web service, whats the difference between web servie and RESTful web service.
please let me know what you are currently using and where should I start learning.
I learned web services by just tinkering around and looking at code examples.
Here are a few resources to get you started. If you have more questions, feel free. :)
http://msdn.microsoft.com/en-us/library/ms972326.aspx
http://www.asp.net/web-forms/tutorials/aspnet-ajax/understanding-asp-net-ajax-web-services
http://www.codeproject.com/Articles/1231/ASP-NET-Web-Service
http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-and-call-a-simple-web-service-in-aspnet
WCF is the successor to web services. WCF contains a lot of bindings they are ways how you bind clients and server. You can use BasicHttpBinding if you need compatibility with clients that used ASP.NET Web services (ASMX-based services).
And now about books. I have found Programming WCF Services very useful. But it doesn't contain full information about security.

Connecting DB using `HTML5` is possible? [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.
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

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/

What is the architecture of BlogEngine.net extension manager? [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 was just wondering that what is the architecture of blogengine.net extension manager ?
How it loads the extension dynamically, how can I use same kind of functionality in my web applications ? so that every time i just create one class and corresponding page then just plug into the website.
Moreover I am interested to know the architecture as I didnt find any article or tutorial on it.
Any help would be appreciable.
You can see for yourself the code is on codeplex
You can read about what it is and how it works in the wiki docs.
Blogengine uses reflection to find and instantiate types attributed as "extension" and extensions itself use event listeners to communicate with core library. Extension manager is basically API and admin front-end for all extensions running on the blog.
Maybe the Plugin Pattern, have a look here how this works..

Resources