fbpx
Wikipedia

M Sharp

M# (pronounced em sharp) is a code generation tool and a domain-specific language that can be used to create websites and web applications.[1] It can translate entities and page definitions to ASP.NET Web Forms and MVC and C# code which in turn form the user interface and business logic layer of the application. Its main goals are to reduce time of development, increase code quality, and reduce human errors.[2]

Name edit

M# generates codes that is mainly in the C# programming language. Because the "sharp" suffix has been used by a number of other .NET languages, M# followed the same convention.[3]

Syntax edit

M# uses its own IDE, which is a web-based application for creating ASP.Net WebForms and Visual Studio for Creating ASP.Net MVC projects. Inside the IDE, a user can type, select from suggestions (Intelli-sense), or use the mouse to define the entities or user interface modules.[4] An example would be a form module that has two buttons (Cancel and Save) and displays a Key and a Text field. The Key field is read-only and the Save button adds a content block to the database:

 


And the same form in the Visual Studio would be like the following.


 


Internally, M# IDE keeps this module definition as a JSON file. At the time of a build, it will generate C#, ascx, and ascx.cs files. From that moment, XML or M# is not necessary to render the module or to be installed on the machines that will serve the page.

New versions of M# are integrated with Microsoft Visual Studio.

References edit

  1. ^ . Business Reporter. Archived from the original on 2013-03-10.
  2. ^ "Why M#?". Retrieved 18 May 2013.
  3. ^ Modelling languages for the "Solution Domain"; Productivity rules!. Code Generation. 2011.
  4. ^ "Understanding M#". Retrieved 26 May 2013.

External links edit

  • Official website

sharp, topic, this, article, meet, wikipedia, general, notability, guideline, please, help, demonstrate, notability, topic, citing, reliable, secondary, sources, that, independent, topic, provide, significant, coverage, beyond, mere, trivial, mention, notabili. The topic of this article may not meet Wikipedia s general notability guideline Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention If notability cannot be shown the article is likely to be merged redirected or deleted Find sources M Sharp news newspapers books scholar JSTOR May 2013 Learn how and when to remove this template message The correct title of this article is M The substitution of the is due to technical restrictions This article is about the code generation tool for Microsoft C For other programming languages named M see M disambiguation M pronounced em sharp is a code generation tool and a domain specific language that can be used to create websites and web applications 1 It can translate entities and page definitions to ASP NET Web Forms and MVC and C code which in turn form the user interface and business logic layer of the application Its main goals are to reduce time of development increase code quality and reduce human errors 2 M Paradigmmulti paradigm structured object oriented event driven procedural metaDesigned byGeeks ltd DeveloperGeeks ltd First appeared2012Typing disciplinestatic dynamicLicenseproprietaryWebsitehttp www msharp co uk Major implementationsVisual C NET Framework ASP NET Domain specific language Contents 1 Name 2 Syntax 3 References 4 External linksName editM generates codes that is mainly in the C programming language Because the sharp suffix has been used by a number of other NET languages M followed the same convention 3 Syntax editM uses its own IDE which is a web based application for creating ASP Net WebForms and Visual Studio for Creating ASP Net MVC projects Inside the IDE a user can type select from suggestions Intelli sense or use the mouse to define the entities or user interface modules 4 An example would be a form module that has two buttons Cancel and Save and displays a Key and a Text field The Key field is read only and the Save button adds a content block to the database nbsp And the same form in the Visual Studio would be like the following nbsp Internally M IDE keeps this module definition as a JSON file At the time of a build it will generate C ascx and ascx cs files From that moment XML or M is not necessary to render the module or to be installed on the machines that will serve the page New versions of M are integrated with Microsoft Visual Studio References edit The end of offshoring Business Reporter Archived from the original on 2013 03 10 Why M Retrieved 18 May 2013 Modelling languages for the Solution Domain Productivity rules Code Generation 2011 Understanding M Retrieved 26 May 2013 External links editOfficial website Retrieved from https en wikipedia org w index php title M Sharp amp oldid 1183554950, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.