.NET3.0: Extension method sample
Needed a sample of extension methods both in c# and VB.NET
View ArticleWin8 (Metro style) app development – getting started
Last updated: 2013-08-09 This post will contain a kind of summary for what is worth to notice about Metro style apps. Metro style apps has several names: Metro Style apps, WinRT apps, Windows Store...
View ArticleWinRT, Xaml: Using Contoso Cookbook (HoL) as a starting point
I have two tables with master-detail relationship I want to deploy in a Win8 store app. From Hands-on labs for Windows 8 – also called Contoso Cookbook, I can get a ready app created either in Js/Html...
View ArticleVisiting Ms CampusDays 2012 in Cph
Notes from http://www.conferencemanager.dk/campusdays2012/ Agentda: http://server1001.dk/CampusDays2012_Udvidet_agenda_A3.pdf PPTs:...
View ArticleWP8 jump start course
Links from WP8 jump start course. Great show. Event: http://msl-events.cloudapp.net/EventRegistration.aspx?eid=098faf52-67fc-47e3-8749-04c91359f303 After this blog was made you could also find the...
View ArticleSQL: Samples
Last updated: 2013-05-08 HowTo Retrieve Values in StoredProcedures from EF Retrieve RAISERROR/PRINT/RETURN values from ‘multiple resultsets. http://support.microsoft.com/kb/310070...
View ArticleLinq: Sorting a Splitting a 1 level list to a 2 level list
Nice to have. This sample converts the 1 Level list of ProjectLink’s to a sorted 2 Level list of BizArea’s List Entities The End
View ArticleC#: Inline code with FluentValidation
Replacing function with inline function With function: Advantage: You can put a breakpoint in the function. using inline function: The End.
View ArticleVS2013 – Comparing ASP.NET project types
In Visual Studio 2013 ASP.NET projects you can easily mix WebForms with MVC, WebAPI (Nondiscoverable REST via MVC) SPA and Facebook content. Read more… This post just compares the default content....
View ArticleC#: Snippets
Last updated: 2014-07-17 DateTime snippets Print as UTC Instanciation snippets Reading with a static method into a class var Debugging snippets Fix for accepting Fiddler cert: The remote certificate is...
View ArticleASP.NET: Base Url and Absolute Url
Seems like I have to dig everytime I need an absolute url. From http://stackoverflow.com/questions/689678/request-url-host-and-applicationpath-in-one-call : Other links: Various helpers:...
View ArticleC#: converting string[] args to Dictionary
Sample for converting string[] args to Dictionary<string, string>. Notice both keys and values are converted to UPPER and separated by “:” in args. The End.
View ArticleC#: Check if a generic type is an enum
Sample: Check if a generic type is an enum: Thanks to Vivek http://stackoverflow.com/users/7418/vivek Ref http://stackoverflow.com/questions/79126/create-generic-method-constraining-t-to-an-enum The end
View Article.NET4: This and that
This post contains .NET 4.0 specific notes. Ongoing… Last updated: 2017-04-20 Custom Athorization in MVC e.g [MyAuthorize(“DirectorRole”)] Web.config Add NameValueFileSectionHandler to configSections...
View ArticleIoC with .NET 4.x / WebAPI 2
Last updated: 2017-02-10 With the myriad of IoC container, web frameworks, test and mocking frameworks it is hard to pick out a hand that makes you productive, when everytime you need one of the tools,...
View Article
More Pages to Explore .....