简体   繁体   English

如何在Sage Framework 3.6中创建新的Web服务(.asmx)

[英]how to create a new webservice (.asmx) in sage framework 3.6

In my scenario, I was implementing the sage framework 3.6 and I am trying to add a new web service (.asmx) in modules folder but when I am trying to add a new web service(.asmx) is not available in visual studio 2013. How to fix this issue? 在我的场景中,我正在实现sage Framework 3.6,并且尝试在modules文件夹中添加新的Web服务(.asmx),但是当我尝试添加新的Web服务(.asmx)在Visual Studio 2013中不可用。如何解决此问题?

Thanks in advance. 提前致谢。

I fixed this issue. 我解决了这个问题。 The main problem is if you use sage framework 3.6, it is by default takes framework 4.5.1 which means if you trying to add .asmx file in modules folder then this .asmx web service option is not available.If we want to add new webservice(.asmx) in modules folder then we must change the framework 4.5.1 to 4.5 please follow the steps to solve such kind of issue. 主要问题是如果使用sage framework 3.6,默认情况下采用的是framework 4.5.1,这意味着如果您尝试在modules文件夹中添加.asmx文件,则此.asmx Web服务选项不可用。如果我们要添加新webservice(.asmx)位于modules文件夹中,那么我们必须将框架4.5.1更改为4.5,请按照以下步骤解决此类问题。 select to the webpage design library and right click -> Go to the property pages-->Select the Build tab-->Change into the Framework 4.5 then you will able to add a new web service .asmx file in your customize module folder. 选择到网页设计库,然后右键单击->转到属性页->选择Build选项卡->更改为Framework 4.5,然后将可以在自定义模块文件夹中添加新的Web服务.asmx文件。

It is a problem with the version .Net Framework . .NET Framework版本存在问题。 Select the appropriate .Net framework version then you can add the web service. 选择适当的.Net框架版本,然后可以添加Web服务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM