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 :: 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 :: ASP.NET Security Vulnerability

A couple of days ago I became aware of the following article: Security Hack Exposes Forms Authentication in ASP.NET. That never sounds good and Microsoft swiftly crafted a workaround to mitigate the attack. It simply consists of changing your web.config and adding a file with some piece of code . . . → Read More: ASP.NET Hosting :: ASP.NET Security Vulnerability

ASP.NET Ajax Hosting :: Tips for Working with the ASP.NET AJAX Accordion Control

As given in the ASP.NET AJAX Toolkit documentation “The Accordion is a web control that allows you to provide multiple panes and display them one at a time. It is like having several CollapsiblePanels where only one can be expanded at a time.” Here are some tips that could help you out in your projects while . . . → Read More: ASP.NET Ajax Hosting :: Tips for Working with the ASP.NET AJAX Accordion Control

ASP.NET Hosting :: Display Images in GridView Control using the path stored in SQL Server database

In this article, I am explaining how to store images and pictures on disk and their path in the database with the help of FileUpload Control and also how to display those images in asp.net . . . → Read More: ASP.NET Hosting :: Display Images in GridView Control using the path stored in SQL Server database

Sponsors

Advertise Here

Best Blog Hosting Provider

Cheap Reseller Hosting

Best European ASP.NET 4.0 Hosting Provider