Gunnar Peipman's ASP.NET blog
ASP.NET, C#, SharePoint, SQL Server and general software development topics.
-
Entity Framework 4.0: POCOs and table-per-type inheritance mapping
In my previous posting Entity Framework 4.0: How to use POCOs I introduced how simple it is to use POCOs with Entity Framework 4.0. In this posting I will refactor my photo gallery model a little bit and introduce you how to implement table-per-type inheritance mapping on Entity Framework 4.0.
-
Entity Framework 4.0: How to use POCOs
Entity Framework 4.0 will provide us with POCO support. That’s good because Entity Framework supports more inheritance mapping strategies than LINQ To SQL but currently it doesn’t support POCOs. To try out Visual Studio 2010 and ASP.NET 4.0 new features I started writing simple photo gallery web application. Today I got my first simple POCOs work with Entity Framework 4.0.
-
Windows Workflow Foundation 4.0: Hello, workflow!
With Visual Studio 2010 we can also try out Windows Workflow Foundation 4.0. This posting introduces simple workflow with one new activity and provides you with some tips how to get Training Kit example running. Also I prepared some screenshots for you to show how new workflow designer looks like. I have also a little gift for you – Visual Studio 2010 solution with example shown here.
-
ASP.NET MVC: How to combine scripts and other resources
ASP.NET pages that use AJAX components make usually many requests to server per one page to load all required JavaScript and CSS files. Connections, like all other real time resources, are most expensive to create and keep. If we can somehow decrease the number of requests per page load then we need less server resources for same amount of users. For ASP.NET forms we can use script combining, for ASP.NET MVC applications we can use ASP.NET MVC Client-side Resource Combine.
-
Microsoft forums – where they are?
Microsoft has a lot forums in different (community) sites with a lot of topics. In this posting I listed up Microsoft forums, their locations and forum groups (categories under which forums belong). The purpose of this posting is to provide you with important information – where you get help when you have technical problems.
-
Vacation 2009/1 (23.06-01.07)
I am at vacation from 23.06-01.07. This time I am Italy again and besides hanging around in different nice places I visit also their yearly heavy-metal pearl: Gods of Metal festival!
-
.Net Framework 4.0: Using memory mapped files
.Net Framework 4.0 introduces memory mapped files. Memory mapped files are useful when you need to do in-memory data manipulation and your data structures are large. For large in-memory data the performance of memory mapped file is the best. It is much faster than MemoryStream. And like files on hard disc, memory mapped files can be shared between different programs. MemoryMappedFile and other classes for memory mapped files can be found from System.IO.MemoryMappedFiles namespace.
-
Visual Studio 2010: Brief view at debug history
Visual Studio 2010 introduces also some new debugging features. One of them is debug history. Debug history enables you to track all the points on track of control flow and it also monitors activities that you cannot see otherwise. It makes debugging of hard to find problems much easier, I think. Of course, there are many other new and cool debugging features available.
-
The Data Model Resource Book – Universal Data Models
Couple of years ago I brought two books for my company. Today I can say that I made a small investment that still works pretty well. These books are titled as The Data Model Reosurce Book and author of these books is Len Silverston.
-
Visual Studio 2010: Web application packaging and publishing
Visual Studio 2010 has very powerful web application packaging and deployment system. When deploying your web application you create the deployment package and then publish it to web server. After configuring it is one-click action to get current version of application up to target server. Let’s see how it works.