Senator Guerra Souty original series calendar,replica hublot blue steel peach pointer collocation of rolex replica Rome digital scale, track type minute replica watches scale shows that the classical model is swiss replica watches incomparable, wearing elegant dress highlights.
mr-ponna.com

 


ASP.NET General articles and tutorials

Read ASP.NET General articles

Sort by:

<< Start < Prev 1 Next > End >>
Page 1 of 1

ASP.NET General articles and tutorials

# articles: 4  


Send Email Using Gmail in ASP.NET

View(s): 14503

Send Email Using Gmail in ASP.NET

If you want to send email using your Gmail account or using Gmail's smtp server in ASP.NET application or if you don't have a working smtp server to send mails using your ASP.NET application or aspx page than sending e-mail using Gmail is best option.

you need to write code like this

First of all add below mentioned namespace in code behind of aspx page from which you want to send the mail.

using System.Net.Mail;

Now write this code in click event of button 

C# code

protected void Button1_Click(object sender, EventArgs e)
{
  MailMessage mail = new MailMessage();
  mail.To.Add("xyz@gmail.com");
  mail.To.Add("abc@yahoo.com");
  mail.From = new MailAddress("YourUserName@gmail.com");
  mail.Subject = "Email using Gmail";
  string Body = "Hi, this mail is to test sending mail"+
                "using Gmail in ASP.NET";
  mail.Body = Body;
  mail.IsBodyHtml = true;
  SmtpClient smtp = new SmtpClient();
  smtp.Host = "smtp.gmail.com"; //Or Your SMTP Server Address
  smtp.Credentials = new System.Net.NetworkCredential
       ("YourUserName@gmail.com","YourGmailPassword"); //Or your Smtp Email ID and Password
  smtp.EnableSsl = true;
  smtp.Send(mail);
}


VB.NET code 

Imports System.Net.Mail

Protected  Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs)

(Continued...) View Full Aritlce


  Last updated on Sunday, 01 June 2014
  Author: Mr. Ponna
3/5 stars (10 vote(s))



The C# Programming Language Version 4.0

View(s): 7504

The C# Programming Language Version 4.0

Visual Studio 2010 and the ..NET Framework 4.0 will soon be in beta and there are some excellent new features that we can all get excited about with this new release. Along with Visual Studio 2010 and the .NET Framework 4.0 we will see version 4.0 of the C# programming language. In this blog post I thought I'd look back over where we have been with the C# programming language and look to where Anders Hejlsberg and the C# team are taking us next.

In 1998 the C# project began with the goal of creating a simple, modern, object-oriented, and type-safe programming language for what has since become known as the ..NET platform. Microsoft launched the .NET platform and the C# programming language in the summer of 2000 and since then C# has become one of the most popular programming languages in use today.

With version 2.0 the language evolved to provide support for generics, anonymous methods, iterators, partial types, and nullable types.

When designing version 3.0 of the language the emphasis was to enable LINQ (Language Integrated Query) which required the addiiton of:

  • Implictly Typed Local Variables.
  • Extension Methods.
  • Lambda Expressions.
  • Object and Collection Initializers.
  • Annonymous types.
  • Implicitly Typed Arrays.
  • Query Expressions and Expression Trees.

If you're in need of learning about, or distilling knowledge of, any of these language features that I have mentioned

(Continued...) View Full Aritlce


  Last updated on Monday, 12 May 2014
  Author: Mr. Ponna
0/5 stars (0 vote(s))



Beginner's Guide: How IIS Process ASP.NET Request

View(s): 4400

Beginner's Guide: How IIS Process ASP.NET Request

Introduction

When request come from client to the server a lot of operation is performed before sending response to the client. This is all about how IIS Process the request.  Here I am not going to describe the Page Life Cycle and there events, this article is all about the operation of IIS Level.  Before we start with the actual details, let’s start from the beginning so that each and every one understand it's details easily. 

What is Web Server ?

When we run our ASP.NET Web Application from visual studio IDE, VS Integrated ASP.NET Engine is responsible to execute all kind of asp.net requests and responses.  The process name is "WebDev.WebServer.Exe" which actually take care of all request and response of an web application which is running from Visual Studio IDE.

Now, the name “Web Server” come into picture when we want to host the application on a centralized location and wanted to access from many locations. Web server is responsible for handle all the requests that are coming from clients, process them and provide the responses.

http://www.dotnetfunda.com/UserFiles/ArticlesFiles/Abhijit%20Jana_634041500763171406_Firstone.JPG

What is IIS ?

IIS (Internet Information Server) is one of the most powerful web servers from Microsoft that is used to host your ASP.NET Web application. IIS has it's own ASP.NET Process Engine  to handle the ASP.NET request. So, when a request comes from client to server, IIS takes that request and  process it and send response back to clients

(Continued...) View Full Aritlce


  Last updated on Wednesday, 13 November 2013
  Author: Kishore Kumar
4/5 stars (8 vote(s))



Overview ASP.NET Application Folders (About Special folders in ASP.NET)

View(s): 9947

Beginner's Guide to ASP.NET Application Folder

 

This Article Describe you about Special folders in ASP.NET like App_Code, App_Theme, App_Data, etc..

ASP.Net 2.0 uses file-based approach. It's means all class files, resource files, Data, Folder are maintain in a hierarchical way. If we are working with ASP.Net 2.0, we can add files and folder from "Add Items" Options. If we look at a sample application hierarchy, it will looks following figure.

Description: Description: Description: beginn1.jpg

we can add as many as files and folder (as per our requirements ) with our solutions.  And it's doesn't need to recompile them each and every time when they are added. Its Asp .NET’s overhead to dynamically compiled them when required. So, what ASP.Net 2.0 does, it contain a defined folder structure, contains files (Classes, Images, Resources etc..), compile them dynamically and even we can access those files throughout the application. ASP.Net Provides some special folder also to maintain files and resources. Let's see the advantages of using those folder .

Advantages of ASP.NET Application Folder 

Following are the main advantages of use of ASP.Net Application Folder

  • We can maintain resources (Classes, Images, Code, DatabasesThemes) in a organized way, which give us to developed and maintain sites easily.
  • All files and folder are accessible by through the application.
  • We can add as many files as possible as per our requirements.
  • Files
(Continued...) View Full Aritlce


  Last updated on Sunday, 25 August 2013
  Author: Mr. Ponna
4/5 stars (6 vote(s))

<< Start < Prev 1 Next > End >>
Page 1 of 1
Register Login Ask Us Write to Us Help