Post Views: 1,235 REST (Representational State Transfer)Services in WCF: Representational State Transfer (REST ) is architectural style that clients can make requests of services(Endpoints). RES9T is useful to implement one way distributed commutation between the client server architectural styles. URI (Unforce Resource Identifier): End user can interact with resources and resources could be name of […]
C# Interview Questions and Answers
Post Views: 728 Difference between Response.Write() and Response.Output.Write()? Response.write() don’t give formatted output. and Response.Output.Write() allows you to write formatted output.
Post Views: 887 How to get aspx page Automatically refresh after some time To get a page to be refreshed after a particular time at page level of the aspx page we need to specify like this : <meta http-equiv=”refresh” content=”10″ /> The above statement will make a particular page to be refreshed for […]
Post Views: 759 What are modifiers in C# 4.0? In C# multiple type of modifiers are available. Public: Private: Protected: Internal; Protected Internal:
Post Views: 801 What is boxing and unboxing in C#? Boxing: Boxing is a mechanism that is use for converting the value types (int,struct,enum) object into the reference type. Object obj=3; Boxing will wrap the value 3 into the heap object. Unboxing: Unboxing is a mechanism that is use for converting the reference types(Class,Interface) into reference type. […]
Post Views: 845 Difference between classes and structure? Class is Reference Type and Structure is value type. Class object is stored in heap and structure object is stored in stack. Class support inheritance and structure does not support can inheritance. Classes have destructor but structure does not allow destructor. Classes and structure both can implements […]
Post Views: 1,201 What are Events in ASP.NET Page Life Cycle? At each stage of the page life cycle, the page fires some events, we can write code on these event. Asp.net Page life cycle events given below: PreInit – PreInit is the very first event in page life cycle. It checks the IsPostBack property and […]
Post Views: 682 What are Messaging Patterns in WCF? Messaging patterns basically describe how programs exchange messages.There are 3basic messaging patterns that programs can use to exchange messages: Simplex: A one-way communication from Program X to Program Y. No response is generated by Program Y, thus causing the one-way communication.In this scenario, the client initiates […]
Post Views: 782 What is Globalization and Localization. Globalization is the process of creating multilingual application by defining culture specific features like currency, date and time format, calendar and other issues. Localization is the process of accommodating cultural differences in an application.
Post Views: 712 What are the validation controls available in ASP.NET? A Validation server control is used to validate the data of an input control. If the data does not pass validation, it will through an error message . There are 6 validation controls avaiable in Asp.net , these are given below: RequiredFieldValidator: This validates controls […]