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 |
Explain the use of fragment caching.
repeater and gridview diff? Why is repeater fast than gridview?
What is inproc mode in session?
Differentiate session and cookie
Exception handling
How you can return View from ASP.NET Web API method?
Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe
What are ASHX files?
Explain form level validation and field level validation?
What kind of programming language is ASP.NET?
Explain the differences between Server-side and Client-side code?
what are webservices?In which circumstances we can go for webservices?