Found a nice simple page to generate a Loading Images, simple to use and so easy to generate the image that you need
With HTML5 becoming more of the norm, well if it’s not it is about to be, and IE6 not supporting it (hang on IE9 does not currently support it either!), so it will just have to be dumped, at last 🙂 As us developers will need to get up to speed on HTML5 there is a new resource available from Google, HTML5Rocks, lots of great resource and information available on this site
I have had a few people saying that LINQ to SQL is hard to use for Separation of Concerns, so I’ve created a small project that show how to do it. I have used the MEF as my SoC framework.
Project is using .Net 3.5
To enhance this it is worth look at Mike Hadlow post of Repository.GetById using LINQ Expression Syntax
itial; padding: 0px; margin: 0px; border: 0px initial initial;">Repositoryal; background-color: transparent; color: black; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">T
Now the contract names will be different. The exporter will have a contract of “Utils.IRepository<>” and the importer will have a contract of “Utils.IRepository<Order>”.
You may or may not have come across the ability within LINQ to SQL to have mapping to and from your own objects.
Microsoft has a mapping builder called sqlmetal, which is a code generation tool to generate the mapping automatically.
Here is a sample command line to generate the mapping file.
sqlmetal /server:. /database:mydb /map:mydbMappings.xml /code:code.dbml
While using Gallio for performing Unit Tests within Visual Studio, I have noticed that some times you can’t run Unit Tests, or it says that no tests available, with thanks to Lee, he pointed me to a simple fix
Visual Studio can be used to run your tests in process, with the debugger. In order for a project to be “testable”, you’ll need to make sure it has the following in the csproj:
I recently purchased a Pertec i-Disk Bullet 32Gb, and within a hour I had broken it, it had become write protected, not sure why. After an e-mail to Pertec support they sent me a solution to solve the problem, here is what they said and how to get your i-Disk working again
Please use USB flash drive recovery tool as attach file. And repair unworkable i-Disk Bulletproof as following procedures;
If this utility still can’t help you to repair your failure Bulletproof USB, we suggest you can send back the USB to original purchased store/vendor,
They will provide you RMA service for further check and repair process.
URescue utility repairing procedures:
1. Backup your personal data stored in i-Disk Bulletproof if available.
2. Plug unworkable i-Disk Bulletproof into a safety virus-free desktop or notebook computer.
3. Execute “URescue.exe”, click “Update” button to repair i-Disk Bulletproof.
4. Please be remind, all data stored in i-Disk Bulletproof will be deleted. Click “OK” to continue.
5. Repair successfully, click “OK” to exit URescue utility.
If you have an object that contains a List or IList, and you need to convert it in to a Collection, here is how you can do it in a single line.
var foo = new Collection<FooList>(fooList);