TechyMedia

A .NET Technology blog | .NET,C# Progamming,C# tutorials,WPF WCF|Software Engineer

NAVIGATION - SEARCH

WCF In detail - What is ABC of WCF? WCF Tutorial

WCF service provides a collection of end points which describes the location (Address), Communication mechanism (Binding) and the data types and interfaces(Contract).These are easily configurable to work over any sort of protocol and message formats. Same service can be configured to work for multiple bindings. Same service can be hosted in multiple application types.
Single service, multiple endpoints and multiple bindings - this flexible nature of WCF made it the suitable platform for service oriented architecture. [More]

WCF Service- What Is Windows Communication Foundation (WCF)? | Introduction To WCF Service

Windows Communication Foundation (WCF) is a next generation platform from microsft for service Oiented architecture.A service is a self-contained logical representation of a repeatable activity or function
Windows Communication Foundation (WCF) is a next generation platform from microsft for service Oiented architecture.A service is a self-contained logical representation of a repeatable activity or function [More]

History Of Windows Communication Foundation(WCF) | Simple WCF Tutorial

With the introduction of Component Object Module(COM) by Microsoft, Language interoperability and re-usability across applications become a reality.Web Services are ASP.NET based applications used for web based services.Webservices transfer messages via HTTP. Webservices are language independent.Windows Communication Foundation is the next level webservices with message transfer support via various protocols. [More]

String value enum with space in between - Description Attribute

String value enum with space seperated words in C# need special attention.You need to use Description attribute.See the article for defining the enum and fetching the value.
String value enum with space seperated words in C# need special attention.You need to use Description attribute.See the article for defining the enum and fetching the value. [More]

Button click open Form 2 and close Form 1

A common case in normal windows application is to Open a new form(say Form2) while clicking a button in Form1 and close Form1 also.Read to know the different ways to achieve this.
A common case in normal windows application is to Open a new form(say Form2) while clicking a button in Form1 and close Form1 also.Read to know the different ways to achieve this. [More]

What Is SetCompatibleTextRenderingDefault (false)

By default, UseCompatibleTextRendering property takes the value false. But In a Windows Forms application which uses the Graphics class to render text and having certain controls that use TextRenderer class to render text to appear different from the other text in the application, then to overcome this incompatibility issue we can set the UseCompatibleTextRendering property to true. Otherwise you don’t need to change the method call at all. [More]

What is the use of Application.EnableVisualStyles()?

Application.EnableVisualStyles() is essential to apply the visual styles like colors, fonts, and other visual elements to your form controls from the current operating system theme. If the control and the operating system support this controls will draw with visual styles if this method is used.
Application.EnableVisualStyles() is essential to apply the visual styles like colors, fonts, and other visual elements to your form controls from the current operating system theme. If the control and the operating system support this controls will draw with visual styles if this method is used. [More]

What is STAThread Attribute?

Attribute [STAThread] is a mandatory attribute for all windows forms application. STAThread attribute need to be applied to set the current thread apartment state as single threaded. This means that the COM threading model for the application is single-threaded apartment.
Attribute [STAThread] is a mandatory attribute for all windows forms application. STAThread attribute need to be applied to set the current thread apartment state as single threaded. This means that the COM threading model for the application is single-threaded apartment. [More]

Difference Between Static Class And Singleton Class

A static class is a class with static member variables and methods.A singleton is a design pattern which makes available only a single created instance of that class.Since it allows a single instance of the class,it is possible to pass this instance object as parameter to methods.
A static class is a class with static member variables and methods.A singleton is a design pattern which makes available only a single created instance of that class.Since it allows a single instance of the class,it is possible to pass this instance object as parameter to methods. [More]

C#- New Instance creation in a constructor Vs new in a member declaration, VB.NET

Is there any difference in creating new instance in constructor or create new instance as member declaration. initialize variable within constructor or outside constructor,which is best? Is there any performance or memory difference? These are some basic doubts many developers have.
Is there any difference in creating new instance in constructor or create new instance as member declaration. initialize variable within constructor or outside constructor,which is best? Is there any performance or memory difference? These are some basic doubts many developers have. [More]