2. About me
Daniel Fisher CTO.
devcoach®
Mit-Gründer und Geschäftsführer von
devcoach®.
Mit-Gründer und Vorstand der
just community e.V.
Leiter der .NET-Nieder-Rhein
INETA User-Group.
Mitglied im Microsoft
Community Leader & Insider Program.
3. About us
Beratung & Projektunterstützung
• REST & SOA – Architektur
• BPM & FDD – Prozesse
• Sicherheit & Claims – Identity
• DAL & ORM – Daten
• RIA & AJAX – Web 2.0
Technologien
• ASP.NET, WCF, WF & CardSpace – .NET
Kunden
• Versicherungen, Großhandel, Software – u.A.
Microsoft
7. Aber was ist mit LINQ und EF?
Comparison LINQ to SQL Entity Framework
Data/ObjectContext initiation time (sec.) 0.394 9.426
Entity Framework ObjectContext initialsation consumes about 60% to
80% of CPU time for the full 9+ seconds.
http://oakleafblog.blogspot.com/
daniel.fisher@devcoach.biz
10. Why Performance Matters #2…
• Hallo! Mein Name ist Bob und … ich, ich
habe User. Puh… Jetzt ist es raus…
daniel.fisher@devcoach.biz
Bild: Fight Club
22. MSDN
• "When any SQL statement is executed in
SQL Server 2005, the relational engine first
looks through the procedure cache to
verify that an existing execution plan for the
same SQL statement exists. SQL Server
2005 reuses any existing plan it finds, saving
the overhead of recompiling the SQL
statement. If no existing execution plan
exists, SQL Server 2005 generates a new
execution plan for the query.“
http://msdn.microsoft.com/en-us/library/ms181055.aspx
daniel.fisher@devcoach.biz
23. Stored Procedures
• Reasons for SPROC
– performance
– layer of abstraction - the developer doesn't
need to know the table structure
– security - an attacker can't figure out the table
structure
• Der Einsatz ist bei einigen Kunden daher
eine Policy!
daniel.fisher@devcoach.biz
24. Aber das will doch keiner schreiben…
• Stimmt!
• Muss man ja auch nicht
daniel.fisher@devcoach.biz
32. Zusammenfassung
• Alles kein Hexenwerk
– Viele kleine Puzzleteile
– Viele Jahre Erfahrung
– 5 Komplette Redesigns
– 1 WES/P-Jahr Entwicklung
daniel.fisher@devcoach.biz