ASP.NET 4.0 Chart Control

by Christoph Keller 31. July 2011 11:37
Today I would like to introduce the new Chart Control, which was newly added to the ASP.NET 4.0 Framework. With this chart control, you can build exciting graphical charts within minutes. Our starting position is a new ASP.NET Web Application using Visual Studio 2010. Implement the control into yo... [More]
DotnetKicks
DotNetShoutout

Tags: ,

ASP.NET | ASP.NET 4.0

C# IDisposable pattern on sub-classes

by Christoph Keller 15. July 2011 10:24
Today I got the following situation: I had a base-class which was implementing the IDisposable pattern (including the GC.SuppressFinalize() part). From this class, I inherited a sub-class which also required doing some disposing stuff. Now I asked myself how I should implement the IDisposable patt... [More]
DotnetKicks
DotNetShoutout

Tags:

C# | CodeProject | Tip | Design-Patterns

Advanced fixing SharePoint 2010 large lookup dropdowns

by Christoph Keller 7. May 2011 10:01
Introduction Consider the following scenario: There is a large source list with more than 20 entries You have a destination list with a lookup Field (single-lookup) to the source list For the destination list, you created (or have to possibility to create) custom new and edit forms If you l... [More]
DotnetKicks
DotNetShoutout

Tags: , ,

C# | CodeProject | Sharepoint

Tip: Debugging a SharePoint 2010 Timed Job

by Christoph Keller 3. May 2011 09:40
Recently, I had to develop a timed job (an instant one-time job) on the SharePoint 2010. During the development, I asked myself how I can debug the just created job, so I started searching for a solution. First, the creation / instantiation of the timed job executes on behalf of the currently logg... [More]
DotnetKicks
DotNetShoutout

Tags:

C# | CodeProject | Sharepoint | Tip

How-to: Create an easy and flexible URL-Rewriter

by Christoph Keller 30. March 2011 18:06
Today, I would like to show you how you can create a small, easy and flexible URL Rewriter / Redirector Module. Introduction In state of the art webs, a URL Rewriter is essential for a recognizable URL and for SEO (search engine optimization). Only this way, we can build dynamic / virtual URLs wit... [More]
DotnetKicks
DotNetShoutout

Tags: ,

ASP.NET | C# | CodeProject

SharePoint Sandboxed Solutions: Performance problems / unstable services

by Christoph Keller 18. March 2011 09:30
On one of our SharePoint Servers, we got a problem on activating a Sandboxed solution in a SiteCollection.The following error occurs: The sandboxed code execution request was refused because the Sandboxed Code Host Service was too busy to handle the request. After some googling around, I found the... [More]
DotnetKicks
DotNetShoutout

Tags: , ,

CodeProject | PowerShell | Sandbox | Sharepoint

ASP.NET MVC 2: Route order is really important

by Christoph Keller 25. January 2011 13:49
If you have multiple MVC 2 Routes, check carefully the route order! If a less specific rule comes first, it will be threated first. For an example, I have a Language-Navigation Route: routes.MapRoute( "Language_Switch", "language/{language}", new { controller = "Language", action = "Index"... [More]
DotnetKicks
DotNetShoutout

Tags: , , ,

ASP.NET | C# | MVC 2

ASP.NET MVC 2: Use Html.ActionLink and add route values / HTML attributes to it

by Christoph Keller 11. January 2011 16:27
If you render a Link to another Controller / View, you can just use the method 'Html.ActionLink' on a view: Html.ActionLink("Link Title", "TargetAction", "TargetController"); Now, if you want to submit additional parameters / action parameters in the link, you can use the overloads of 'Html.Ac... [More]
DotnetKicks
DotNetShoutout

Tags: , ,

ASP.NET | MVC 2

ASP.NET MVC 2: Render a Partial View in a MasterPage or another view

by Christoph Keller 11. January 2011 13:20
Usualy a MVC 2 Page is rendered using a Controller which loads a Model and supplies the data to the configured View which displays the data. Sometimes it is required to render more than one View (or render multiple Partial Views) at one output Page. This mostly makes sense in MasterPages (for examp... [More]
DotnetKicks
DotNetShoutout

Tags: , ,

ASP.NET | MVC 2 | CodeProject

ASP.NET MVC 2: Display List data in a view

by Christoph Keller 11. January 2011 13:04
If you want to display a IEnumerable<x> List in a View, you cannot use standard ASP.NET WebForms Controls like a ListView to iterate over a list. The reason here is mostly because of the fact that MVC 2 does not implement the Form-ViewState. Now if you need to do this, you can just iterate ov... [More]
DotnetKicks
DotNetShoutout

Tags: ,

ASP.NET | MVC 2