The browser requests a page from the server when the server has finished processing and sending the page, it has no further connection with the browser until the next request. In ASP.NET Web applications, the components are inherently disconnected from each other. ASP.NET Web applications in particular need to be easily scalable, because traffic to a Web site can go up by orders of magnitude in a very short period. An application that does not scale up well might perform acceptably with four users but will likely not do so with hundreds. Similarly, applications that require an open database connection are extremely difficult to scale up. The overhead of maintaining these connections detracts from overall application performance. In most cases, databases can maintain only a small number of concurrent connections. Dit is fout om verscheidene redenen Open database connections take up valuable system resources. NET Framewordk./ ADO.NET geeft geen continu open verbinding meer nodig met de database In de traditionele client/server toepassingen maken clients een verbinding met de server en houden die verbinding open zolang de applicatie draait. Je habt toegang tot die klassen via de System.Daytta Namespace in het. NET applicaties toelaat gegevens in een data source te lezen en aan te passen. NET Data ProvidersĬonnecteren met een database : Connection Uitvoeren van SQL Query : Command Lezen van data : De DataReader De DataAdapter De DataSet ADO.NET is een verzameling van klassen dat. 1 Addendum – ADO.NET ADO.NET : het object model.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |