What are the various address format in WCF?
Sunday, March 4, 2012
a)HTTP Address Format : http://localhost:
www.codecollege.NET|www.interviewsguru.com|The Encylopedia of Web Sites|Blogging and Earning
Labels:
asp.net,
Interview Questions and Answers,
WCF
Explain Address,Binding and contract for a WCF Service?
Address: Where is the serivce available.
Binding: How to communicate with the service.
Contract: What will the service do.
www.codecollege.NET|www.interviewsguru.com|The Encylopedia of Web Sites|Blogging and Earning
Labels:
Interview Questions and Answers,
WCF
How to define a service as REST based in WCF ?
By adding the WebGet attribute, we can define a service as REST based service that can be accessible using HTTP GET operation.
[ServiceContract]
interface IStock
{
[OperationContract]
[WebGet]
int GetStock(string StockId);
}
www.codecollege.NET|www.interviewsguru.com|The Encylopedia of Web Sites|Blogging and Earning
Labels:
Interview Questions and Answers,
REST,
WCF
What are the differencec between Web Services and WCF ?
| Sno | WebServices | WCF |
| 1 | Can send/receive messages using SOAP over HTTP | Can send/receive using SOAP and any transport protocol like HTTP, TCP, named pipes, and Microsoft Message Queuing (MSMQ), etc. |
| 2 | Can only be hosted in IIS and the security is limited. | Can be hosted in IIS, self-host servers with console applications or Win NT services or any other server. |
| 3 | Doesnt support | supports binary .NET – .NET communications, distributed transactions, WS-* specifications, queued messaging and Restful communications. |
| 4 | Simple when compared to WCF | Little more work is needed |
www.codecollege.NET|www.interviewsguru.com|The Encylopedia of Web Sites|Blogging and Earning
Labels:
Differences,
Interview Questions and Answers,
WCF,
WebServices
What is ASP.NET Health Monitoring ?
Monday, February 27, 2012
Web Administrators use it to monitor deployed web applications.
ASP.NET health monitoring enables you to do the following tasks:
Monitor the performance of an application to make sure that it is healthy.
Rapidly diagnose applications or systems that are failing.
Appraise significant events during the life cycle of an application.
Monitor live ASP.NET applications, individually or across a Web farm.
Log events that do not necessarily relate to errors in an ASP.NET application.
www.codecollege.NET|www.interviewsguru.com|The Encylopedia of Web Sites|Blogging and Earning
Daily Tips- Tip #88 - How will you find 64-Bit Operating Systems and Processes ?
Sunday, January 8, 2012
You can identify 64-bit operating systems and processes with the Environment.Is64BitOperatingSystem and Environment.Is64BitProcess properties.
You can specify a 32-bit or 64-bit view of the registry with the Microsoft.Win32.RegistryView enumeration when you open base keys.
www.codecollege.NET|www.interviewsguru.com|The Encylopedia of Web Sites|Blogging and Earning
How will you access a control in master page?
Thursday, December 22, 2011
textbox1.Text = Master.txtuser.text
www.codecollege.NET|www.interviewsguru.com|The Encylopedia of Web Sites|Blogging and Earning
Labels:
.net,
asp.net,
Interview Questions and Answers
Subscribe to:
Posts (Atom)