With the new releases of the .NET platform and Visual studio, I was bit afraid being a WPF and XAML programmer as there was nothing new happening in windows side. But with the release of Windows 10 and introduction of UWP there will be great scope for XAML developers in the coming time. Lets get introduced to the UWP world in this small introductory write up.
Are you living and working in Bangalore? Are you passionate about .NET platform and Microsoft technologies? If yes these is something very interesting happening in Bangalore on this weekend i.e. on 20th August 2016. Proawareness is hosting a very interesting meetup. Please find the link for the address and schedule here. You can register for the event at the same link.
Do you know how to add the ASP.NET MVC View for a action method in the MVC project? or How does ASP.NET MVC engine searches for a view. Let’s develop a simple ASP.NET MVC application from scratch with controller and action in C# to find answer to these questions.
In this article I will discuss about the various WCF bindings and associated behaviours. In one of my article I have discussed how we can create self hosted WCF service in C#. In that project I have used basicHttpBinding to communicate between client and the host. If you want to know about the WCF proxy class, you can read this article.
How twitter can help you be always motivated?In this article I will discuss how twitter has helped me to start my own blog. I always wanted to write. I have a habit of maintaining my notes of whatever I read or learn. I always wanted to write about these things which I am reading or learning. Please note that I am not promoting any product or person here.
Hello, In this article I will ask some of the tricky C# and OOP interview question which are asked at experienced level. These questions can be faced by all the experienced C# professionals appearing for the IT companies interviews.
How to bind View and View model in WPF or how to set DataContext of View? In this article I will discuss about the different ways to bind the View and View Model in WPF. In one of my article I have discussed about the MVVM pattern in the WPF and its various components (i.e. View, View Model and Model). If you want to learn about the data binding in WPF you can learn here. This article I have developed using C# language.
Have you ever tried of searching the items in ListBox without any button event? In this article we will see how to search Filter the Items in the WPF listbox using CollectionViewSource. In the first part I will discuss about the CollectionViewSource. It’s functionalities and features followed by its working. Then I will use CollectionViewSource to search as well as group items in ListBox as an example. This example can be duplicated for all the items control of WPF like combobox, datagrid etc.
Ever thought how we can replace the class instance without recompiling the project in C#? In this article I will discuss how we can use Provider pattern to make extensible software. In one of my article I have talked about loose coupling and dependency injection. I will use a very simple example to demonstrate how we can replace the functionality of one assembly or class without even compiling the project. This will be done dynamically at run time. I have used C# as the language for this project.
In this article I will discuss about the tight coupling and loose coupling. Why loose coupling is a better way of programming? How to achieve loose coupling using dependency injection? How to achieve dependency injection using unity framework ? You should be able to answer all these questions after reading the article. All there topics I will discuss here with the help of C# code examples.
In this article I will discuss the two most common ways to compare the value type and reference types in C# in .NET. You can refer here to know about the value types and reference types. System.Object contains an virtual method known as Equals. It also contains the operator overloading for the equality operator “==”.
In this article I will discuss about the WPF MVVM(Model-View-View Model) design pattern. I will create a simple data driven application in WPF which will use MVVM pattern. I have used C# language and Visual Studio 2015 Community to develop the application. I have also used Entity Framework to interact with data base. First I will discuss about the MVVM and its uses. Then I develop a simple CRUD application using the MVVM concepts.
In my previous article I have showed how we can create a database using the code first approach in Entity Framework. But there is more then this in Entity framework. Suppose we have to keep the database updated with the changes in the class or update the data in the database. We should use the migration and synchronizing techniques which Entity Framework provides. Here I will discuss these techniques with code examples.
In this article I will show how we can work with Entity Framework. I will develop a WPF client application which will use code first technique. I have used WPF application for demo purpose only. The Client can be any application like asp.net, asp.net MVC. My application can be used as an code example to start working with entity framework in C#.
In this article I will discuss about the windows service development and installation. The benefit of having a windows service is that we can put a timer in the service and do the operation on specified time span. Using that timer the service will keep performing its operation. I will develop the service using the C# as language.
In one of my previous article I have described about why do we use interface in C#. But in C# we have very important class known as abstract class. Abstract class can have one or more methods which can be abstract(only signature). But interface only contain the method signature. Then how is an abstract class different from an interface in C#. It is one of the favourite question in C# interview. What is abstract class and why do we use it?
You can learn more about virtual, override , new and abstract keywords here .
In this article I will discuss about the regular expression in C#. I will use the regular expression to parse a log text file. This example I am using to have a better understanding of the regular expressions. Moreover I will state the most commonly used patterns.
In this article I will discuss about the observer pattern in C# with simple code example. I will use the publisher subscriber mechanism of the delegates to implement the observer pattern.