As you can see the difference in solution explorer section . Here we have there section ,first we have App_Code folder . In this folder we defined interface and the implementation of the interface . The same idea what we discuss in previous lessons about IService and Service classes . Then we have App_Data folder ,here we add the database but we do need to do it . Then we have Service.svc file . Here we defined how the service will be injected ..
<%@ ServiceHost Language="C#" Debug="true" Service="Service" CodeBehind="~/App_Code/Service.cs" %>
The languages is used for this service is c# ,debugging mode is true ,name of the service and we mentioned that where the service is located . Same discussion about web.config file what we have discuss in our previous lesson .
No comments:
Post a Comment