background preloader

Web

Facebook Twitter

Bienvenido a la página web de la CPU.

AJAX

ASP.NET 4. SECURITY. ASP.NET Application and Page Life Cycle. Download source code - 4.03 KB Table of Contents Introduction In this article, we will try to understand what the different events are which take place right from the time the user sends a request, until the time the request is rendered on the browser.

ASP.NET Application and Page Life Cycle

So we will first try to understand the two broader steps of an ASP.NET request and then we will move into different events emitted from ‘HttpHandler’, ‘HttpModule’ and ASP.NET page object. As we move in this event journey, we will try to understand what kind of logic should go in each and every one of these events. This is a small Ebook for all my .NET friends which covers topics like WCF, WPF, WWF, Ajax, Core .NET, SQL, etc. The Two Step Process From 30,000 feet level, ASP.NET request processing is a 2 step process as shown below.

Programming tutorials and source code examples. Get The HTML Source of Any Web Page. Download source files - 1.57 Kb Introduction Some Web Sites do not allow visitors to view the HTML source of their web pages.

Get The HTML Source of Any Web Page

They can disable our right mouse button to prevent accessing the "view source" menu option and some other web sites open their pages in a special window which has no menu bar to select the "Source" option from "View" menu. How to get and display the source code I used the Microsoft XMLHTTP object in this sample application to get the source code of the web page. Why this code? All Possible Data Exchange in AJAX. Download source - 18.07 KB Introduction This is a demo application to send receive data with AJAX using QueryStrings, HttpHeaders, Post Data.

All Possible Data Exchange in AJAX

You can always get all the description on the internet about AJAX. Short Description of AJAX Ajax is only a name given to a set of tools that were previously existing. The main part is XMLHttpRequest, a server-side object usable in JavaScript, that was implemented in Internet Explorer since the 4.0 version. To get data on the server, XMLHttpRequest provides two methods: open: Creates a connection send: Sends a request to the server Data furnished by the server will be found in the attributes of the XMLHttpRequest object: responseXml for an XML file, or responseText for a plain text. Re: my vote5. Download source code - 378.9 KB Introduction Here is a simple Chat application to demonstrate the use of XMLHttpRequest (AJAX) in ASP.NET.

Re: my vote5

This is a one to one user chat application, but can be easily extended to support multi user chat also. As for a demo application, no extra user details are maintained while user registration or no CAPTCHA check or other Security is used. The main code which is responsible for the AJAX communications is the same as is explained in my previous article which can be found at AJAXDemo.aspx. So the function AJAXRequest() is used for transferring all the data between the browser and the server. Background. MySQL C# tutorial. About this tutorial This is a C# tutorial for the MySQL database.

MySQL C# tutorial

It covers the basics of MySQL programming with C#. In this tutorial, we use the Connector/Net driver. This driver is based on the ADO.NET specification. The examples were created and tested on Ubuntu Linux. If you need to refresh your knowledge of the C# language, there is a full C# tutorial on ZetCode. About MySQL database. jQuery: The Write Less, Do More, JavaScript Library. Desarrollo +: Failed to update database because the database is read-only. No se puedo actualizar la base de datos porque es de sólo lectura. Chat Application using Web services in C# Download EasyTalk.zip - 1.67 MB Introduction All of us are more or less using many of the chat applications available in the market everyday but still sometimes wonder of how it has been developed.

Chat Application using Web services in C#

Build a Web Chat Application Part 2 - Chat with Other Users Privately (in C# 3.5) Technologies Used: ASP.Net 3.5, AJAX, JavaScript, C# 3.5, LINQ-to-SQL, MS SQL Server 2000/2005 Note: As usual in about a week, I will have this article shown in VB 9.0 code.

Build a Web Chat Application Part 2 - Chat with Other Users Privately (in C# 3.5)

So check back later. Introduction: In Part 1 we built a very simple, flicker-free, frame-less, web chat application using ASP.Net 3.5, LINQ-to-SQL, AJAX and MS SQL Server, with your choice of either C# 3.5 or VB 9.0 in about 2 hours. As promised, we will add functionality to our previous chatroom application so that users will have the ability to chat with each other privately. Here's a snapshot of the Chatroom area.

I noticed while coding for part 2 that the names (in black) of the chatters didn't show in the chatroom messages, so I added them real quickly. Event 1028 - Automatic Download Blocking (Internet Explorer) Logged Message Automatic Download Blocking automatically suppresses file download dialog boxes not initiated by the user (such as by clicking the mouse or hitting a key).

Event 1028 - Automatic Download Blocking (Internet Explorer)

When a dialog box is blocked, the Information Bar appears at the top of the window. Users can download the blocked content by clicking the Information Bar. What Is It? When a dialog box is automatically blocked, the Information Bar appears at the top of the window, stating: "To help protect your security, Windows Internet Explorer blocked this site from downloading files to your computer. Users then have the option to download the blocked content, by clicking the Information Bar. By moving download prompts to the Information Bar, you prevent users from installing unwanted code on their computers. IE Nags. From iMacros How to Turn Off and Disable Reopen Last Browsing Session in IE8 Method 1: Using Group Policy Editor Run Local Group Policy Editor (Type GPEdit.msc in Start Search or Run command box, only availbe in Windows "PRO" versions).

IE Nags

Navigate to the following tree branch: User Configuration -> Administrative Templates -> Windows Components -> Internet Explorer In the right “Local Computer Policy” pane, locate "Turn off Reopen Last Browsing Session setting", set to "enabled". ASP.NET: Tutorial para la creación de un sitio Web con autenticación mediante formulario. En este artículo te voy a explicar de forma sencilla (o al menos paso a paso) cómo crear una aplicación Web que utilice un formulario Web (Web Form) para realizar la autenticación (o autorización) de los usuarios que quieran navegar por el sitio Web que la utilice.

ASP.NET: Tutorial para la creación de un sitio Web con autenticación mediante formulario

La comprobación de esa autenticación la haremos de tres formas:1- Usando código directo, es decir, en el propio código de la aplicación tendremos los nombres y las claves. Nivel de seguridad 0: esto ni se te ocurra hacerlo en una aplicación "de verdad".2- Los nombres de los usuarios y las claves estarán en el fichero Web.config. Para mayor nivel de seguridad no guardaremos la clave, sino que guardaremos un valor HASH que nos servirá para comprobar si la clave es "buena". Para este caso, necesitaremos una pequeña utilidad para generar ese valor HASH. 3- Los nombres y claves se guardan en una base de datos.

MVC