In IIS 6, for me, at least, it was very easy to change or assign the Application Pool for my ASP.Net application, but in IIS7, it’s a little klunky, to say the least (IMHO). So, here’s a run-down of how to do it.
Sometimes, global Impersonation in the website may not be the correct solution for you. However, it is possible to provide Impersonation at the page level. To do this, you can provide Impersonation for the page, using the current logged in identity of the person viewing the page. One specific need in which this might be […]
The basic concept of displaying data from a database is an essential core concept of ASP.Net. At that core, we have the GridView, which is one of the most used Table-type display devices in ASP.Net Here, we will show the basic code needed to get this accomplished on an ASP.Net web page and since the […]
Before you send an email, using ASP.Net, you need to understand the basics of how it works. The first thing you do is make sure you import the System.Net.Mail Namespace. In C#: using System.Net.Mail; In VB: Imports System.Net.Mail
The basic contact form you would create would only have a text box for comments. However, you could also have a dropdownlist for the user to choose a subject, etc. The last thing you would need is a button, which, in it’s click event will have the code necessary to send the email.
Did you know that, if you use the App_Code folder in your C# application, you can also use VB class files in your project?
There are 4 basic list type controls in ASP.Net, and within those 4, there are 2 selectable types of list controls. They’re all based in the System.Web.UI.WebControls Namespace. Here’s a list of them:
The first thing you need to do when accessing data, of course is to create a connection to the database. For this entire tutorial, we’ll use SQL Server for the database, but it can be done with most OleDB databases also. Naturally, we’ll use/import the necessary namespaces (Sytem.Data and System.Data.SQLClient). In VB, we’ll use the […]
The ‘Path’ class, in System.IO is very useful and can save you a lot of time and work in getting what you need out of the path. In Classic ASP, using VBScript, with all the mid/left/right functions was a chore. Then, in ASP.Net, these were updated and a little easier, using the substring function. However, […]
Dynamic Data, in ASP.Net is the greatest thing since sliced bread, in my humble opinion. Using it, you can easily create really good SQL Server table Admin applications, to do all your CRUD work. And, for those of you who don’t know, CRUD stands for Create, Read, Update and Delete.
All Things DotNet Discussed – Winforms/ASP.Net/SharePoint/WPF