ASP.NET Hosting :: How to Send Email in ASP.NET with GMail SMTP Server

Sending email via SMTP in ASP.NET is a really painless experience.  However, there are a couple of hoops to jump through if you want to use Google’s GMail SMTP servers.  The following example shows a really simple function to get the job done.

The Google support page for configuring a mail client gives us a good starting . . . → Read More: ASP.NET Hosting :: How to Send Email in ASP.NET with GMail SMTP Server

ASP.NET 4 Hosting :: Monitor ASP.NET Performance Using Perfmon Tool

For Any ASP.NET application, monitoring performance is an important job. Performance Monitor tool having some nice features that helps us to monitor ASP.NET Application performance in a better way.In this Tips I  discuss four important counter sets that are very useful in monitoring ASP.NET performance.

These are highlighted below

Steps:

1. Open the Perfmon [ Start > Run > . . . → Read More: ASP.NET 4 Hosting :: Monitor ASP.NET Performance Using Perfmon Tool

ASP.NET Hosting :: Working with ASP.NET Cookies

Introduction

Cookies are also known by many names, HTTP Cookie, Web Cookie, Browser Cookie, Session Cookie, etc. Cookies are one of several ways to store data about web site visitors during the time when web server and browser are not connected. Common use of cookies is to remember users between visits. Practically, cookie is a small text . . . → Read More: ASP.NET Hosting :: Working with ASP.NET Cookies

ASP.NET Hosting :: ASP.NET Session State, Cookies and Subdomains

I’ve recently ran into a bit of trouble with maintaining the aspnet session state across a subdomains of the same application. The main problem was that the ASPNET SessionID cookie by default points to the full web address, meaning that when you navigate to a subdomain, aspnet creates a new SessionID cookie for that subdomain and . . . → Read More: ASP.NET Hosting :: ASP.NET Session State, Cookies and Subdomains

ASP.NET Hosting :: How to Upload File Using c#

Here i will shown how to upload a file using c#.Sending file from client system to server system called “file uploading” .this implementation is required in certain website like uploading resume,image and attachment towards email.File uploading control is provided asp.net to implement file uploading

The properties and methods of File upload:

*has file–true–>File is upload
false–>File is not uploaded
*posted . . . → Read More: ASP.NET Hosting :: How to Upload File Using c#

ASP.NET Hosting :: Tutorial – How to Solve The requested page cannot be accessed because the related configuration data for the page is invalid problem in IIS

This is an error message that sometimes you might find on the server:

The requested page cannot be accessed because the related configuration data for the page is invalid

To solve the problem, you can follow this steps:

We need to change the config section applicationHost file

First Open folder path based on this

C:\Windows\System32\inetsrv\config

After open this path we will find . . . → Read More: ASP.NET Hosting :: Tutorial – How to Solve The requested page cannot be accessed because the related configuration data for the page is invalid problem in IIS

ASP.NET Hosting :: ASP.NET Accessing SQL Data From Codebehind Without A Control

I needed to access a SQL 2008 database from my codebehind without a control like a gridview.  After scouring the internet I put together the pieces to do so.

If you were familiar with the (oldschool) “non .NET”  scripting you remember doing something like the following:

Conn = Server.CreateObject(“ADODB.Connection”)
Conn.Open(“ODBC-DSN”, “sa”, “**********”)
rs = Server.CreateObject(“ADODB.Recordset”)
rs.Open(StrSQL, Conn)
Do While Not rs.eof
Urvariable=rs(“whs-num”).value
rs.movenext()
Loop

You can . . . → Read More: ASP.NET Hosting :: ASP.NET Accessing SQL Data From Codebehind Without A Control

Visual Studio 2010 Hosting :: Data Schema Comparison in Visual Studio 2010

Visual Studio 2010  has some inbuilt functionality as a tool to compare the different schemas .Schema comparison is a powerful tool that is used to compare database schemas. In tips I will give some basic step to compare schemas in Visual Studio 2010

First launch the Schema Comparison tool from Data > Schema Compare > New Schema . . . → Read More: Visual Studio 2010 Hosting :: Data Schema Comparison in Visual Studio 2010

ASP.NET Hosting :: Check username availability using jQuery and ASP.NET

In this article I will show how to check username with  jQuery and ASP.NET. This will let the users know if a particular username is available or not during the process when they are filling out the registration form. In tradtional way if you are going with normal postback , that will irritates the user as the passowrds . . . → Read More: ASP.NET Hosting :: Check username availability using jQuery and ASP.NET

ASP.NET Hosting :: AJAX Control ToolKit Tutorial CascadingDropDown Using ASP.NET C#

Have you looked for a car recently? Visited a used car website lately? noticed how they had a dropdown menu?

Well they were using a CascadingDropDown or a variation of it.

The CascadingDropDown Extender is a Drop down menu where you can categorize your data, and by using a Web Service Method, you can avoid PostBack and have . . . → Read More: ASP.NET Hosting :: AJAX Control ToolKit Tutorial CascadingDropDown Using ASP.NET C#

Sponsors

Advertise Here

Best Blog Hosting Provider

Cheap Reseller Hosting

Best European ASP.NET 4.0 Hosting Provider