Got more questions? Find advice on: SQL | XML | Regular Expressions | Windows
in Search
Welcome to AspAdvice Sign in | Join | Help

Browse by Tags

All Tags » C# » ASP.NET
Showing page 1 of 4 (40 total posts)
  • Linq: DataContext in einer Web-Anwendung? Statisch? Bei jedem Aufruf? Wie denn bitte?!

    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 ...
    Posted to manik.net (Weblog) by manik on June 9, 2008
  • C# und ASP.Net Performance Optimierungen

    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 ...
    Posted to manik.net (Weblog) by manik on April 18, 2008
  • Generic Recursive Find Control Extension

    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. ...
    Posted to Orcs Goblins and .NET (Weblog) by Brendan on March 31, 2008
  • Creating a Recursive FindControl Extension Method

    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 ...
    Posted to Orcs Goblins and .NET (Weblog) by Brendan on March 31, 2008
  • Trends in Programming Languages

    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 ...
    Posted to Steven Smith (Weblog) by ssmith on January 8, 2008
  • Ajax UpdatePanel.Refresh() auslösen per Javascript

    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 ...
    Posted to manik.net (Weblog) by manik on January 6, 2008
  • ASP.Net Configuration (Web Site Administration Tool)

    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 ...
    Posted to General Questions (Forum) by ckerscher on January 2, 2008
  • ASP.NET Provider Source Code Install Path

    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 ...
    Posted to Steven Smith (Weblog) by ssmith on November 6, 2007
  • Limit Rows In DataTable or DataSet

    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 ...
    Posted to Steven Smith (Weblog) by ssmith on October 30, 2007
  • Render User Control as String Template

    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 ...
    Posted to Steven Smith (Weblog) by ssmith on October 19, 2007
1 2 3 4 Next >