Self-sufficient generated .NET code

The generated .NET source code by M# can be maintained as any other standard .NET project without M#. Of course M# can be used for all future enhancements or changes to provide the same high level of productivity and automation to the maintenance phase, but it’s not necessary. Therefore the client will bear zero risks associated to any form of dependence of the software on M# or the original developers who created the application in the first place. M# is a design-time-only tool and has no presence at runtime.

 

For example this is a part of the code that has been generated for a form:

<div class="form-body">

 

     <div class="form-group">

 

        <div class="group-label">

 

            <label class="control-label" for="Key">

 

                Key

 

            </label>

 

        </div>

 

         <div class="group-control">

 

            <span name="Key">

 

                @Model.Item.Key

 

            </span>

 

        </div>

 

    </div>

 

 

     <div class="form-group">

 

        <div class="group-label">

 

            <label class="control-label" for="Name">

 

                Name

 

            </label>

 

        </div>

        <div class="group-control">

 

            @Html.TextBoxFor(x => x.Name, new { @class = "form-control" })

 

        </div>

 

    </div>

 

 </div>

 

 

 <div class="buttons-row">

 

    <div class="buttons">

 

         <button name="Cancel" class="btn btn-default" onclick="return page.returnToPreviousPage(this);" data-redirect="ajax">Cancel</button>

 

         <button type="submit" name="Save" class="btn btn-primary" formaction='@Url.ActionWithQuery("ContentFormForm1/Save")' default-button="true">

 

            <i class="fa-check fa"></i>

 

            Save

 

        </button>

 

     </div>

 

</div>

 

As you can see there is nothing in this code that indicates existence of M# but it has been actually generated from this:

 

MSharp code for a form module

 

M# delivers a code that any capable web developer can take from that point and apply her own changes. At the same time for a person that uses M# generating all those 30 lines of code was the matter of putting 3-4 lines in equivalent M# module. 

« Back