-
WPF introduces new property system to us. Every WPF objects that is inherited from DependencyObject inherently supports Dependency property containers within it. That means you can define your own dependency property in your code which can take part in some of the interesting features of WPF like Binding...
Posted to
Abhishek Sur
by
Abhishek Sur
on
07-31-2011
Filed under:
Filed under: beyondrelational, XAML, C#, CodeProject, .NET 3.5, .NET 4.0, architecture, .NET, WPF, internals, BRH, Patterns, #DOTNET, #ASP.NET
-
Most of the WPF classes derive from Dependency Object . All UI Elements are derived from Dependency Object. The Dependency Object class gives all the functionality of the WPF dependency property system. Dependency Object defines WPF Property System. System.Windows.DependencyObject is used to create Dependency...
-
Today we will make a cascading dropdown application of Country, State and City in JQuery N.B.~ We are using JQuery 1.6.1 Let us first make the entities.We will have 3 entities here viz, Country, State and City Country Entity(Country.cs) /// <summary> /// Summary description for Country /// <...
-
I am learning JQuery and today I did a small program with JQuery Ajax I am using JQuery 1.6.1 The application is very simple. It has a TextBox, a Button and a Label control. Once the user enters something in the textbox control and click on the Button control, then the request will go to the server and...
-
We may sometime need to display the execution plan . I got one such requirement recently and thought of sharing the same here. I will take two examples into consideration for demonstrating the application . The first with a normal query and then the same with a stored procedure Case 1: Display execution...
-
Often we need to check if the items in the collections are same or not. It comes into action very often during unit testing. Here we will see three ways of doing so Entity Class (Player Entity) namespace ConsoleApplication1 { public class Players { public int PlayerId { get; set; } public string PlayerName...
-
While I was working today on one of my projects, as per habits, I used Conversion functions from Convert class and I noticed a peculiarity. Just sharing this with the readers to keep this in mind: Ideally, Convert.ToInt32("12") is same as integer 12, but this has a big point to note here. Let's...
-
In this post I am going to explain how we can create fast web sites without worrying about code and other stuff. Microsoft has introduced a new web development tools called ‘WebMatrix’. It’s a free tool provided by Microsoft to create website fast. What is WebMatrix? Web Matrix is a free tool provided...
-
Handle Exception carefully means I am not going to discuss some rocket science about exception handling but I am going to discuss not to shadow the exception in your program. Not going to discuss more I am starting my example class Program { static void Main(string[] args) { try { Program p = new Program...
-
Windows Azure table storage provides two kind of storage 1) SQL Azure and other one is 2) Table,queue,blob and other storage like drives etc. In this blog post I am going to explain Table storage in details. What is Windows Azure Table Storage: Windows Azure table storage is a service provided by Azure...
-
I have posted lot many things about Visual Studio 2010 features because its a great IDE(Integrated Development Environment).Today I am going to write about IntelliSense improvement in Visual Studio 2010. Today when I was working with Visual Studio 2008 for a old project(Nowadays I am working with...
-
Now days we are getting our computer equipped with more and more power even now we are getting quad core processor is also at lower price. Since we have multicore processors are now so we can take advantages of multicore processor with parallel execution in C# 4.0. There are some time consuming task...
-
If we are referring any other script files along with jQuery you may get conflicts in the namespace. Some times if we use jQuery with any other libraries, we may get clash between two libraries and we encounter situations like neither of the functionality works. Important thing to keep in mind is , when...
-
In the previous post I have already explained How we can list data from database easily with the help of EFCodeFirst . In this post I am going to explain How we can complete Create,Edit,Delete and Details operations within 10 minutes. So let’s first Start with Create a new Customer.I am going use...
-
Prism is a Framework for developing Composite or Complex applications specific to WPF or Silverlight or Windows Phone. It uses modularity; It allows to break application into pieces can be called as Modules. It uses design patterns like MVVM, Command Patterns, Dependency Injection (DI), and Inversion...