By Wayne Plotche, on February 10th, 2012%
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
By Wayne Plotche, on February 8th, 2012%
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
By Stephen Jackson, on January 16th, 2012%
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
By Stephen Jackson, on January 10th, 2012%
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#
By Wayne Plotche, on January 6th, 2012%
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
By Wayne Plotche, on December 20th, 2011%
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
By Wayne Plotche, on December 7th, 2011%
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
By Wayne Plotche, on October 10th, 2011%
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
By Stephen Jackson, on October 3rd, 2011%
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
By Wayne Plotche, on September 30th, 2011%
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