Thursday, July 2, 2009

MService

Microsoft is developing DSLs for three .NET runtimes: MWeb (ASP.NET), MService (WCF) and MEntity (EF). Early MService build was presented at MIX conference on March.  The demo was very interesting, so I’ll write some details about it.

Building and testing MService at MIX was very easy:

“M” language (in one file): type, extent and service operations (Get, Post, Put, Delete, Options)

image

Deploying the file to inetpub/wwwroot catalog (IIS with MHttpHandler).

image

Testing: generated form on the service web page or client with MUrl (f.e Intellipad)

image

With the MService version we can easily build simple services. What about services with custom operations and logic?  I’m waiting for public CTP.

No comments: