splove
Name: splove
Score: 119.01
Last Seen: 662 days, 16 hours, 47 minutes ago
Member Since: 25 September, 2010
DotNetShoutout
atom rss
3
Shouts

How to cook a loop

posted by slo2olsslo2ols 662 days, 17 hours, 45 minutes ago
Tuesday, July 26, 2011 10:43:30 AM GMT
With coming of Linq we rarely write loops. Actually, the most part of data fetching tasks, those earlier was done by loops, today could be simply done by Linq-to-Objects. Nevertheless, the loops are widely used for different scenarios and a developer should try to write a good loop. This post was written for beginners, but I hope that experienced developers will find in it something useful. (more)
category: How To | clicked: 4 | comment | | source: osmirnov.net
tags: C#, Indexer, Linq, Loop, enumerator
4
Shouts

Entity Framework: One step closer to LOB apps

published 673 days, 17 hours, 23 minutes ago posted by slo2olsslo2ols 674 days, 16 hours, 20 minutes ago
Friday, July 15, 2011 11:05:20 AM GMT Thursday, July 14, 2011 12:08:49 PM GMT
Not so long ago I wrote about the problems of using Entity Framework (EF) in LOB applications. Just a few days EF team has announced June version. This release solves some of the problems I have described, so I could not pass by and decided to write this post. In it I 'll do a brief review of main features in the context of LOB apps. (more)
category: Architecture | clicked: 41 | 1 comment | | source: osmirnov.net
tags: C#, LOB Application, Enity Framework
3
Shouts

Expression cannot contain lambda expressions

published 686 days, 20 hours, 45 minutes ago posted by slo2olsslo2ols 689 days, 19 hours, 25 minutes ago
Saturday, July 02, 2011 7:43:16 AM GMT Wednesday, June 29, 2011 9:03:32 AM GMT
Try to open any of Watch / Immediate and Locals windows of Visual Studio in debug mode and to add lambda expressions, and you will see this message. Own reasons exist for it and they are very detailed in these posts. Unfortunately, the posts also lack information about resolving this problem. While developers are confronted daily with the need to filter collections in debug windows and the support for lambda expressions would greatly simplify their work. (more)
category: How To | clicked: 76 | 2 comments | | source: osmirnov.net
tags: Entity Framework, Visual Studio 2010, NHibernate, lambda expression, OData
3
Shouts

To repeat or not to repeat yourself?

published 687 days, 7 hours, 23 minutes ago posted by slo2olsslo2ols 690 days, 23 hours, 25 minutes ago
Friday, July 01, 2011 9:04:59 PM GMT Tuesday, June 28, 2011 5:03:25 AM GMT
What do modern developers if they are forced to write repeated code? Of course, they follow DRY principle and try to write generic code that covers as much as possible cases and can easily be extended to the rest. But sometimes such a change is complex, inefficient, or simply impossible. Here template engines come into play that allow the developer to set the rules and get your service code. I propose to try to take the advantages of both these approaches. (more)
category: How To | clicked: 4 | comment | | source: osmirnov.net
tags: Repository, T4, Builder, Patterns, singleton, dry, snippets, Fluent Interface
6
Shouts

Why Entity Framework is still not ready for LOB apps

published 702 days, 7 hours, 37 minutes ago posted by slo2olsslo2ols 704 days, 16 hours, 28 minutes ago
Thursday, June 16, 2011 8:51:14 PM GMT Tuesday, June 14, 2011 12:00:01 PM GMT
I work hard and write about ORMs. Especially about Entity Framework. Naturally I have accumulated a list of problems that I hope the developers will solve in the near future. As now their solution is too expensive. Under expensive solution I mean a set of hacks that are difficult to maintain. Let’s start. (more)
category: Architecture | clicked: 87 | comment | | source: osmirnov.net
tags: C#, Enity Framework, LOB
4
Shouts

DynamicObject: AOP for the poor

published 709 days, 5 hours, 1 minute ago posted by slo2olsslo2ols 709 days, 20 hours, 16 minutes ago
Thursday, June 09, 2011 11:27:04 PM GMT Thursday, June 09, 2011 8:12:38 AM GMT
Use of AOP without help of third-party frameworks is difficult and often all of their functionality is not needed. In this post I want to share an interesting example of how I replaced AOP in its typical problem for a dynamic type. (more)
category: How To | clicked: 21 | comment | | source: osmirnov.net
tags: Performace Testing, DLR, C#, proxy, Patterns, dynamic object, wrapper
4
Shouts

Using Protocol Buffers on .Net platform (Part II)

published 727 days, 22 hours, 46 minutes ago posted by slo2olsslo2ols 729 days, 21 hours, 42 minutes ago
Sunday, May 22, 2011 5:42:02 AM GMT Friday, May 20, 2011 6:46:04 AM GMT
The last time we familiarized ourselves with Protocol Buffers and tried to use them in .Net application. Today, we continue to discuss and answer remaining questions. Specifically let's talk again about portability and using of protobuf-net in WCF. (more)
category: How To | clicked: 9 | comment | | source: osmirnov.net
tags: Google, protocol buffers, Performance, WCF
2
Shouts

Using Protocol Buffers on .Net platform (Part I)

published 729 days, 23 hours, 26 minutes ago posted by slo2olsslo2ols 730 days, 20 hours, 49 minutes ago
Friday, May 20, 2011 5:02:03 AM GMT Thursday, May 19, 2011 7:39:06 AM GMT
Today we will talk about using Protocol Buffers on .Net platform. I will tell  and show you what it is and why it is needed .Net developer. A format of the post is different from the usual format and it is designed as a discussion. What I think should improve the understanding of the material by readers. Hello, what is Protocol Buffers? (more)
category: How To | clicked: 10 | 1 comment | | source: osmirnov.net
tags: Google, Serialization, protocol buffers, Performance
4
Shouts

Boosting Stackoverflow.com

published 745 days, 15 hours, 34 minutes ago posted by slo2olsslo2ols 746 days, 21 hours, 2 minutes ago
Wednesday, May 04, 2011 12:54:12 PM GMT Tuesday, May 03, 2011 7:25:56 AM GMT
If you are readers of my blog, then you know that I write a lot of ORMs. Naturally, I could not miss a post of Sam Saffron about developing by him own lightweight ORM called Dapper. For those who do not know Sam, I want to point out that he is one of the key developers of Stackoverflow. In addition, before he wrote the post it was known about Stackoverflow's architecture that it was included the Linq-to-Sql. This is the main reason why I, like other developers, began to study the source code for Dapper. ... (more)
category: How To | clicked: 3 | 1 comment | | source: osmirnov.net
tags: C#, Performance, stackoverflow, ORM
6
Shouts

Introduction to BLToolkit (Part III): The success story

published 766 days, 5 hours, 52 minutes ago posted by slo2olsslo2ols 767 days, 21 hours, 50 minutes ago
Wednesday, April 13, 2011 10:36:26 PM GMT Tuesday, April 12, 2011 6:38:33 AM GMT
We have already talked about that BLToolkit can serve as a substitute as ADO.NET, and LINQ to SQL. Time to talk about the unique capabilities of this ORM. In this post I will tell about how to expend BLToolkit and open secrets of its performance. (more)
category: How To | clicked: 16 | 1 comment | | source: osmirnov.net
tags: Expression Tree, ADO.NET, BLToolkit, Linq To SQL, Database, ORM
4
Shouts

Introduction to BLToolkit (Part II): With LINQ to SQL's taste

published 769 days, 13 hours, 5 minutes ago posted by slo2olsslo2ols 771 days, 20 hours, 58 minutes ago
Sunday, April 10, 2011 3:23:14 PM GMT Friday, April 08, 2011 7:30:24 AM GMT
In the previous post we talked about what the BLToolkit was originally created as a high-level wrapper on the ADO.NET. Today we'll talk about why BLToolkit is an ORM and its similarity with LINQ to SQL. As I promised, we will carefully consider a support of Linq. (more)
category: How To | clicked: 10 | 1 comment | | source: osmirnov.net
tags: ADO.NET, BLToolkit, Linq To SQL, Database, ORM
5
Shouts

Introduction to BLToolkit (Part I): ADO.NET Wrapper

published 775 days, 8 hours, 42 minutes ago posted by slo2olsslo2ols 778 days, 21 hours, 47 minutes ago
Monday, April 04, 2011 7:46:31 PM GMT Friday, April 01, 2011 6:41:29 AM GMT
Last year ORMeter site made ​​a lot of noise. Its authors have done what many asked in various forums. They compared the performance of majority popular ORM on .Net platform. As a result developer's opinions were divided. Someone said that tests are out of touch with reality, someone has found another argument for infinite holy wars, someone thought that the site just advertise own product, etc. But there was another result. The developers around the world found out about such ORM as BLToolkit thatin alm... (more)
category: How To | clicked: 22 | 1 comment | | source: osmirnov.net
tags: ADO.NET, BLToolkit, Database, ORM
8
Shouts

What is your developer's position?Oleg Smirnov

published 785 days, 21 hours, 8 minutes ago posted by slo2olsslo2ols 787 days, 19 hours, 34 minutes ago
Friday, March 25, 2011 7:20:06 AM GMT Wednesday, March 23, 2011 8:54:18 AM GMT
"I seek Senior Developer position" - something like this begins Objective section in most CVs. The point is not that a company is looking for a developer precisely on such position and that the developer appreciated not only themselves but also other developers of this company, when he wrote his CV. In today post we will describe how to make this assessment developers and recruiters. (more)
category: Agile | clicked: 1 | comment | | source: osmirnov.net
tags: jobs, developers, cv
4
Shouts

Procrustean repository

posted by slo2olsslo2ols 794 days, 20 hours, 9 minutes ago
Wednesday, March 16, 2011 8:19:44 AM GMT
We have already examined the Repository pattern. For example, here and here. Today, let's see how many examples of this pattern force a developer thinks that any repository must include concrete methods and nothing more. Often it is correct and you have pure DDD application. But what if your data source differs from database and has specific methods to modify data? (more)
category: Architecture | clicked: 0 | comment | | source: osmirnov.net
tags: Repository, .NET, Web Service, Sharepoint
2
Shouts

Tracking database changes (Part II): Complex audit

posted by slo2olsslo2ols 803 days, 19 hours, 36 minutes ago
Monday, March 07, 2011 8:52:33 AM GMT
The main drawback of a simple audit is that it is impossible to determine what values have had the account at any time.  We keep only the final state.  And if we need a change history, we have to come up with something better.  Let's do that. (more)
category: Architecture | clicked: 3 | comment | | source: osmirnov.net
tags: .NET, track change, MS SQL Server 2008, Database, Auditing, ORMs
2
Shouts

Tracking database changes (Part I): Plain audit

published 806 days, 9 hours, 44 minutes ago posted by slo2olsslo2ols 806 days, 20 hours, 25 minutes ago
Friday, March 04, 2011 6:43:59 PM GMT Friday, March 04, 2011 8:02:55 AM GMT
For any serious application working with a database is often necessary to consider a tracking changes system. Each solves this problem in its own way, but honestly I'm surprised how a few modern ORMs can offer us for it. Let's look at this situation more closer. (more)
category: Architecture | clicked: 0 | comment | | source: osmirnov.net
tags: .NET, track change, MS SQL Server 2008, Database, Auditing, ORMs
7
Shouts

Non direct calls (Part II): Replacing reflection Oleg Smirnov

published 813 days, 20 hours, 38 minutes ago posted by slo2olsslo2ols 815 days, 16 hours, 6 minutes ago
Friday, February 25, 2011 7:50:47 AM GMT Wednesday, February 23, 2011 12:22:24 PM GMT
I would like to call the post as "How to stop using the reflection and start programming". This title is most accurately reflects essence of this post. In it we consider alternatives to the reflection. Very often they are the only way to speed it up. So continue to give tips. (more)
category: How To | clicked: 1 | comment | | source: osmirnov.net
tags: .NET, tip and tricks, DLR, Performance, Code Generation, Reflection
2
Shouts

Non direct calls (Part I): Speeding up reflection

published 819 days, 10 hours, 13 minutes ago posted by slo2olsslo2ols 820 days, 13 hours, 42 minutes ago
Saturday, February 19, 2011 6:14:56 PM GMT Friday, February 18, 2011 2:46:13 PM GMT
Periodically, my Google Reader gets posts from developers on how to speed up code using reflection. Some of them describe approaches to .Net 2.0 level. I want to correct this deficiency and in addition give some practical tips for improving performance. Also, I think to write the post about the reflection is a good tradition for every blogger on .Net platform. (more)
category: How To | clicked: 0 | comment | | source: osmirnov.net
tags: .NET, tip and tricks, Performance, Reflection
4
Shouts

Processes and threads in developer life

published 829 days, 15 hours ago posted by slo2olsslo2ols 831 days, 11 hours, 42 minutes ago
Wednesday, February 09, 2011 1:28:37 PM GMT Monday, February 07, 2011 4:46:26 PM GMT
If you're a developer, how often do you interrupt by issues that do not relate to your current problem and do not require urgent attention? And how often do you do that? Does it depend on your position? In this post we are interested in only one word - consequences. All the arguments are written in technical terms, based on those participants who had recently been developers. (The developer in the text can be replaced by a tester, designer, DBA, etc.) (more)
category: Agile | clicked: 0 | comment | | source: osmirnov.net
tags: Process, project mangement, developer, Agile, Thread
5
Shouts

Foreach for outer services

published 837 days, 11 hours, 1 minute ago posted by slo2olsslo2ols 838 days, 19 hours, 52 minutes ago
Tuesday, February 01, 2011 5:27:42 PM GMT Monday, January 31, 2011 8:36:20 AM GMT
Foreach one of the most frequently used statements in C#.  But sometimes this simple cycle leads to problems in performance.  Of course, an issue  in an Enumerator and cost of its call, but foreach multiply this value as many times as elements are contained at destination collection. In this post we will discuss why it is happening and how to avoid it. (more)
category: How To | clicked: 0 | comment | | source: osmirnov.net
tags: .NET, foreach, WCF, Sharepoint, enumerator
Previous 1 2 Next