Debugging is an
important skill that every developer needs to acquire. .NET developers
have a powerful debugger of Visual Studio at their disposal. Visual
Studio offers many windows that can be used during the debugging
session. Knowing these windows is essential for efficient debugging. To
that end this article discusses some of the most commonly used debug
windows of Visual Studio.
increasing popularity of mobile devices, web developers are required to
ensure that their website renders well on different devices. One
important aspect in such a rendering is applying different CSS rules to
different requesting devices. To that end CSS3 media queries allow you
to apply CSS rules depending on the media type and its capabilities.
This article examines what CSS3 media queries are and how to use them in
your web pages.
Ajax based login involves many of the same steps as the normal forms
authentication. However, the login page doesn't send user ID and
password to the server through a standard form submission. Instead, user
credentials are sent to the server via an Ajax request. The credentials
are then validated on the server and the result of the verification
process is conveyed to the client. If the login attempt was successful,
the user is taken to the secured area of the website.
single record for editing is quite common and the default model binding
of ASP.NET MVC takes care of mapping the form fields to the model
properties. However, sometimes you need to edit multiple records. For
example, you may want to display an editable grid to the end user filled
with existing data. The user can edit the values from multiple rows and
hit Save in an attempt to save the data. In this case multiple model
objects are being submitted to the action method. The single record
editing works on the assumption that form field names from the view
match the corresponding model property names. However, when multiple
model objects are submitted this assumption is no longer valid. Luckily,
by tweaking the form field names you can get this to work as expected.
are said to be self-describing. That means the information about an
assembly is stored in the assembly itself. This information is called
Metadata. Moreover, .NET allows you to put additional information in the
metadata through Attributes. Attributes are used in many places within
the .NET framework. Some examples of attributes are [WebMethod],
[ServiceContract], and several data annotation attributes such as
[Required] and [StringLength]. This article discusses what attributes
are, how to use inbuilt attributes and how to create custom attributes.
websites provide Facebook integration to enhance the user experience.
Features such as Facebook authentication, displaying Like or comments
widgets, posting something on a user's wall are parts of this
can be consumed from the client side script to leverage such an
integration. To that end this article shows you how to implement
Facebook authentication, how to retrieve a user's details, such as user
name and profile picture, and also illustrates how to post on the user's
If you are a
professional web developer chances are you use CSS for styling your web
pages. The latest version of CSS - version 3 - adds many features to the
CSS2 feature set, making it appealing to any web developer. This
article discusses five features of CSS3 that you will find interesting.
The features discussed in this article include - New selectors, border
images, gradient, setting opacity and multicolumn layouts.
In Part 1 of
this two part series, you learned to map stored procedures for the
INSERT, UPDATE and DELETE operations in the entity framework designer.
EF also allows you call arbitrary stored procedures from your code.
This part of the article discusses how.
industry is one of the most dynamic industries to work with. Everyday
something new comes up and you have no option but to learn it to be in
the race. While learning is a commonly acquired skill by software
developers, not many can acquire the unlearning abilities. My experience
of training software developers tells me that this skill - unlearning -
can dramatically affect your experience with a technology or tool you
entity framework generates SELECT, INSERT, UPDATE, DELETE queries to
perform the respective operations on the database. At times, however,
you may want to deviate from this default behavior and use stored
procedures for these operations. Additionally, you may want to call
arbitrary stored procedures to perform some task at hand. To that end
this two part article explains how stored procedures can be dealt with
in Entity Framework.