Home / Archives

image
01
aug
2016

Design by Contract with .NET 4.0

  • Aksel Lian
  • 0 Views
  • 0 Comment
  • 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
United States
01
aug
2016

CreatingaSingleInstanceApplicationinC.aspx

  • Aksel Lian
  • 0 Views
  • 0 Comment
  • 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
01
aug
2016

ninject and singletons how to-ensure one instance per variation of activation parameters

  • Aksel Lian
  • 0 Views
  • 0 Comment
  • 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
27
jul
2016

Defining-Routes-using-Regular-Expressions-in-ASPNET-MVC.aspx

  • Aksel Lian
  • 0 Views
  • 0 Comment
  • No tags

Defining Routes using Regular Expressions in ASP.NET MVC Author: Fredrik Kalseth Tuesday, 11th of March 2008 asp.net, mvc, regular expressions Having played about with the recently released beta 2 of the ASP.NET MVC framework, I was kind of disappointed by the still fairly restrictive routing abilities of the framework. Currently, setting up a route for a request is done using…

Les Mer
27
jul
2016

Smarter Asynchronous Data Loading

  • Aksel Lian
  • 0 Views
  • 0 Comment
  • No tags

Smarter Asynchronous Data Loading Author: Fredrik Kalseth An entry about windows forms 23. September 2007 13:23 Imagine you have a Windows Forms application that has a dialog for sending email messages. The 'Send Message' dialog has a button that opens a 'Find Recipient' dialog, which lets the user select a recipient from a rather large address book. It takes the…

Les Mer
27
jul
2016

Constructor-Injection-for-ASPNET-MVC-Action-Filters.aspx

  • Aksel Lian
  • 0 Views
  • 0 Comment
  • No tags

Constructor Injection for ASP.NET MVC Action Filters Author: Fredrik Kalseth An entry about asp.net mvc | inversion of control 9. April 2009 11:50 ASP.NET MVC’s action filters allow you to execute some code before/after an action in a declarative manner, manipulating what goes into or comes out of the action. In essence, they are what’s called aspects in Aspect Oriented…

Les Mer
27
jul
2016

Constructor-Injection-for-ASPNET-MVC-Model-Binders.aspx

  • Aksel Lian
  • 0 Views
  • 0 Comment
  • No tags

Sharing Variables Between JavaScript and C# Author: Fredrik Kalseth An entry about asp.net | javascript 11. January 2008 17:53 You know, I think the most difficult part of this blog post was coming up with a descriptive title for it - it just needs more words to be explained. The story goes like this: While working on a JavaScript-heavy web…

Les Mer
27
jul
2016

Sharing-Variables-Between-JavaScript-and-C.aspx

  • Aksel Lian
  • 0 Views
  • 0 Comment
  • No tags

WinGac, a GUI for the Global Assembly Cache I put together a nice useful tool today that gives gacutil.exe a graphical user interface, making it dead easy to manage the GAC :)   In addition to its nice filter functionality (just start typing and the list will start shrinking), you can also select rows and uninstall them from the gac, or…

Les Mer
26
jul
2016

Google Adwords effekter ved god SEO

  • Aksel Lian
  • 0 Views
  • 0 Comment
  • 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
26
jul
2016

Oppdatere innholdet i websiden

  • Aksel Lian
  • 0 Views
  • 0 Comment
  • 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


LATEST WORK
oh yea test

daeataetsdfasdf

CLOSE