You are here: ITNiki >Asp-net>Tutorials tips

 
 Advertisements
 
 Advertisements
photoappsios appcolt puzzlegamesios

Tutorials tips

Generating Forms Authentication Compatible Passwords (SHA1)  Generating Forms Authentication Compatible Passwords (SHA1)

 In this article we will take a quick look at two methods for creating SHA1 passwords for use on the web using .NET. It is dangerous to store passwords anywhere in plain text!! SHA1 gives a quick and easy way to encode a password into a non-human readable form. This means it is safer to store in a database, and should the database be viewed by anyone who shouldn`t know the passwords, it will be much more difficult for them to work out what a user`s password is....

Adding text to an image in memory  Adding text to an image in memory

 This article covers using the System.Drawing.Bitmap and drawBrush to draw text on a bitmap in memory. You could use this code as a base to create dynamic navigational buttons for your site....
Tags:

Counting Records In ASP.NET  Counting Records In ASP.NET

 The following source code displays count of all records in a database. We will use a data command to execute an SQL statement that will return with count of records. Source code written in Visual Basic.NET can easily modify to work in an application....

.NET  - Use Refactoring To Handle Multiple Versions of Classes  .NET - Use Refactoring To Handle Multiple Versions of Classes

 Recently, I had a requirement to put together a website that deals with taking somewhat elaborate financial surveys. While the questions and answers themselves are good candidates for being database driven, there were a large number of nuiances ranging from UI items, business rules, and calculations that just didn`t fit into a database driven strategy. With this in mind, my initial strategy was to create version specific classes and reference them in version specific ASP.NET pages. Of course, this accomplished the initial requirement. However, whenever a new version needs to be implemented, I had to copy all of the ASP.NET pages and modify the references to the appropriate version specific class name. Refactoring provides a better alternative and here`s how:...

Hierarchical Relationships Without DataRelation Object in ADO.NET  Hierarchical Relationships Without DataRelation Object in ADO.NET

 At my place of employment, I work a great deal with somewhat complex hierarchical data as part of our measurement and analysis software. Thus, recursion and I have become rather close friends over the last few years. While rewriting an old website, I needed to turn a set of four relational tables into a hierarchical data structure. The top level table held self-referencing relationships as well as child relationships to table 2. Tables 3 and 4 were your basic "run of the mill" child tables up through table2....
Tags:

ASP to ASP.NET Transferring Session State  ASP to ASP.NET Transferring Session State

 If you are working in a mixed development environment you know that ASP "Classic" and ASP.NET cannot share session state information. I am offering the source code I used to this resolve this issue as well as discussing a couple of other possible resolutions....

Troubleshooting ASP.NET on IIS (KB100006)  Troubleshooting ASP.NET on IIS (KB100006)

 This article provides some helpful tips in working with ASP.NET on Microsoft`s Internet Information Services (IIS) web server, providing walkthrough descriptions and resolutions for common problems that the author has experienced....

ASP.NET Online Forum  ASP.NET Online Forum

 ASP.NET Forum Share the knowledge and get all the help you need to start developing secure ASP.NET Web applications and share your development issues....
Tags:

Search engine friendly URLs using ASP.NET (C#.NET)  Search engine friendly URLs using ASP.NET (C#.NET)

 This article explains how to convert the database-driven query string containing links to search-engine friendly ones....

Setting up your ASP .NET server (IIS)  Setting up your ASP .NET server (IIS)

 A guide that shows you how to install IIS server and configure it to work with ASP .NET (.aspx files), not just with ASP....

Executing queries on XMLDBelt  Executing queries on XMLDBelt

 This tiny demo source code will give you a hint about how to query data stored on your server via XMLDB Engine Lite (XMLDBelt), create new files, insert data into existed, update data, delete and etc....

.NET Serial Port Communication  .NET Serial Port Communication

 Microsoft`s .NET Framework 1.1 does not provide proper utilities to communicate with the serial ports on a Windows machine. The RS232 library and this quick tutorial will have you talking to a COM port on your machine in no time....

Creating Custom RSS Feeds  Part 1  Creating Custom RSS Feeds Part 1

 This article explains how to use the .NET XmlTextWriter class to create a custom RSS feed. I have decided to write this article in 2 parts. In this part, I will focus on creating the RSS feed and how to consume it from an asp.net page. In part 2, I will focus on creating a dynamic RSS feed with ADO.NET....

ASP.NET Datagrid Web Server Control (KB100026)  ASP.NET Datagrid Web Server Control (KB100026)

 This article walks you through the process of building a thin-client ASP.NET bug tracking application, with a Microsoft Access XP backend. It uses nearly every documented capability of the .NET datagrid web server control to allow you to select, edit, update, or delete any item listed in the datagrid. The Issue Tracker uses advanced features, such as reading values from lookup tables, and then conveniently providing these values to the user in Edit mode as dropdownlists. It also employs the IE Web Controls, including the Tab and MultiPane web controls, which allow you to display considerable user functionality on only one web page, yet without cluttering the user interface with confusing complexity. After working through this tutorial, you will have explored and applied all of the main functionalities of the ASP.NET DataGrid control. Happy Coding!...

Using and consuming Web Services with ASP .NET / C#  Using and consuming Web Services with ASP .NET / C#

 Shows and explains you how to make an ASP .NET Web Service, an ASP .NET Web Application and how to consume the Web Service with the ASP .NET Web Application....

Creating multilingual websites - Part 1  Creating multilingual websites - Part 1

 Extend the existing globalization capabilities of .Net to create flexible and powerful multilgual web sites. First create a custom ResourceManager and then create custom localized-capable server controls to easily deploy multilingual functionality....

Creating multilingual websites - Part 2  Creating multilingual websites - Part 2

 With a solid foundation created in Part 1, we now turn our attention to more advanced topics. Well use context rewriting for some professional looking and hassle free state-management, talk about good database design with respect to multilingual applications, and dive into more advanced Localized controls for ultimate flexibility and productivity....

Creating Custom Configurations  Creating Custom Configurations

 ASP.Net`s introduction of the web.config file went a long way to filling the configuration hole we had to deal with in classic ASP. We actually went from having very little (global.asa was the closest thing) to a well-structured, change on the fly XML file. For the most part, the web.config file does the trick fine. However there are some limitations and constraints with using it, which you are probably already aware of. What you might not know is how easy is it to surmount those issues by creating a far more flexible alternative....

Handling cookies in ASP .NET  Handling cookies in ASP .NET

 How to create a cookie, how to get the value stored in a cookie, set the lifetime, path and domain for a cookie, edit a cookie, delete a cookie, remove subkeys from a cookie......

Performing custom validation  Performing custom validation

 Demonstrates how to use custom validation on a form by checking to see if a string in a TextBox is not the same with a string from an array (or database), case in which it displays `This name is already taken`....

 

 

Pages :  1 2 3 4 5 6 7 8 9 10 Next >>