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 :: 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

ASP.NET 4 Hosting :: CSS Friendly Menu Control in ASP.NET 4.0

It is very much easier to apply CSS when we have ul,li elements as the HTML content. If we look into ASP.NET Menu Control till Version 3.5, its render as Table-TR-TD Tag. Though Table/Tr/Td is quite useful to display tabular data but sometime  creates  a big problem when we need to do more work with CSS. To . . . → Read More: ASP.NET 4 Hosting :: CSS Friendly Menu Control in ASP.NET 4.0

ASP.NET 4 Hosting :: Using Complex Numbers in .NET 4.0

Complex numbers are not new to numeral system. A complex number contains one real part and another imaginary part. We can easily implement such a Type, but with .NET 4.0 System.Numerics.dll contains a new Type (struct) called Complex which deals with Complex numbers .

You can represent a number in Complex form very easily using Complex type.
Lets . . . → Read More: ASP.NET 4 Hosting :: Using Complex Numbers in .NET 4.0

Sponsors

Advertise Here

Best Blog Hosting Provider

Cheap Reseller Hosting

Best European ASP.NET 4.0 Hosting Provider