-
How to develop apps for Windows Phone
In today’s market, all we know that the importance of mobile apps for companies to improve their business is high. No matter of what business it is, a mobile app can help them to get and retain the customers. Recently I was exploring on available frameworks for developing mobile apps to iPhone, Android and Windows…
-
General guidelines to be followed by .Net Developers to write optimized code.
Looping Please avoid if else conditions .Instead use switch statements. Avoid For-Each for iteration in performance critical code paths, instead use FOR loops. If you test for multiple exit conditions, begin the expression with the one most likely to allow you to exit. Avoid calling properties inside within loops. If the methods called inside the…
-
Custom Control in WPF
File Upload Custom Control in WPF This article is about Custom control in WPF, Custom controls are also the user controls, but there is some difference between them. UserControl (Composition) Composes multiple existing controls into a reusable “group” Consists of a XAML and a code behind file Cannot be styled/templated Derives from UserControl CustomControl (Extending…
-
Unit testing in .NET
Unit Testing – Explained A process which involves writing code to verify a system at a lower and more granular level is known as Unit Testing. Unit Testing gives us the ability to verify that our functions/methods work as expected. It is used by programmers for programmers. Unit tests are written to ensure that code…
-
What’s New In C# 6.0?
Microsoft has released the preview version of Visual Studio 2015 and .NET 4.6 for developers to try and provide feedback on usage or issues. .NET 4.6 preview comes with C# 6.0 which includes the new additional features expected by developers to improve the coding productivity. In this article I am going to describe the new…
-
Automating .NET builds using CCNET and TFS
CruiseControl.NET (CCNET) is an open source tool used for continuous builds on server, where testing is required parallel to development. CCNET periodically checks the version control for changes to codebase, builds the source code if any modifications found, publish the build to website hosted location and notifies the build status software stakeholders. Here I am…
-
How to implement and use Extension Methods in C#
Do you wish to extend the built-in types with new methods? Want to extend custom types with new methods? In C#, we can use the Extension Methods to extend both built-in types and custom types. These extension methods are introduced in C# 3.0 What are Extension Methods? Extension methods are special kind of static methods…
-
How to setup Module to Module communication in DotnetNuke
Are you building modules in DotnetNuke? Is one module depends on another module? Want to exchange data between modules? Here we can discuss how to set up Inter Module Communication in DotnetNuke. In DNN, with the help of IModuleCommunicator and IModuleListener interfaces we can setup the communication between the modules. Here I would like to…
-
How to download YouTube Videos using .NET
Are you interested in downloading YouTube Videos? Want to download YouTube Videos in device specific formats? Need to have some fun while coding on interesting Stuff? Yes, then you are at the right place! In this blog I am going to show you how we can download the Videos from YouTube URL in different formats.…
-
HTML Parser
Are you looking for any HTML Parser? Want to traverse through HTML DOM elements? Want to read properties and its values of HTML element? Want to add properties to HTML elements dynamically? Want to modify HTML form at runtime? JQuery is one of the best solution to do all these at client side. But what…