|
|
Browse by Tags
All Tags » ASP.Net » C#
Showing page 1 of 4 (40 total posts)
-
Diese Frage stellt sich wohl jeder wenn man Linq-to-SQL in einer Web-Anwendung verwenden möchte. Microsoft sagt dazu folgendes: "A DataContext shoud be use per unit of work". Das heißt soviel wie, man sollte einen DataContext instanzieren für jede Arbeitseinheit die Anfällt, ich denke mal damit ist jeder ...
-
Hier mal in Stichworten ein paar Grundsätze die man beim Entwicklen beachten sollte, wenn Laufzeit-Performance eine Rolle spielt:C# Performance Optimierungen: Lieber wenig große wie viel kleine Assemblys„sealed“-Klassen wann immer möglich bei geerbten Typen mit vielen virtuellen Funktionen. Die virtuellen aufrufe werden ...
-
Earlier today I posted about a Recursive Find Control Extension Method. I was informed recently by Steve Smith that I should check out the generic find control method which Aaron Robson has on his blog. He has some pretty nice methods there, so I just adapted them to be extension methods now. As extension methods the code looks like this. ...
-
So one of the most useful methods for ASP.NET development that never seems to be included in ASP.NET is a recursive find control method. This problem results from the standard FindControl method on controls only searching within that control. It only finds child controls not grandchildren or anything farther down the line. This means that anything ...
-
Al Pascual wrote about some trends he noticed using Google Trend, with regard to different programming languages. It's an interesting tool, since it can be used to gauge general interest in particular keywords and search terms, as well as news, going back about 4 years. For instance, here's a comparison of Visual Basic and C# using ...
-
Vor ein paar Tagen musste ich ein Ajax UpdatePanel.Refresh() per JavaScript auslösen, der Haken daran war es mussten auch noch Zusatzinformationen an den Server übertragen werden.
Die Lösung ist man ruft die JavaScript Funktion "__doPostBack" aus und übergibt als EventTarget die ClientID des UpdatePanel das zu ...
-
I've just started using Web Developer 2008 Express. I've used Visual Studio C# 2003/2005 express a little. Frankly, I'm trying to decide if I should move from Delphi to MS. To make matters a little more difficult for me is that I'm just a guy who has always wanted to be a programmer when he grows up, lol.
1) Can you help me ...
-
Some months ago, ScottGu announced the availability of source code for the ASP.NET providers. This was great news and a great many comments followed. In preparation for a talk I'm giving this week at DevConnections, I went out to grab the source again to be able to show it off during my talk. But no matter where I told it to ...
-
I wrote some quick and dirty ADO.NET code to go against an RSS feed instead of a flat XML file today. In the process I had to figure a way to limit the number of rows returned by the function, which returns a DataTable. The simplest method I found was this one, which uses the DataTable.Select() method. Using this technique, you ...
-
Scott Guthrie has a great example of how to use an ASP.NET user control as a template which one can dynamically bind to data and then pull the results out as a string. One place this is useful is in AJAX scenarios in which you want to replace the contents of a region of the page with the rendered output of a user control. I'm using ...
1
|
|
|