Computing is one of the areas that change is the fastest. New hardware
and software are continuously released from labs, get into the market
and enter to the cycle of being cheaper. Developers, who creates the
software for the products are the first ones hit by change and should
adapt, if they don’t want get behind. Therefore, being aware of the
trends, especially the ones that will shift the paradigm help us,
developer community, to act earlier. And I see 3 changes that we’ll
shift the paradigm in the near future: [read more.....]
Hi, folks. Yesterday, I opened my new blog on Java, Android and other stuff, IDEAS, (http://enestaylan.com/ideas/).
Here, in this blog I'll continue to write on .NET. You can read my first
post of IDEAS "Why I needed a new Blog?" from here.
Linq to Xml is the best
method, I think, for
querying, constructing and writing Xml data. In this article, I'll show
how to
read Rss data with this powerful Xml technique, Linq. Now, create a
Website in
Visual Studio, add a Textbox and a [read more....]
Events and their underlying mechanism "Delegates" are very powerful
tools of a developer and Event
Driven Programming is one of the main Programming Paradigms. Its
wiki definition is "event-driven programming or event-based programming
is a programming paradigm in which the flow of the program is determined
by eventsi.e., sensor outputs or user actions (mouse clicks, key
presses) or messages from other programs or threads." That means, your
program can go its own way sequentially and in the case of anything that
requires attention is done (when an event fires) by somebody or
something, you can response it by using that event's controller method
(this mechanism is like interrupt driven programming in embedded
systems). There are many real world scenarios for events, for example,
ASP.NET uses events to catch a click on a button or in your app,
controller has notice of a change in UI by handling events exposed by
view (in MVC pattern).
Delegates in C#
C# delegates correspond to function
pointers in [read
more....]
Internet and computers are where things change fastest. Look at web
technologies (and companies. Google is 12 and Facebook is 6 years old.
Their revenues are $23 billion and $300 million, respectively). About in
last 15 years user experience on the browser has changed dramatically:
from static HTML
pages, to dynamic web sites with advanced JavaScript
capabilities (look at your Facebook Profile) and to the ultimate Rich
Internet Applications (RIA) along with web technologies to
offer best technologies and experience. Companies and communities have
developed many technologies, programming languages and frameworks on
browser and server side: JavaScript, ASP, PHP, Python, Ruby, JSP, JSF,
ASP.NET etc. On PHP side, new versions have come to the use of
developers and it dominated small websites (like small news websites)
and is used by some big companies like Yahoo because of these companies'
desire not to be dependent on another companies so they selected open
source. JSP on Java side, has been used by many enterprises in their
large scale websites. JSF was released as the successor of JSP but
couldn't gain market share. On Microsoft side, ASP and its successor
ASP.NET was released for dynamic websites and have been used by
enterprises generally. All technologies [read more....]
Taking snapshots of web pages is used by many applications, for example
Wordpress shows a small snapshot image of the page that a link directs
to. In this post, I'll show how can we get snapshot image of a web page
by using a small program, an .exe executable. Hence, it is the
executable that creates the image actually and our asp.net page will
make use of that .exe. First create a website, add a textbox and a
button like below: [read more....]
Dragging can be a useful feature in various scenarios
especially in visually compelling ones. In Silverlight we can add drag
capabilities to almost every element by using their MouseMove event.
However, this method doesn't provide us a smooth drag experience. For
example, when we drag a rectangle control by using its MouseMove event,
dragging it to LHS immediately after RHS direction just stops the
control. Therefore, we'll use Thumb control that is designed to be dragged with its specialized events. Let's begin: [Read More]
Linq is used generally to get and
manipulate data by using Linq to Sql, Linq to Entities or Linq to Xml.
However, it can work on many collections in .NET Framework. Now in this
post, I'll show how to work on Page Control Collection with
Linq. Think about the scenario you want to get every textboxes that has
a text in it. To see which ones we select add them a text you want.
Create a new .aspx page and add several
textboxes to it. They can be directly in page or another control (i.e.
a panel control). Then add the code below to
[Further]
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]
More Posts
Next page »