Archive for 'Internet And Businesses Online'



There are several ways to programatically send an email from a given web site. It depends on what platform and what language you are using.

I am not going to describe in this article what should be done in Java or PHP; I will try to reserve each language in a separate article.

This code shows the code behind a push button that could be added to a form of type aspx. Just add a push button; label it with the wanted description like “Send message now”; double-click the button; and finally, copy and paste this code to the click event handler of the push button. Surely, the aspx form should have some text boxes, radio buttons, check boxes, combo boxes, lists, and labels asking the user to fill them out. Do not forget the validition control that would help a lot in filtering the wrong input.

protected bool SendMessageAsEmail()

{


bool RetVal = true;


MailMessage objEmail = new MailMessage();


objEmail.To.Add(“toemail@somewebsite.com”);


objEmail.From = new MailAddress(“fromemail@somewebsite.com”);


objEmail.Subject = “Message from a visitor”;


objEmail.Body = “this is the body of the message”;


objEmail.Priority = MailPriority.High; // if you want to change the priority; else, remove this line


try


{


SmtpClient smtp = new SmtpClient(“mailserver.com”);


smtp.Port = 5544; // if port has a specific value; else, remove this line


smtp.EnableSsl = false;


smtp.Credentials = new NetworkCredential(“emailAccountName”, “emailAccountPassword”);


smtp.Send(objEmail);


}


catch (Exception ex)


{


MessageBox.Show(ex.Message);


RetVal = false;


}


return RetVal;

}
For any question, do not hesitate to contact me on:

By: Andre Showairy

About the Author:

Andre Showairy
writing@imagesti.com
http://www.imagesti.com
Computer Scientist since 1991.
In programming since 1991.
In C++ programming since 1993.
Long experience in VB, C#, VB.NET, ASP.NET, and ADO.NET.
Founder and owner of IT Images – http://www.imagesti.com



Caffeinated Content for WordPress



ASP.NET is the latest web based technology in web development and design field. It is also simple and easy to use for user and programmer to code it. .NET is providing one type of platform which supports different web application to execute and run it. ASP means active server pages it will generate HTML and dynamic web pages.

ASP based web application development is in different languages then making of web application like C# and VB script Language. C# means C Sharp which is Object Oriented Programming Language. ASP uses server side scripting to produce web pages dynamically. Web pages developed in ASP.net technology will not affected by the type of browser the website visitor is using.

The default scripting language used for writing ASP is VBScript, although you can use other scripting languages like Jscript means JavaScript.

ASP pages have the extension .asp instead of .htm, when a page with the extension .asp is requested by a browser the web server knows to interpret any ASP contained within the web page before sending the HTML produced to the browser. This way all the ASP is run on the web server and no ASP will ever be passed to the web browser.

Any web pages containing ASP cannot be run by just simply opening the page in a web browser. The page must be requested through a web server that supports ASP, this is why ASP stands for Active Server Pages, no server, no active pages.

Web Site Software provides detailed information on Website Software, Free Website Software, Website Content Management Software, Website Design Software and more. Web Site Software is affiliated with Free Shopping Cart Software.

By: Thakar Upendra

About the Author:
If you want to any more information about our services, please contact us at: ASP Development Services



Caffeinated Content



Every computer that is connected to the internet has an internet service provider and each provider is assigned a unique number called an IP or internet protocol address. An IP address is made up of four one, two, or three digit numbers that are separated by periods (72.138.34.7). Each country and region has its own unique IP address number set.

Because IP addresses are assigned to internet service providers based on their region, they can be used to identify the country and region where a computer using the ISP is connecting from. An IP address can be used to determine a user’s general location with a varying degree of accuracy from the general region in a country to the street of a city. An IP locator program allows you to see the location of any given IP address.

The numbers of an IP address can be hard to remember which is why IP addresses can be assigned a host name which is usually a name that describes the region and business name of the internet service provider. Internet service providers used to assign one IP address to each user they provided services for. This type of IP address allotment is referred to as static IP addresses because each user had a specific IP address that did not change. However, because the number of IP addresses are limited internet service providers started issuing them in a dynamic fashion from a group of available IP addresses as user activity increased. These dynamic IP addresses change each time a user connects to the internet and reflects the region where the internet service provider is located. Using an IP locator to find the location of a person using a dynamic IP address will turn up the location of the internet service provider and not the actual user.

There are many IP lookup tools and IP locators available online. They provide information such as the hostname, country, and region of the internet service provider and any other information commercially available about the IP address.

By: Rowland C O'Connor

About the Author:
Download a free, no obligation trial of IP locator software for ASP.net today.

Easily identify your web site visitors country. Works natively with .net framework. Root/server access not required, simply upload and go.

Software by Rolosoft.com: Software, web applications and services.



Create a video blog



There’s been a lot of discussion about this topic and I guess everyone have different opinions about it. I am a full-time freelance developer and do projects with PHP and ASP.NET so I may have a more neutral opinion about the two.

In the old days if you asked me to compare PHP and ASP, I would have said PHP without any hesitation. ASP was cumbersome to me with way too much overhead and lacked the OOP aspect. But these days with the newer.NET frameworks it’s much harder to make up my mind.

Both languages have their own pro’s and con’s. I come from a C++ background and writing code with C# and PHP both give me a lot of satisfaction, so on the style and object oriented coding level they are both on equal ground for me. I know ASP.NET has much better OOP support, but for what I need and the projects I do, PHP is fine. Without comparing too much low level differences between the two engines.

The things that stand out most about PHP are:

Platform Independence – And yes, I know there’s the mono framework that supposedly makes ASP.NET independent. Well in my opinion, if it was not natively build to be platform independent then it’s not. I don’t like hacks to make things work. Easy Deployment – I’ve never once, deployed and ASP.NET application from a dev environment to a live environment without any issues. With PHP it’s almost always flawless. An Abundance of Resources – You always find answers to questions, problems and third party classes to do things much easier than with.NET resources. Due to the open source nature of PHP development.
The things on the other end that I like more about ASP.NET development:

Access to the.NET Framework (CLR) – The libraries has everything you need built-in. There’s no need to download a class to do nicely formatted emailing or encryption, it’s all there. Better UI controls out of the box – The grid components make it quick and easy to slap together a data viewing or editing screens. I suppose with add-ons to PHP like jQuery the same can be achieved. Good Debugging Support – I am using Nusphere’s PhpED for development and it comes close with its debugging functionality, but nothing beats Visual Studio’s debugging support.
So which one do I choose?

Well, if I were new to web development and had to choose. I’d choose PHP. But I would also invest the time to learn ASP.NET in C# of course, not VB.NET.

I’ll continue to support both languages in my business. There are times when PHP is more suitable and others when ASP.NET makes more sense. A lot of my Government work also requires ASP.NET because of their licensing agreements with Microsoft. So it makes sense to learn both.

If you’re interested in quickly running through a comprehensive crash course in PHP with step-by-step examples visit http://www.php-skills.com

To learn ASP.NET go to http://www.ASP.NET for learning material.

Good luck!

Erhard Smit

By: Erhard Smit

About the Author:
Erhard Smit is a professional web and software freelance developer.
Visit http://www.ernic.co.za for contact information.



Caffeinated Content



Changes in the .NET framework.

ASP.NET has come a long way since it first came out. The major changes that took place in version 2.0 revolutionized the way a developer could look at a web page. Instead of the “stateless” web, the .NET framework allowed developers to look at web development in the same way that they looked at developing desktop applications.

While ASP.NET 2.0 brought out several new features that fundamentally changed the way programmers used .NET, version 3.5 adds to the feature set of 2.0 instead of changing it. Perhaps the only fundamental change in 3.5 is the addition of the MVC framework.

Changes in ASP.NET 3.5

There are several improvements in ASP.NET 3.5 that make it worth your while to use it. Amongst others, the AJAX framework is now an inherent part of .NET, along with new data controllers. We take a look at some of the improvements below.

AJAX integration.

AJAX is one of the most promising technologies in web development and has already gone far in improving the web users experience. Basically what it means is that an AJAX enabled web page can query the server and redisplay a part or the web page without the whole page needing to be refreshed.

For example, in a registration form that asks you to type in a new username for yourself, you must have noticed that after typing in a username, some web pages tell you immediately whether or not that username is available after you remove focus from the textbox. Under normal circumstances, you would have to click a “Check if username is available” link, or wait for the form to be submitted before you were informed of the error.

In this case, AJAX was able to query a backend database automatically and allow that portion of the webpage to change with the availability status without the whole page having to reload.

This has the benefits of saving bandwidth as well as improving the user experience. A no brainer for any developer.

New Controls.

ASP.NET makes it easy for users to now display data on a web page and have users edit and change the data on the screen itself. Earlier, developers had a limited choice of how to display data using ASP.NET’s GridView and DetailsView controls.

With the new ListView control, developers are able to control the exact display much more precisely. Also, when viewing large sets of data, the DataPager contol allows developers to create an interface that provides a facility for shifting between sets of data using “Next” and “Previous” buttons in a more stylish manner than before.

Works best with SQL Server.

Several features of .NET are automatically configured for ease of use with Microsoft’s SQL Server. As a developer, I myself lamented the fact that I had to use MySQL with .NET. However, with modern hosting plans these days, you get to use MSSQL’s Web edition



ASP.Net is a scripting language and web application framework. ASP.Net set for Active Server Pages.Net and is developed by Microsoft. ASP.Net is used to create web pages and web applications and is an important part of Microsoft’s.Net framework vision. It is a powerful web application that allows developers to build dynamic websites, web services and web technologies. ASP.Net can be used to create anything from small, individual websites through to large, enterprise-class web application.

ASP.Net is a lot of web content control form that can be made faster and more useful, such as, those custom components. ASP.Net server shares a common user interface (UI) elements of the tax code, production and implementation of certain tasks, but for web page forms. Its application development is a salutary service that is very useful to create web applications. It is built on a common language run-time that can be used on any Windows server to host powerful ASP.NET web sites and technologies.

ASP.Net development provides ASP Code, ASP Help, ASP Tutorials, ASP web development and web based programming solutions. ASP.Net development codes automatically format the information and display it on your web pages. This development service is a complete solution for creating and developing dynamic and professional website and other web services through its great features to expand the online business. These server-side technologies are important contributions to the development of the Web.

Advantages of ASP.Net Development:

Flexibility to view in any browser ASP.NET drastically reduces the amount of code required to build large applications It is purely server-side technology so, ASP.NET code executes on the server before it is sent to the browser High security – ASP.Net code cannot be viewed from the browser ASP.Net makes for easy use. There is no need to register components because the configuration information is built-in Ability to dynamically edit, change or add any content of a web page Ability to access any data or database and return the results to a browser

In brief ASP.Net, the next generation version of Microsoft’s ASP, is a programming framework used to create enterprise-class web sites, web applications, and technologies. Websites developed using ASP.Net results in fast working and multiple operations can be performed.

By: Vimal M

About the Author:
This article is courtesy of Vimal M – an executive at Outsourcing Programming Services is one of the most reputable outsourcing web development company. Outsourcing Programming Services Company provides ASP.Net development and web programming at affordable rates. Visit us at: http://www.outsourcingprogrammingservices.com/ or send your entire ASP.Net development requirements at: info@outsourcingprogrammingservices.com.



Caffeinated Content



This comes up on the message boards quite frequently. The question usually starts out as, “How do I _________ with the _____ validation control?” Or, if they really want a solution rather than an implementation, they will likely ask how to do it with the validation controls rather than with one particular control.

Eventually someone will be frustrated enough to say, “it’s situations like that that have caused me to not use the validation controls…” Most recently, it was an MVP who seems to be everywhere. But an answer like this makes me wonder about any answer he’s likely to give on the forum.

Are some situations more difficult than others? Absolutely. Should this really cause us to discount them altogether? Let’s take a look at the pros and cons:

Here are the advantages of using validation controls:

Writing minimum code using client side and server side validation Ability to assign a validation to a specific control Only particular validations will fire for specific areas of the screen by grouping validations and controls There are actually multiple consistent ways to report the validation error back to the user. It is unnecessary to learn JavaScript Provides a custom validation control for the odd ball case which conforms to how the other validation controls work so that all we have to do is write the validation while the framework covers firing the validation, displaying the error message, etc. I might have to have several validations and several controls on the screen that do essentially the same thing because any specific control or validation may only belong to one validation group.

So far it seems as if using validation controls would be much more efficient.

Not using validation controls could mean:

I’m stuck writing validations by hand myself or using some other framework (one I probably wrote myself and therefore isn’t tested as well) I have to write code to display the error on the screen. I have to be sure I’m consistent in how I display the error from one screen to another. Especially when you are working with several different developers, this could be particularly difficult. Every developer in my organization needs to know JavaScript AND asp.net. I can code validations any way I want. My code re-use might be greater.

I am not really seeing the advantage here. Actually, In my own experience with ASP.NET applications since beta 1 of version 1.0, I’ve yet to see a situation where the validation controls wouldn’t work or where anyone could debate that they were not the proper solution. This is even more so the case now that we can group the controls and validations.

So here is my challenge.

Find a situation you think will not work using the existing set of validation controls and then come to my blog and send me a note on the contact us form. Perhaps my mind will be changed.

By: Dave Bush

About the Author:
Dave Bush writes articles about the web, web hosting, and web development at http://blog.dmbcllc.com

He also runs the asp.net web hosting company http://www.mywinhosting.com



Caffeinated Content



Microsoft’s Active Server Pages (ASP).NET program permits web developers to design and develop dynamic web applications, web sites and other web related services and technologies. Microsoft had first come up with.NET Framework, followed by the Classic Active Server Page development which was later followed by ASP.NET Framework with improved features and services. Asp.net software development is largely popular for the features and programming services. This has witnessed an increase in.Net programmers and developers.

Asp.net framework was developed for the sole purpose of managing web pages that get updated automatically as it was difficult to update static web pages manually earlier before its invention. Today, most popular websites make use of Asp.net application development.

ASP.NET Application Development uses brief and easy coding, secures applications and programs of your web site, its performance is authentic in comparison to other programs. This application is easy-to-use while performing tasks providing flexibility to developers. It is a language-independent program allowing you to chose the language of your comfort. It continuously monitors programs and web pages for secure reasons, if it senses any illegal actions then it shuts down all activities and restarts itself. The Asp.net outsourcing is easily available by professional web developers who provide the facility of.net development web sites. Today a higher number of people are familiar using this programming language for it is flexible enough in exchanging information with other applications, which is one of its major plus points..Net developments have been hugely popular and used in diversity for the freedom it provides to its developers.

Semaphore-Software has been working for clients with ASP.NET Framework offering them applications developments, programming, software development, etc. Our professionally qualified team of web developers, has a wide range of exposure in this area which proves to bring out impressive results. We have been providing web development services in various areas and.Net is one such area. Our skilled and talented Asp developers guide clients with Asp.Net consulting and outsourcing services, serving them with the best talent around, who ensure successful outcome.

By: Karina Jones

About the Author:
Here the author writes about the ASP.NET Application Development by Semaphore. ASP.Net program allows developers to design and develop dynamic web applications, web sites and other web related services and technologies.



Caffeinated Content for WordPress



If you have a database of some type and need to create ASP.NET web pages to allow users to list, add, edit or delete records from that database, you have a couple of choices. One way is to design and code all the pages yourself (making use of any existing routines you may have). That can be very involved — not only do you have to create the user interface, you also have to figure out the best way to access the database, provide for user authentication, web site security, reporting, data import and export — a whole list of necessary features. In many cases there may be an easier way — an ASP.NET code generator.

There are various code generators available, ranging from simple template types to very sophisticated programs like IronSpeed Designer. Some of these generators offer only minimal help and some are excellent products, but come with a high price tag. I’ve tried several different ones and finally decided on ASP.NET Maker (www.hkvstore.com). It’s reasonably priced at $200 and includes free download of any minor upgrades for 12 months. It works with Microsoft Access, Microsoft SQL Server, MySQL, Oracle or any other database that supports ODBC or ADO connectivity, and just by selecting various options on screen you can generate a full set of web pages to list, add, edit, delete, or search for database records. You can also set up a user registration system, advanced security features, file uploading, simple reports and exporting of data to csv, Excel or Word files.

Need some extra functionality? You can do that too. ASP.NET Maker gives you the option to enter your own custom code (in either VB.NET or C#) for various pre-defined server events (such as “Page_Loading” or “Row_Deleting”). Your code can be stored as part of the.aspx web page or you can select to use a separate “code behind” file. You can also enter Javascript to handle client-side processing like custom form validation. All your custom code is saved as part of the project you’re working on and is automatically included each time you make changes to the project and re-generate your web page(s).

I should mention that ASP.NET Maker uses HTML controls, not asp.net web controls. If you want to use custom code for something other than the server events provided for in ASP.NET Maker, you have a couple of options. There is a switch in the master template file that controls ASP.NET Maker which can be set to add “runat server” to each HTML control; that will allow you to catch certain information on postback. If you’re using a code-behind file and are used to working with regular asp.net controls, you can also add your own form statement. Just insert something like before the statement generated by ASP.NET Maker. Then code your asp.net control(s) inside “form1″ and end with a . Once you’ve done that you can manipulate your asp.net controls and the information from those controls in the code-behind page. The only problem is that you’ll need to save your pages that have this kind of customized code and copy them back into your project each time after you re-generate your web pages (to over-write the standard pages ASP.NET Maker creates).

The heart of ASP.NET Maker is the set of screens where you enter the information the system uses to create your web pages:

Data Source Setup:

You use this screen to enter information such as your database type, server name, port (if not the default), user id, password, database name and connection string.

ASP.NET Settings:

This screen lets you set the default date format and whether or not you want to use caching. You can also set various options for file uploading, creation of audit trails, and for form validation processing.

HTML Settings:

This screen lets you enter a title for your website, the character set, font and text size you want to use as a default, a site logo (if you have one), and footer text (if any). There are also tabs which allow you to edit the default theme for your site and the default CSS styles (although I’ve always used the default settings and they seem to work pretty well for our users).

Security Settings:

You can enter a hard-coded administrator ID and password on this screen and you can also set up optional User ID and User Level Advanced Security to protect your data from unauthorized access.

Menu Editor:

The menu editor allows you to modify the default menu that ASP.NET Maker generates for your web site. You can add, edit or delete menu items, move them up or down, hide certain items – even add menu options that redirect to non-ASP.NET Maker pages.

Table Setup:

This is the most complex part of your project setup. The upper section of this page is a grid showing the available options for each table in your database. The lower section of the page contains table-specific options and master/detail setup information for whichever table is currently selected. You can select which tables you want to generate web pages for, what caption you want to display for each field in the table, whether of not you want to apply a filter to the records in the table, how you want the records sorted, and a variety of other items such as whether you want to enable inline add, edit and copy, whether you want to use CAPTCHA on the add page to prevent automated posting, and whether you want to allow updating of multiple records at the same time.

Generate Settings:

This is where you specify the location of your source files and the destination folder for the generated asp.net files. You can also select to automatically browse your web pages once they have been created since ASP.NET Maker uses a copy of the freeware Cassini web server to run asp.net pages.

ASP.NET Maker also comes with a fairly comprehensive help file which covers how to create your project step by step. In addition, the help file includes brief tutorials on master/detail files, file uploading, user registration, advanced security options, custom views, and creating simple reports.

I’ve actually used ASP.NET Maker to generate the majority of the code for a human resources package and for a time clock system. It won’t do all the work for you, but if you’re looking for a quick way to develop a data driven web site with minimal hand coding, ASP.NET Maker may be worth looking into. It has limitations, but it does pretty much what it claims to do and it seems very stable — thanks no doubt to the sizable number of people who use it and have beaten most of the bugs out of it.

I’ve covered the main points in this article, but it’s basically just a quick overview of the product. If you’re interested getting a little more in-depth look at ASP.NET Maker, you can download a trial version at http://www.hkvstore.com.

By: Paul Love

About the Author:



Caffeinated Content



ASP Dot NET technology that has been built on.NET framework is a most popular web development technology. It uses full featured programming languages like C# and VB.NET to build scalable and secure data driven web application that run on internet easily. There is wide range of applications that you can build on ASP Dot NET to cater array of custom needs.

ASP.NET programming services can give you a solution of your business problems and serve you in better way and help you perform better. Some of the most important ASP.NET programming services that are used:

•.NET Desktop and Web Application Development
•.NET Software Development (Product Development)
• Mobile application development for iPhone App, blackberry etc. especially for data integrations.
• Migration of Web and Desktop Applications to.NET
• Web Services Based.NET Application Development
• Mobile applications based on.NET Compact Framework
• ASP.Net AJAX/Atlas enabled Web Application
• Recruitment Solutions
• Shopping Cart with various Payment Gateways integration
• Client & Server applications
• Restaurant management solution
• SQL Server 2000/2005/2008 database solutions
• Crystal reporting 2008 services
• Ecommerce solutions like Auction online, Stores online, Classified, E-Tender, Dating, Job portal, Social network and entertainment sites
• B2B and B2C application development
• Task management solution

For security and other reasons ASP.NET programming is preferred throughout the world by developer community. Most of the enterprise level organizations that are dealing in high volume of data and information prefer to use this because it lets you keep the data free from any kind of problems.

ASP dot NET is purely a server side technology so ASP dot NET code is executed on server before it is sent to the browser. The Web server continuously monitors the pages, components and applications running on it. If it notices any memory leaks, infinite loops, other illegal activities, it immediately destroys those activities and restarts itself.

By: Abhimanyu Sharma

About the Author:
He is expert ASP Net Programmer at IndiaNIC, a leading Microsoft ASP Net Programming outsourcing company offer.Net application development services across the globe. For more Inquiry Contact US.



Website content

« Previous posts Back to top