Blog

Στο blog θα βρείτε πολλές ιδέες και σκέψεις σχετικά με τεχνολογίες .Net. Χρήσιμος οδηγός τόσο για καινόυργιους όσο και για έμπειρους προγραμματιστές.

1..4 | 5 | 6

File Handling using C#

Σχόλια : 0

File handling and editing is something you should know how to deal with, since a lot of info is stored within simple files. We will go through the basics of file handling such as creating, deleting, moving and copying files. Next we are going to read and write to files. We will sum everything up using an example where we will be able to handle two files.     Getting...

Use your Master Pages properly

Σχόλια : 0

You have probably noticed that most sites share the same design patterns in more than one page. For example, take a look at the following Wikipedia pictures.               These pictures are not part of the same page. However, the top and left panel, exist in both pages.  Instead of writing the same HTML and source code parts for every...

Everything you need to know about ToString method

Σχόλια : 2

ToString method is one of the mostly used methods of the .Net framework. It's hard to find a developer who has never heard of it. Data is stored and processed through many different objects. It is highly possible however, there will come a time when you will want to present results to another human. This is where ToString comes in play. ToString, simply to say, will return a string value...

Comparing state management tools

Σχόλια : 0

Across the latest  articles we've encountered many state management tools. View state, session, cookies, query string, cache, and application state have all been thoroughly explored. This article contains a direct comparison of these techniques, helping the reader choose which one to use depending on the circumstance.     The basic differences between these technologies,...

State Management Part 6 - Application State

Σχόλια : 1

Application State is the last part of my state management group of articles. Its use is quite similar to caching so most developers choose to take on that, instead. Thus Application state is not a widely used method. In contrast to other state management tools, it can be found only in Microsoft applications. What is application state? Application state is a technique to store data in the...

State Management Part 5 - The Query String

Σχόλια : 0

Query string is one of the easiest ways to transfer info when moving from one page to another. The information is stored right in the url. This way the page you are viewing can be easily "copied" and viewed later on, or sent to another user. However, as it stands in plain view, you shouldn't keep sensitive data within the query string.   What is the Query String So...

State Management Part 4 - Caching Techniques

Σχόλια : 0

Most people are familiar with the concept of caching as it is widely used in computer science. Caching is a component that stores data so that we will not have to compute it all the way from the beginning next time we request it. For example, we search for data within the hard disk and when we find it we store it in the cache, as we trust it is highly possible to be requested soon, so next time...

State Management Part 3 - Cookies

Σχόλια : 0

Following the session part we now come face to face with cookies. Cookies are small-size files stored in the client's disk, that usually contain personal non-sensitive data. They are used extensivelly by web applications and are supported by most browsers.   What is a cookie? When you log in a website, close your browser and, a few days later, return to the website, you will...

State Management Part 2 - Session

Σχόλια : 0

Last week, I wrote an article concerning View State. This week I' m going to talk about Session. Session is one of the most powerful and common ways to store information in an ASP.NET application. We are going to take a look at the benefits and choices we can get.   Getting Started Session is another way to store information and, actually, a very handy one.  It comprises...

State Management Part 1- View State

Σχόλια : 0

This article is about the various ways ASP .NET uses to handle state. Following a brief overview, we'll look through viewstate, one of the most common ways to store values within a page.   Getting Started There are times we wish to store values we will use when a website visitor enters another page or triggers an event. For example, think of a customer buying stuff from an...

1..4 | 5 | 6