|
|
-
|
|
PetaPoco is a micro-ORM for .NET and Mono. If you haven’t see it yet I suggest you to check it out. Alternatives to PetaPoco are Massive and Dapper. (If you know more projects let me know). After this brief introduction let me begin by explaining the p...
|
|
-
|
|
Objectives
Build Contact Page (a page that interacts with a data-storage)
Build a Contact List Page (a page with a gird)
Do it using ASP.NET WebForms
Create Unit Tests
We will use the MVP pattern and the open-source project WebFormsMVP to accomplis...
|
|
-
|
|
Recently I was in a situation where a user was required to change the password upon first login.
But MembershipUser’s ChangePassword requires 2 arguments. Old and new password. In my case the password was hashed and I couldn’t retrieve it un...
|
|
-
|
|
Twitter is great but is missing a feature that is badly wanted (at least from me). This is the ability to filter tweets based on the language of the tweet. Although some clients support automatic recognition of the language such an implementation would ...
|
|
-
|
|
A flag Enum is an Enumeration that can hold multiple values per instance An example of such Enum is:
[Flags]
public enum enDays
{
None = 0,
Monday = 1,
Tuesday = 2,
Wednesday = 4,
Thursday = 8,
Friday = 16,
Saturday = 32,
...
|
|
-
|
|
I have received many comments and questions about how you can do what is described in this post when you site requires question and answer. (Better solution at the bottom of this post)
The solution is definitely not the best and should be used with EXTR...
|
|
-
|
|
I uploaded a package in Nuget Gallery that simplifies the interaction with linked-in. Uses a modified version of Hammock (because latest version has a bug) so be careful if you want to add it to your project. When the bug is fixed the correct dependency...
|
|
-
|
|
Below are a few lines of code written in C#. Is the code bug-free? What will this print in the console? Can you do it without VS?
static void AVeryCoolMethod(){ var numbers = new[] { 1, 2, 3, 4, 5, 6 }; var ngt5 = numbers.Where(n => n > 5); var...
|
|
-
|
|
Firebug is an essential tool for every web developer. It allows to do many things such as script debugging, DOM manipulation etc. What happens though when it get’s to the hand of an experienced attacker? Then it could be used to exploit your site very e...
|
|
-
|
|
HDD (and it don’t mean Hard Disk Drive ?) is intuitively a bad approach on Software Development. If someone tells you that many times is doing Hope Driven Development, only by name you might say “Oh that’s a bad thing. Stop it now!” But everyone is doin...
|
|