Posts Tagged ASP.NET

How to read application settings from the Web.config file of an ASP.NET Website

There are many situations, in the development of an ASP.NET application, when particular values must be made visible from different Web Forms or code routines. These values can represent:

-    global values or keys associated with an application setting;
-    connections strings for databases
-    passwords and hash values
-    URLs for Web Services

The web.config file is an XML file that holds configuration information for the ASP.NET application. This file can be placed in the root directory of the ASP.NET site or in any other application subfolder. Among the configuration sections of the file, the application settings can be stored in the <appSettings> section using <add key=“” value=“”/> elements.
Read the rest of this entry »

No Comments

Solutie pentru problema accesarii localhost in Firefox

Daca dezoltarea de pagini Web are loc pe masina locala si nu pe un server aflat la distanta, atunci testarea acestora nu necesita transferul lor pe server. Pentru a accesa paginiile printr-un browser se utilizeaza URL-ul serverului Web local (IIS, Apache, Tomcat), care este http://localhost.
Daca se utilizeaza  Microsoft IE nu există nici o problemă, dar pentru Firefox, din motive de securitate, browser-ul necesită autentificare şi cere un nume de utilizator şi parola la incercarea de a deschide pagini de web locale.

Read the rest of this entry »

, ,

No Comments

Solution for localhost problem in Firefox

If you develop Web sites on your local machine and not on a remote server then you want to test them. For that, it is used the URL of your local Web server (IIS, Apache, Tomcat) which is http://localhost.
When using Microsoft IE there is no problem but for Firefox, because some security issues, the browser requires authentication and asks for an user name and password when trying to open Web pages from localhost. Read the rest of this entry »

, ,

1 Comment

How to install IIS on Windows 7 and Vista

This solution describes installation of IIS 7 (Internet Information Services) on Windows 7 Ultimate, Vista using the Windows Features Wizard. Read the rest of this entry »

, , , ,

No Comments

Solutie pentru “A potentially dangerous Request.Form value was detected from the client…”

Aceasta eroare este intalnita in cazul aplicatiilor Web, dezvoltate cu tehnologie ASP.NET. In momentul in care pagina revine la server pentru a fi prelucrata este generata o exceptie de tipul Read the rest of this entry »

,

1 Comment

Solution for “A potentially dangerous Request.Form value was detected from the client…”

This error is encountered in the case of Web applications which are developed with ASP.NET technology. When the page returns to the server to be processed it is generated an exception like this one Read the rest of this entry »

,

No Comments

Identificarea unui dispozitiv (browser) mobil intr-un site Web

Acest material ofera o solutie pentru redirectarea cererii HTTP facuta de browser-ul unui dispozitiv mobil catre o versiune a site-ului destinata dispozitivelor cu caracteristici limitate (dimensiune, resurse multimedia). Read the rest of this entry »

, ,

No Comments