Monthly Archives: June 2014

To WAQS or not to WAQS, that is the question – ASP.NET MVC Patterns comparison

I recently asked to some of my friends who didn’t use WAQS yet why. I got different replies. One of them was replied by many of them: I just develop basic ASP.NET MVC applications so I think WAQS is useless … Continue reading

Posted in 16868, 18472 | 2 Comments

WAQS NuGet PowerShell command usage: init ViewModel using Roslyn

If you take a look to WCFAsyncQueryableFunctionsClientWPF.psm1 of WCFAsyncQueryableServices.Client.WPF NuGet package, you can see the PowerShell command used to initialize ViewModel. After removing error and TFS management, this is the code of the powershell command to initialize the active document … Continue reading

Posted in 16868, 17894, 17895, 18440, 8606 | Leave a comment

Extend Visual Studio with NuGet PowerShell commands basis

There are many ways to extend Visual Studio. The most used is to vsix but today, I want to write about NuGet. In most cases, NuGet is used to add a dll reference or update a config file or things … Continue reading

Posted in 17894, 18440, 8606 | 1 Comment

WAQS: CustomAttribute

7 reasons to use WAQS WAQS documentation   Sometimes you want to use many contexts in a service method. Currently Func<IContext> is not supported in WAQS specifications.   Because WAQS generated types are partial, you can extend them. But I … Continue reading

Posted in 16868 | Leave a comment

WAQS: Math.Round

7 reasons to use WAQS WAQS documentation   I recently had a surprise with .NET: Math.Round(3.5) = 4 (expected) but Math.Round(2.5) = 2.   Indeed, by default, Math.Round uses MidpointRounding.ToEven option.   However, SQL Round uses the AwayFromZero mode. So … Continue reading

Posted in 16868, 18204, 7671, 7672 | Leave a comment