Eroare
  • XML Parsing Error at 1:445. Error 4: not well-formed (invalid token)

Articole noi

Viata sanatoasa


- Dr. Virgiliu Stroescu: Cum sa mancam sanatos, cum sa invatam sa mancam sanatos. Cum? Cat? Cand? De ce asa si de ce nu altfel? Cat de usor, de ieftin este sa mancam sanatos? Afli despre controlul greutatii si mentinere mancand sanatos fara infometare (sau pentru cei slabi, ectomorfii cum sa se "ingrase" sanatos) - Emisiuni TV.
80-90% din bolile oamenilor sunt declansate de alimentatia nesanatoasa, de mancarea nesanatoasa pe care o mananca zilnic, de hidratarea insuficienta (trebuie minim 6-8 pahare de apa/zi), lipsei de miscare (fara activitati fizice sau sport, etc. - minim 30-60 minute/zi), iar apoi din cauza somnului insuficient (sau prea mult), stresului, poluarii, etc.
Dr. Virgiliu Stroescu - dr. Endocrinolog si Nutritionist   
 - Aditivii alimentari periculosi pentru sanatate! - Lista aditivilor alimentari periculosi. Otrava zilnica din mancare. Ce nu stiai despre aditivii alimentari (E-uri).
Carti despre Stil de Viata Sanatos, Wellness, sanatate, alimentatie, nutritie sanatoasa si retete, etc.:
- Studiul China. Cel mai complet studiu asupra nutritiei

- Dr. Emil Radulescu

- Elena Pridie

- Dr. Ovidiu Bojor

- Dr. Gheorghe Mencinicopschi

Carti utile:

- Cartea de bucate a Centrului Lifestyle Herghelia + DVD

- Tablete de stil de viata - Sanatatea nu este totul, dar fara sanatate, totul este nimic.

SanatateSiViata.ro: Pentru un Stil de Viata Sanatos si o Viata Fericita
SanatateSiViata.ro: Pentru un Stil de Viata Sanatos si o Viata Fericita

Mai multe detalii despre viata sanatoasa, alimentatie, nutritie sanatoasa, wellness, dar si emisiuni TV le gasiti aici


Companii care produc  produse 
pe baza de plante, naturale:

HOFIGAL - HOmeopatie, FItoterapie, GALenice
HOFIGAL - HOmeopatie, FItoterapie, GALenice (Ghid Terapeutic - Lista afectiuni, boli si produse naturale de prevenire, vindecare, ameliorare recomandate de Hofigal)

Interviu cu Stefan Manea, directorul general HOFIGAL


Alte companii:

- Fares - Laboratoarele Fares Bio Vital - Ceaiuri, Tincturi, Uleiuri, Siropuri naturale, Creme, Capsule
- Dacia Plant - Tincturi, Comprimate, Ceaiuri si Remedii Naturiste


Producatori si Magazine de produse Naturale, Bio, Eco: 
sanovita-logo-sigla-3 
SanoVita - produse Vegetariene ca alternativa pentru cei care doresc sa reduca sau sa renunte la consumul de carne in vederea dobandirii unei sanatati mai bune.

Naturalia - Magazin cu produse naturale, Bio, Eco
Naturalia - Magazin cu produse naturale, Bio, Eco


ecolife-ro-logo

Aparente inselatoare


INITIUM, o otrava aprobata oficial pentru agricultura romaneasca

Ce sunt adjuvantii folositi pentru vaccinuri? Despre cum sunt facute vaccinurile si cat de periculoase sunt acestea. Adjuvantii din vaccinuri: saruri de aluminiu, sqalena, mercur pentru conservarea vaccinurilor etc.

Marea escrocherie a incalzirii globale - Un documentar absolut fenomenal - The Great Global Warming Swindle

The Obama Deception - Inselaciunea Obama

The Obama Deception and The Bilderberg Group, Bilderberg conference, or Bilderberg Club is an annual, unofficial, invitation-only conference of around 130 guests, most of whom are persons of influence in the fields of politics, banking, business, the military, and media. Each conference is held under intense security and secrecy.- Video
Dar si Hal Lindsey vorbeste despre Clubul Bilderberg sau Grupul Bilderberg si planul pentru depopulare - Miliardarii decid cine traieste si cine moare !
Clubul secret al miliardarilor.


Earthlings - Pamantenii - Film Documentar

Earthlings, in traducere Pamantenii, este un documentar de lung metraj despre cruzimea oamenilor fata de animale, despre dependenta absoluta a umanitatii fata de animale (pentru companie, mancare, imbracaminte, sport si divertisment, sau pentru cercetare stiintifica si medicala), dar ilustreaza in acelasi timp totala nostra lipsa de respect pentru asa zisii "furnizori ne-umani". Filmul este povestit de catre Joaquin Phoenix (GLADIATORUL), nominalizat la premiile Oscar, iar coloana sonora este asigurata de catre Moby, artistul castigator al discului de platina.

Studiind in profunzime pet shopurile, crescatoriile de pui si adaposturile de animale, precum si fermele – uzine, afacerile cu piele si blana, industriile sportului si distractiei, si in final profesiile medicale si stiintifice, EARTHLINGS foloseste camere ascunse si filmari care nu au fost niciodata aratate pana acum pentru a realiza cronicile de zi cu zi ale unora dintre cele mai mari industrii din lume, care se bazeaza in intregime pe animale pentru a obtine profit. Puternic, provocator si dand nastere la intebari, EARTHLINGS este de departe cel mai cuprinzator documentar produs vreodata despre corelatia dintre natura, animale, si interesele economice umane. Exista multe filme bune despre drepturile animalelor, dar acesta transcede scenariul. EARTHLINGS necesita sa fie vazut.

Filmul documentar Earthlings - Pamantenii se poate vedea si aici.

Vizitatori online

Avem 4 vizitatori online
Prima pagina IT & C Web Development ASP.NET 4.0 Features - Visual Studio 2010
ASP.NET 4.0 Features - Visual Studio 2010 Imprimare
Scris de Administrator   
Miercuri, 12 Mai 2010 18:40
Vizualizări: 749

by Ludmal De Silva
      
ASP.NET v4 is released with Visual studio 2010. Web developers are presented with a bewildering range of new features and so Ludmal De Silva has described what he considers to be the most important new features in ASP.NET V4
He focus of Microsoft’s latest ASP.NET 4 has mainly been on improving the performance and Search-engine Optimization (SEO). In this article, I'll be taking a look at what I think are the most important new features in ASP.NET 4.
  • Output cache extensibility
  • Session state compression
  • View state mode for individual control
  • Page.MetaKeyword and Page.MetaDescription properties
  • Response.RedirectPermanent method
  • Routing in ASP.NET
  • Increase the URL character length
  • New syntax for Html Encode
  • Predictable Client IDs
  • Web.config file refactoring
  • Auto-Start ASP.NET applications
  • Improvements on Microsoft Ajax Library

I’ll describe the details of each of these features in the following sections.

 

Output Cache extensibility

Output caching, or Page-Level Caching, caches the entire rendered markup of an ASP.NET web page for a specific time-period. This has always been one of the essential features for ASP.NET that is used extensively to increase application performance. However there have been some limitations on the feasible extent of caching, because cached content always had to be stored in-memory.

But with ASP.NET 4.0 developers can extend their caching by using Output-cache providers. Developers can now create ‘output-cache providers’ that store the cache contents to any persistence mechanism such as databases, disks, cloud storage and distributed cache engines.

 

To create a custom output-cache provider, a class which derived fromSystem.Web.Caching.OutputCacheProvider has to be created in ASP.NET 4.0. There are four public methods which you have to override in order to provide your own implementation for add, remove, retrieve and update functionality. Also, the output-cache provider has to be registered in the web.config file as shown in the following screen capture.

 

 

You can also set this custom output-cache provider as your default cache mechanism. So once you add the page cache directives all of your contents will be stored using the custom output-cache provider.

 

 

Moreover, developers can also dynamically configure which output-cache Provider is used. For example you might want to cache the frequently access pages in the memory for faster access and less frequent pages on disk. By overriding the GetOutputCacheProviderName() method you can configure which output cache provider to use for different requests. These additions to the output-cache can enable developers to write extensible and more efficient cache mechanisms to their web application and thereby improve its responsiveness.
Session State compression
The ASP.NET session state is a mechanism to maintain session-specific data through subsequent requests. In some instances, you may wish to store your session state data in a session-state server or in Microsoft SQL server. However, these two options require you to store data out of the web application’s worker process. To send across to the relevant sources, (State server or Microsoft SQL Server), session-state data has to be serialized. This can take a significant time if the size of the data to be serialized grows significantly. This will increase the latency of the application.

 

This latency can be reduced if the size of the data is lessened by compression. ASP.NET 4.0 introduces a new mechanism to compress your session state data for both Session-state server and Microsoft SQL server.  Compression can be enabled by setting the compressionEnable to true in the web.config file. In this example, the session-state data will be serialized/desterilized using System.IO.Compression.GZipStream.
<sessionState  mode="SqlServer"  sqlConnectionString="data source=DB;Initial Catalog=LudmalDB"  allowCustomSqlDatabase="true"  compressionEnabled="true"/>

With this compression feature, developers can often reduce the time it takes for a web application to respond by reducing the size of session data.

View State mode for Individual Controls

View state is a mechanism to maintain page controls’ state on subsequent post backs. ASP.NET stores the view state data for controls that are in the page, even if it’s not necessary. Since the view state data is stored in the pages’ html, the size of the request object will be increased, and make performance worse.

In ASP.NET 4.0, each web control will include a ViewStateMode property which lets developers disable view-state by default, and enable it just for the controls for which a persistence of state is required. ViewStateMode has the following three values;

  • Enabled – enables the view state for this control and any child control.
  • Disabled – disable the view state.
  • Inherits – this specify the control uses the settings from its parent control.

 

By setting these values in page controls accordingly, a significant performance improvement can be gained in response-time.

Page.MetaKeywords and Page.MetaDescription properties

To increase the relevance of pages in searches, developers should  include relevant “keyword” and “description” meta tags in the html <head> section.     Unfortunately, it takes some time to add these tags for each and every page, and the alternative of adding these tags programmatically was difficult.

But with ASP.NET 4.0, there are two new properties in the code behind file;
  • Page.MetaDescription – equivalent to meta name “description”
  • Page.MetaKeywords – equivalent to meta name “keywords”

This will enable developers to easily and programmatically add the relevant keywords and description.

 

This will even be useful for Master pages—where you only have to add these properties in the master page. In addition to “keywords” and “description” settings in the code behind, developers can also set these values within the @Page directive.This will even be useful for Master pages—where you only have to add these properties in the master page. In addition to “keywords” and “description” settings in the code behind, developers can also set these values within the @Page directive.

Response.RedirectPermanent
Method

ASP.NET 4.0 has improved SEO (Search-engine Optimization) facilities. Typically developers useResponse.Redirect(string url) to handle requests for old URLs. However, this leads to an extra round trip to access the old URLs and so will negatively affect your page-ranking  in search-engines.

ASP.NET 4.0 introduces a new Response.RedirectPermanent(string url) helper method to be used as HTTP 301 (Moved permanently) to handle requests. This will enable search-engines to index URLs and content efficiently and thus improve the page rankings.
 

Routing in ASP.NET

Routing will let developers serve meaningful URLs to users and map them with the actual physical files. This URL-rewriting mechanism enables developers to write high ranking, search-engine optimized web applications. For example, URL for a page which displays an actual product might look like the following;

By using routing the URL will look like the following


In this way, the URLs will be more easily remembered by users.  It will also significantly improve the search-engine page rankings of the web site.

The following example shows how to implement routing behavior in ASP.NET 4 using new MapPageRoute in Route class.

public class Global : System.Web.HttpApplication
{   void Application_Start(object sender, EventArgs e)   
     {    
          RouteTable.Routes.MapPageRoute("ProductsRoute",       "product/{prodId}", "~/products.aspx");      
     }
}


Increase the URL character length

In previous versions of ASP.NET,  URLs were limited to 260 characters in length. But in ASP.NET 4.0 developers have the option of increasing or decreasing  the length of URLs by using  the new maxRequestPathLength and maxQueryStringLength. I’ll illustrate this in an example.

<httpRuntime maxRequestPathLength="360" maxQueryStringLength="1024" />

In previous versions of ASP.NET you were limited to a fixed set of characters but in v4, developers can also validate the invalid characters by specifying values in the requestPathInvalidChars attribute.

 

More details at: http://www.simple-talk.com/dotnet/asp.net/asp.net-4.0-features/

 

Adaugă comentariu

Comentariile care contin cuvinte indecente, obscene, rasiste, etc. nu sunt publicate.


Codul de securitate
Actualizează

Sus

Sustin - Promovez


Asociatia 'Pro Vita pentru nascuti si nenascuti' - Filiala Bucuresti

Campania de panotaj "Avortul opreste o inima care bate!" a inceput in Bucuresti

ACTUALIZARE 30 martie 2011: Primul panou a fost deja decorat si se afla la intersectia intre Bd. Libertatii si Calea 13 Septembrie, vis-a-vis de Palatul Parlamentului (vezi foto). Locatia a fost aleasa pentru a atrage atentia alesilor nostri. Simultan cu montarea panoului, toti parlamentarii romani in functie au primit o informare cu privire la desfasurarea "Marsului pentru viata" 2011.

In zilele urmatoare vor fi decorate si alte panouri.

Va multumim mult pentru sprijinul acordat si asteptam in continuare donatiile voastre pentru a continua campania!

Campania de panotaj "Avortul opreste o inima care bate!" a inceputDetalii despre campania de panotaj la: www.ProVitaBucuresti.ro

Canal video Pro-Vita:
Pro Vita Bucuresti pe Vimeo 

Cultura Vietii - Blog de promovare a valorilor vietii

Internet mai sigur pentru copii

Alianta Familiilor din Romania

Proiectul "Pentru-Viata" - PentruViataCluj.ro

Ce NU se spune despre: avort, anticonceptionale, contraceptive, sterilet, RU 486 (Mifepristone), avort timpuriu, avort menstrual, avort hormonal, avort medicamentos, Sindromul Post-Avort, bolile cu transmitere sexuala, prezervativ, spermicide, fertilizarea in vitro - FIV, cum se dezvolta copilul nenascut (intre conceptie si nastere), dezvoltare embrionara, fetala, etc. Studii medicale, filme, marturii, etc. - www.AdevarulDespreAvort.ro

"Raspunsul la criza unei sarcini este eliminarea crizei, nu a copilului."

(Jeannie W. French)

Valea Plopului 380 Orphans on Facebook - Voluntari in Romania pentru a ajuta copii orfani (si copii salvati de la avort) din asezamintele de plasament familial Pro-Vita din Valea Plopului si Valea Screzii, Jud. Prahova
 

 

DONEAZA - Ajutorul tau conteaza!

Asociatia Pro-Vita - Filiala Bucuresti a Asociatiei mama din Valea Plopului si Valea Screzii, Jud. Prahova (zona Valenii de Munte circa 110 km de Bucuresti)

Asociatia "Pro-Vita pentru nascuti si nenascuti" - Filiala Bucuresti a Asociatiei mama din Valea Plopului si Valea Screzii, Jud. Prahova (zona Valenii de Munte circa 110 km de Bucuresti) unde sunt si asezamintele de plasament familial Pro-Vita conduse de preotul Nicolae Tanase.


Valea Plopului, Valea Screzii - Ajutor din partea Fundatiei Crestine Parintele Arsenie Boca - Iarna 2010
"Valea Plopului este raspunsul la intrebarea daca va mai exista crestinism in Europa." Dr. Iosif Niculescu, 95 de ani


Fundatia Crestina Parintele Arsenie Boca - FundatiaArsenieBoca.ro 
Tabara de vara de voluntari ASCOR "Impreuna pentru copiii de la Valea Plopului" - Editia III - 12-26 iulie 2010



Centrul Gifted Education

John McCain and Sarah Palin for America

antiprostitutie.ro-fata-nevazuta-a-prostitutiei-legalizate-banner1

Ortodox Media: stiri si inregistrari audio-video ortodoxe

itsy-bitsy-radio-sigla-logo

Citate

" Toata lumea stie ca anumite lucruri sunt irealizabile, pana cand vine cineva care nu stie acest lucru si le realizeaza. "


Albert Einstein

(n. 14 martie 1879, Ulm - d. 18 aprilie 1955, Princeton)


Sa iubim si animalele


Adopta o pisica draguta

Credincios, jucaus, prietenos

Vremea

An error occured during parsing XML data. Please try again.