Skip to content

FD.Service-Micro WebApi framework that make it simple and fast to publish one Api interface

Notifications You must be signed in to change notification settings

mushroomsir/FD.Service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple FD.Service example

 <system.webServer>
    <modules>
     <add name="UrlRoutingModule" type="FD.Service.UrlRoutingModule,FD.Service"/>
    </modules>
  </system.webServer>
[FdService]
public class SchoolApi
{      
         [FdMethod]
        public static string GetTeacherName()
        {
            return "Odin";
        }
}
$.get("/api/SchoolApi/GetTeacherName/", null, function (data) {
            $("#textDetail").append("GetTeacherName: " + data);
});

About

FD.Service-Micro WebApi framework that make it simple and fast to publish one Api interface

Resources

Stars

Watchers

Forks

Packages

No packages published