how we Creating a Web Service
Answer / merinkmathew
We are going to use C# to create a Web Service
called "SecurityWebService." A Web Service file will have
an .ASMX file extension.
The first line of the file will look like
<%@ WebService Language="C#" class="SecurityWebService" %>
This line will instruct the compiler to run on Web Service
mode and the name of the C# class. We also need to access
the Web Service namespace. It is also a good practice to
add a reference to the System namespace.
using System;
using System.Web.Services;
The SecurityWebService class should inherit the
functionality of the Web Services class. Therefore, we put
the following line of code:
public class SecurityWebService : WebService
| Is This Answer Correct ? | 0 Yes | 4 No |
Will session work if cookies is disabled?
What is asp.net mvc? : asp.net mvc
How do you add a javascript function for a link button in a datagrid ?
Suppose there is one web farm with 3 servers inside with same configuration and the same project is running inside all servers.Which session mode is usde for all these and why?
Name and describe some HTTP Status Codes and what they express to the requesting client ?
What is role-based security in asp.net?
What are the elements of a website?
How do you handle session management in ASP.NET and How do you implement them. How do you handle in case of SQLServer mode?
How can I open ashx file in mobile?
How long the items in ViewState exists?
0 Answers SwanSoft Technologies,
Explain the asp.net mvc request life cycle? : asp.net mvc
What do you understand from custom control?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)