ASP.NET Articles added in the month of January 2014
In case you missed earlier updates, here is a list of
recently added articles:
** 7 Things You Need To Know About Web Workers
Web Workers allow you to run JavaScript code in
the background without blocking the web page user interface.
Web workers can improve the overall performance of a web
page and also enhance the user experience. Web workers come
in two flavors - dedicated web workers and shared web
workers. This article discusses seven key aspects of web
workers that you need to know if you decide to use them in
your applications.
http://www.binaryintellect.net/articles/100d33fc-80d9-4018-b13d-0ef72a300fca.aspx
** Posting GridView Data to MVC Controller
Visual Studio 2013 provides a unified
development environment for ASP.NET Web Forms and ASP.NET
MVC applications. This unified environment is called as One
ASP.NET. What it means for developers is that a single
project can use Web Forms, MVC controllers and Web API.
Under One ASP.NET at times the existing Web Forms may want
to send and receive data to and from the MVC controllers.
This article illustrates how this task can be
accomplished.
http://www.binaryintellect.net/articles/11c3ad54-c966-4a3b-b752-0ed6067ba32a.aspx
** 7 Things You Should Know About the Geolocation API
Many websites don't need to know anything about
the geographical location of their visitors. In certain
cases, however, this knowledge can be useful and can be used
to enhance the user experience. This knowledge can also be
used to integrate special features into your application.
Consider, for example, a company selling some electrical
equipment. By knowing the user's geographical location you
can suggest the nearest store where they can visit, and
purchase the products. To provide such suggestions it is
important to capture the user's location. To that end, the
Geolocation API allows you to do just that. This article
examines seven key things you should know about the
Geolocation API in order to use it in your web
applications.
http://www.binaryintellect.net/articles/33dd604e-0638-4aa2-8435-7b51b69afac6.aspx
** Using Complex Types in Entity Framework
A database table represents your application
data in row-column format. Although in many cases this
row-column structure can be mapped directly to entities, at
times you may need to reorganize the same. Consider, for
example, the Customers table of Northwind database. The
Customers table has Address, City, Region, Country and
PostalCode columns representing the address of the company.
The entity that represents this table might not be as "flat"
as the table. For example, you may wish to have a property -
Location - that is of class type and has properties such as
Street, City, Region and PostalCode. Luckily, entity
framework allows you to do so quite easily. The remainder of
this article explains how.
http://www.binaryintellect.net/articles/48e0f502-ee1b-4695-8e3d-c111d4171d1d.aspx
** Understanding the Proper Way to Lay Out a Page with
HTML5
A web page being rendered in the browser consists of many
things - logo, informative text, pictures, hyperlinks,
navigational structure and more. HTML5offers a set of markup
elements that allow you to create a structured layout for
web pages. These elements are often termed as Semantic
Markup because they convey their meaning and purpose clearly
to the developer and to the browser. This article discusses
some of the important HTML5 elements that can contribute to
the layout of a web page.
http://www.binaryintellect.net/articles/e3dc760c-4522-420f-9e06-4273c92c81e4.aspx
** Executing Raw SQL Queries using Entity
Framework
While working with Entity Framework developers
mostly use LINQ to Entities to query database. However, at
times you may need to execute raw queries against the
database. A common scenario is when you wish to generate an
SQL query dynamically. Luckily, EF allows you to execute raw
queries easily. This article explains how that can be
done.
http://www.binaryintellect.net/articles/fbc96859-8a31-4735-baeb-7adcbc521b30.aspx