-
-
Visual Studio
provides a rich debugging experience to developers, helping them write
robust and bug free code. In simple projects, the inbuilt facilities of
Visual Studio debugger may be sufficient for your purpose, however,
while debugging complex projects you may want to enhance the debugging
experience further. Luckily, Visual Studio offers debugger attributes
that help you do just that. Debugger attributes allow you to customize
the way Visual Studio debugger steps through your code and also the
display of your types. This article explains some of the important
debugger attributes along with debugger type proxies and visualizers.
http://www.bipinjoshi.net/articles/72fdc425-7e89-4a67-8e21-150ddc7f1fd1.aspx
-
-
In the first
part of this two-part series, published in the June 2011 issue, we
developed a Windows Communication Foundation (WCF) service that takes
data in and out of the Tasks table. We created a web form for displaying
the tasks in a tabular format using the jQuery Templates plug-in.
Finally, we developed a DatePicker plug-in to pick due dates. In this
second part, we'll make the task-list application functional by writing
jQuery code, including a few helper functions, code to call WCF service
methods, and code to filter the task-list table.
http://www.bipinjoshi.net/articles/c62af03f-be27-45c3-af2b-30aabb8f063e.aspx
-
-
C# is primarily
a statically typed language. That means the compiler needs to know in
advance about the data type of a variable. In the absence of this
information, the compiler will throw a compilation error and will refuse
to compile the code. In spite of the advantages offered by the
statically typed languages, dynamic languages have their own place in
application development. For example, most of the web sites developed
today make use of JavaScript in some way or the other. Languages such as
Python and Ruby are also popular amongst developers. The C# language
now supports dynamic features through Dynamic Language Runtime (DLR).
Part of these features include dynamic types, DynamicObject Class and
ExpandoObject Class. This article explains these features and provides
examples illustrating how these features are used.
http://www.bipinjoshi.net/articles/b181e4f3-5aa0-454f-b146-857ab7b06e69.aspx
-
-
While
developing web sites, at times you require that the URLs being used are
not mapped to any physical file. For example, you might be building a
blog engine that stores all blog posts in a SQL Server database but
while displaying these posts you want URLs to be SEO friendly. In such
cases the resource pointed to by the URL has no physical existence.
That's where the URL Routing features of ASP.NET come to the rescue. In
addition to creating SEO friendly URLs these features also help you
render easy to remember URLs. ASP.NET MVC relies heavily on the URL
Routing feature. However, it is also possible to use URL Routing in web
forms. In this tutorial you will learn just that.
http://www.bipinjoshi.net/articles/8a522617-6973-4dd5-97ce-82fb55ebdebc.aspx
-
-
Many ASP.NET
websites allow users to filter data presented to them on the basis of
certain conditions. A general approach used in such cases is to
re-construct the database query again and again for each such filter
parameter. Though this works well as far as end user requirements are
concerned, it can make your code a bit tricky and cumbersome to manage.
This is because you need to manipulate the WHERE parameters of the data
source control under consideration (LINQ Data Source for example) in
your source code. That is where the Query Extender control comes handy.
The ASP.NET Query Extender server control allows you to filter data
retrieved from a data source without changing the underlying query. It
does so using a declarative syntax without any need to programmatically
manipulate query parameters. This article explores the Query Extender
control with the help of several examples.
http://www.bipinjoshi.net/articles/dd228370-7c73-4664-9cf8-4a6d8781aad8.aspx
-
-
Maintaining a
task list (or to-do list) is a common time management technique that
keeps track of work items to be completed along with their priority and
current status. No wonder that task manager is often an integral part of
web and desktop calendaring applications. In this two part article we
will build our own task list application using jQuery, ASP.NET and WCF.
Though simple our task list application will illustrate how jQuery can
interact with server data through WCF services. We will also get to use
several jQuery concepts such selectors, AJAX calls and plug-ins.
http://www.bipinjoshi.net/articles/a950bee4-b6d9-4fad-bebf-f15f5216380f.aspx
-
-
ASP.NET MVC
model binding allows you to map and bind HTTP request data with a model.
Model binding makes it easy for you to work with form data because the
request data (POST/GET) is automatically transferred into a data model
you specify. ASP.NET MVC accomplishes this behind the scenes with the
help of Default Binder. This article discusses how model binding works
for various types of models viz. simple types, class types and lists. It
also shows how to create a custom model binder if situation calls for
it.
http://www.bipinjoshi.net/articles/a0e91023-4438-4911-97a6-33cf64202c73.aspx