Using Paypal as our payment gateway
Source:Open Clip ArtUsing Under Public Domain Attribution
Paypal is my preference for online gateway. A number of people asked me why do I directly use the payment from a local bank. The customers can put the credit card details directly into my website and the transaction fee can be lower than paypal. There are a number of good reasons to use paypal. Firstly, Paypal has a large number of user base. There are a large of people just need to enter paypal user name and password to process the payment. They do not need to any credit card details and address at all. That is very easy friendly. Secondly, it supports a various payment method across world. The most useful method is bank transfer. Paypal can do the bank transfer in the most of countries. For example, I am selling software in Australia, my customer in Hong Kong can transfer the money to me from their bank account. Thirdly, that is about the trust. Paypal won't give us any customers' details rather than email address. The customers won't be worry about the sellers to misuse their personal information. Lastly, Paypal is widely using. A number of third party can be available. We do not need to do any custom development. For us, Paypal is the best option!
Running SQL Backup in .Net
If you are using SQL Express, you have sql agent to do the backup for you. The only way is using T-SQL in a application code to do that.
I have a C# library to do and winfrom application to do the scheduled task as the example, click here to buy it. That is only AUD$3! It can save you few hours of programming, That is very easy, just like the example below
Code
AdvGenSQLBackup backup = new AdvGenSQLBackup(); | |
backup.DBName = txtDBName.Text; | |
backup.Server = txtServerName.Text; | |
backup.UserName = txtUserName.Text; | |
backup.Password = txtPassword.Text; | |
backup.File = txtFile.Text; | |
backup.Run(); |
Moreover, you can use it in your web application. Then your web application can generate a backup file to your users for downloading.That is very useful.
Creating my first MVC5 Project
In the old time, we choose the MVC project templates to create a new project.
In the Visual Studio 2013, The workflow to create a new MVC5 project is different from the old versions. It changed the concept, MVC is a type of web application. So, we select File -> New -> Project ....
Visual Studio 2013 and MVC5
I just installed Visual Studio 2013. Moreover, I started to build a MVC 5 project. That is great, it is integrated with Bootstrap and css less by default. The web application is fully responsive, works well in Tablet and Mobile too. In addition, MVC5 can support "~". such as src="~/Images/a.png" in img tag. We don't need to use Url.Content(~/Images/a.png"). It makes coding faster. I love these improvement. There is only one down side, Visual Studio 2013 ate much more CPU and Memory. It runs very slow in 8GB RAM and 2nd Generation Core i7 2Ghz laptop.
Speed up an old computer
Recently, there are a number of friends to ask me how to Speed up their old computer. They are willing to pay a small amount of money to upgrade their hardware.
1. I will find some more RAM, at least, upgrade to 4GB, Ideally, 8GB is the best
2. If they are willing to pay, I will upgrade their OS hard disk in SSD,
If they are not possible, I will just ask install "Linux"!