September 2009 - Posts
There are advanced classes in .NET for IO processing. Even though we
have some classes that allow us to carry out low level IO operations,
we can usually do our work with several static methods. Now let's see
how a directory and a file is created, deleted and how directory
hierarchy in a disk volume or in a directory can be displayed in tree
view. Although IO operations are same in all .NET projects, to make
easier our article I use ASP.NET. Hence you can easily copy and paste
code below in, for example, WPF. Classes, we will use, are:
Websites that are data-driven, content-based, real-world, have some
shared features. This features are much more important than the past,
because we have in the era of social media and competence is heavier.
These features are: [Further]
Using cache is an easy way to increase efficiency in programs. By using
cache techniques we can store the data in RAM that is normally in
harddisk or another stuff whose access time is much bigger than RAM's.
In this article, I will write a method that gets the subdirectory names
in a directory and return them to caller. ( this method can be used,
for example, to populate theme names in a dropdownlist so that user can
select her preferred style. "When [Further]
Today, I worked some on Jquery. Firstly, my interest was just to find
some plugins to create nice pop-ups to show images. But, later I found
myself in the docs of JavaScript and Jquery. As a programmer who
works with major languages like Java, C#, ASP.NET, I understood how
much I’ve ignored this important concept of web programming especially
after seeing power of Jquery. To create shared functionality between
several elements ( that shares some type of sign ), using Jquery is a
very good solution in some problems (for example, highlighting codes in
a document , like in this website, use name attribute in <pre>
tags and give them some cool css features. This would require very
strange and humble solutions when using just C#.) Now, in this entry, I
am beginning a new series of articles: Jquery articles. First one:
Getting Started with Jquery.[Further]
Caching data that comes from an SQL database (in other words
dependencies to database tables) in RAM has been supported since
ASP.NET 2.0. In practice this means, we can cache the data for
undetermined period until the source database table is updated. This
cache mechanism works for SQL Server 7 and later including SQL 2005 and
SQL 2008. SQL 2005 and SQL 2008 supports another type of cache
invalidation based on events. I call first mechanism as Table Level SQL Dependencies and second as Command Level SQL Dependencies.
In this article, "Table Level SQL Dependencies" will be spoken. For
"Command Level SQL Dependencies" you can look at "Caching with SQL
Dependency Support-2". [Further...]
More Posts