Category Archives: 17895

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

How to generate a property from an extension method using Roslyn

In WAQS, we have calculated properties that are generated from extension methods. In this post, we will see how we can generate a property from a method.   In my previous post, we saw a basic method to see if … Continue reading

Posted in 16402, 16868, 17895 | Leave a comment

Roslyn basis

Syntax Tree All the code could be represented as a very detailed tree. Using Roslyn, we can get this syntax tree from a document or we can use Parse methods of SyntaxFactory class. For example, you can use the following … Continue reading

Posted in 16402, 17895 | Leave a comment

Entity Data Model classes

Entity Framework provides some classes to describe the Entity Data Model. This can be very helpful in many cases and particularly for code generation.   Then, Entity Framework provides a ttinclude file that allows us to use this model instead … Continue reading

Posted in 10511, 16868, 17895, 7674, 7675 | Leave a comment

T4 Basis

T4 is a language tags that can be used in Visual Studio to generate file(s) (one file by default). T4 only has 4 tags: <#@ … #> <# … #> <#= … #> <#+ … #> Every thing that is … Continue reading

Posted in 10511, 17895 | 1 Comment

WAQS: Server filters

7 reasons to use WAQS WAQS documentation   We saw that, using WAQS, we can querying directly from the client. But, when we do this, we sometimes want to be able to filter the result in the server in order … Continue reading

Posted in 16868, 17895 | Leave a comment

WAQS: Service methods

7 reasons to use WAQS WAQS documentation   A service method in WAQS vocabulary is neither a calculated property, nor a metadata definition nor a validation method. Service methods could be used to define some process. So for example, you … Continue reading

Posted in 16868, 17895 | Leave a comment

WAQS: Validation rules with navigation properties

7 reasons to use WAQS WAQS documentation   Imagine that we want to be sure that an order does not exist without any detail. This basic feature is not as easy as it seems because of concurrency. Indeed, if it’s … Continue reading

Posted in 16868, 17895 | Leave a comment

How to use WAQS?

7 reasons to use WAQS WAQS documentation   WAQS could be used in many kinds of applications. Some of my customers already use it for these kinds ones: 3-Tiers application Web application (ASP.NET MVC) Web service In this post, I … Continue reading

Posted in 16868, 17894, 17895, 18204, 8708 | Leave a comment

WAQS: Introduction

7 reasons to use WAQS WAQS documentation   I’m very happy to announce that a beta of WAQS is now available on NuGet.   I decided to write many posts to explain how to use WAQS and also the different … Continue reading

Posted in 16868, 17895 | Leave a comment