-
In this post I am going to explain you how we can create a basic RSS Reader with the help of Linq-To-Xml and ASP.NET MVC3 Razor. Those who are writing or reading Blogs already knows what is RSS Reader. But those who does not know What is RSS. Below is the definition for RSS as per Wikipedia . RSS...
-
Yesterday one of my friend asked me to set default value for @HTML.EditorFor. So I decided to write this blog post. In this blog post I am going to Explain How we create Default values for model Entities. So Let’s start this via taking a simple example Model class called User. In User Model class I have...
-
We have all love Visual Studio 2010 and I am sure you all want to change color for menus, toolbars and title etc. Today I have found one of the most interesting Extension for Visual studio 2010 from which you can manage all this things. Don’t believe me I’m sure you won’t believe but this reality and...
-
You might be working with ASP.NET Dropdown list or normal html dropdownlist while working with web development. In common scenarios and day to day applications we need to get value filed ( usually ID ) and text filed of the selected item in the drop down. In this post we will examine how to get selected...
-
Everyday I am discovering something new with Visual Studio 2010 and today Once again I have discovered a new feature called “Surround with” feature. This feature is quite useful when you have very big HTML element and You want to surround it some HTML or ASP.NET element i.e. Suppose there is one very...
-
Problem : When i was working with stored procedures to get the hierarchical data in SQL Server 2005, I did one mistake. Let me explain the what was that mistake. I don't want to repeat the same. I have also posted one post for the CTE and MAXRECURSION option. I was using CTE (Common table expression...
-
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...