TechyMedia

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

NAVIGATION - SEARCH

Unit Testing: What Is Unit Test

Unit testing ensures that specific methods perform as expected and returns the expected output on various input conditions. Unit tests are mandatory to ensure better code coverage. Unit tests make the life of software developers easy and comfortable since code re-factoring and optimizations are inevitable part of software system life cycle.
Unit testing ensures that specific methods perform as expected and returns the expected output on various input conditions. Unit tests are mandatory to ensure better code coverage. Unit tests make the life of software developers easy and comfortable since code re-factoring and optimizations are inevitable part of software system life cycle. [More]

9 Essential Tips For Learning A New Language

Learning a languages other than your mother tongue is inevitable at some point in life.Especially,at this time of globalization many desires to learn at least English language other than their native language.This articles 9 Essential techniques to learn a new language explains some efficient techniques to make your language learning faster and easier.
Learning a languages other than your mother tongue is inevitable at some point in life.Especially,at this time of globalization many desires to learn at least English language other than their native language.This articles 9 Essential techniques to learn a new language explains some efficient techniques to make your language learning faster and easier. [More]

C# ImageList Images - Poor Image Quality, Poor image resolution when using ImageList in C#

If you ever used ImageList for setting images for controls like Treeview, you might have noticed the deteriorated quality of the image when it is taken from the ImageList.The solution for this issue is to set the proper ColorDepth for the imageList.
If you ever used ImageList for setting images for controls like Treeview, you might have noticed the deteriorated quality of the image when it is taken from the ImageList.The solution for this issue is to set the proper ColorDepth for the imageList. [More]

Display rtf File With Table In RichTextBox Properly

If you try to load and display an rtf file with table with long text in table column in a RichTextBox control of .NET RichTextBox control you will be disappointed to see the output. I believe you are here because you faced this issue.This is a limitation of .NET RichTextBox control.The Solution is to create a custom control out of this RichTextBox control as below and load the file in that control instead. [More]

Table in RichTextBox With Text Wrap In Columns(Cells)

There is limitation in Visual Studio.Net RichTextBox control that you can not enter lengthy text in the columns(cells) of the created table.The available wordwrap property of the RichTextBox is for the control not for the cells of the table.This article explains how you can enter lengthy texts in your table columns with automatic text wrap provision.
There is limitation in Visual Studio.Net RichTextBox control that you can not enter lengthy text in the columns(cells) of the created table.The available wordwrap property of the RichTextBox is for the control not for the cells of the table.This article explains how you can enter lengthy texts in your table columns with automatic text wrap provision. [More]

Encrypt ConnectionString in Web.config of ASP.NET

Normal practice is to store connection string(database,excel etc.) of any web application in web.config file.But on security point of view placing the database connection string or any of that sort in a web.config file without encryption is not secure at all.So it is mandatory to protect the configurations like connection string etc.That means place only the encrypted connection strings in web.config file. [More]

Extract source code from .net assembly

Being a .NET programmer many a times you may needed to use external assemblies in your application.The situation will be difficult if you identify some issue inside assembly.There are many decompilers available with which you can disassemble your .NET dlls and create project which can be debugged ,rectified and assembled back.
Being a .NET programmer many a times you may needed to use external assemblies in your application.The situation will be difficult if you identify some issue inside assembly.There are many decompilers available with which you can disassemble your .NET dlls and create project which can be debugged ,rectified and assembled back. [More]

Exposing List<T> As A Property Of Class In C#

Generic collection type variables need to be Instantiated while exposing else will end up in null reference exception when try to add members to the collection through property accessor.Two different steps are explained in this article.
Generic collection type variables need to be Instantiated while exposing else will end up in null reference exception when try to add members to the collection through property accessor.Two different steps are explained in this article. [More]

Node.Js Installation on Windows ,Manual installation of Node.Js in Windows

Like any other program Node.js is having a run-time environment and associated modules(library). To start working on Node.js it is required to install Node and update the available modules.In this article I am explaining how to manually Install Node.js in your Windows operating system.
Like any other program Node.js is having a run-time environment and associated modules(library). To start working on Node.js it is required to install Node and update the available modules.In this article I am explaining how to manually Install Node.js in your Windows operating system. [More]

How To Create A C# Windows Service

This article explains in detail step by step tutorial on C# Windows Service,How to Install the C# Windows Service.Software services are used for performing certain long running operations without manual intervention. Once set these services will start running continuously. It stops when you shut down the system and starts again when re-start the system. Also services can be configured to start manually when required. [More]