Gunnar Peipman's ASP.NET blog's Image
More about this blog
Latest Post
28 Mar 2010
Total Posts
62
Readers
1183
Liked
0
Disliked
0
Views-Per-Post
19.08
vote up
0
vote down

Windows Phone 7 development: reading RSS feeds

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
Mar 28 2010 03:54 PM
vote up
0
vote down

Windows Phone 7 development: first impressions

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
Mar 27 2010 10:58 PM
vote up
0
vote down

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

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
Mar 25 2010 10:50 PM
vote up
0
vote down

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

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 that come and go dynamically in runtime. We don’t have these types available when we
Mar 21 2010 03:24 AM
vote up
0
vote down

Advanced donut caching: using dynamically loaded controls

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
Mar 17 2010 05:27 AM
vote up
0
vote down

Entity Framework 4.0: Optimal and horrible SQL

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
Mar 16 2010 01:47 PM
vote up
0
vote down

Exam 70-448 - TS: Microsoft SQL Server 2008, Business Intelligence Development and Maintenance

The another exam I passed was 70-448 - TS: Microsoft SQL Server 2008, Business Intelligence Development and Maintenance. This exam covers Business Intelligence (BI) solutions development and maintenance on SQL Server 2008 platform. It was not easy exam,
Mar 14 2010 05:39 AM
vote up
0
vote down

Exam 70-630 - TS: Microsoft Office SharePoint Server 2007, Configuring

It has been really quiet here but I wasted no time. I passed exam 70-630 - TS: Microsoft Office SharePoint Server 2007, Configuring and in this posting I will give you a short overview of this very-very easy exam exam. If you are not new to SharePoint
Mar 13 2010 08:40 PM
vote up
0
vote down

Who is code wanderer?

In every area of life there are people with some bad habits or misbehaviors that affect the work process. Software development is also not free of this kind of people. Today I will introduce you code wanderer. Who is code wanderer? Code wandering is more
Mar 07 2010 05:48 AM
vote up
0
vote down

Notes from Rafal Lukawiecki business analysis sessions

Last week Rafal Lukawiecki visited Estonia and I was lucky enough to find time for two sessions in my pretty tight schedule. All Rafal’s sessions were about Business Intelligence (BI) at Microsoft platform. This posting contains few notes I made for
Mar 03 2010 05:19 AM
vote up
0
vote down

The Mythical Man-Month – book review

  Yesterday I finished reading the classic project management book The Mythical Man-Month: Essays on Software Engineering by Frederick P. Brooks. Well… this book made me think a lot about nature of software projects, how primitive is our
Mar 03 2010 01:28 AM
vote up
0
vote down

Using Orca to manage MSI packages

There are many programs that come with MSI installer and not every installer is free of bugs or small problems. If you are building your own installer using Visual Studio you may want to change it before publishing it to users. Here is little overview of
Feb 28 2010 04:32 PM
vote up
0
vote down

Some e-books and .NET 4.0 beta exams

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. e-Books C# to IL by Vijay Mukhy is good
Feb 23 2010 03:45 PM
vote up
0
vote down

Simple pager for ASP.NET MVC

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*
Feb 21 2010 04:07 PM
vote up
0
vote down

Code Metrics: Measuring LoC in .NET applications

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.  LoC difference in Visual Studio and
Feb 21 2010 03:39 AM
vote up
0
vote down

Code Metrics: Lines of Code (LoC)

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
Feb 19 2010 03:46 AM
vote up
0
vote down

My object to object mapper source released

Some readers asked me for Visual Studio project for my simple object to object mapper. I am glad to announce that my mapper is now available for download. It is Visual Studio 2008 project written on C# and besides mapper implementation it contains
Feb 18 2010 08:39 PM
vote up
0
vote down

User controls should never make redirects during GET request

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
Feb 16 2010 12:09 PM
vote up
0
vote down

Writing object to object mapper: my mapper vs AutoMapper

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. NB! If you are building applications that will run on public
Feb 13 2010 04:34 AM
vote up
0
vote down

Writing object to object mapper: moving to generics

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
Feb 11 2010 04:48 AM
vote up
0
vote down

Visual Studio 2010 RC is available

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 improved performance of VS2010 RC IDE. All your
Feb 09 2010 02:00 PM
vote up
0
vote down

IL perversions: throwing and catching strings

Inspired by Mohamed Mahmoud’s blog posting How to: Create Interfaces with Static Methods via IL? I wrote another sick example on IL (Intermediate Language) to show you how different is the world behind compilers. Tonight I have enough of exceptions, I
Feb 09 2010 09:51 AM
vote up
0
vote down

Writing object to object mapper: first implementations

I wrote some object to object mapping code and introduced it in some of my previous postings about performance. As I received 22x performance raise when trying out different mapping methods and it is now time to make my code nice. In this posting I will
Feb 07 2010 04:39 PM
vote up
0
vote down

ASP.NET MVC Performance II: Optimizing resources

In my previous posting about ASP.NET MVC performance I showed you how to combine resources like scripts, style sheets and images. In this posting I will show you how to minimize resources so we don’t waste the bandwidth we got. Optimizing scripts and
Feb 07 2010 01:56 PM
vote up
0
vote down

ASP.NET MVC Performance I: Combining resources

I wrote a small postings series about how to optimize ASP.NET MVC applications. This posting is small introduction to series and it also introduces first two optimization steps: resources and images combining. Totally non-optimal page As this posting is
Feb 06 2010 06:30 PM
vote up
0
vote down

Performance: Using LCG to copy property values of two objects

Today I gave last performance boost to my property values copying mechanism. I would like to thank my readers Ron and David to remind me Lightweight Code Generation (LCG) and pointing me out aussie bloke blog entry Generic copy object using Lightweight
Feb 05 2010 10:44 PM
vote up
0
vote down

Using FullCalendar jQuery component with ASP.NET MVC

I found very good jQuery component called FullCalendar. My special favorites are agenda views because they make this calendar really useful in business applications. In this posting I will show you how to use FullCalendar with ASP.NET MVC. Prerequisites
Feb 05 2010 10:02 PM
vote up
0
vote down

Performance: Using dynamic code to copy property values of two objects

Last year I wrote short posting about how to use LINQ to find matching properties of two objects. In this posting I will show you how to copy values from one object to another and how to boost up performance so you can use this strategy also on in
Feb 03 2010 04:16 AM
vote up
0
vote down

Windows Azure Tools and SDK 1.1 (February 2010)

With Windows Azure official launch there is available new version of Windows Azure Tools and SDK 1.1. Also there are updated and new sample applications available in MSDN Code Library. Most important features are: Windows Azure Drive: Enable a Windows
Feb 02 2010 06:26 PM
vote up
0
vote down

Linking jQueryUI DatePicker and FullCalendar

In one of my sample projects I wrote simple calendar solution. Users can select dates from calendar and see what events they have on selected days. I used jQueryUI DatePicker and FullCalendar components. In this posting I will show you how to link them
Feb 02 2010 03:14 PM
vote up
0
vote down

.NET Framework 4.0: Comparing LINQ and PLINQ performance

In one of my sessions I demonstrated how PLINQ uses two CPU-s instead of one and has better performance than non-parallel processing. In this posting I will introduce my experiment and show you my example results. In the end of this posting you can find
Feb 01 2010 01:18 AM
vote up
0
vote down

ASP.NET 4.0: How to use application warm-up class

About week ago I introduced IIS Application Warm-up Module. ASP.NET 4.0 provides separate mechanism for same purposes. ASP.NET 4.0 application warm-up is different and if you like you can use both warm-up methods together. In this posting I will show you
Jan 31 2010 06:04 PM
vote up
0
vote down

Creating configuration reader for web and cloud environments

Currently it is not possible to make changes to web.config file that is hosted on Windows Azure. If you want to change web.config you have to deploy your application again. If you want to be able to modify configuration you must use web role settings. In
Jan 30 2010 07:41 PM
vote up
0
vote down

IIS Application Warm-Up Module

During one of my sessions I demonstrated how to use IIS Application Warm-Up Module. Some applications need to perform initialization tasks before taking requests from users. Application warm-up module is very good tool for this because it does not depend
Jan 25 2010 01:49 AM
vote up
0
vote down

Using NHibernate order-by attribute to sort names history

I am writing application that besides other cool things lets users insert information about business contacts. My system is able to keep names history of contacts. In this posting I will show you how to use NHibernate mappings to keep names ordered
Dec 27 2009 09:42 PM
vote up
0
vote down

Using LINQ and reflection to find matching properties of objects

As a side product of some experiments I wrote simple LINQ query that matches properties of two objects and returns these properties as list. The code I wrote is pretty simple and I packed it for you as method. C# public IList<PropertyInfo>
Dec 26 2009 04:30 PM
vote up
1
vote down

Using Windows Azure BLOB storage with PHP

My last posting described how to read and write files located in Windows Azure cloud storage. In this posting I will show you how to do almost same thing using PHP. We will use Windows Azure SDK for PHP. The purpose of this example is to show you how
Dec 05 2009 06:23 PM
vote up
1
vote down

Windows Azure - Using DataSet with cloud storage

On Windows Azure CTP some file system operations are not allowed. You cannot create and modify files located on server hard disc. I have small application that stores data to DataSet and I needed place where I can hold this file. The logical choice is
Dec 01 2009 06:38 PM
vote up
1
vote down

ASP.NET MVC: Creating reports using Chart control

ASP.NET Chart control is powerful control you can use to add charting support to your web applications. Although chart controls are mainly used with ASP.NET forms it is not very hard to use them also in ASP.NET MVC applications. In this posting I will
Nov 21 2009 06:47 PM
vote up
1
vote down

Visual Studio 2010: Generating sequence diagrams on the fly

One nice feature that Visual Studio 2010 provides is generating sequence diagrams on the fly. Just point out method and choose diagram generating option from context menu. In this posting I will show you how to generate sequence diagrams on the fly. To
Nov 20 2009 05:59 PM