Dev/Test in the Cloud
Are you a developer who needs to deliver faster and better applications? Moving your development and testing environments to the cloud can help you achieve exactly that! Learn how to get it done, and find out the benefits of making the move. Plus, see demonstrations and presentations that show you how Microsoft Azure can support your development and testing needs.
Introduction to ASP.NET MVC Course on MVA
This exciting new ASP.NET introduction course focuses on the basics of this popular framework for building scalable, standards-based web applications using well-established design patterns, so you can ramp up quickly.
Introduction to jQuery Course on MVA
Want to know what exactly jQuery is and why it's so wildly popular? Get answers, and watch an exciting day of jQuery goodness hosted by Jeremy Foster and Rachel Appel, who teach you what it is, why you need it, and how you use it. (Spoiler alert: jQuery makes your dev work significantly easier, and it's inherently reactive!)
How to: Send mails in Windows 8 Store Apps using C#
Sometimes you need to let your Windows 8 Store Apps users to send email from your Windows 8 Store Application to open a support ticket or feedback about an issue in your application. In this article we will create a Windows Store App that can send mails from the About Settings Flyout.
How to: Navigate to a web page from Windows 8 Store App Settings Flyout
Sometimes you have a Windows Store Application and you want the user to write a feedback using a form in your website. In this article we will create a Windows Store Application that implements the settings contract and create an entry in the settings flyout that opens your website feedback.
How to: Return a specific Http Status Code from WCF REST Service
When you create a WCF REST Service, the caller of the service wants you to return specific HTTP Status Codes for specific situations such as where there is no data to return in a search query he want to return HTTP 204 No Content. In this article we will show you how to create a WCF REST Service and how to return some common HTTP Status Codes from your service.
How to: Display a message box in Windows 8 Store Apps using C#
Sometimes you want to display a message to the user of your application about error or information. But there is no MessageBox class in Windows 8 Store App. In this article we will show you how to display a message box to your application users.
How to: Close a Popup dialog in a WP7 Application using the Back key
Sometimes you display some information about your application in a Windows Phone 7 Page using the Popup control. When you test the application using the Marketplace Test Kit and testing the hardware Back key functionality. This test will fail as the back key does not close the Popup dialog.
How to: Read XML files in Windows 8 Store Apps Package
Sometimes you have you add basic data in XML files and add these files to your Windows 8 Store application as a resource. You want to read the contents of the XML file to display these data in application pages.
How to: Sign and Verify XML Documents with X509 Certificates
Sometimes your application contacts other systems that use XML documents to receive data about orders or Payments and so on. Such critical systems have to make sure that the data is secured and is not altered by any unauthorized party during transmission. One way to do that is Digital Signature.
Create ASP.NET Date Range Picker Control using AJAX Controls Toolkit, JQuery and C#
Sometimes you want your website users to query your database with date ranges like querying their orders, transactions or their statements. One solution is to display From Date and To Date fields and let the user to type the date range. The other solution is display a predefined date ranges like Today, Yesterday, Last 7 Days and a custom option to let the user enter the date range he wants.
How to: Check that an email is in a valid format using Regular Expressions and C#
Sometimes you store users’ data in database and many users can change their data including their emails. Email addresses have a specific format like email@example.com. Some users may write any data in their emails. In this article we will make sure that the written email addresses follow this email address format using Regular Expressions and C#.
How to: Create an ASP.NET Indicator Control using C#
Sometimes you want to display an indicator of completeness of something such as indicator of profile completeness, task or operation completeness. In ASP.Net there is no such control so we will create an ASP.Net Indicator User Control.
How to: Get your Machine Processor Id using C#
Sometimes you need to store a piece of information that uniquely identifies the machine your application runs on. One of the information that uniquely identifies the machine is the Processor Id. In this article we will create an application that retrieves the machine Processor Id.
How to: Encrypt and Decrypt your data with X509 Certificates using C#
Sometimes you want to secure your data with a way that you are the only one that will be able to view these data again. This can be accomplished using X509 Certificate. The X509 Certificate is signed with a private key that uniquely and positively identifies the holder of the certificate. The X509 Certificates can be used in Public Key Infrastructure PKI and SSO.
How to: Detect Network Connectivity Availability Change Status using C#
Sometimes your application connects to a web service or web sites or querying databases on other machines on the network. And sometimes your application does not get results of operations you performed as your machine disconnects and connects again to the network. You need your application to detect network availability change. Fortunately the System.Net.NetworkInformation contains the NetworkChange that will allow us to detect network availability change.
How to: Upload files to FTP directory using C#
Sometimes your application wants to upload files or reports to an FTP directory on a web server to be viewed by your customers. You can open Explorer and type your FTP directory location, type FTP user name and password and copy files from your machine to that FTP directory. But if you want to automate the process of generating reports from your application and upload it to the FTP directory on the web server. This article will help you solve this problem.
How to: List all TCP connections made by your machine using C#
Sometimes you need to know what the TCP/IP connections that your machine makes across the network. This can help in detecting network problems, network bandwidth problems, and detecting malicious programs that connect to other machines or the Internet.
How to: Load & Save Mail Settings in Application Configuration File using C#
Sometimes your application wants to send e-mail notifications to customers. You need to let the customers of your application to set the e-mail server that the application uses to send such e-mail notifications.In this article we will make an application that can be used to load and save mail settings.
How to: Send an email Message using SMTP and C#.
Sometimes your application wants to send e-mail notifications to customers such as notifying them about the latest news of your website, telling them activation codes and telling them about latest blog posts. In this article we will make an application that can be used to send emails.
How to: Save Database Connection String to Application Configuration File using C#
Sometimes your application connects to database for querying, inserting and deleting data from tables. Embedding connection strings in your application's code can lead to security vulnerabilities and maintenance problems. Unencrypted connection strings compiled into an application's source code can be viewed using the MSIL Disassembler (Ildasm.exe) tool. Moreover, if the connection string ever changes, your application must be recompiled.
How to: Test that an Application can establish a Connection to Oracle Database using C#
Sometimes your application connects to database for querying, inserting and deleting data from tables. You need to make sure that the database is running and accept incoming queries across the network.
How to: Check that a string contains Arabic Characters using C#
Sometimes your application may need to know if a string contains Arabic characters for example if you create an application that sends SMS messages, you need to know the language of the message to handle payment and the length of SMS message differ from Arabic and English messages.
How to: Telnet a remote service using C#
Sometimes your application connects to remote services for any purpose such as querying a database, sending e-mails, sending SMS and etc. You need to make sure that the service is running and accept incoming connections across the network.
How to: Check that a server is reachable across the network using C#
Sometimes your application connects to other servers for any purpose such as querying a database, sending e-mails, sending SMS and etc. You need to make sure that the server is reachable across the network.
How to: Make your windows forms application run at Windows startup using C#
Sometimes you need to run your windows forms application when the user log in to windows. Many applications that use this behavior are Windows Live Messenger and Yahoo Messenger. In this article you will learn how to make your application run at startup using C#.
Walkthrough: Maintaining Selected Row of the DataGridView Control after refreshing Data.
Sometimes you need to maintain the selected row that you want to take an action on. If you make a refresh of data in the DataGridView the selected row will be lost, especially when you refresh data in a separate thread. In this article we will know how to maintain the selected row in the DataGridView Control using C#.
Running a long time operations on the database using LLBLGen Pro.
Sometimes a query can take a long time to complete such as retrieving a large dataset that contains thouthands of database records. To run such queries, you have to set the command timeout of that operation.
Displaying an alert window in your windows forms application using C#
Some developers that use Microsoft live Messenger see an alert window when somebody of their contacts comes online. While developing BIMSI OMS applications some customers asked me to display alert messages when an order added to them and require the user to take an action.
How to: Prevent hijack sessions attacks for ASP.NET Web Applications
In computer science, session hijacking refers to the exploitation of a valid computer session to gain unauthorized access to information or services in a computer system. In particular, it is used to refer to the theft of a magic cookie used to authenticate a user to a remote server.