• Aksel Lian
  • No tags

A Context Menu Control Extender Author: Fredrik Kalseth An entry about asp.net | ajax | javascript 4. August 2007 13:19 One of the things I've been missing in the Ajax Control Toolkit, is a context menu extender - so I figured I'd write one myself :) Turns out it was much easier than I anticipated, and after about an hour…

Les Mer
  • Aksel Lian
  • No tags

ASP.NET MVC ActionResult for Rendering JSON using JSON.NET Author: Fredrik Kalseth An entry about asp.net mvc | ajax 1. May 2008 18:03 With the latest drop of the ASP.NET MVC framework, as I've mentioned earlier, controller actions now return an ActionResult object. Out of the box, you have the choice between the RenderViewResult, ActionRedirectResult, HttpRedirectResult and EmptyResult types to do…

Les Mer
  • Aksel Lian
  • No tags

Invoking ASP.NET MVC Actions from JavaScript using jQuery Author: Fredrik Kalseth An entry about asp.net mvc | ajax | javascript 31. May 2008 11:27 One of the things that the MVC model is really great at, is integrating with Ajax. I blogged about a RenderJsonResult class a few weeks ago that one could use to create controller actions which render…

Les Mer
  • Aksel Lian
  • No tags

Partial Rendering with ASP.NET MVC and jQuery Author: Fredrik Kalseth An entry about asp.net mvc | ajax | javascript 1. June 2008 13:57 Yesterday, I wrote a post detailing how easy we can invoke an ASP.NET MVC controller action from JavaScript using jQuery. Lets up the ante a bit, and see if we can't use the same approach to get…

Les Mer
  • Aksel Lian
  • No tags

Keeping a Transaction from Escalating Author: Fredrik Kalseth An entry about ado.net 20. December 2007 20:32 With the introduction of the System.Transactions namespace in .Net 2.0, working with transactions became dead easy. All you need to do is wrap the section of code you want to be transacted in a TransactionScope, and the framework will take care of the rest.…

Les Mer
  • Aksel Lian
  • No tags

Design by Contract with .NET 4.0 Author: Fredrik Kalseth An entry about visual studio | .net 4.0 6. November 2008 16:33 Justin van Patten has put together a great list of all the new features that will ship with .NET 4.0 – both new features in the BCL, as well as the new features in the C# language itself. One…

Les Mer
  • Aksel Lian
  • No tags

Creating a Single Instance Application in C# An entry about c# 3.0 | windows forms 24. March 2007 11:47 Sometimes, it's desirable to ensure that there is only ever one instance of your application running at any given time. Take Windows Live Messenger for instance - if you try to launch it whilst it is already running, it will just…

Les Mer
  • Aksel Lian
  • No tags

Author: Fredrik Kalseth     Say for instance that you have a class like this: public class Test {     private static int InstanceCount = 0;       public Test(string param)     {         InstanceId = ++InstanceCount;     }       public int InstanceId; }   Now, assume we execute the following code: var test1 = kernel.Get<Test>(With.Parameters.ConstructorArgument("param", "1")); var test2…

Les Mer
  • Aksel Lian
  • Google adwords . seo .

Visste du at, ved å ha en vel-sammensatt webside som er lett å indeksere og navigere i, blir annonse kostnadene billigere i Adwords? Ja, det stemmer, i tillegg til rimelige CPC, får du også mulighet til å legge til sitelinks (menyer) og rich snippets (Bl.a. stjerner). Så i sin helhet, får dine annonser ekstra synlighet til en lavere pris! Ikke…

Les Mer
  • Aksel Lian
  • No tags

Søkemotorer liker relevant informasjon. Hvis du ønsker å få flere besøkende til din verksted side, vil innhold som tekniske tips, reparasjons guider, videoguider og annen informasjon skyve deg frem i søkeresultatene. Akkurat som det er forskjell på kvalitet på service er det forskjell på en websides innhold. Takket være vår store interesse til hvordan søkemotorer fungerer, holder vi oss til…

Les Mer


0