gpeipman
Name: gpeipman
Score: 3,910.06
Last Seen: 766 days, 7 hours, 46 minutes ago
Member Since: 3 March, 2009
DotNetShoutout
atom rss
5
Shouts

Example: Controlling randomizer using code contracts

published 1111 days, 20 hours, 23 minutes ago posted by gpeipmangpeipman 1112 days, 19 hours, 15 minutes ago
Monday, May 03, 2010 11:17:12 AM GMT Sunday, May 02, 2010 12:24:53 PM GMT
One cool addition to Visual Studio 2010 is support for code contracts. Code contracts make sure that all conditions under what method is supposed to run correctly are met. Those who are familiar with unit tests will find code contracts easy to use. In this posting I will show you simple example about static contract checking (example solution is included). (more)
category: How To | clicked: 0 | comment | | source: weblogs.asp.net
tags: Code Contracts, Visual Studio 2010
7
Shouts

Windows Phone 7 development: Using WebBrowser control

published 1111 days, 20 hours, 23 minutes ago posted by gpeipmangpeipman 1112 days, 22 hours, 22 minutes ago
Monday, May 03, 2010 11:17:12 AM GMT Sunday, May 02, 2010 9:17:50 AM GMT
In my posting Windows Phone 7 Series development: reading RSS feeds I showed how to read RSS feeds using XmlReader. Although I hoped to start pimping up user interface I found some more work that needs to be done. In this posting I will show you how to use WebBrowser control to display RSS content. Example solution is also here for download. (more)
category: Metro | clicked: 3 | comment | | source: weblogs.asp.net
tags: Windows Phone 7, WebBrowser Control
5
Shouts

Agile Database Techniques: Effective Strategies for the Agile Software Developer – book review - Gunnar Peipman's ASP.NET blog

published 1117 days, 40 minutes ago posted by gpeipmangpeipman 1117 days, 22 hours, 53 minutes ago
Wednesday, April 28, 2010 7:00:19 AM GMT Tuesday, April 27, 2010 8:47:27 AM GMT
Agile development expects mind shift and developers are not the only ones who must be agile. Every chain is as strong as it’s weakest link and same goes also for development teams. Agile Database Techniques: Effective Strategies for the Agile Software Developer by Scott W. Ambler is book that calls also data professionals to be part of agile development. (more)
category: Data | clicked: 0 | comment | | source: weblogs.asp.net
tags: Agile Development, Database
6
Shouts

ASP.NET: Using conditionals in data binding expressions

published 1138 days, 22 hours, 1 minute ago posted by gpeipmangpeipman 1140 days, 8 hours, 20 minutes ago
Tuesday, April 06, 2010 9:38:53 AM GMT Sunday, April 04, 2010 11:20:04 PM GMT
ASP.NET 2.0 has no support for using conditionals in data binding expressions but it will change in ASP.NET 4.0. In this posting I will show you how to implement Iif() function for ASP.NET 2.0 and how ASP.NET 4.0 solves this problem smoothly without any code. (more)
category: Web Dev | clicked: 4 | comment | | source: weblogs.asp.net
tags: ascx, aspx, Data Binding, ASP.NET
7
Shouts

Measuring ASP.NET and SharePoint output cache

published 1139 days, 18 hours, 55 minutes ago posted by gpeipmangpeipman 1142 days, 15 hours, 32 minutes ago
Monday, April 05, 2010 12:45:02 PM GMT Friday, April 02, 2010 4:08:07 PM GMT
During ASP.NET output caching week in my local blog I wrote about how to measure ASP.NET output cache. As my posting was based on real work and real-life results then I thought that this posting is maybe interesting to you too. So here you can read what I did, how I did and what was the result. (more)
category: Web Dev | clicked: 3 | comment | | source: weblogs.asp.net
tags: output cache, Sharepoint, ASP.NET
7
Shouts

Windows Phone 7 development: reading RSS feeds

published 1146 days, 1 hour, 16 minutes ago posted by gpeipmangpeipman 1147 days, 18 hours, 48 minutes ago
Tuesday, March 30, 2010 6:23:59 AM GMT Sunday, March 28, 2010 12:52:00 PM GMT
One limitation on Windows Phone 7 is related to System.Net namespace classes. There is no convenient way to read data from web. There is no WebClient class. There is no GetResponse() method – we have to do it all asynchronously because compact framework has limited set of classes we can use in our applications to communicate with internet. In this posting I will show you how to read RSS-feeds on Windows Phone 7. (more)
category: How To | clicked: 3 | 1 comment | | source: weblogs.asp.net
tags: Windows Phone 7, Development, rss
6
Shouts

Windows Phone 7 development: first impressions

published 1147 days, 16 hours, 5 minutes ago posted by gpeipmangpeipman 1148 days, 12 hours, 37 minutes ago
Sunday, March 28, 2010 3:35:23 PM GMT Saturday, March 27, 2010 7:03:12 PM GMT
After hard week in work I got some free time to play with Windows Phone 7 CTP developer tools. Although my first test application is still unfinished I think it is good moment to share my first experiences to you. In this posting I will give you quick overview of Windows Phone 7 developer tools from developer perspective. (more)
category: How To | clicked: 0 | comment | | source: weblogs.asp.net
tags: Windows Phone, Visual Studio
7
Shouts

Exam 70-541 - TS: Microsoft Windows SharePoint Services 3.0 - Application Development

published 1149 days, 19 hours, 7 minutes ago posted by gpeipmangpeipman 1150 days, 11 hours, 34 minutes ago
Friday, March 26, 2010 12:33:31 PM GMT Thursday, March 25, 2010 8:05:47 PM GMT
Today I passed Microsoft exam 70-541: Microsoft Windows SharePoint Services 3.0 - Application Development. This exam gives you MCTS certificate. In this posting I will talk about the exam and also give some suggestions about books to read when preparing for exam. (more)
category: Web Dev | clicked: 1 | comment | | source: weblogs.asp.net
tags: certification, Sharepoint
8
Shouts

Entity Framework 4.0: Creating objects of correct type when using lazy loading

published 1153 days, 18 hours, 34 minutes ago posted by gpeipmangpeipman 1155 days, 7 hours, 26 minutes ago
Monday, March 22, 2010 1:05:50 PM GMT Sunday, March 21, 2010 12:14:17 AM GMT
In my posting about Entity Framework 4.0 and POCOs I introduced lazy loading in EF applications. EF uses proxy classes for lazy loading and this means we have new types in that come and go dynamically in runtime. We don’t have these types available when we write code but we cannot forget that EF may expect us to use dynamically generated types. In this posting I will give you simple hint how to use correct types in your code. (more)
category: How To | clicked: 2 | comment | | source: weblogs.asp.net
tags: entity framework 4.0
5
Shouts

Advanced donut caching: using dynamically loaded controls

published 1158 days, 19 hours, 46 minutes ago posted by gpeipmangpeipman 1159 days, 6 hours, 36 minutes ago
Wednesday, March 17, 2010 11:54:17 AM GMT Wednesday, March 17, 2010 1:04:28 AM GMT
Yesterday I solved one caching problem with local community portal. I enabled output cache on SharePoint Server 2007 to make site faster. Although caching works fine I needed to do some additional work because there are some controls that show different content to different users. In this example I will show you how to use “donut caching” with user controls – powerful way to drive some content around cache. (more)
category: Web Dev | clicked: 6 | 1 comment | | source: weblogs.asp.net
tags: Caching, ASP.NET
9
Shouts

Entity Framework 4.0: Optimal and horrible SQL

published 1157 days, 18 hours, 59 minutes ago posted by gpeipmangpeipman 1159 days, 20 hours, 41 minutes ago
Thursday, March 18, 2010 12:41:05 PM GMT Tuesday, March 16, 2010 10:59:22 AM GMT
Lately I had Entity Framework 4.0 session where I introduced new features of Entity Framework. During session I found out with audience how Entity Framework 4.0 can generate optimized SQL. After session I also showed guys one horrible example about how awful SQL can be generated by Entity Framework. In this posting I will cover both examples. (more)
category: How To | clicked: 0 | 1 comment | | source: weblogs.asp.net
tags: OR/M, SQL, entity framework 4.0
7
Shouts

Some e-books and .NET 4.0 beta exams

published 1179 days, 12 hours, 59 minutes ago posted by gpeipmangpeipman 1180 days, 22 hours, 42 minutes ago
Wednesday, February 24, 2010 6:40:36 PM GMT Tuesday, February 23, 2010 8:58:02 AM GMT
Lately I have found some pretty interesting e-books about different technologies and one announcement about .NET Framework 4.0 beta exams. In this posting I will introduce you books I found and first beta exams. (more)
category: How To | clicked: 0 | comment | | source: weblogs.asp.net
tags: .NET, Office, Virtualization, Windows
4
Shouts

Simple pager for ASP.NET MVC

posted by gpeipmangpeipman 1182 days, 21 hours, 45 minutes ago
Sunday, February 21, 2010 9:55:10 AM GMT
I needed simple pager for one of my ASP.NET MVC projects. I mean really simple pager – no new types my code should be aware of, no any other chemistry I don’t really need in early stages. As ASP.NET MVC has nothing to offer I wrote my own really simple pager implementation. Here is what I did. (more)
category: Web Dev | clicked: 0 | comment | | source: weblogs.asp.net
tags: Pager, MVC, ASP.NET
4
Shouts

Code Metrics: Measuring LoC in .NET applications

published 1182 days, 13 hours, 4 minutes ago posted by gpeipmangpeipman 1183 days, 8 hours, 45 minutes ago
Sunday, February 21, 2010 6:36:05 PM GMT Saturday, February 20, 2010 10:54:55 PM GMT
My previous posting gave quick overview of code metric called Lines of Code (LoC). In this posting I will introduce you how to measure LoC in Visual Studio projects using Visual Studio Code Analysis and NDepend. (more)
category: How To | clicked: 0 | comment | | source: weblogs.asp.net
tags: .NET, loc, Code Metrics
9
Shouts

Code Metrics: Lines of Code (LoC)

published 1182 days, 13 hours, 4 minutes ago posted by gpeipmangpeipman 1185 days, 8 hours, 29 minutes ago
Sunday, February 21, 2010 6:36:05 PM GMT Thursday, February 18, 2010 11:11:03 PM GMT
I start writing series of blog posting about code metrics. I plan to introduce different metrics and explain their meaning. Also I plan to introduce tools you can use to measure those metrics. Where possible I will introduce you how to use one or another metric. The first metric is the simplest one and it is called Lines of Code (LoC). (more)
category: How To | clicked: 1 | 1 comment | | source: weblogs.asp.net
tags: Code Metrics, code analysis
4
Shouts

My object to object mapper source released

published 1184 days, 19 hours, 13 minutes ago posted by gpeipmangpeipman 1185 days, 14 hours, 32 minutes ago
Friday, February 19, 2010 12:26:42 PM GMT Thursday, February 18, 2010 5:07:53 PM GMT
Some readers asked me for Visual Studio project of my simple object to object mapper. I am glad to announce that the source code of my mapper is now available for download. (more)
category: How To | clicked: 1 | 1 comment | | source: weblogs.asp.net
tags: .NET, object to object mapping, Source, Tools
5
Shouts

User controls should never make redirects during GET request

published 1186 days, 17 hours, 48 minutes ago posted by gpeipmangpeipman 1188 days, 7 minutes ago
Wednesday, February 17, 2010 1:51:42 PM GMT Tuesday, February 16, 2010 7:33:14 AM GMT
Why is my page redirecting me back to front page although it gets all the data it requires? I was going out of my mind when exploring the problem in one system but this time there was really simple answer: you cannot fully trust the code written by n00bs. Okay, here is my story. (more)
category: Web Dev | clicked: 0 | comment | | source: weblogs.asp.net
tags: controls, ASP.NET
7
Shouts

Writing object to object mapper: my mapper vs AutoMapper

published 1189 days, 20 hours, 18 minutes ago posted by gpeipmangpeipman 1192 days, 1 hour, 24 minutes ago
Sunday, February 14, 2010 11:22:25 AM GMT Friday, February 12, 2010 6:15:37 AM GMT
As my object to object mapper is now almost completed and I am sure it is good idea to stay on LCG (Lightweight Code Generation) I can now compare the performance of my mapper to AutoMapper. (more)
category: How To | clicked: 3 | comment | | source: weblogs.asp.net
tags: .NET, C#, object to object mapping, Performance
6
Shouts

Writing object to object mapper: moving to generics

published 1192 days, 20 hours, 9 minutes ago posted by gpeipmangpeipman 1193 days, 7 hours, 18 minutes ago
Thursday, February 11, 2010 11:30:56 AM GMT Thursday, February 11, 2010 12:22:30 AM GMT
In my previous posting about object to object mapping Writing object to object mapper: first implementations I wrote first and simple implementations of mapper. These implementations based heavily on reflection. In this posting I will boost up mapper performance by using generics. (more)
category: How To | clicked: 0 | comment | | source: weblogs.asp.net
tags: .NET, lcg, object to object mapping, Performance
11
Shouts

Visual Studio 2010 RC is available

published 1191 days, 19 hours, 48 minutes ago posted by gpeipmangpeipman 1194 days, 22 hours, 5 minutes ago
Friday, February 12, 2010 11:52:09 AM GMT Tuesday, February 09, 2010 9:34:44 AM GMT
VS2010 RC is out now and available for MSDN users since now. Other guys have to wait until tomorrow when VS2010 RC is made publically available. Reading first news I discovered that most important thing is hardly improved performance of VS2010 RC IDE. All your feedback is welcome to VS2010 RC Connect site. (more)
category: How To | clicked: 0 | comment | | source: weblogs.asp.net
tags: Visual Studio 2010, .NET Framework 4.0